@ocap/state 1.29.7 → 1.29.9

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 joi7 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: joi7.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;
@@ -1,12 +1,12 @@
1
1
  import { StateContextInput } from "../contexts/state.mjs";
2
2
  import { ITokenFactoryState } from "@ocap/types";
3
- import * as joi5 from "joi";
3
+ import * as joi4 from "joi";
4
4
 
5
5
  //#region src/states/token-factory.d.ts
6
6
  declare namespace token_factory_d_exports {
7
7
  export { create, curveSchema, update, validate };
8
8
  }
9
- declare const curveSchema: joi5.AlternativesSchema<any>;
9
+ declare const curveSchema: joi4.AlternativesSchema<any>;
10
10
  declare const create: (attrs: Partial<ITokenFactoryState>, context: StateContextInput) => ITokenFactoryState;
11
11
  declare const update: (state: ITokenFactoryState, attrs: Partial<ITokenFactoryState>, context: StateContextInput) => ITokenFactoryState;
12
12
  declare const validate: (state: ITokenFactoryState) => ITokenFactoryState;
@@ -1,13 +1,13 @@
1
1
  import { StateContextInput } from "../contexts/state.mjs";
2
2
  import { ITokenState } from "@ocap/types";
3
- import * as joi6 from "joi";
3
+ import * as joi5 from "joi";
4
4
 
5
5
  //#region src/states/token.d.ts
6
6
  declare namespace token_d_exports {
7
7
  export { create, metadataSchema, stateSchema, update, validate };
8
8
  }
9
- declare const metadataSchema: joi6.ObjectSchema<any>;
10
- declare const stateSchema: joi6.ObjectSchema<any>;
9
+ declare const metadataSchema: joi5.ObjectSchema<any>;
10
+ declare const stateSchema: joi5.ObjectSchema<any>;
11
11
  declare const create: (attrs: Partial<ITokenState>, context: StateContextInput) => ITokenState;
12
12
  declare const update: (state: ITokenState, attrs: Partial<ITokenState>) => ITokenState;
13
13
  declare const validate: (state: ITokenState) => ITokenState;
@@ -1,12 +1,12 @@
1
1
  import { StateContextInput } from "../contexts/state.cjs";
2
2
  import { IAccountState } from "@ocap/types";
3
- import * as joi1 from "joi";
3
+ import * as joi0 from "joi";
4
4
 
5
5
  //#region src/states/account.d.ts
6
6
  declare namespace account_d_exports {
7
7
  export { create, ensureChecksumAddress, isMigrated, schema, update, updateOrCreate, validate };
8
8
  }
9
- declare const schema: joi1.ObjectSchema<any>;
9
+ declare const schema: joi0.ObjectSchema<any>;
10
10
  declare const create: (attrs: Partial<IAccountState>, context: StateContextInput) => IAccountState;
11
11
  declare const update: (state: IAccountState, attrs: Partial<IAccountState>, context: StateContextInput) => IAccountState;
12
12
  declare const updateOrCreate: (state: IAccountState | null, attrs: Partial<IAccountState>, context: StateContextInput) => IAccountState;
@@ -1,13 +1,13 @@
1
1
  import { StateContextInput } from "../contexts/state.cjs";
2
2
  import { IAssetState } from "@ocap/types";
3
- import * as joi6 from "joi";
3
+ import * as joi0 from "joi";
4
4
  import { schemas } from "@arcblock/validator";
5
5
 
6
6
  //#region src/states/asset.d.ts
7
7
  declare namespace asset_d_exports {
8
8
  export { create, schema, schemas, update, validate };
9
9
  }
10
- declare const schema: joi6.ObjectSchema<any>;
10
+ declare const schema: joi0.ObjectSchema<any>;
11
11
  declare const create: (attrs: Partial<IAssetState>, context: StateContextInput) => IAssetState;
12
12
  declare const update: (state: IAssetState, attrs: Partial<IAssetState>, context: StateContextInput) => IAssetState;
13
13
  declare const validate: (state: IAssetState) => IAssetState;
