Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
julienmalard committed Sep 30, 2023
1 parent 99c93b8 commit 04be69a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string>;
set: KeyValueStore["put"];
set: KeyValue["put"];
del(key: string): Promise<string>;
get(key: string): Promise<unknown | undefined>;
all(): Promise<{ key: string; value: unknown; hash: string }[]>;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 04be69a

Please sign in to comment.