pshenmic-dpp 1.0.7-rc.7 → 1.0.7-rc.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.
|
@@ -180,6 +180,7 @@ export class DataContractCreateTransitionWASM {
|
|
|
180
180
|
getFeatureVersion(): number;
|
|
181
181
|
verifyProtocolVersion(protocol_version: number): boolean;
|
|
182
182
|
setDataContract(data_contract: DataContractWASM, js_platform_version: any): void;
|
|
183
|
+
getIdentityNonce(): bigint;
|
|
183
184
|
getDataContract(js_platform_version: any, full_validation?: boolean | null): DataContractWASM;
|
|
184
185
|
toStateTransition(): StateTransitionWASM;
|
|
185
186
|
static fromStateTransition(state_transition: StateTransitionWASM): DataContractCreateTransitionWASM;
|
|
@@ -197,6 +198,7 @@ export class DataContractUpdateTransitionWASM {
|
|
|
197
198
|
getFeatureVersion(): number;
|
|
198
199
|
verifyProtocolVersion(protocol_version: number): boolean;
|
|
199
200
|
setDataContract(data_contract: DataContractWASM, js_platform_version: any): void;
|
|
201
|
+
getIdentityNonce(): bigint;
|
|
200
202
|
getDataContract(full_validation: boolean | null | undefined, js_platform_version: any): DataContractWASM;
|
|
201
203
|
toStateTransition(): StateTransitionWASM;
|
|
202
204
|
static fromStateTransition(state_transition: StateTransitionWASM): DataContractUpdateTransitionWASM;
|
|
@@ -1354,6 +1356,7 @@ export interface InitOutput {
|
|
|
1354
1356
|
readonly datacontractcreatetransitionwasm_getFeatureVersion: (a: number) => number;
|
|
1355
1357
|
readonly datacontractcreatetransitionwasm_verifyProtocolVersion: (a: number, b: number, c: number) => void;
|
|
1356
1358
|
readonly datacontractcreatetransitionwasm_setDataContract: (a: number, b: number, c: number, d: number) => void;
|
|
1359
|
+
readonly datacontractcreatetransitionwasm_getIdentityNonce: (a: number) => bigint;
|
|
1357
1360
|
readonly datacontractcreatetransitionwasm_getDataContract: (a: number, b: number, c: number, d: number) => void;
|
|
1358
1361
|
readonly datacontractcreatetransitionwasm_toStateTransition: (a: number) => number;
|
|
1359
1362
|
readonly datacontractcreatetransitionwasm_fromStateTransition: (a: number, b: number) => void;
|
|
@@ -1371,6 +1374,7 @@ export interface InitOutput {
|
|
|
1371
1374
|
readonly datacontractupdatetransitionwasm_toStateTransition: (a: number) => number;
|
|
1372
1375
|
readonly datacontractupdatetransitionwasm_fromStateTransition: (a: number, b: number) => void;
|
|
1373
1376
|
readonly __wbg_datacontractupdatetransitionwasm_free: (a: number, b: number) => void;
|
|
1377
|
+
readonly datacontractupdatetransitionwasm_getIdentityNonce: (a: number) => bigint;
|
|
1374
1378
|
readonly datacontractupdatetransitionwasm_getFeatureVersion: (a: number) => number;
|
|
1375
1379
|
readonly __wbg_batchedtransitionwasm_free: (a: number, b: number) => void;
|
|
1376
1380
|
readonly batchedtransitionwasm_type_name: (a: number, b: number) => void;
|
|
@@ -1979,6 +1979,13 @@ export class DataContractCreateTransitionWASM {
|
|
|
1979
1979
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
1980
1980
|
}
|
|
1981
1981
|
}
|
|
1982
|
+
/**
|
|
1983
|
+
* @returns {bigint}
|
|
1984
|
+
*/
|
|
1985
|
+
getIdentityNonce() {
|
|
1986
|
+
const ret = wasm.datacontractcreatetransitionwasm_getIdentityNonce(this.__wbg_ptr);
|
|
1987
|
+
return BigInt.asUintN(64, ret);
|
|
1988
|
+
}
|
|
1982
1989
|
/**
|
|
1983
1990
|
* @param {any} js_platform_version
|
|
1984
1991
|
* @param {boolean | null} [full_validation]
|
|
@@ -2277,6 +2284,13 @@ export class DataContractUpdateTransitionWASM {
|
|
|
2277
2284
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
2278
2285
|
}
|
|
2279
2286
|
}
|
|
2287
|
+
/**
|
|
2288
|
+
* @returns {bigint}
|
|
2289
|
+
*/
|
|
2290
|
+
getIdentityNonce() {
|
|
2291
|
+
const ret = wasm.datacontractcreatetransitionwasm_getIdentityNonce(this.__wbg_ptr);
|
|
2292
|
+
return BigInt.asUintN(64, ret);
|
|
2293
|
+
}
|
|
2280
2294
|
/**
|
|
2281
2295
|
* @param {boolean | null | undefined} full_validation
|
|
2282
2296
|
* @param {any} js_platform_version
|