@dashevo/wasm-dpp 0.24.0-dev.10 → 0.24.0-dev.12
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.
- package/Cargo.toml +2 -0
- package/dist/index.js +1 -1
- package/dist/lib/dpp.d.ts +9 -0
- package/dist/lib/errors/AbstractConsensusError.d.ts +10 -0
- package/dist/lib/errors/DPPError.d.ts +5 -0
- package/dist/lib/errors/patchConsensusErrors.d.ts +1 -0
- package/dist/lib/{patchIdentifier.d.ts → identifier/patchIdentifier.d.ts} +1 -1
- package/dist/{index.d.ts → lib/index.d.ts} +1 -1
- package/dist/lib/utils/extend.d.ts +1 -0
- package/dist/wasm/wasm_dpp.d.ts +503 -262
- package/lib/dpp.ts +24 -0
- package/lib/errors/AbstractConsensusError.ts +13 -0
- package/lib/errors/DPPError.ts +15 -0
- package/lib/errors/patchConsensusErrors.ts +175 -0
- package/lib/{patchIdentifier.ts → identifier/patchIdentifier.ts} +1 -1
- package/{index.ts → lib/index.ts} +4 -3
- package/lib/test/expect/expectError.js +4 -2
- package/lib/utils/extend.ts +6 -0
- package/package.json +5 -5
- package/src/data_contract/errors/invalid_data_contract.rs +21 -0
- package/src/data_contract/state_transition/data_contract_create_transition/apply.rs +44 -0
- package/src/data_contract/state_transition/data_contract_create_transition/mod.rs +107 -6
- package/src/data_contract/state_transition/data_contract_create_transition/validation.rs +24 -0
- package/src/data_contract/state_transition/data_contract_update_transition/apply.rs +44 -0
- package/src/data_contract/state_transition/data_contract_update_transition/mod.rs +147 -0
- package/src/data_contract/state_transition/data_contract_update_transition/validation.rs +46 -0
- package/src/data_contract/state_transition/mod.rs +2 -0
- package/src/data_contract_factory/data_contract_factory.rs +27 -12
- package/src/document/errors/document_already_exists_error.rs +1 -1
- package/src/document/errors/document_not_provided_error.rs +1 -1
- package/src/document/errors/invalid_document_action_error.rs +1 -1
- package/src/errors/consensus/basic/data_contract/data_contract_max_depth_exceed_error.rs +5 -5
- package/src/errors/consensus/basic/document/duplicate_document_transitions_with_ids_error.rs +4 -4
- package/src/errors/consensus/basic/document/duplicate_document_transitions_with_indices_error.rs +36 -0
- package/src/errors/consensus/basic/document/missing_document_transition_type_error.rs +20 -0
- package/src/errors/consensus/basic/document/mod.rs +4 -0
- package/src/errors/consensus/basic/identity/duplicated_identity_public_key_error.rs +2 -2
- package/src/errors/consensus/basic/identity/duplicated_identity_public_key_id_error.rs +2 -2
- package/src/errors/consensus/basic/identity/invalid_identity_public_key_security_level_error.rs +2 -2
- package/src/errors/consensus/basic/json_schema_error.rs +1 -1
- package/src/errors/consensus/state/data_contract/data_trigger/data_trigger_condition_error.rs +1 -1
- package/src/errors/consensus/state/data_contract/data_trigger/data_trigger_execution_error.rs +1 -1
- package/src/errors/consensus/state/data_contract/data_trigger/data_trigger_invalid_result_error.rs +1 -1
- package/src/errors/consensus_error.rs +15 -8
- package/src/errors/from.rs +1 -1
- package/src/errors/mod.rs +1 -0
- package/src/errors/protocol_error.rs +12 -0
- package/src/{identifier.rs → identifier/mod.rs} +0 -0
- package/src/{identity_facade.rs → identity/identity_facade.rs} +1 -1
- package/src/{identity_public_key → identity/identity_public_key}/key_type.rs +0 -0
- package/src/{identity_public_key → identity/identity_public_key}/mod.rs +0 -3
- package/src/{identity_public_key → identity/identity_public_key}/purpose.rs +0 -0
- package/src/{identity_public_key → identity/identity_public_key}/security_level.rs +0 -0
- package/src/{identity.rs → identity/mod.rs} +6 -7
- package/src/identity/validation/mod.rs +3 -0
- package/src/identity/validation/public_keys_validator.rs +70 -0
- package/src/lib.rs +4 -8
- package/src/state_repository.rs +229 -0
- package/src/state_transition/mod.rs +41 -0
- package/src/utils.rs +2 -2
- package/src/validation/mod.rs +3 -0
- package/src/{validation_result.rs → validation/validation_result.rs} +0 -0
- package/test/integration/identity/stateTransition/IdentityUpdateTransition/validation/state/validateIdentityUpdateTransitionStateFactory.spec.js +1 -1
- package/test/integration/identity/validation/validatePublicKeysFactory.spec.js +79 -114
- package/test/integration/stateTransition/AbstractStateTransitionIdentitySigned.spec.js +0 -11
- package/test/integration/stateTransition/StateTransitionFacade.spec.js +1 -1
- package/test/integration/stateTransition/calculateStateTransitionFeeFactory.spec.js +135 -0
- package/test/unit/dataContract/DataContract.spec.js +5 -9
- package/test/unit/dataContract/DataContractFactory.spec.js +13 -6
- package/test/unit/dataContract/errors/InvalidDataContractError.spec.js +11 -3
- package/test/unit/dataContract/stateTransition/DataContractCreateTransition/DataContractCreateTransition.spec.js +17 -64
- package/test/unit/dataContract/stateTransition/DataContractCreateTransition/applyDataContractCreateTransitionFactory.spec.js +28 -22
- package/test/unit/dataContract/stateTransition/DataContractCreateTransition/validation/state/validateDataContractCreateTransitionStateFactory.spec.js +49 -42
- package/test/unit/dataContract/stateTransition/DataContractUpdateTransition/DataContractUpdateTransition.spec.js +23 -59
- package/test/unit/dataContract/stateTransition/DataContractUpdateTransition/applyDataContractUpdateTransitionFactory.spec.js +27 -23
- package/test/unit/dataContract/stateTransition/DataContractUpdateTransition/validation/basic/validateIndicesAreBackwardCompatible.spec.js +29 -12
- package/test/unit/dataContract/stateTransition/DataContractUpdateTransition/validation/state/validateDataContractUpdateTransitionStateFactory.spec.js +66 -49
- package/test/unit/dataContract/validation/validateDataContractPatterns.spec.js +73 -0
- package/test/unit/document/stateTransition/DocumetsBatchTransition/applyDocumentsBatchTransitionFactory.spec.js +1 -1
- package/test/unit/document/stateTransition/DocumetsBatchTransition/validation/state/validateDocumentsBatchTransitionStateFactory.spec.js +1 -1
- package/test/unit/identity/IdentityPublicKey.spec.js +25 -31
- package/tsconfig.json +1 -1
- package/wasm/wasm_dpp.d.ts +503 -262
- package/wasm/wasm_dpp.js +925 -310
- package/wasm/wasm_dpp_bg.js +1 -1
- package/wasm/wasm_dpp_bg.wasm +0 -0
- package/wasm/wasm_dpp_bg.wasm.d.ts +273 -225
- package/webpack.config.js +1 -1
- package/src/identity_public_key/public_keys_validator.rs +0 -44
- package/test/integration/stateTransition/calculateStateTransitionFee.spec.js +0 -32
- package/test/unit/dataContract/validation/validateDataContractMaxDepthFactory.spec.js +0 -93
- package/test/unit/dataContract/validation/validateDataContractPatternsFactory.spec.js +0 -64
package/dist/wasm/wasm_dpp.d.ts
CHANGED
|
@@ -1,6 +1,40 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
+
* @param {any} state_repository
|
|
5
|
+
* @param {DataContractCreateTransition} state_transition
|
|
6
|
+
* @returns {Promise<ValidationResult>}
|
|
7
|
+
*/
|
|
8
|
+
export function validateDataContractCreateTransitionState(state_repository: any, state_transition: DataContractCreateTransition): Promise<ValidationResult>;
|
|
9
|
+
/**
|
|
10
|
+
* @param {any} state_repository
|
|
11
|
+
* @param {DataContractUpdateTransition} state_transition
|
|
12
|
+
* @returns {Promise<ValidationResult>}
|
|
13
|
+
*/
|
|
14
|
+
export function validateDataContractUpdateTransitionState(state_repository: any, state_transition: DataContractUpdateTransition): Promise<ValidationResult>;
|
|
15
|
+
/**
|
|
16
|
+
* @param {any} old_documents_schema
|
|
17
|
+
* @param {any} new_documents_schema
|
|
18
|
+
* @returns {ValidationResult}
|
|
19
|
+
*/
|
|
20
|
+
export function validateIndicesAreBackwardCompatible(old_documents_schema: any, new_documents_schema: any): ValidationResult;
|
|
21
|
+
/**
|
|
22
|
+
*/
|
|
23
|
+
export enum KeySecurityLevel {
|
|
24
|
+
MASTER,
|
|
25
|
+
CRITICAL,
|
|
26
|
+
HIGH,
|
|
27
|
+
MEDIUM,
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
*/
|
|
31
|
+
export enum KeyType {
|
|
32
|
+
ECDSA_SECP256K1,
|
|
33
|
+
BLS12_381,
|
|
34
|
+
ECDSA_HASH160,
|
|
35
|
+
BIP13_SCRIPT_HASH,
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
4
38
|
*/
|
|
5
39
|
export enum KeyPurpose {
|
|
6
40
|
/**
|
|
@@ -19,19 +53,31 @@ export enum KeyPurpose {
|
|
|
19
53
|
}
|
|
20
54
|
/**
|
|
21
55
|
*/
|
|
22
|
-
export
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
56
|
+
export class ApplyDataContractCreateTransition {
|
|
57
|
+
free(): void;
|
|
58
|
+
/**
|
|
59
|
+
* @param {any} state_repository
|
|
60
|
+
*/
|
|
61
|
+
constructor(state_repository: any);
|
|
62
|
+
/**
|
|
63
|
+
* @param {DataContractCreateTransition} transition
|
|
64
|
+
* @returns {Promise<void>}
|
|
65
|
+
*/
|
|
66
|
+
applyDataContractCreateTransition(transition: DataContractCreateTransition): Promise<void>;
|
|
27
67
|
}
|
|
28
68
|
/**
|
|
29
69
|
*/
|
|
30
|
-
export
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
70
|
+
export class ApplyDataContractUpdateTransition {
|
|
71
|
+
free(): void;
|
|
72
|
+
/**
|
|
73
|
+
* @param {any} state_repository
|
|
74
|
+
*/
|
|
75
|
+
constructor(state_repository: any);
|
|
76
|
+
/**
|
|
77
|
+
* @param {DataContractUpdateTransition} transition
|
|
78
|
+
* @returns {Promise<void>}
|
|
79
|
+
*/
|
|
80
|
+
applyDataContractUpdateTransition(transition: DataContractUpdateTransition): Promise<void>;
|
|
35
81
|
}
|
|
36
82
|
/**
|
|
37
83
|
*/
|
|
@@ -204,6 +250,10 @@ export class DataContractAlreadyPresentError {
|
|
|
204
250
|
export class DataContractCreateTransition {
|
|
205
251
|
free(): void;
|
|
206
252
|
/**
|
|
253
|
+
* @param {any} raw_parameters
|
|
254
|
+
*/
|
|
255
|
+
constructor(raw_parameters: any);
|
|
256
|
+
/**
|
|
207
257
|
* @returns {DataContract}
|
|
208
258
|
*/
|
|
209
259
|
getDataContract(): DataContract;
|
|
@@ -215,6 +265,44 @@ export class DataContractCreateTransition {
|
|
|
215
265
|
* @returns {any}
|
|
216
266
|
*/
|
|
217
267
|
getEntropy(): any;
|
|
268
|
+
/**
|
|
269
|
+
* @returns {Identifier}
|
|
270
|
+
*/
|
|
271
|
+
getOwnerId(): Identifier;
|
|
272
|
+
/**
|
|
273
|
+
* @returns {number}
|
|
274
|
+
*/
|
|
275
|
+
getType(): number;
|
|
276
|
+
/**
|
|
277
|
+
* @param {boolean | undefined} skip_signature
|
|
278
|
+
* @returns {any}
|
|
279
|
+
*/
|
|
280
|
+
toJSON(skip_signature?: boolean): any;
|
|
281
|
+
/**
|
|
282
|
+
* @param {boolean | undefined} skip_signature
|
|
283
|
+
* @returns {any}
|
|
284
|
+
*/
|
|
285
|
+
toBuffer(skip_signature?: boolean): any;
|
|
286
|
+
/**
|
|
287
|
+
* @returns {any[]}
|
|
288
|
+
*/
|
|
289
|
+
getModifiedDataIds(): any[];
|
|
290
|
+
/**
|
|
291
|
+
* @returns {boolean}
|
|
292
|
+
*/
|
|
293
|
+
isDataContractStateTransition(): boolean;
|
|
294
|
+
/**
|
|
295
|
+
* @returns {boolean}
|
|
296
|
+
*/
|
|
297
|
+
isDocumentStateTransition(): boolean;
|
|
298
|
+
/**
|
|
299
|
+
* @returns {boolean}
|
|
300
|
+
*/
|
|
301
|
+
isIdentityStateTransition(): boolean;
|
|
302
|
+
/**
|
|
303
|
+
* @param {StateTransitionExecutionContext} context
|
|
304
|
+
*/
|
|
305
|
+
setExecutionContext(context: StateTransitionExecutionContext): void;
|
|
218
306
|
}
|
|
219
307
|
/**
|
|
220
308
|
*/
|
|
@@ -311,16 +399,8 @@ export class DataContractInvalidIndexDefinitionUpdateError {
|
|
|
311
399
|
}
|
|
312
400
|
/**
|
|
313
401
|
*/
|
|
314
|
-
export class
|
|
402
|
+
export class DataContractMaxDepthExceedError {
|
|
315
403
|
free(): void;
|
|
316
|
-
/**
|
|
317
|
-
* @returns {number}
|
|
318
|
-
*/
|
|
319
|
-
getDepth(): number;
|
|
320
|
-
/**
|
|
321
|
-
* @returns {number}
|
|
322
|
-
*/
|
|
323
|
-
getCode(): number;
|
|
324
404
|
}
|
|
325
405
|
/**
|
|
326
406
|
*/
|
|
@@ -354,11 +434,80 @@ export class DataContractUniqueIndicesChangedError {
|
|
|
354
434
|
}
|
|
355
435
|
/**
|
|
356
436
|
*/
|
|
437
|
+
export class DataContractUpdateTransition {
|
|
438
|
+
free(): void;
|
|
439
|
+
/**
|
|
440
|
+
* @param {any} raw_parameters
|
|
441
|
+
*/
|
|
442
|
+
constructor(raw_parameters: any);
|
|
443
|
+
/**
|
|
444
|
+
* @returns {DataContract}
|
|
445
|
+
*/
|
|
446
|
+
getDataContract(): DataContract;
|
|
447
|
+
/**
|
|
448
|
+
* @returns {number}
|
|
449
|
+
*/
|
|
450
|
+
getProtocolVersion(): number;
|
|
451
|
+
/**
|
|
452
|
+
* @returns {any}
|
|
453
|
+
*/
|
|
454
|
+
getEntropy(): any;
|
|
455
|
+
/**
|
|
456
|
+
* @returns {Identifier}
|
|
457
|
+
*/
|
|
458
|
+
getOwnerId(): Identifier;
|
|
459
|
+
/**
|
|
460
|
+
* @returns {number}
|
|
461
|
+
*/
|
|
462
|
+
getType(): number;
|
|
463
|
+
/**
|
|
464
|
+
* @param {boolean | undefined} skip_signature
|
|
465
|
+
* @returns {any}
|
|
466
|
+
*/
|
|
467
|
+
toJSON(skip_signature?: boolean): any;
|
|
468
|
+
/**
|
|
469
|
+
* @param {boolean | undefined} skip_signature
|
|
470
|
+
* @returns {any}
|
|
471
|
+
*/
|
|
472
|
+
toBuffer(skip_signature?: boolean): any;
|
|
473
|
+
/**
|
|
474
|
+
* @returns {any[]}
|
|
475
|
+
*/
|
|
476
|
+
getModifiedDataIds(): any[];
|
|
477
|
+
/**
|
|
478
|
+
* @returns {boolean}
|
|
479
|
+
*/
|
|
480
|
+
isDataContractStateTransition(): boolean;
|
|
481
|
+
/**
|
|
482
|
+
* @returns {boolean}
|
|
483
|
+
*/
|
|
484
|
+
isDocumentStateTransition(): boolean;
|
|
485
|
+
/**
|
|
486
|
+
* @returns {boolean}
|
|
487
|
+
*/
|
|
488
|
+
isIdentityStateTransition(): boolean;
|
|
489
|
+
/**
|
|
490
|
+
* @param {StateTransitionExecutionContext} context
|
|
491
|
+
*/
|
|
492
|
+
setExecutionContext(context: StateTransitionExecutionContext): void;
|
|
493
|
+
/**
|
|
494
|
+
* @param {boolean | undefined} skip_signature
|
|
495
|
+
* @returns {any}
|
|
496
|
+
*/
|
|
497
|
+
hash(skip_signature?: boolean): any;
|
|
498
|
+
}
|
|
499
|
+
/**
|
|
500
|
+
*/
|
|
357
501
|
export class DataContractValidator {
|
|
358
502
|
free(): void;
|
|
359
503
|
/**
|
|
360
504
|
*/
|
|
361
505
|
constructor();
|
|
506
|
+
/**
|
|
507
|
+
* @param {any} raw_data_contract
|
|
508
|
+
* @returns {ValidationResult}
|
|
509
|
+
*/
|
|
510
|
+
validate(raw_data_contract: any): ValidationResult;
|
|
362
511
|
}
|
|
363
512
|
/**
|
|
364
513
|
*/
|
|
@@ -699,6 +848,19 @@ export class DuplicateDocumentTransitionsWithIdsError {
|
|
|
699
848
|
}
|
|
700
849
|
/**
|
|
701
850
|
*/
|
|
851
|
+
export class DuplicateDocumentTransitionsWithIndicesError {
|
|
852
|
+
free(): void;
|
|
853
|
+
/**
|
|
854
|
+
* @returns {Array<any>}
|
|
855
|
+
*/
|
|
856
|
+
getReferences(): Array<any>;
|
|
857
|
+
/**
|
|
858
|
+
* @returns {number}
|
|
859
|
+
*/
|
|
860
|
+
getCode(): number;
|
|
861
|
+
}
|
|
862
|
+
/**
|
|
863
|
+
*/
|
|
702
864
|
export class DuplicateIndexError {
|
|
703
865
|
free(): void;
|
|
704
866
|
/**
|
|
@@ -753,9 +915,9 @@ export class DuplicateUniqueIndexError {
|
|
|
753
915
|
export class DuplicatedIdentityPublicKeyError {
|
|
754
916
|
free(): void;
|
|
755
917
|
/**
|
|
756
|
-
* @returns {
|
|
918
|
+
* @returns {Array<any>}
|
|
757
919
|
*/
|
|
758
|
-
getDuplicatedPublicKeysIds():
|
|
920
|
+
getDuplicatedPublicKeysIds(): Array<any>;
|
|
759
921
|
/**
|
|
760
922
|
* @returns {number}
|
|
761
923
|
*/
|
|
@@ -766,9 +928,9 @@ export class DuplicatedIdentityPublicKeyError {
|
|
|
766
928
|
export class DuplicatedIdentityPublicKeyIdError {
|
|
767
929
|
free(): void;
|
|
768
930
|
/**
|
|
769
|
-
* @returns {
|
|
931
|
+
* @returns {Array<any>}
|
|
770
932
|
*/
|
|
771
|
-
getDuplicatedIds():
|
|
933
|
+
getDuplicatedIds(): Array<any>;
|
|
772
934
|
/**
|
|
773
935
|
* @returns {number}
|
|
774
936
|
*/
|
|
@@ -1374,9 +1536,8 @@ export class InvalidDataContractError {
|
|
|
1374
1536
|
/**
|
|
1375
1537
|
* @param {any[]} errors
|
|
1376
1538
|
* @param {any} raw_data_contract
|
|
1377
|
-
* @returns {InvalidDataContractError}
|
|
1378
1539
|
*/
|
|
1379
|
-
|
|
1540
|
+
constructor(errors: any[], raw_data_contract: any);
|
|
1380
1541
|
/**
|
|
1381
1542
|
* @returns {any[]}
|
|
1382
1543
|
*/
|
|
@@ -1385,6 +1546,10 @@ export class InvalidDataContractError {
|
|
|
1385
1546
|
* @returns {any}
|
|
1386
1547
|
*/
|
|
1387
1548
|
getRawDataContract(): any;
|
|
1549
|
+
/**
|
|
1550
|
+
* @returns {string}
|
|
1551
|
+
*/
|
|
1552
|
+
getMessage(): string;
|
|
1388
1553
|
}
|
|
1389
1554
|
/**
|
|
1390
1555
|
*/
|
|
@@ -1656,11 +1821,11 @@ export class InvalidIdentityPublicKeySecurityLevelError {
|
|
|
1656
1821
|
/**
|
|
1657
1822
|
* @returns {number}
|
|
1658
1823
|
*/
|
|
1659
|
-
|
|
1824
|
+
getPublicKeyPurpose(): number;
|
|
1660
1825
|
/**
|
|
1661
1826
|
* @returns {number}
|
|
1662
1827
|
*/
|
|
1663
|
-
|
|
1828
|
+
getPublicKeySecurityLevel(): number;
|
|
1664
1829
|
/**
|
|
1665
1830
|
* @returns {number}
|
|
1666
1831
|
*/
|
|
@@ -1944,6 +2109,15 @@ export class MissingDocumentTransitionActionError {
|
|
|
1944
2109
|
}
|
|
1945
2110
|
/**
|
|
1946
2111
|
*/
|
|
2112
|
+
export class MissingDocumentTransitionTypeError {
|
|
2113
|
+
free(): void;
|
|
2114
|
+
/**
|
|
2115
|
+
* @returns {number}
|
|
2116
|
+
*/
|
|
2117
|
+
getCode(): number;
|
|
2118
|
+
}
|
|
2119
|
+
/**
|
|
2120
|
+
*/
|
|
1947
2121
|
export class MissingDocumentTypeError {
|
|
1948
2122
|
free(): void;
|
|
1949
2123
|
/**
|
|
@@ -2064,6 +2238,11 @@ export class PublicKeysValidator {
|
|
|
2064
2238
|
* @returns {ValidationResult}
|
|
2065
2239
|
*/
|
|
2066
2240
|
validatePublicKeyStructure(public_key: any): ValidationResult;
|
|
2241
|
+
/**
|
|
2242
|
+
* @param {Array<any>} public_keys
|
|
2243
|
+
* @returns {ValidationResult}
|
|
2244
|
+
*/
|
|
2245
|
+
validateKeysInStateTransition(public_keys: Array<any>): ValidationResult;
|
|
2067
2246
|
}
|
|
2068
2247
|
/**
|
|
2069
2248
|
*/
|
|
@@ -2080,6 +2259,20 @@ export class SerializedObjectParsingError {
|
|
|
2080
2259
|
}
|
|
2081
2260
|
/**
|
|
2082
2261
|
*/
|
|
2262
|
+
export class StateTransitionExecutionContext {
|
|
2263
|
+
free(): void;
|
|
2264
|
+
/**
|
|
2265
|
+
*/
|
|
2266
|
+
constructor();
|
|
2267
|
+
/**
|
|
2268
|
+
*/
|
|
2269
|
+
enableDryRun(): void;
|
|
2270
|
+
/**
|
|
2271
|
+
*/
|
|
2272
|
+
disableDryRun(): void;
|
|
2273
|
+
}
|
|
2274
|
+
/**
|
|
2275
|
+
*/
|
|
2083
2276
|
export class StateTransitionMaxSizeExceededError {
|
|
2084
2277
|
free(): void;
|
|
2085
2278
|
/**
|
|
@@ -2217,10 +2410,68 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
2217
2410
|
|
|
2218
2411
|
export interface InitOutput {
|
|
2219
2412
|
readonly memory: WebAssembly.Memory;
|
|
2220
|
-
readonly
|
|
2221
|
-
readonly
|
|
2222
|
-
readonly
|
|
2223
|
-
readonly
|
|
2413
|
+
readonly __wbg_duplicatedocumenttransitionswithidserror_free: (a: number) => void;
|
|
2414
|
+
readonly duplicatedocumenttransitionswithidserror_getReferences: (a: number) => number;
|
|
2415
|
+
readonly duplicatedocumenttransitionswithidserror_getCode: (a: number) => number;
|
|
2416
|
+
readonly __wbg_identityassetlocktransactionoutputnotfounderror_free: (a: number) => void;
|
|
2417
|
+
readonly identityassetlocktransactionoutputnotfounderror_getOutputIndex: (a: number) => number;
|
|
2418
|
+
readonly identityassetlocktransactionoutputnotfounderror_getCode: (a: number) => number;
|
|
2419
|
+
readonly invalidassetlocktransactionoutputreturnsizeerror_getOutputIndex: (a: number) => number;
|
|
2420
|
+
readonly invalidassetlocktransactionoutputreturnsizeerror_getCode: (a: number) => number;
|
|
2421
|
+
readonly invalididentityassetlocktransactionoutputerror_getOutputIndex: (a: number) => number;
|
|
2422
|
+
readonly invalididentityassetlocktransactionoutputerror_getCode: (a: number) => number;
|
|
2423
|
+
readonly __wbg_identifier_free: (a: number) => void;
|
|
2424
|
+
readonly identifier_new: (a: number, b: number, c: number) => void;
|
|
2425
|
+
readonly identifier_from: (a: number, b: number, c: number, d: number) => void;
|
|
2426
|
+
readonly identifier_fromString: (a: number, b: number, c: number, d: number) => number;
|
|
2427
|
+
readonly identifier_toBuffer: (a: number) => number;
|
|
2428
|
+
readonly identifier_toJSON: (a: number, b: number) => void;
|
|
2429
|
+
readonly identifier_toString: (a: number, b: number, c: number, d: number) => void;
|
|
2430
|
+
readonly identifier_length: (a: number) => number;
|
|
2431
|
+
readonly identifier_inner: (a: number, b: number) => void;
|
|
2432
|
+
readonly __wbg_validationresult_free: (a: number) => void;
|
|
2433
|
+
readonly validationresult_errorsText: (a: number, b: number) => void;
|
|
2434
|
+
readonly validationresult_isValid: (a: number) => number;
|
|
2435
|
+
readonly validationresult_getErrors: (a: number, b: number) => void;
|
|
2436
|
+
readonly duplicatedocumenttransitionswithindiceserror_getCode: (a: number) => number;
|
|
2437
|
+
readonly __wbg_duplicatedocumenttransitionswithindiceserror_free: (a: number) => void;
|
|
2438
|
+
readonly __wbg_invalidassetlocktransactionoutputreturnsizeerror_free: (a: number) => void;
|
|
2439
|
+
readonly __wbg_invalididentityassetlocktransactionoutputerror_free: (a: number) => void;
|
|
2440
|
+
readonly duplicatedocumenttransitionswithindiceserror_getReferences: (a: number) => number;
|
|
2441
|
+
readonly __wbg_protocolversionparsingerror_free: (a: number) => void;
|
|
2442
|
+
readonly protocolversionparsingerror_getParsingError: (a: number) => number;
|
|
2443
|
+
readonly protocolversionparsingerror_getCode: (a: number) => number;
|
|
2444
|
+
readonly __wbg_invalididentitycreditwithdrawaltransitioncorefeeerror_free: (a: number) => void;
|
|
2445
|
+
readonly invalididentitycreditwithdrawaltransitioncorefeeerror_getCoreFee: (a: number) => number;
|
|
2446
|
+
readonly invalididentitycreditwithdrawaltransitioncorefeeerror_getCode: (a: number) => number;
|
|
2447
|
+
readonly __wbg_datatriggerinvalidresulterror_free: (a: number) => void;
|
|
2448
|
+
readonly datatriggerinvalidresulterror_getDataContractId: (a: number) => number;
|
|
2449
|
+
readonly datatriggerinvalidresulterror_getDocumentTransitionId: (a: number) => number;
|
|
2450
|
+
readonly datatriggerinvalidresulterror_getTimestamp: (a: number) => number;
|
|
2451
|
+
readonly datatriggerinvalidresulterror_getOwnerId: (a: number) => number;
|
|
2452
|
+
readonly datatriggerinvalidresulterror_getCode: (a: number) => number;
|
|
2453
|
+
readonly __wbg_identityfacade_free: (a: number) => void;
|
|
2454
|
+
readonly identityfacade_new: (a: number) => number;
|
|
2455
|
+
readonly identityfacade_validate: (a: number, b: number, c: number) => void;
|
|
2456
|
+
readonly __wbg_nonconsensuserrorwasm_free: (a: number) => void;
|
|
2457
|
+
readonly serializedobjectparsingerror_getCode: (a: number) => number;
|
|
2458
|
+
readonly __wbg_serializedobjectparsingerror_free: (a: number) => void;
|
|
2459
|
+
readonly serializedobjectparsingerror_getParsingError: (a: number) => number;
|
|
2460
|
+
readonly __wbg_datacontractupdatetransition_free: (a: number) => void;
|
|
2461
|
+
readonly datacontractupdatetransition_new: (a: number, b: number) => void;
|
|
2462
|
+
readonly datacontractupdatetransition_getDataContract: (a: number) => number;
|
|
2463
|
+
readonly datacontractupdatetransition_getProtocolVersion: (a: number) => number;
|
|
2464
|
+
readonly datacontractupdatetransition_getEntropy: (a: number) => number;
|
|
2465
|
+
readonly datacontractupdatetransition_getOwnerId: (a: number) => number;
|
|
2466
|
+
readonly datacontractupdatetransition_getType: (a: number) => number;
|
|
2467
|
+
readonly datacontractupdatetransition_toJSON: (a: number, b: number, c: number) => void;
|
|
2468
|
+
readonly datacontractupdatetransition_toBuffer: (a: number, b: number, c: number) => void;
|
|
2469
|
+
readonly datacontractupdatetransition_getModifiedDataIds: (a: number, b: number) => void;
|
|
2470
|
+
readonly datacontractupdatetransition_isDataContractStateTransition: (a: number) => number;
|
|
2471
|
+
readonly datacontractupdatetransition_isDocumentStateTransition: (a: number) => number;
|
|
2472
|
+
readonly datacontractupdatetransition_isIdentityStateTransition: (a: number) => number;
|
|
2473
|
+
readonly datacontractupdatetransition_setExecutionContext: (a: number, b: number) => void;
|
|
2474
|
+
readonly datacontractupdatetransition_hash: (a: number, b: number, c: number) => void;
|
|
2224
2475
|
readonly __wbg_document_free: (a: number) => void;
|
|
2225
2476
|
readonly document_getProtocolVersion: (a: number) => number;
|
|
2226
2477
|
readonly document_getId: (a: number) => number;
|
|
@@ -2245,13 +2496,6 @@ export interface InitOutput {
|
|
|
2245
2496
|
readonly document_toJSON: (a: number, b: number) => void;
|
|
2246
2497
|
readonly document_toBuffer: (a: number, b: number) => void;
|
|
2247
2498
|
readonly document_hash: (a: number, b: number) => void;
|
|
2248
|
-
readonly __wbg_incompatibledatacontractschemaerror_free: (a: number) => void;
|
|
2249
|
-
readonly incompatibledatacontractschemaerror_getDataContractId: (a: number) => number;
|
|
2250
|
-
readonly incompatibledatacontractschemaerror_getOperation: (a: number, b: number) => void;
|
|
2251
|
-
readonly incompatibledatacontractschemaerror_getFieldPath: (a: number, b: number) => void;
|
|
2252
|
-
readonly incompatibledatacontractschemaerror_getOldSchema: (a: number, b: number) => void;
|
|
2253
|
-
readonly incompatibledatacontractschemaerror_getNewSchema: (a: number, b: number) => void;
|
|
2254
|
-
readonly incompatibledatacontractschemaerror_getCode: (a: number) => number;
|
|
2255
2499
|
readonly __wbg_invalidindexedpropertyconstrainterror_free: (a: number) => void;
|
|
2256
2500
|
readonly invalidindexedpropertyconstrainterror_getDocumentType: (a: number, b: number) => void;
|
|
2257
2501
|
readonly invalidindexedpropertyconstrainterror_getIndexDefinition: (a: number) => number;
|
|
@@ -2259,31 +2503,66 @@ export interface InitOutput {
|
|
|
2259
2503
|
readonly invalidindexedpropertyconstrainterror_getConstraintName: (a: number, b: number) => void;
|
|
2260
2504
|
readonly invalidindexedpropertyconstrainterror_getReason: (a: number, b: number) => void;
|
|
2261
2505
|
readonly invalidindexedpropertyconstrainterror_getCode: (a: number) => number;
|
|
2262
|
-
readonly
|
|
2263
|
-
readonly
|
|
2264
|
-
readonly serializedobjectparsingerror_getCode: (a: number) => number;
|
|
2265
|
-
readonly __wbg_invalididentitypublickeytypeerror_free: (a: number) => void;
|
|
2266
|
-
readonly invalididentitypublickeytypeerror_getPublicKeyType: (a: number) => number;
|
|
2267
|
-
readonly __wbg_datacontractalreadypresenterror_free: (a: number) => void;
|
|
2268
|
-
readonly datacontractalreadypresenterror_getDataContractId: (a: number) => number;
|
|
2269
|
-
readonly datacontractalreadypresenterror_getCode: (a: number) => number;
|
|
2270
|
-
readonly invalididentitypublickeytypeerror_getCode: (a: number) => number;
|
|
2271
|
-
readonly identitynotfounderror_getCode: (a: number) => number;
|
|
2272
|
-
readonly datacontractnotpresenterror_getCode: (a: number) => number;
|
|
2273
|
-
readonly documentalreadypresenterror_getCode: (a: number) => number;
|
|
2274
|
-
readonly documentnotfounderror_getCode: (a: number) => number;
|
|
2506
|
+
readonly __wbg_documenttimestampsmismatcherror_free: (a: number) => void;
|
|
2507
|
+
readonly documenttimestampsmismatcherror_getDocumentId: (a: number) => number;
|
|
2275
2508
|
readonly documenttimestampsmismatcherror_getCode: (a: number) => number;
|
|
2276
2509
|
readonly document_toObject: (a: number, b: number) => void;
|
|
2277
|
-
readonly
|
|
2278
|
-
readonly
|
|
2279
|
-
readonly
|
|
2280
|
-
readonly
|
|
2281
|
-
readonly
|
|
2510
|
+
readonly validateDataContractCreateTransitionState: (a: number, b: number) => number;
|
|
2511
|
+
readonly validateDataContractUpdateTransitionState: (a: number, b: number) => number;
|
|
2512
|
+
readonly validateIndicesAreBackwardCompatible: (a: number, b: number, c: number) => void;
|
|
2513
|
+
readonly __wbg_datacontractmaxdepthexceederror_free: (a: number) => void;
|
|
2514
|
+
readonly datacontractmaxdeptherror_getCode: (a: number) => number;
|
|
2515
|
+
readonly __wbg_incompatibledatacontractschemaerror_free: (a: number) => void;
|
|
2516
|
+
readonly incompatibledatacontractschemaerror_getDataContractId: (a: number) => number;
|
|
2517
|
+
readonly incompatibledatacontractschemaerror_getOperation: (a: number, b: number) => void;
|
|
2518
|
+
readonly incompatibledatacontractschemaerror_getFieldPath: (a: number, b: number) => void;
|
|
2519
|
+
readonly incompatibledatacontractschemaerror_getOldSchema: (a: number, b: number) => void;
|
|
2520
|
+
readonly incompatibledatacontractschemaerror_getNewSchema: (a: number, b: number) => void;
|
|
2521
|
+
readonly incompatibledatacontractschemaerror_getCode: (a: number) => number;
|
|
2522
|
+
readonly __wbg_invaliddocumenttransitionactionerror_free: (a: number) => void;
|
|
2523
|
+
readonly invaliddocumenttransitionactionerror_getAction: (a: number, b: number) => void;
|
|
2524
|
+
readonly invaliddocumenttransitionactionerror_getCode: (a: number) => number;
|
|
2525
|
+
readonly invalididentitypublickeytypeerror_getPublicKeyType: (a: number) => number;
|
|
2526
|
+
readonly invalidstatetransitiontypeerror_getTransitionType: (a: number) => number;
|
|
2527
|
+
readonly __wbg_datacontractalreadypresenterror_free: (a: number) => void;
|
|
2528
|
+
readonly datacontractalreadypresenterror_getDataContractId: (a: number) => number;
|
|
2529
|
+
readonly datacontractalreadypresenterror_getCode: (a: number) => number;
|
|
2530
|
+
readonly __wbg_identitypublickeyisdisablederror_free: (a: number) => void;
|
|
2531
|
+
readonly identitypublickeyisdisablederror_getPublicKeyIndex: (a: number) => number;
|
|
2532
|
+
readonly identitypublickeyisdisablederror_getCode: (a: number) => number;
|
|
2533
|
+
readonly __wbg_statetransitionexecutioncontext_free: (a: number) => void;
|
|
2534
|
+
readonly statetransitionexecutioncontext_new: () => number;
|
|
2535
|
+
readonly statetransitionexecutioncontext_enableDryRun: (a: number) => void;
|
|
2536
|
+
readonly statetransitionexecutioncontext_disableDryRun: (a: number) => void;
|
|
2537
|
+
readonly __wbg_invalidjsonschemareferror_free: (a: number) => void;
|
|
2538
|
+
readonly __wbg_jsonschemacompilationerror_free: (a: number) => void;
|
|
2539
|
+
readonly datacontractnotpresenterror_getCode: (a: number) => number;
|
|
2540
|
+
readonly invalidjsonschemareferror_getCode: (a: number) => number;
|
|
2541
|
+
readonly invalididentitypublickeytypeerror_getCode: (a: number) => number;
|
|
2542
|
+
readonly jsonschemacompilationerror_getCode: (a: number) => number;
|
|
2543
|
+
readonly invalidstatetransitiontypeerror_getCode: (a: number) => number;
|
|
2544
|
+
readonly identitynotfounderror_getCode: (a: number) => number;
|
|
2545
|
+
readonly datacontractmaxdeptherror_getDepth: (a: number) => number;
|
|
2546
|
+
readonly documentalreadypresenterror_getCode: (a: number) => number;
|
|
2547
|
+
readonly documentnotfounderror_getCode: (a: number) => number;
|
|
2548
|
+
readonly identitypublickeyisreadonlyerror_getCode: (a: number) => number;
|
|
2549
|
+
readonly maxidentitypublickeylimitreachederror_getIdentityId: (a: number) => number;
|
|
2550
|
+
readonly maxidentitypublickeylimitreachederror_getCode: (a: number) => number;
|
|
2551
|
+
readonly identitypublickeyisreadonlyerror_getKeyId: (a: number) => number;
|
|
2552
|
+
readonly invalidjsonschemareferror_getRefError: (a: number, b: number) => void;
|
|
2553
|
+
readonly jsonschemacompilationerror_getError: (a: number, b: number) => void;
|
|
2554
|
+
readonly identitynotfounderror_getIdentityId: (a: number) => number;
|
|
2555
|
+
readonly datacontractnotpresenterror_getDataContractId: (a: number) => number;
|
|
2556
|
+
readonly documentalreadypresenterror_getDocumentId: (a: number) => number;
|
|
2557
|
+
readonly documentnotfounderror_getDocumentId: (a: number) => number;
|
|
2558
|
+
readonly __wbg_invalididentitypublickeytypeerror_free: (a: number) => void;
|
|
2559
|
+
readonly __wbg_invalidstatetransitiontypeerror_free: (a: number) => void;
|
|
2282
2560
|
readonly __wbg_identitynotfounderror_free: (a: number) => void;
|
|
2283
2561
|
readonly __wbg_datacontractnotpresenterror_free: (a: number) => void;
|
|
2284
2562
|
readonly __wbg_documentalreadypresenterror_free: (a: number) => void;
|
|
2285
2563
|
readonly __wbg_documentnotfounderror_free: (a: number) => void;
|
|
2286
|
-
readonly
|
|
2564
|
+
readonly __wbg_identitypublickeyisreadonlyerror_free: (a: number) => void;
|
|
2565
|
+
readonly __wbg_maxidentitypublickeylimitreachederror_free: (a: number) => void;
|
|
2287
2566
|
readonly __wbg_datacontract_free: (a: number) => void;
|
|
2288
2567
|
readonly datacontract_new: (a: number, b: number) => void;
|
|
2289
2568
|
readonly datacontract_getProtocolVersion: (a: number) => number;
|
|
@@ -2315,37 +2594,36 @@ export interface InitOutput {
|
|
|
2315
2594
|
readonly datacontract_from: (a: number, b: number) => void;
|
|
2316
2595
|
readonly __wbg_datacontractdefaults_free: (a: number) => void;
|
|
2317
2596
|
readonly datacontractdefaults_get_default_schema: (a: number) => void;
|
|
2597
|
+
readonly __wbg_invaliddatacontracterror_free: (a: number) => void;
|
|
2598
|
+
readonly invaliddatacontracterror_new: (a: number, b: number, c: number) => number;
|
|
2599
|
+
readonly invaliddatacontracterror_getErrors: (a: number, b: number) => void;
|
|
2600
|
+
readonly invaliddatacontracterror_getRawDataContract: (a: number) => number;
|
|
2601
|
+
readonly invaliddatacontracterror_getMessage: (a: number, b: number) => void;
|
|
2602
|
+
readonly __wbg_applydatacontractcreatetransition_free: (a: number) => void;
|
|
2603
|
+
readonly applydatacontractcreatetransition_new: (a: number) => number;
|
|
2604
|
+
readonly applydatacontractcreatetransition_applyDataContractCreateTransition: (a: number, b: number) => number;
|
|
2605
|
+
readonly __wbg_datacontractcreatetransition_free: (a: number) => void;
|
|
2606
|
+
readonly datacontractcreatetransition_new: (a: number, b: number) => void;
|
|
2607
|
+
readonly datacontractcreatetransition_getDataContract: (a: number) => number;
|
|
2608
|
+
readonly datacontractcreatetransition_getProtocolVersion: (a: number) => number;
|
|
2609
|
+
readonly datacontractcreatetransition_getEntropy: (a: number) => number;
|
|
2610
|
+
readonly datacontractcreatetransition_getOwnerId: (a: number) => number;
|
|
2611
|
+
readonly datacontractcreatetransition_getType: (a: number) => number;
|
|
2612
|
+
readonly datacontractcreatetransition_toJSON: (a: number, b: number, c: number) => void;
|
|
2613
|
+
readonly datacontractcreatetransition_toBuffer: (a: number, b: number, c: number) => void;
|
|
2614
|
+
readonly datacontractcreatetransition_getModifiedDataIds: (a: number, b: number) => void;
|
|
2615
|
+
readonly datacontractcreatetransition_isDataContractStateTransition: (a: number) => number;
|
|
2616
|
+
readonly datacontractcreatetransition_isDocumentStateTransition: (a: number) => number;
|
|
2617
|
+
readonly datacontractcreatetransition_isIdentityStateTransition: (a: number) => number;
|
|
2618
|
+
readonly datacontractcreatetransition_setExecutionContext: (a: number, b: number) => void;
|
|
2619
|
+
readonly applydatacontractupdatetransition_applyDataContractUpdateTransition: (a: number, b: number) => number;
|
|
2620
|
+
readonly __wbg_invalidactionnameerror_free: (a: number) => void;
|
|
2621
|
+
readonly invalidactionnameerror_new: (a: number, b: number) => number;
|
|
2622
|
+
readonly invalidactionnameerror_getActions: (a: number, b: number) => void;
|
|
2318
2623
|
readonly __wbg_invaliddocumenterror_free: (a: number) => void;
|
|
2319
2624
|
readonly invaliddocumenterror_new: (a: number, b: number, c: number) => number;
|
|
2320
2625
|
readonly invaliddocumenterror_getErrors: (a: number, b: number) => void;
|
|
2321
2626
|
readonly invaliddocumenterror_getDocument: (a: number) => number;
|
|
2322
|
-
readonly __wbg_datacontractmaxdeptherror_free: (a: number) => void;
|
|
2323
|
-
readonly datacontractmaxdeptherror_getDepth: (a: number) => number;
|
|
2324
|
-
readonly datacontractmaxdeptherror_getCode: (a: number) => number;
|
|
2325
|
-
readonly __wbg_invaliddocumenttransitionactionerror_free: (a: number) => void;
|
|
2326
|
-
readonly invaliddocumenttransitionactionerror_getAction: (a: number, b: number) => void;
|
|
2327
|
-
readonly invaliddocumenttransitionactionerror_getCode: (a: number) => number;
|
|
2328
|
-
readonly invalidstatetransitiontypeerror_getTransitionType: (a: number) => number;
|
|
2329
|
-
readonly __wbg_identitypublickeyisreadonlyerror_free: (a: number) => void;
|
|
2330
|
-
readonly identitypublickeyisreadonlyerror_getKeyId: (a: number) => number;
|
|
2331
|
-
readonly identitypublickeyisreadonlyerror_getCode: (a: number) => number;
|
|
2332
|
-
readonly __wbg_invalidjsonschemareferror_free: (a: number) => void;
|
|
2333
|
-
readonly __wbg_jsonschemacompilationerror_free: (a: number) => void;
|
|
2334
|
-
readonly invalidjsonschemareferror_getCode: (a: number) => number;
|
|
2335
|
-
readonly jsonschemacompilationerror_getCode: (a: number) => number;
|
|
2336
|
-
readonly invalidstatetransitiontypeerror_getCode: (a: number) => number;
|
|
2337
|
-
readonly invalididentitypublickeyiderror_getCode: (a: number) => number;
|
|
2338
|
-
readonly maxidentitypublickeylimitreachederror_getIdentityId: (a: number) => number;
|
|
2339
|
-
readonly maxidentitypublickeylimitreachederror_getCode: (a: number) => number;
|
|
2340
|
-
readonly invalididentitypublickeyiderror_getId: (a: number) => number;
|
|
2341
|
-
readonly invalidjsonschemareferror_getRefError: (a: number, b: number) => void;
|
|
2342
|
-
readonly jsonschemacompilationerror_getError: (a: number, b: number) => void;
|
|
2343
|
-
readonly __wbg_invalidstatetransitiontypeerror_free: (a: number) => void;
|
|
2344
|
-
readonly __wbg_invalididentitypublickeyiderror_free: (a: number) => void;
|
|
2345
|
-
readonly __wbg_maxidentitypublickeylimitreachederror_free: (a: number) => void;
|
|
2346
|
-
readonly __wbg_invalidactionnameerror_free: (a: number) => void;
|
|
2347
|
-
readonly invalidactionnameerror_new: (a: number, b: number) => number;
|
|
2348
|
-
readonly invalidactionnameerror_getActions: (a: number, b: number) => void;
|
|
2349
2627
|
readonly __wbg_mismatchownersidserror_free: (a: number) => void;
|
|
2350
2628
|
readonly mismatchownersidserror_new: (a: number, b: number) => number;
|
|
2351
2629
|
readonly mismatchownersidserror_getDocumentTransition: (a: number, b: number) => void;
|
|
@@ -2355,39 +2633,59 @@ export interface InitOutput {
|
|
|
2355
2633
|
readonly invalidindexpropertytypeerror_getPropertyName: (a: number, b: number) => void;
|
|
2356
2634
|
readonly invalidindexpropertytypeerror_getPropertyType: (a: number, b: number) => void;
|
|
2357
2635
|
readonly invalidindexpropertytypeerror_getCode: (a: number) => number;
|
|
2636
|
+
readonly __wbg_transactiondecodeerror_free: (a: number) => void;
|
|
2637
|
+
readonly __wbg_invalididentityassetlocktransactionerror_free: (a: number) => void;
|
|
2638
|
+
readonly invalididentityassetlocktransactionerror_getValidationError: (a: number) => number;
|
|
2639
|
+
readonly invalididentityassetlocktransactionerror_getMessage: (a: number, b: number) => void;
|
|
2640
|
+
readonly invalididentityassetlocktransactionerror_getCode: (a: number) => number;
|
|
2358
2641
|
readonly __wbg_invalididentitykeysignatureerror_free: (a: number) => void;
|
|
2359
2642
|
readonly invalididentitykeysignatureerror_getPublicKeyId: (a: number) => number;
|
|
2360
2643
|
readonly invalididentitykeysignatureerror_getCode: (a: number) => number;
|
|
2361
2644
|
readonly __wbg_invalididentitypublickeysecuritylevelerror_free: (a: number) => void;
|
|
2362
2645
|
readonly invalididentitypublickeysecuritylevelerror_getPublicKeyId: (a: number) => number;
|
|
2363
|
-
readonly
|
|
2364
|
-
readonly
|
|
2646
|
+
readonly invalididentitypublickeysecuritylevelerror_getPublicKeyPurpose: (a: number) => number;
|
|
2647
|
+
readonly invalididentitypublickeysecuritylevelerror_getPublicKeySecurityLevel: (a: number) => number;
|
|
2365
2648
|
readonly invalididentitypublickeysecuritylevelerror_getCode: (a: number) => number;
|
|
2366
2649
|
readonly missingpublickeyerror_getPublicKeyId: (a: number) => number;
|
|
2367
2650
|
readonly __wbg_identitypublickeydisabledatwindowviolationerror_free: (a: number) => void;
|
|
2368
2651
|
readonly identitypublickeydisabledatwindowviolationerror_getDisabledAt: (a: number) => number;
|
|
2369
2652
|
readonly identitypublickeydisabledatwindowviolationerror_getTimeWindowStart: (a: number) => number;
|
|
2370
2653
|
readonly identitypublickeydisabledatwindowviolationerror_getTimeWindowEnd: (a: number) => number;
|
|
2371
|
-
readonly
|
|
2372
|
-
readonly
|
|
2373
|
-
readonly
|
|
2374
|
-
readonly identitypublickeyisdisablederror_getCode: (a: number) => number;
|
|
2654
|
+
readonly __wbg_invalididentitypublickeyiderror_free: (a: number) => void;
|
|
2655
|
+
readonly invalididentitypublickeyiderror_getId: (a: number) => number;
|
|
2656
|
+
readonly invalididentitypublickeyiderror_getCode: (a: number) => number;
|
|
2375
2657
|
readonly publickeyisdisablederror_getPublicKeyId: (a: number) => number;
|
|
2376
2658
|
readonly publickeyisdisablederror_getCode: (a: number) => number;
|
|
2659
|
+
readonly identitypublickeydisabledatwindowviolationerror_getCode: (a: number) => number;
|
|
2377
2660
|
readonly missingpublickeyerror_getCode: (a: number) => number;
|
|
2661
|
+
readonly __wbg_applydatacontractupdatetransition_free: (a: number) => void;
|
|
2662
|
+
readonly applydatacontractupdatetransition_new: (a: number) => number;
|
|
2378
2663
|
readonly __wbg_publickeyisdisablederror_free: (a: number) => void;
|
|
2379
2664
|
readonly __wbg_missingpublickeyerror_free: (a: number) => void;
|
|
2665
|
+
readonly __wbg_invalidinitialrevisionerror_free: (a: number) => void;
|
|
2666
|
+
readonly invalidinitialrevisionerror_new: (a: number) => number;
|
|
2667
|
+
readonly invalidinitialrevisionerror_getDocumentTransition: (a: number) => number;
|
|
2668
|
+
readonly __wbg_systempropertyindexalreadypresenterror_free: (a: number) => void;
|
|
2669
|
+
readonly systempropertyindexalreadypresenterror_getDocumentType: (a: number, b: number) => void;
|
|
2670
|
+
readonly systempropertyindexalreadypresenterror_getIndexDefinition: (a: number) => number;
|
|
2671
|
+
readonly systempropertyindexalreadypresenterror_getPropertyName: (a: number, b: number) => void;
|
|
2672
|
+
readonly systempropertyindexalreadypresenterror_getCode: (a: number) => number;
|
|
2380
2673
|
readonly __wbg_identityassetlockprooflockedtransactionmismatcherror_free: (a: number) => void;
|
|
2381
2674
|
readonly identityassetlockprooflockedtransactionmismatcherror_getInstantLockTransactionId: (a: number) => number;
|
|
2382
2675
|
readonly identityassetlockprooflockedtransactionmismatcherror_getAssetLockTransactionId: (a: number) => number;
|
|
2383
2676
|
readonly identityassetlockprooflockedtransactionmismatcherror_getCode: (a: number) => number;
|
|
2384
|
-
readonly __wbg_transactiondecodeerror_free: (a: number) => void;
|
|
2385
|
-
readonly __wbg_invalididentityassetlocktransactionerror_free: (a: number) => void;
|
|
2386
|
-
readonly invalididentityassetlocktransactionerror_getValidationError: (a: number) => number;
|
|
2387
|
-
readonly invalididentityassetlocktransactionerror_getMessage: (a: number, b: number) => void;
|
|
2388
|
-
readonly invalididentityassetlocktransactionerror_getCode: (a: number) => number;
|
|
2389
2677
|
readonly __wbg_invalidinstantassetlockprooferror_free: (a: number) => void;
|
|
2390
2678
|
readonly invalidinstantassetlockprooferror_getCode: (a: number) => number;
|
|
2679
|
+
readonly __wbg_documentowneridmismatcherror_free: (a: number) => void;
|
|
2680
|
+
readonly documentowneridmismatcherror_getDocumentId: (a: number) => number;
|
|
2681
|
+
readonly documentowneridmismatcherror_getDocumentOwnerId: (a: number) => number;
|
|
2682
|
+
readonly documentowneridmismatcherror_getExistingDocumentOwnerId: (a: number) => number;
|
|
2683
|
+
readonly documentowneridmismatcherror_getCode: (a: number) => number;
|
|
2684
|
+
readonly __wbg_publickeysvalidator_free: (a: number) => void;
|
|
2685
|
+
readonly publickeysvalidator_new: (a: number, b: number) => void;
|
|
2686
|
+
readonly publickeysvalidator_validateKeys: (a: number, b: number, c: number) => void;
|
|
2687
|
+
readonly publickeysvalidator_validatePublicKeyStructure: (a: number, b: number, c: number) => void;
|
|
2688
|
+
readonly publickeysvalidator_validateKeysInStateTransition: (a: number, b: number, c: number) => void;
|
|
2391
2689
|
readonly __wbg_identity_free: (a: number) => void;
|
|
2392
2690
|
readonly __wbg_assetlockproof_free: (a: number) => void;
|
|
2393
2691
|
readonly identity_new: (a: number, b: number) => void;
|
|
@@ -2414,20 +2712,24 @@ export interface InitOutput {
|
|
|
2414
2712
|
readonly identity_addPublicKey: (a: number, b: number) => void;
|
|
2415
2713
|
readonly identity_addPublicKeys: (a: number, b: number, c: number) => void;
|
|
2416
2714
|
readonly identity_getPublicKeyMaxId: (a: number) => number;
|
|
2715
|
+
readonly undefinedindexpropertyerror_getCode: (a: number) => number;
|
|
2716
|
+
readonly __wbg_undefinedindexpropertyerror_free: (a: number) => void;
|
|
2717
|
+
readonly undefinedindexpropertyerror_getDocumentType: (a: number, b: number) => void;
|
|
2718
|
+
readonly undefinedindexpropertyerror_getPropertyName: (a: number, b: number) => void;
|
|
2719
|
+
readonly undefinedindexpropertyerror_getIndexDefinition: (a: number) => number;
|
|
2417
2720
|
readonly __wbg_documentalreadyexistserror_free: (a: number) => void;
|
|
2418
2721
|
readonly documentalreadyexistserror_getDocumentTransition: (a: number) => number;
|
|
2419
|
-
readonly __wbg_invalidinitialrevisionerror_free: (a: number) => void;
|
|
2420
|
-
readonly invalidinitialrevisionerror_new: (a: number) => number;
|
|
2421
|
-
readonly invalidinitialrevisionerror_getDocumentTransition: (a: number) => number;
|
|
2422
2722
|
readonly __wbg_documentcreatetransition_free: (a: number) => void;
|
|
2423
2723
|
readonly documentcreatetransition_getAction: (a: number) => number;
|
|
2424
2724
|
readonly __wbg_documentdeletetransition_free: (a: number) => void;
|
|
2425
2725
|
readonly __wbg_documenttransition_free: (a: number) => void;
|
|
2426
|
-
readonly
|
|
2427
|
-
readonly
|
|
2428
|
-
readonly
|
|
2429
|
-
readonly
|
|
2430
|
-
readonly
|
|
2726
|
+
readonly __wbg_incompatiblere2patternerror_free: (a: number) => void;
|
|
2727
|
+
readonly incompatiblere2patternerror_getPattern: (a: number, b: number) => void;
|
|
2728
|
+
readonly incompatiblere2patternerror_getPath: (a: number, b: number) => void;
|
|
2729
|
+
readonly incompatiblere2patternerror_getMessage: (a: number, b: number) => void;
|
|
2730
|
+
readonly incompatiblere2patternerror_getCode: (a: number) => number;
|
|
2731
|
+
readonly __wbg_inconsistentcompoundindexdataerror_free: (a: number) => void;
|
|
2732
|
+
readonly inconsistentcompoundindexdataerror_getCode: (a: number) => number;
|
|
2431
2733
|
readonly __wbg_identityassetlocktransactionoutpointalreadyexistserror_free: (a: number) => void;
|
|
2432
2734
|
readonly identityassetlocktransactionoutpointalreadyexistserror_getDuplicatedIds: (a: number) => number;
|
|
2433
2735
|
readonly identityassetlocktransactionoutpointalreadyexistserror_getTransactionId: (a: number) => number;
|
|
@@ -2436,28 +2738,51 @@ export interface InitOutput {
|
|
|
2436
2738
|
readonly identityinsufficientbalanceerror_getIdentityId: (a: number) => number;
|
|
2437
2739
|
readonly identityinsufficientbalanceerror_getBalance: (a: number) => number;
|
|
2438
2740
|
readonly identityinsufficientbalanceerror_getCode: (a: number) => number;
|
|
2439
|
-
readonly
|
|
2440
|
-
readonly
|
|
2441
|
-
readonly
|
|
2442
|
-
readonly
|
|
2443
|
-
readonly
|
|
2741
|
+
readonly __wbg_invalididentitypublickeydataerror_free: (a: number) => void;
|
|
2742
|
+
readonly invalididentitypublickeydataerror_getPublicKeyId: (a: number) => number;
|
|
2743
|
+
readonly invalididentitypublickeydataerror_getValidationError: (a: number) => number;
|
|
2744
|
+
readonly invalididentitypublickeydataerror_getCode: (a: number) => number;
|
|
2745
|
+
readonly __wbg_invalidinstantassetlockproofsignatureerror_free: (a: number) => void;
|
|
2746
|
+
readonly invalidinstantassetlockproofsignatureerror_getCode: (a: number) => number;
|
|
2747
|
+
readonly missingmasterpublickeyerror_getCode: (a: number) => number;
|
|
2748
|
+
readonly __wbg_invalidstatetransitionsignatureerror_free: (a: number) => void;
|
|
2749
|
+
readonly invalidstatetransitionsignatureerror_getCode: (a: number) => number;
|
|
2750
|
+
readonly __wbg_duplicateuniqueindexerror_free: (a: number) => void;
|
|
2751
|
+
readonly duplicateuniqueindexerror_getDocumentId: (a: number) => number;
|
|
2752
|
+
readonly duplicateuniqueindexerror_getDuplicatingProperties: (a: number) => number;
|
|
2753
|
+
readonly duplicateuniqueindexerror_getCode: (a: number) => number;
|
|
2754
|
+
readonly __wbg_publickeyvalidationerror_free: (a: number) => void;
|
|
2755
|
+
readonly publickeyvalidationerror_message: (a: number) => number;
|
|
2444
2756
|
readonly documentdeletetransition_getAction: (a: number) => number;
|
|
2445
2757
|
readonly documenttransition_getAction: (a: number) => number;
|
|
2446
|
-
readonly
|
|
2447
|
-
readonly
|
|
2448
|
-
readonly
|
|
2449
|
-
readonly
|
|
2450
|
-
readonly
|
|
2758
|
+
readonly missingdocumenttransitionactionerror_getCode: (a: number) => number;
|
|
2759
|
+
readonly missingdocumenttransitiontypeerror_getCode: (a: number) => number;
|
|
2760
|
+
readonly missingdocumenttypeerror_getCode: (a: number) => number;
|
|
2761
|
+
readonly missingdatacontractiderror_getCode: (a: number) => number;
|
|
2762
|
+
readonly missingstatetransitiontypeerror_getCode: (a: number) => number;
|
|
2763
|
+
readonly inconsistentcompoundindexdataerror_getIndexProperties: (a: number) => number;
|
|
2764
|
+
readonly inconsistentcompoundindexdataerror_getDocumentType: (a: number, b: number) => void;
|
|
2451
2765
|
readonly __wbg_documentnotprovidederror_free: (a: number) => void;
|
|
2452
2766
|
readonly __wbg_invaliddocumentactionerror_free: (a: number) => void;
|
|
2767
|
+
readonly __wbg_missingmasterpublickeyerror_free: (a: number) => void;
|
|
2768
|
+
readonly __wbg_missingdocumenttransitionactionerror_free: (a: number) => void;
|
|
2769
|
+
readonly __wbg_missingdocumenttransitiontypeerror_free: (a: number) => void;
|
|
2770
|
+
readonly __wbg_missingdocumenttypeerror_free: (a: number) => void;
|
|
2771
|
+
readonly __wbg_missingdatacontractiderror_free: (a: number) => void;
|
|
2772
|
+
readonly __wbg_missingstatetransitiontypeerror_free: (a: number) => void;
|
|
2453
2773
|
readonly documentnotprovidederror_getDocumentTransition: (a: number) => number;
|
|
2454
2774
|
readonly invaliddocumentactionerror_getDocumentTransition: (a: number) => number;
|
|
2455
2775
|
readonly __wbg_dashplatformprotocol_free: (a: number) => void;
|
|
2456
2776
|
readonly dashplatformprotocol_new: (a: number) => number;
|
|
2457
|
-
readonly
|
|
2458
|
-
readonly
|
|
2459
|
-
readonly
|
|
2460
|
-
readonly
|
|
2777
|
+
readonly __wbg_datacontractvalidator_free: (a: number) => void;
|
|
2778
|
+
readonly datacontractvalidator_new: () => number;
|
|
2779
|
+
readonly datacontractvalidator_validate: (a: number, b: number, c: number) => void;
|
|
2780
|
+
readonly __wbg_datacontractfactory_free: (a: number) => void;
|
|
2781
|
+
readonly datacontractfactory_new: (a: number, b: number, c: number) => number;
|
|
2782
|
+
readonly datacontractfactory_create: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
2783
|
+
readonly datacontractfactory_createFromObject: (a: number, b: number, c: number) => number;
|
|
2784
|
+
readonly datacontractfactory_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
|
|
2785
|
+
readonly datacontractfactory_createDataContractCreateTransition: (a: number, b: number) => number;
|
|
2461
2786
|
readonly __wbg_duplicateindexerror_free: (a: number) => void;
|
|
2462
2787
|
readonly duplicateindexerror_getDocumentType: (a: number, b: number) => void;
|
|
2463
2788
|
readonly duplicateindexerror_getIndexDefinition: (a: number) => number;
|
|
@@ -2465,29 +2790,21 @@ export interface InitOutput {
|
|
|
2465
2790
|
readonly __wbg_invaliddatacontractiderror_free: (a: number) => void;
|
|
2466
2791
|
readonly invaliddatacontractiderror_getExpectedId: (a: number) => number;
|
|
2467
2792
|
readonly invaliddatacontractiderror_getInvalidId: (a: number) => number;
|
|
2468
|
-
readonly
|
|
2469
|
-
readonly
|
|
2470
|
-
readonly
|
|
2471
|
-
readonly
|
|
2472
|
-
readonly
|
|
2473
|
-
readonly duplicatedidentitypublickeyiderror_getDuplicatedIds: (a: number, b: number) => void;
|
|
2474
|
-
readonly duplicatedidentitypublickeyiderror_getCode: (a: number) => number;
|
|
2793
|
+
readonly invaliddatacontractiderror_getCode: (a: number) => number;
|
|
2794
|
+
readonly __wbg_invaliddocumenttransitioniderror_free: (a: number) => void;
|
|
2795
|
+
readonly invaliddocumenttransitioniderror_getExpectedId: (a: number) => number;
|
|
2796
|
+
readonly invaliddocumenttransitioniderror_getInvalidId: (a: number) => number;
|
|
2797
|
+
readonly invaliddocumenttransitioniderror_getCode: (a: number) => number;
|
|
2475
2798
|
readonly invalidassetlockproofcorechainheighterror_getProofCoreChainLockedHeight: (a: number) => number;
|
|
2476
2799
|
readonly invalidassetlockproofcorechainheighterror_getCurrentCoreChainLockedHeight: (a: number) => number;
|
|
2477
2800
|
readonly invalidassetlockproofcorechainheighterror_getCode: (a: number) => number;
|
|
2478
|
-
readonly
|
|
2479
|
-
readonly
|
|
2480
|
-
readonly
|
|
2481
|
-
readonly invalididentitypublickeydataerror_getCode: (a: number) => number;
|
|
2482
|
-
readonly __wbg_invalidinstantassetlockproofsignatureerror_free: (a: number) => void;
|
|
2483
|
-
readonly invalidinstantassetlockproofsignatureerror_getCode: (a: number) => number;
|
|
2484
|
-
readonly missingmasterpublickeyerror_getCode: (a: number) => number;
|
|
2801
|
+
readonly __wbg_invalididentitycreditwithdrawaltransitionoutputscripterror_free: (a: number) => void;
|
|
2802
|
+
readonly invalididentitycreditwithdrawaltransitionoutputscripterror_getOutputScript: (a: number) => number;
|
|
2803
|
+
readonly invalididentitycreditwithdrawaltransitionoutputscripterror_getCode: (a: number) => number;
|
|
2485
2804
|
readonly __wbg_incompatibleprotocolversionerror_free: (a: number) => void;
|
|
2486
2805
|
readonly incompatibleprotocolversionerror_getParsedProtocolVersion: (a: number) => number;
|
|
2487
2806
|
readonly incompatibleprotocolversionerror_getMinimalProtocolVersion: (a: number) => number;
|
|
2488
2807
|
readonly incompatibleprotocolversionerror_getCode: (a: number) => number;
|
|
2489
|
-
readonly __wbg_invalidstatetransitionsignatureerror_free: (a: number) => void;
|
|
2490
|
-
readonly invalidstatetransitionsignatureerror_getCode: (a: number) => number;
|
|
2491
2808
|
readonly unsupportedprotocolversionerror_getParsedProtocolVersion: (a: number) => number;
|
|
2492
2809
|
readonly unsupportedprotocolversionerror_getLatestVersion: (a: number) => number;
|
|
2493
2810
|
readonly unsupportedprotocolversionerror_getCode: (a: number) => number;
|
|
@@ -2499,72 +2816,34 @@ export interface InitOutput {
|
|
|
2499
2816
|
readonly datatriggerexecutionerror_getTimestamp: (a: number) => number;
|
|
2500
2817
|
readonly datatriggerexecutionerror_getOwnerId: (a: number) => number;
|
|
2501
2818
|
readonly datatriggerexecutionerror_getCode: (a: number) => number;
|
|
2502
|
-
readonly __wbg_duplicateuniqueindexerror_free: (a: number) => void;
|
|
2503
|
-
readonly duplicateuniqueindexerror_getDocumentId: (a: number) => number;
|
|
2504
|
-
readonly duplicateuniqueindexerror_getDuplicatingProperties: (a: number) => number;
|
|
2505
|
-
readonly duplicateuniqueindexerror_getCode: (a: number) => number;
|
|
2506
|
-
readonly __wbg_publickeyvalidationerror_free: (a: number) => void;
|
|
2507
|
-
readonly publickeyvalidationerror_message: (a: number) => number;
|
|
2508
2819
|
readonly invalidcompoundindexerror_getCode: (a: number) => number;
|
|
2509
|
-
readonly invaliddatacontractiderror_getCode: (a: number) => number;
|
|
2510
|
-
readonly missingdocumenttransitionactionerror_getCode: (a: number) => number;
|
|
2511
|
-
readonly missingdocumenttypeerror_getCode: (a: number) => number;
|
|
2512
|
-
readonly missingdatacontractiderror_getCode: (a: number) => number;
|
|
2513
|
-
readonly missingstatetransitiontypeerror_getCode: (a: number) => number;
|
|
2514
|
-
readonly inconsistentcompoundindexdataerror_getIndexProperties: (a: number) => number;
|
|
2515
|
-
readonly __wbg_duplicatedidentitypublickeyiderror_free: (a: number) => void;
|
|
2516
|
-
readonly incompatiblere2patternerror_getPattern: (a: number, b: number) => void;
|
|
2517
2820
|
readonly invalidcompoundindexerror_getDocumentType: (a: number, b: number) => void;
|
|
2518
|
-
readonly inconsistentcompoundindexdataerror_getDocumentType: (a: number, b: number) => void;
|
|
2519
2821
|
readonly __wbg_invalidcompoundindexerror_free: (a: number) => void;
|
|
2520
2822
|
readonly invalidcompoundindexerror_getIndexDefinition: (a: number) => number;
|
|
2521
|
-
readonly __wbg_missingmasterpublickeyerror_free: (a: number) => void;
|
|
2522
|
-
readonly __wbg_missingdocumenttransitionactionerror_free: (a: number) => void;
|
|
2523
|
-
readonly __wbg_missingdocumenttypeerror_free: (a: number) => void;
|
|
2524
2823
|
readonly __wbg_invalidassetlockproofcorechainheighterror_free: (a: number) => void;
|
|
2525
|
-
readonly __wbg_missingdatacontractiderror_free: (a: number) => void;
|
|
2526
|
-
readonly __wbg_missingstatetransitiontypeerror_free: (a: number) => void;
|
|
2527
2824
|
readonly __wbg_unsupportedprotocolversionerror_free: (a: number) => void;
|
|
2528
|
-
readonly __wbg_invaliddocumenttransitioniderror_free: (a: number) => void;
|
|
2529
|
-
readonly invaliddocumenttransitioniderror_getExpectedId: (a: number) => number;
|
|
2530
|
-
readonly invaliddocumenttransitioniderror_getInvalidId: (a: number) => number;
|
|
2531
|
-
readonly invaliddocumenttransitioniderror_getCode: (a: number) => number;
|
|
2532
|
-
readonly __wbg_invaliddocumenttypeerror_free: (a: number) => void;
|
|
2533
|
-
readonly invaliddocumenttypeerror_getDocumentType: (a: number, b: number) => void;
|
|
2534
|
-
readonly invaliddocumenttypeerror_getDataContractId: (a: number) => number;
|
|
2535
|
-
readonly invaliddocumenttypeerror_getCode: (a: number) => number;
|
|
2536
|
-
readonly __wbg_invalidassetlockprooftransactionheighterror_free: (a: number) => void;
|
|
2537
|
-
readonly invalidassetlockprooftransactionheighterror_getProofCoreChainLockedHeight: (a: number) => number;
|
|
2538
|
-
readonly invalidassetlockprooftransactionheighterror_getCurrentCoreChainLockedHeight: (a: number, b: number) => void;
|
|
2539
|
-
readonly invalidassetlockprooftransactionheighterror_getCode: (a: number) => number;
|
|
2540
|
-
readonly __wbg_invalididentitycreditwithdrawaltransitionoutputscripterror_free: (a: number) => void;
|
|
2541
|
-
readonly invalididentitycreditwithdrawaltransitionoutputscripterror_getOutputScript: (a: number) => number;
|
|
2542
|
-
readonly invalididentitycreditwithdrawaltransitionoutputscripterror_getCode: (a: number) => number;
|
|
2543
|
-
readonly __wbg_indexproperty_free: (a: number) => void;
|
|
2544
|
-
readonly indexproperty_isAscending: (a: number) => number;
|
|
2545
|
-
readonly __wbg_indexdefinition_free: (a: number) => void;
|
|
2546
|
-
readonly indexdefinition_getProperties: (a: number, b: number) => void;
|
|
2547
|
-
readonly indexdefinition_isUnique: (a: number) => number;
|
|
2548
2825
|
readonly __wbg_notdocumentssuppliederror_free: (a: number) => void;
|
|
2549
2826
|
readonly __wbg_datacontracthavenewuniqueindexerror_free: (a: number) => void;
|
|
2550
2827
|
readonly datacontracthavenewuniqueindexerror_getDocumentType: (a: number, b: number) => void;
|
|
2551
2828
|
readonly datacontracthavenewuniqueindexerror_getIndexName: (a: number, b: number) => void;
|
|
2552
2829
|
readonly datacontracthavenewuniqueindexerror_getCode: (a: number) => number;
|
|
2553
2830
|
readonly __wbg_uniqueindiceslimitreachederror_free: (a: number) => void;
|
|
2554
|
-
readonly uniqueindiceslimitreachederror_getIndexLimit: (a: number) => number;
|
|
2555
2831
|
readonly uniqueindiceslimitreachederror_getCode: (a: number) => number;
|
|
2832
|
+
readonly __wbg_invaliddocumenttypeerror_free: (a: number) => void;
|
|
2833
|
+
readonly invaliddocumenttypeerror_getDataContractId: (a: number) => number;
|
|
2834
|
+
readonly invaliddocumenttypeerror_getCode: (a: number) => number;
|
|
2835
|
+
readonly __wbg_duplicatedidentitypublickeyerror_free: (a: number) => void;
|
|
2836
|
+
readonly duplicatedidentitypublickeyerror_getDuplicatedPublicKeysIds: (a: number) => number;
|
|
2837
|
+
readonly duplicatedidentitypublickeyerror_getCode: (a: number) => number;
|
|
2838
|
+
readonly duplicatedidentitypublickeyiderror_getDuplicatedIds: (a: number) => number;
|
|
2839
|
+
readonly duplicatedidentitypublickeyiderror_getCode: (a: number) => number;
|
|
2840
|
+
readonly __wbg_invalidassetlockprooftransactionheighterror_free: (a: number) => void;
|
|
2841
|
+
readonly invalidassetlockprooftransactionheighterror_getProofCoreChainLockedHeight: (a: number) => number;
|
|
2842
|
+
readonly invalidassetlockprooftransactionheighterror_getCurrentCoreChainLockedHeight: (a: number, b: number) => void;
|
|
2843
|
+
readonly invalidassetlockprooftransactionheighterror_getCode: (a: number) => number;
|
|
2556
2844
|
readonly __wbg_invalidsignaturepublickeysecuritylevelerror_free: (a: number) => void;
|
|
2557
2845
|
readonly invalidsignaturepublickeysecuritylevelerror_getPublicKeySecurityLevel: (a: number) => number;
|
|
2558
2846
|
readonly invalidsignaturepublickeysecuritylevelerror_getRequiredKeySecurityLevel: (a: number) => number;
|
|
2559
|
-
readonly __wbg_jsonschemaerror_free: (a: number) => void;
|
|
2560
|
-
readonly jsonschemaerror_getKeyword: (a: number, b: number) => void;
|
|
2561
|
-
readonly jsonschemaerror_getInstancePath: (a: number, b: number) => void;
|
|
2562
|
-
readonly jsonschemaerror_getSchemaPath: (a: number, b: number) => void;
|
|
2563
|
-
readonly jsonschemaerror_getPropertyName: (a: number, b: number) => void;
|
|
2564
|
-
readonly jsonschemaerror_getParams: (a: number, b: number) => void;
|
|
2565
|
-
readonly jsonschemaerror_getCode: (a: number) => number;
|
|
2566
|
-
readonly __wbg_statetransitionmaxsizeexceedederror_free: (a: number) => void;
|
|
2567
|
-
readonly statetransitionmaxsizeexceedederror_getCode: (a: number) => number;
|
|
2568
2847
|
readonly __wbg_invaliddocumentrevisionerror_free: (a: number) => void;
|
|
2569
2848
|
readonly invaliddocumentrevisionerror_getDocumentId: (a: number) => number;
|
|
2570
2849
|
readonly invaliddocumentrevisionerror_getCurrentRevision: (a: number) => number;
|
|
@@ -2577,16 +2856,14 @@ export interface InitOutput {
|
|
|
2577
2856
|
readonly datacontractinvalidindexdefinitionupdateerror_getCode: (a: number) => number;
|
|
2578
2857
|
readonly datacontractuniqueindiceschangederror_getCode: (a: number) => number;
|
|
2579
2858
|
readonly duplicateindexnameerror_getCode: (a: number) => number;
|
|
2859
|
+
readonly uniqueindiceslimitreachederror_getIndexLimit: (a: number) => number;
|
|
2580
2860
|
readonly invalididentifiererror_getCode: (a: number) => number;
|
|
2581
2861
|
readonly publickeysecuritylevelnotmeterror_getCode: (a: number) => number;
|
|
2582
|
-
readonly statetransitionmaxsizeexceedederror_getActualSizeKBytes: (a: number) => number;
|
|
2583
2862
|
readonly wrongpublickeypurposeerror_getCode: (a: number) => number;
|
|
2584
2863
|
readonly invalidsignaturepublickeysecuritylevelerror_getCode: (a: number) => number;
|
|
2585
|
-
readonly statetransitionmaxsizeexceedederror_getMaxSizeKBytes: (a: number) => number;
|
|
2586
2864
|
readonly invalididentityrevisionerror_getCurrentRevision: (a: number) => number;
|
|
2587
2865
|
readonly invalididentityrevisionerror_getCode: (a: number) => number;
|
|
2588
|
-
readonly
|
|
2589
|
-
readonly indexdefinition_getName: (a: number, b: number) => void;
|
|
2866
|
+
readonly __wbg_duplicatedidentitypublickeyiderror_free: (a: number) => void;
|
|
2590
2867
|
readonly datacontractimmutablepropertiesupdateerror_getOperation: (a: number, b: number) => void;
|
|
2591
2868
|
readonly datacontractimmutablepropertiesupdateerror_getFieldPath: (a: number, b: number) => void;
|
|
2592
2869
|
readonly datacontractinvalidindexdefinitionupdateerror_getDocumentType: (a: number, b: number) => void;
|
|
@@ -2596,6 +2873,7 @@ export interface InitOutput {
|
|
|
2596
2873
|
readonly duplicateindexnameerror_getDocumentType: (a: number, b: number) => void;
|
|
2597
2874
|
readonly duplicateindexnameerror_getDuplicateIndexName: (a: number, b: number) => void;
|
|
2598
2875
|
readonly uniqueindiceslimitreachederror_getDocumentType: (a: number, b: number) => void;
|
|
2876
|
+
readonly invaliddocumenttypeerror_getDocumentType: (a: number, b: number) => void;
|
|
2599
2877
|
readonly invalididentifiererror_getIdentifierName: (a: number, b: number) => void;
|
|
2600
2878
|
readonly invalididentifiererror_getError: (a: number, b: number) => void;
|
|
2601
2879
|
readonly invalididentityrevisionerror_getIdentityId: (a: number) => number;
|
|
@@ -2608,18 +2886,27 @@ export interface InitOutput {
|
|
|
2608
2886
|
readonly __wbg_publickeysecuritylevelnotmeterror_free: (a: number) => void;
|
|
2609
2887
|
readonly __wbg_wrongpublickeypurposeerror_free: (a: number) => void;
|
|
2610
2888
|
readonly __wbg_invalididentityrevisionerror_free: (a: number) => void;
|
|
2611
|
-
readonly
|
|
2612
|
-
readonly
|
|
2613
|
-
readonly
|
|
2614
|
-
readonly
|
|
2615
|
-
readonly
|
|
2616
|
-
readonly
|
|
2617
|
-
readonly
|
|
2618
|
-
readonly
|
|
2889
|
+
readonly __wbg_invaliddocumenttypeindatacontracterror_free: (a: number) => void;
|
|
2890
|
+
readonly invaliddocumenttypeindatacontracterror_new: (a: number, b: number, c: number) => number;
|
|
2891
|
+
readonly invaliddocumenttypeindatacontracterror_getDocType: (a: number, b: number) => void;
|
|
2892
|
+
readonly invaliddocumenttypeindatacontracterror_getDataContract: (a: number) => number;
|
|
2893
|
+
readonly __wbg_indexproperty_free: (a: number) => void;
|
|
2894
|
+
readonly indexproperty_isAscending: (a: number) => number;
|
|
2895
|
+
readonly __wbg_indexdefinition_free: (a: number) => void;
|
|
2896
|
+
readonly indexdefinition_getName: (a: number, b: number) => void;
|
|
2897
|
+
readonly indexdefinition_getProperties: (a: number, b: number) => void;
|
|
2898
|
+
readonly indexdefinition_isUnique: (a: number) => number;
|
|
2619
2899
|
readonly __wbg_invaliddatacontractversionerror_free: (a: number) => void;
|
|
2620
2900
|
readonly invaliddatacontractversionerror_getExpectedVersion: (a: number) => number;
|
|
2621
2901
|
readonly invaliddatacontractversionerror_getVersion: (a: number) => number;
|
|
2622
2902
|
readonly invaliddatacontractversionerror_getCode: (a: number) => number;
|
|
2903
|
+
readonly __wbg_jsonschemaerror_free: (a: number) => void;
|
|
2904
|
+
readonly jsonschemaerror_getKeyword: (a: number, b: number) => void;
|
|
2905
|
+
readonly jsonschemaerror_getInstancePath: (a: number, b: number) => void;
|
|
2906
|
+
readonly jsonschemaerror_getSchemaPath: (a: number, b: number) => void;
|
|
2907
|
+
readonly jsonschemaerror_getPropertyName: (a: number, b: number) => void;
|
|
2908
|
+
readonly jsonschemaerror_getParams: (a: number, b: number) => void;
|
|
2909
|
+
readonly jsonschemaerror_getCode: (a: number) => number;
|
|
2623
2910
|
readonly __wbg_balanceisnotenougherror_free: (a: number) => void;
|
|
2624
2911
|
readonly balanceisnotenougherror_getBalance: (a: number) => number;
|
|
2625
2912
|
readonly balanceisnotenougherror_getFee: (a: number) => number;
|
|
@@ -2638,10 +2925,21 @@ export interface InitOutput {
|
|
|
2638
2925
|
readonly documenttimestampwindowviolationerror_getTimeWindowStart: (a: number) => number;
|
|
2639
2926
|
readonly documenttimestampwindowviolationerror_getTimeWindowEnd: (a: number) => number;
|
|
2640
2927
|
readonly documenttimestampwindowviolationerror_getCode: (a: number) => number;
|
|
2641
|
-
readonly
|
|
2642
|
-
readonly
|
|
2643
|
-
readonly
|
|
2644
|
-
readonly
|
|
2928
|
+
readonly __wbg_metadata_free: (a: number) => void;
|
|
2929
|
+
readonly metadata_new: (a: number, b: number) => number;
|
|
2930
|
+
readonly metadata_from: (a: number) => number;
|
|
2931
|
+
readonly metadata_toJSON: (a: number) => number;
|
|
2932
|
+
readonly metadata_toObject: (a: number) => number;
|
|
2933
|
+
readonly statetransitionmaxsizeexceedederror_getActualSizeKBytes: (a: number) => number;
|
|
2934
|
+
readonly statetransitionmaxsizeexceedederror_getMaxSizeKBytes: (a: number) => number;
|
|
2935
|
+
readonly statetransitionmaxsizeexceedederror_getCode: (a: number) => number;
|
|
2936
|
+
readonly indexproperty_getName: (a: number, b: number) => void;
|
|
2937
|
+
readonly __wbg_statetransitionmaxsizeexceedederror_free: (a: number) => void;
|
|
2938
|
+
readonly identityassetlocktransactionisnotfounderror_getTransactionId: (a: number) => number;
|
|
2939
|
+
readonly identityassetlocktransactionisnotfounderror_getCode: (a: number) => number;
|
|
2940
|
+
readonly __wbg_identityalreadyexistserror_free: (a: number) => void;
|
|
2941
|
+
readonly identityalreadyexistserror_getIdentityId: (a: number) => number;
|
|
2942
|
+
readonly identityalreadyexistserror_getCode: (a: number) => number;
|
|
2645
2943
|
readonly __wbg_identitypublickey_free: (a: number) => void;
|
|
2646
2944
|
readonly identitypublickey_new: (a: number, b: number) => void;
|
|
2647
2945
|
readonly identitypublickey_getId: (a: number) => number;
|
|
@@ -2662,76 +2960,19 @@ export interface InitOutput {
|
|
|
2662
2960
|
readonly identitypublickey_isMaster: (a: number) => number;
|
|
2663
2961
|
readonly identitypublickey_toJSON: (a: number, b: number) => void;
|
|
2664
2962
|
readonly identitypublickey_toObject: (a: number, b: number, c: number) => void;
|
|
2665
|
-
readonly __wbg_metadata_free: (a: number) => void;
|
|
2666
|
-
readonly metadata_new: (a: number, b: number) => number;
|
|
2667
|
-
readonly metadata_from: (a: number) => number;
|
|
2668
|
-
readonly metadata_toJSON: (a: number) => number;
|
|
2669
|
-
readonly metadata_toObject: (a: number) => number;
|
|
2670
|
-
readonly __wbg_invaliddatacontracterror_free: (a: number) => void;
|
|
2671
|
-
readonly invaliddatacontracterror_new: (a: number, b: number, c: number) => number;
|
|
2672
|
-
readonly invaliddatacontracterror_getErrors: (a: number, b: number) => void;
|
|
2673
|
-
readonly invaliddatacontracterror_getRawDataContract: (a: number) => number;
|
|
2674
|
-
readonly __wbg_invaliddocumenttypeindatacontracterror_free: (a: number) => void;
|
|
2675
|
-
readonly invaliddocumenttypeindatacontracterror_new: (a: number, b: number, c: number) => number;
|
|
2676
|
-
readonly invaliddocumenttypeindatacontracterror_getDocType: (a: number, b: number) => void;
|
|
2677
|
-
readonly invaliddocumenttypeindatacontracterror_getDataContract: (a: number) => number;
|
|
2678
|
-
readonly __wbg_duplicatedocumenttransitionswithidserror_free: (a: number) => void;
|
|
2679
|
-
readonly duplicatedocumenttransitionswithidserror_getReferences: (a: number) => number;
|
|
2680
|
-
readonly duplicatedocumenttransitionswithidserror_getCode: (a: number) => number;
|
|
2681
|
-
readonly identityassetlocktransactionisnotfounderror_getTransactionId: (a: number) => number;
|
|
2682
|
-
readonly identityassetlocktransactionisnotfounderror_getCode: (a: number) => number;
|
|
2683
|
-
readonly __wbg_invalidassetlocktransactionoutputreturnsizeerror_free: (a: number) => void;
|
|
2684
|
-
readonly invalidassetlocktransactionoutputreturnsizeerror_getOutputIndex: (a: number) => number;
|
|
2685
|
-
readonly invalidassetlocktransactionoutputreturnsizeerror_getCode: (a: number) => number;
|
|
2686
|
-
readonly invalididentityassetlocktransactionoutputerror_getOutputIndex: (a: number) => number;
|
|
2687
|
-
readonly invalididentityassetlocktransactionoutputerror_getCode: (a: number) => number;
|
|
2688
|
-
readonly __wbg_datatriggerinvalidresulterror_free: (a: number) => void;
|
|
2689
|
-
readonly datatriggerinvalidresulterror_getDataContractId: (a: number) => number;
|
|
2690
|
-
readonly datatriggerinvalidresulterror_getDocumentTransitionId: (a: number) => number;
|
|
2691
|
-
readonly datatriggerinvalidresulterror_getTimestamp: (a: number) => number;
|
|
2692
|
-
readonly datatriggerinvalidresulterror_getOwnerId: (a: number) => number;
|
|
2693
|
-
readonly datatriggerinvalidresulterror_getCode: (a: number) => number;
|
|
2694
|
-
readonly identityalreadyexistserror_getIdentityId: (a: number) => number;
|
|
2695
|
-
readonly identityalreadyexistserror_getCode: (a: number) => number;
|
|
2696
|
-
readonly __wbg_identifier_free: (a: number) => void;
|
|
2697
|
-
readonly identifier_new: (a: number, b: number, c: number) => void;
|
|
2698
|
-
readonly identifier_from: (a: number, b: number, c: number, d: number) => void;
|
|
2699
|
-
readonly identifier_fromString: (a: number, b: number, c: number, d: number) => number;
|
|
2700
|
-
readonly identifier_toBuffer: (a: number) => number;
|
|
2701
|
-
readonly identifier_toJSON: (a: number, b: number) => void;
|
|
2702
|
-
readonly identifier_toString: (a: number, b: number, c: number, d: number) => void;
|
|
2703
|
-
readonly identifier_length: (a: number) => number;
|
|
2704
|
-
readonly identifier_inner: (a: number, b: number) => void;
|
|
2705
|
-
readonly __wbg_validationresult_free: (a: number) => void;
|
|
2706
|
-
readonly validationresult_errorsText: (a: number, b: number) => void;
|
|
2707
|
-
readonly validationresult_isValid: (a: number) => number;
|
|
2708
|
-
readonly validationresult_getErrors: (a: number, b: number) => void;
|
|
2709
|
-
readonly __wbg_invalididentityassetlocktransactionoutputerror_free: (a: number) => void;
|
|
2710
2963
|
readonly __wbg_identityassetlocktransactionisnotfounderror_free: (a: number) => void;
|
|
2711
|
-
readonly
|
|
2712
|
-
readonly
|
|
2713
|
-
readonly
|
|
2714
|
-
readonly
|
|
2715
|
-
readonly __wbg_identityassetlocktransactionoutputnotfounderror_free: (a: number) => void;
|
|
2716
|
-
readonly identityassetlocktransactionoutputnotfounderror_getOutputIndex: (a: number) => number;
|
|
2717
|
-
readonly identityassetlocktransactionoutputnotfounderror_getCode: (a: number) => number;
|
|
2718
|
-
readonly invalididentitycreditwithdrawaltransitioncorefeeerror_getCoreFee: (a: number) => number;
|
|
2719
|
-
readonly invalididentitycreditwithdrawaltransitioncorefeeerror_getCode: (a: number) => number;
|
|
2720
|
-
readonly __wbg_identityfacade_free: (a: number) => void;
|
|
2721
|
-
readonly identityfacade_new: (a: number) => number;
|
|
2722
|
-
readonly identityfacade_validate: (a: number, b: number, c: number) => void;
|
|
2723
|
-
readonly __wbg_nonconsensuserrorwasm_free: (a: number) => void;
|
|
2724
|
-
readonly __wbg_invalididentitycreditwithdrawaltransitioncorefeeerror_free: (a: number) => void;
|
|
2725
|
-
readonly rustsecp256k1_v0_5_0_default_illegal_callback_fn: (a: number, b: number) => void;
|
|
2726
|
-
readonly rustsecp256k1_v0_5_0_default_error_callback_fn: (a: number, b: number) => void;
|
|
2964
|
+
readonly rustsecp256k1_v0_6_1_context_create: (a: number) => number;
|
|
2965
|
+
readonly rustsecp256k1_v0_6_1_context_destroy: (a: number) => void;
|
|
2966
|
+
readonly rustsecp256k1_v0_6_1_default_illegal_callback_fn: (a: number, b: number) => void;
|
|
2967
|
+
readonly rustsecp256k1_v0_6_1_default_error_callback_fn: (a: number, b: number) => void;
|
|
2727
2968
|
readonly __wbindgen_malloc: (a: number) => number;
|
|
2728
2969
|
readonly __wbindgen_realloc: (a: number, b: number, c: number) => number;
|
|
2729
2970
|
readonly __wbindgen_export_2: WebAssembly.Table;
|
|
2730
|
-
readonly
|
|
2971
|
+
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he7da8f1ac6678eec: (a: number, b: number, c: number) => void;
|
|
2731
2972
|
readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
|
|
2732
2973
|
readonly __wbindgen_free: (a: number, b: number) => void;
|
|
2733
2974
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
2734
|
-
readonly
|
|
2975
|
+
readonly wasm_bindgen__convert__closures__invoke2_mut__hb55bc58977266d22: (a: number, b: number, c: number, d: number) => void;
|
|
2735
2976
|
}
|
|
2736
2977
|
|
|
2737
2978
|
export type SyncInitInput = BufferSource | WebAssembly.Module;
|