@ocap/state 1.29.23 → 1.29.24

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.
@@ -1,12 +1,12 @@
1
1
  import { StateContextInput } from "../contexts/state.mjs";
2
2
  import { IRollupState } from "@ocap/types";
3
- import * as joi3 from "joi";
3
+ import * as joi4 from "joi";
4
4
 
5
5
  //#region src/states/rollup.d.ts
6
6
  declare namespace rollup_d_exports {
7
7
  export { close, create, migrateContract, migrateVault, pause, resume, schema, update, validate };
8
8
  }
9
- declare const schema: joi3.ObjectSchema<any>;
9
+ declare const schema: joi4.ObjectSchema<any>;
10
10
  declare const create: (attrs: Partial<IRollupState>, context: StateContextInput) => IRollupState;
11
11
  declare const update: (state: IRollupState, updates: Partial<IRollupState>, context: StateContextInput) => IRollupState;
12
12
  declare const pause: (state: IRollupState, context: StateContextInput) => IRollupState;
@@ -1,12 +1,12 @@
1
1
  import { StateContextInput } from "../contexts/state.mjs";
2
2
  import { IStakeState } from "@ocap/types";
3
- import * as joi4 from "joi";
3
+ import * as joi3 from "joi";
4
4
 
5
5
  //#region src/states/stake.d.ts
6
6
  declare namespace stake_d_exports {
7
7
  export { create, schema, update, validate };
8
8
  }
9
- declare const schema: joi4.ObjectSchema<any>;
9
+ declare const schema: joi3.ObjectSchema<any>;
10
10
  declare const create: (attrs: Partial<IStakeState>, context: StateContextInput) => IStakeState;
11
11
  declare const update: (state: IStakeState, attrs: Partial<IStakeState>, context: StateContextInput) => IStakeState;
12
12
  declare const validate: (state: IStakeState) => IStakeState;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.29.23",
6
+ "version": "1.29.24",
7
7
  "description": "State management utilities for OCAP blockchain",
8
8
  "type": "module",
9
9
  "main": "./lib/index.cjs",
@@ -40,14 +40,14 @@
40
40
  "clean": "rm -rf lib esm"
41
41
  },
42
42
  "dependencies": {
43
- "@arcblock/did": "1.29.23",
44
- "@arcblock/validator": "1.29.23",
45
- "@ocap/contract": "1.29.23",
46
- "@ocap/mcrypto": "1.29.23",
47
- "@ocap/message": "1.29.23",
48
- "@ocap/types": "1.29.23",
49
- "@ocap/util": "1.29.23",
50
- "@ocap/wallet": "1.29.23",
43
+ "@arcblock/did": "1.29.24",
44
+ "@arcblock/validator": "1.29.24",
45
+ "@ocap/contract": "1.29.24",
46
+ "@ocap/mcrypto": "1.29.24",
47
+ "@ocap/message": "1.29.24",
48
+ "@ocap/types": "1.29.24",
49
+ "@ocap/util": "1.29.24",
50
+ "@ocap/wallet": "1.29.24",
51
51
  "bloom-filters": "^1.3.9",
52
52
  "lodash": "^4.17.23"
53
53
  },