@peerbit/string 3.0.0 → 3.0.2

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.
@@ -11,8 +11,8 @@ export type CanRead = (key?: PublicSignKey) => Promise<boolean> | boolean;
11
11
  export interface StringEvents {
12
12
  change: CustomEvent<Change<StringOperation>>;
13
13
  }
14
- type CanPerform = (operation: StringOperation, context: TransactionContext) => Promise<boolean> | boolean;
15
- type Args = {
14
+ export type CanPerform = (operation: StringOperation, context: TransactionContext) => Promise<boolean> | boolean;
15
+ export type Args = {
16
16
  canRead?: CanRead;
17
17
  canPerform?: CanPerform;
18
18
  log?: SharedLogOptions;
@@ -47,4 +47,3 @@ export declare class DString extends Program<Args, StringEvents & ProgramEvents>
47
47
  };
48
48
  }): Promise<string | undefined>;
49
49
  }
50
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peerbit/string",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
4
4
  "description": "String store",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -32,13 +32,13 @@
32
32
  "dependencies": {
33
33
  "@dao-xyz/borsh": "^5.1.5",
34
34
  "@peerbit/logger": "1.0.1",
35
- "@peerbit/program": "2.2.0",
36
- "@peerbit/rpc": "2.1.0",
37
- "@peerbit/shared-log": "^3.0.0",
35
+ "@peerbit/program": "2.2.1",
36
+ "@peerbit/rpc": "2.1.1",
37
+ "@peerbit/shared-log": "^3.0.1",
38
38
  "@peerbit/time": "1.0.2"
39
39
  },
40
40
  "devDependencies": {
41
- "@peerbit/test-utils": "^1.0.16"
41
+ "@peerbit/test-utils": "^1.0.17"
42
42
  },
43
- "gitHead": "464e807d679e24b897b7811ac99d6f85fbd756f9"
43
+ "gitHead": "06d341c4ea81b70c76018899b029f4419c311500"
44
44
  }
@@ -43,12 +43,12 @@ export interface StringEvents {
43
43
  change: CustomEvent<Change<StringOperation>>;
44
44
  }
45
45
 
46
- type CanPerform = (
46
+ export type CanPerform = (
47
47
  operation: StringOperation,
48
48
  context: TransactionContext
49
49
  ) => Promise<boolean> | boolean;
50
50
 
51
- type Args = {
51
+ export type Args = {
52
52
  canRead?: CanRead;
53
53
  canPerform?: CanPerform;
54
54
  log?: SharedLogOptions;