@cero-base/core 2.1.7 → 2.1.8
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cero-base/core",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.8",
|
|
4
4
|
"description": "cero p2p primitives — identity, storage, network, database, blobs, rpc, pairing.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -134,13 +134,13 @@
|
|
|
134
134
|
"pretest": "npm run build:test",
|
|
135
135
|
"prepublishOnly": "npm run build:types",
|
|
136
136
|
"test": "npm run test:bare",
|
|
137
|
-
"test:bare": "
|
|
137
|
+
"test:bare": "find test -name '*.test.js' | sort | xargs -P4 -n1 brittle-bare",
|
|
138
138
|
"pretest:bare": "npm run build:test",
|
|
139
|
-
"test:node": "
|
|
139
|
+
"test:node": "find test -name '*.test.js' | sort | xargs -P4 -n1 brittle-node"
|
|
140
140
|
},
|
|
141
141
|
"dependencies": {
|
|
142
142
|
"@hyperswarm/secret-stream": "^6.9.2",
|
|
143
|
-
"autobee": "
|
|
143
|
+
"autobee": "2.7.2",
|
|
144
144
|
"autobee-encryption": "0.1.4",
|
|
145
145
|
"b4a": "^1.8.1",
|
|
146
146
|
"bare-crypto": "^1.15.3",
|
|
@@ -439,7 +439,7 @@ export declare class Database extends ReadyResource {
|
|
|
439
439
|
_preload(): Promise<void>;
|
|
440
440
|
_boot(): Promise<void>;
|
|
441
441
|
_replay(): Promise<boolean>;
|
|
442
|
-
_isTrusted(writer: any, view: any): Promise<
|
|
442
|
+
_isTrusted(writer: any, view: any): Promise<boolean>;
|
|
443
443
|
_apply(nodes: any, view: any, host: any): Promise<void>;
|
|
444
444
|
_update(db: any): Promise<void>;
|
|
445
445
|
_joinSwarm(bee: any, discoveryKey: any): void;
|
|
@@ -6,7 +6,7 @@ export declare class Rotation {
|
|
|
6
6
|
db: import("./index.js").Database;
|
|
7
7
|
current: {
|
|
8
8
|
entropy: Uint8Array<ArrayBufferLike>;
|
|
9
|
-
stamp:
|
|
9
|
+
stamp: number;
|
|
10
10
|
epoch: number;
|
|
11
11
|
};
|
|
12
12
|
_timer: number;
|
|
@@ -40,7 +40,7 @@ export declare class Rotation {
|
|
|
40
40
|
_members(): Promise<any[]>;
|
|
41
41
|
_seal(members: any, entropy: any): any;
|
|
42
42
|
_announce(stamp: any, entropy: any, wrapped: any): Promise<number>;
|
|
43
|
-
_mint():
|
|
43
|
+
_mint(): number;
|
|
44
44
|
_taken(stamp: any): Promise<any>;
|
|
45
45
|
_epochs(): any;
|
|
46
46
|
_unseal(row: any): Uint8Array<ArrayBufferLike>;
|