From 04be69a7643cc912d64c2cc177fd0c7a52e3a45d Mon Sep 17 00:00:00 2001 From: julienmalard Date: Sat, 30 Sep 2023 12:11:45 +0200 Subject: [PATCH] Rename --- index.d.ts | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.d.ts b/index.d.ts index ecb16df..2521d29 100644 --- a/index.d.ts +++ b/index.d.ts @@ -145,11 +145,11 @@ declare module "@orbitdb/core" { hash: string; }; - export type KeyValueStore = { + export type KeyValue = { type: "keyvalue"; address: string; put(key: string, value: unknown): Promise; - set: KeyValueStore["put"]; + set: KeyValue["put"]; del(key: string): Promise; get(key: string): Promise; all(): Promise<{ key: string; value: unknown; hash: string }[]>; diff --git a/package.json b/package.json index 30b2b53..c0b6fc5 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@constl/orbit-db-types", "private": false, - "version": "1.2.0", + "version": "1.2.1", "description": "Unofficial typings for orbit-db", "types": "index.d.ts", "type": "module",