@peerbit/program 5.2.17-ad7353e → 5.2.17-ec49bca
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/client.d.ts +2 -2
- package/dist/src/client.d.ts.map +1 -1
- package/dist/src/client.js.map +1 -1
- package/package.json +7 -7
- package/src/client.ts +2 -2
package/dist/src/client.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { AnyStore } from "@peerbit/any-store-interface";
|
|
|
4
4
|
import { type Blocks } from "@peerbit/blocks-interface";
|
|
5
5
|
import type { Ed25519PublicKey, Identity, PublicSignKey } from "@peerbit/crypto";
|
|
6
6
|
import type { Indices } from "@peerbit/indexer-interface";
|
|
7
|
-
import { type
|
|
7
|
+
import { type IPeerbitKeychain } from "@peerbit/keychain";
|
|
8
8
|
import { type PubSub } from "@peerbit/pubsub-interface";
|
|
9
9
|
import type { Address } from "./address.js";
|
|
10
10
|
import type { CanOpen, ExtractArgs, Manageable, OpenOptions } from "./handler.js";
|
|
@@ -17,7 +17,7 @@ export interface Client<T extends Manageable<ExtractArgs<T>>> {
|
|
|
17
17
|
services: {
|
|
18
18
|
pubsub: PubSub;
|
|
19
19
|
blocks: Blocks;
|
|
20
|
-
keychain:
|
|
20
|
+
keychain: IPeerbitKeychain;
|
|
21
21
|
};
|
|
22
22
|
storage: AnyStore;
|
|
23
23
|
indexer: Indices;
|
package/dist/src/client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AACxE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM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OAAO,EAAE,MAAM,GAAG,aAAa,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5E,QAAQ,EAAE;QACT,MAAM,EAAE,MAAM,CAAC;QACf,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,gBAAgB,CAAC;KAC3B,CAAC;IACF,OAAO,EAAE,QAAQ,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACvB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACtB,IAAI,CAAC,CAAC,SAAS,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,EACzC,OAAO,EAAE,CAAC,GAAG,OAAO,EACpB,OAAO,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,GACtB,OAAO,CAAC,CAAC,CAAC,CAAC;CACd"}
|
package/dist/src/client.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../src/client.ts"],"names":[],"mappings":"AAGA,OAAO,EAAe,MAAM,2BAA2B,CAAC;AAOxD,OAAO,
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../src/client.ts"],"names":[],"mappings":"AAGA,OAAO,EAAe,MAAM,2BAA2B,CAAC;AAOxD,OAAO,EAAyB,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAe,MAAM,2BAA2B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@peerbit/program",
|
|
3
|
-
"version": "5.2.17-
|
|
3
|
+
"version": "5.2.17-ec49bca",
|
|
4
4
|
"description": "Program interface",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -59,11 +59,11 @@
|
|
|
59
59
|
"license": "MIT",
|
|
60
60
|
"dependencies": {
|
|
61
61
|
"@dao-xyz/borsh": "^5.2.3",
|
|
62
|
-
"@peerbit/crypto": "2.3.11-
|
|
63
|
-
"@peerbit/keychain": "1.0.32-
|
|
64
|
-
"@peerbit/blocks-interface": "1.4.9-
|
|
65
|
-
"@peerbit/pubsub-interface": "4.0.4-
|
|
66
|
-
"@peerbit/any-store-interface": "1.0.0-
|
|
67
|
-
"@peerbit/libp2p-test-utils": "2.1.20-
|
|
62
|
+
"@peerbit/crypto": "2.3.11-ec49bca",
|
|
63
|
+
"@peerbit/keychain": "1.0.32-ec49bca",
|
|
64
|
+
"@peerbit/blocks-interface": "1.4.9-ec49bca",
|
|
65
|
+
"@peerbit/pubsub-interface": "4.0.4-ec49bca",
|
|
66
|
+
"@peerbit/any-store-interface": "1.0.0-ec49bca",
|
|
67
|
+
"@peerbit/libp2p-test-utils": "2.1.20-ec49bca"
|
|
68
68
|
}
|
|
69
69
|
}
|
package/src/client.ts
CHANGED
|
@@ -8,7 +8,7 @@ import type {
|
|
|
8
8
|
PublicSignKey,
|
|
9
9
|
} from "@peerbit/crypto";
|
|
10
10
|
import type { Indices } from "@peerbit/indexer-interface";
|
|
11
|
-
import { type
|
|
11
|
+
import { type IPeerbitKeychain } from "@peerbit/keychain";
|
|
12
12
|
import { type PubSub } from "@peerbit/pubsub-interface";
|
|
13
13
|
import type { Address } from "./address.js";
|
|
14
14
|
import type {
|
|
@@ -27,7 +27,7 @@ export interface Client<T extends Manageable<ExtractArgs<T>>> {
|
|
|
27
27
|
services: {
|
|
28
28
|
pubsub: PubSub;
|
|
29
29
|
blocks: Blocks;
|
|
30
|
-
keychain:
|
|
30
|
+
keychain: IPeerbitKeychain;
|
|
31
31
|
};
|
|
32
32
|
storage: AnyStore;
|
|
33
33
|
indexer: Indices;
|