@peerbit/trusted-network 4.1.16 → 4.1.17

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.
@@ -28,7 +28,7 @@ export declare class IdentityRelation extends AbstractRelation {
28
28
  get from(): PublicSignKey;
29
29
  get to(): PublicSignKey;
30
30
  initializeId(): void;
31
- static id(to: PublicSignKey, from: PublicSignKey): Uint8Array;
31
+ static id(to: PublicSignKey, from: PublicSignKey): Uint8Array<ArrayBufferLike>;
32
32
  }
33
33
  export declare const hasPath: (start: PublicSignKey, end: PublicSignKey, db: Documents<IdentityRelation, FromTo>, resolver: RelationResolver) => Promise<boolean>;
34
34
  export declare const getRelation: (from: PublicSignKey, to: PublicSignKey, db: Documents<IdentityRelation, FromTo>) => Promise<IdentityRelation | undefined>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peerbit/trusted-network",
3
- "version": "4.1.16",
3
+ "version": "4.1.17",
4
4
  "description": "Access controller that operates on a DB",
5
5
  "sideEffects": false,
6
6
  "type": "module",
@@ -60,11 +60,11 @@
60
60
  "dependencies": {
61
61
  "@dao-xyz/borsh": "^5.2.3",
62
62
  "@peerbit/crypto": "2.3.2",
63
- "@peerbit/document": "7.1.16"
63
+ "@peerbit/document": "8.0.0"
64
64
  },
65
65
  "devDependencies": {
66
66
  "@peerbit/time": "2.0.7",
67
67
  "@ethersproject/wallet": "^5.7.0",
68
- "@peerbit/test-utils": "^2.1.9"
68
+ "@peerbit/test-utils": "^2.1.10"
69
69
  }
70
70
  }