@@ -1,12 +1,12 @@
1
1
  import { StateContextInput } from "../contexts/state.cjs";
2
2
  import { IEvidenceState } from "@ocap/types";
3
- import * as joi7 from "joi";
3
+ import * as joi1 from "joi";
4
4
 
5
5
  //#region src/states/evidence.d.ts
6
6
  declare namespace evidence_d_exports {
7
7
  export { create, schema, validate };
8
8
  }
9
- declare const schema: joi7.ObjectSchema<any>;
9
+ declare const schema: joi1.ObjectSchema<any>;
10
10
  declare const create: (attrs: Partial<IEvidenceState>, context: StateContextInput) => IEvidenceState;
11
11
  declare const validate: (state: IEvidenceState) => IEvidenceState;
12
12
  //#endregion
@@ -1,12 +1,12 @@
1
1
  import { StateContextInput } from "../contexts/state.cjs";
2
2
  import { IRollupBlock } from "@ocap/types";
3
- import * as joi0 from "joi";
3
+ import * as joi2 from "joi";
4
4
 
5
5
  //#region src/states/rollup-block.d.ts
6
6
  declare namespace rollup_block_d_exports {
7
7
  export { create, schema, update, validate };
8
8
  }
9
- declare const schema: joi0.ObjectSchema<any>;
9
+ declare const schema: joi2.ObjectSchema<any>;
10
10
  declare const create: (attrs: Partial<IRollupBlock>, context: StateContextInput) => IRollupBlock;
11
11
  declare const update: (state: IRollupBlock, context: StateContextInput) => IRollupBlock;
12
12
  declare const validate: (state: IRollupBlock) => IRollupBlock;
@@ -1,12 +1,12 @@
1
1
  import { StateContextInput } from "../contexts/state.cjs";
2
2
  import { IRollupState } from "@ocap/types";
3
- import * as joi0 from "joi";
3
+ import * as joi6 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: joi0.ObjectSchema<any>;
9
+ declare const schema: joi6.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.cjs";
2
2
  import { IStakeState } from "@ocap/types";
3
- import * as joi2 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: joi2.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;
@@ -1,12 +1,12 @@
1
1
  import { StateContextInput } from "../contexts/state.cjs";
2
2
  import { ITokenFactoryState } from "@ocap/types";
3
- import * as joi3 from "joi";
3
+ import * as joi7 from "joi";
4
4
 
5
5
  //#region src/states/token-factory.d.ts
6
6
  declare namespace token_factory_d_exports {
7
7
  export { create, curveSchema, update, validate };
8
8
  }
9
- declare const curveSchema: joi3.AlternativesSchema<any>;
9
+ declare const curveSchema: joi7.AlternativesSchema<any>;
10
10
  declare const create: (attrs: Partial<ITokenFactoryState>, context: StateContextInput) => ITokenFactoryState;
11
11
  declare const update: (state: ITokenFactoryState, attrs: Partial<ITokenFactoryState>, context: StateContextInput) => ITokenFactoryState;
12
12
  declare const validate: (state: ITokenFactoryState) => ITokenFactoryState;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.29.7",
6
+ "version": "1.29.9",
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.7",
44
- "@arcblock/validator": "1.29.7",
45
- "@ocap/contract": "1.29.7",
46
- "@ocap/mcrypto": "1.29.7",
47
- "@ocap/message": "1.29.7",
48
- "@ocap/types": "1.29.7",
49
- "@ocap/util": "1.29.7",
50
- "@ocap/wallet": "1.29.7",
43
+ "@arcblock/did": "1.29.9",
44
+ "@arcblock/validator": "1.29.9",
45
+ "@ocap/contract": "1.29.9",
46
+ "@ocap/mcrypto": "1.29.9",
47
+ "@ocap/message": "1.29.9",
48
+ "@ocap/types": "1.29.9",
49
+ "@ocap/util": "1.29.9",
50
+ "@ocap/wallet": "1.29.9",
51
51
  "bloom-filters": "^1.3.9",
52
52
  "lodash": "^4.17.23"
53
53
  },