@dashevo/wasm-dpp 0.24.0-dev.11 → 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/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 +352 -205
- 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/mod.rs +4 -4
- package/src/data_contract/state_transition/data_contract_create_transition/validation.rs +2 -2
- 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/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_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 +1 -6
- 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/validation/state/validateDataContractCreateTransitionStateFactory.spec.js +20 -16
- 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 +352 -205
- package/wasm/wasm_dpp.js +759 -372
- package/wasm/wasm_dpp_bg.js +1 -1
- package/wasm/wasm_dpp_bg.wasm +0 -0
- package/wasm/wasm_dpp_bg.wasm.d.ts +205 -175
- 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
|
@@ -7,22 +7,17 @@
|
|
|
7
7
|
*/
|
|
8
8
|
export function validateDataContractCreateTransitionState(state_repository: any, state_transition: DataContractCreateTransition): Promise<ValidationResult>;
|
|
9
9
|
/**
|
|
10
|
+
* @param {any} state_repository
|
|
11
|
+
* @param {DataContractUpdateTransition} state_transition
|
|
12
|
+
* @returns {Promise<ValidationResult>}
|
|
10
13
|
*/
|
|
11
|
-
export
|
|
12
|
-
/**
|
|
13
|
-
* at least one authentication key must be registered for all security levels
|
|
14
|
-
*/
|
|
15
|
-
AUTHENTICATION,
|
|
16
|
-
/**
|
|
17
|
-
* this key cannot be used for signing documents
|
|
18
|
-
*/
|
|
19
|
-
ENCRYPTION,
|
|
14
|
+
export function validateDataContractUpdateTransitionState(state_repository: any, state_transition: DataContractUpdateTransition): Promise<ValidationResult>;
|
|
20
15
|
/**
|
|
21
|
-
*
|
|
16
|
+
* @param {any} old_documents_schema
|
|
17
|
+
* @param {any} new_documents_schema
|
|
18
|
+
* @returns {ValidationResult}
|
|
22
19
|
*/
|
|
23
|
-
|
|
24
|
-
WITHDRAW,
|
|
25
|
-
}
|
|
20
|
+
export function validateIndicesAreBackwardCompatible(old_documents_schema: any, new_documents_schema: any): ValidationResult;
|
|
26
21
|
/**
|
|
27
22
|
*/
|
|
28
23
|
export enum KeySecurityLevel {
|
|
@@ -41,6 +36,23 @@ export enum KeyType {
|
|
|
41
36
|
}
|
|
42
37
|
/**
|
|
43
38
|
*/
|
|
39
|
+
export enum KeyPurpose {
|
|
40
|
+
/**
|
|
41
|
+
* at least one authentication key must be registered for all security levels
|
|
42
|
+
*/
|
|
43
|
+
AUTHENTICATION,
|
|
44
|
+
/**
|
|
45
|
+
* this key cannot be used for signing documents
|
|
46
|
+
*/
|
|
47
|
+
ENCRYPTION,
|
|
48
|
+
/**
|
|
49
|
+
* this key cannot be used for signing documents
|
|
50
|
+
*/
|
|
51
|
+
DECRYPTION,
|
|
52
|
+
WITHDRAW,
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
*/
|
|
44
56
|
export class ApplyDataContractCreateTransition {
|
|
45
57
|
free(): void;
|
|
46
58
|
/**
|
|
@@ -55,6 +67,20 @@ export class ApplyDataContractCreateTransition {
|
|
|
55
67
|
}
|
|
56
68
|
/**
|
|
57
69
|
*/
|
|
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>;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
*/
|
|
58
84
|
export class AssetLockProof {
|
|
59
85
|
free(): void;
|
|
60
86
|
}
|
|
@@ -373,16 +399,8 @@ export class DataContractInvalidIndexDefinitionUpdateError {
|
|
|
373
399
|
}
|
|
374
400
|
/**
|
|
375
401
|
*/
|
|
376
|
-
export class
|
|
402
|
+
export class DataContractMaxDepthExceedError {
|
|
377
403
|
free(): void;
|
|
378
|
-
/**
|
|
379
|
-
* @returns {number}
|
|
380
|
-
*/
|
|
381
|
-
getDepth(): number;
|
|
382
|
-
/**
|
|
383
|
-
* @returns {number}
|
|
384
|
-
*/
|
|
385
|
-
getCode(): number;
|
|
386
404
|
}
|
|
387
405
|
/**
|
|
388
406
|
*/
|
|
@@ -416,11 +434,80 @@ export class DataContractUniqueIndicesChangedError {
|
|
|
416
434
|
}
|
|
417
435
|
/**
|
|
418
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
|
+
*/
|
|
419
501
|
export class DataContractValidator {
|
|
420
502
|
free(): void;
|
|
421
503
|
/**
|
|
422
504
|
*/
|
|
423
505
|
constructor();
|
|
506
|
+
/**
|
|
507
|
+
* @param {any} raw_data_contract
|
|
508
|
+
* @returns {ValidationResult}
|
|
509
|
+
*/
|
|
510
|
+
validate(raw_data_contract: any): ValidationResult;
|
|
424
511
|
}
|
|
425
512
|
/**
|
|
426
513
|
*/
|
|
@@ -761,6 +848,19 @@ export class DuplicateDocumentTransitionsWithIdsError {
|
|
|
761
848
|
}
|
|
762
849
|
/**
|
|
763
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
|
+
*/
|
|
764
864
|
export class DuplicateIndexError {
|
|
765
865
|
free(): void;
|
|
766
866
|
/**
|
|
@@ -815,9 +915,9 @@ export class DuplicateUniqueIndexError {
|
|
|
815
915
|
export class DuplicatedIdentityPublicKeyError {
|
|
816
916
|
free(): void;
|
|
817
917
|
/**
|
|
818
|
-
* @returns {
|
|
918
|
+
* @returns {Array<any>}
|
|
819
919
|
*/
|
|
820
|
-
getDuplicatedPublicKeysIds():
|
|
920
|
+
getDuplicatedPublicKeysIds(): Array<any>;
|
|
821
921
|
/**
|
|
822
922
|
* @returns {number}
|
|
823
923
|
*/
|
|
@@ -828,9 +928,9 @@ export class DuplicatedIdentityPublicKeyError {
|
|
|
828
928
|
export class DuplicatedIdentityPublicKeyIdError {
|
|
829
929
|
free(): void;
|
|
830
930
|
/**
|
|
831
|
-
* @returns {
|
|
931
|
+
* @returns {Array<any>}
|
|
832
932
|
*/
|
|
833
|
-
getDuplicatedIds():
|
|
933
|
+
getDuplicatedIds(): Array<any>;
|
|
834
934
|
/**
|
|
835
935
|
* @returns {number}
|
|
836
936
|
*/
|
|
@@ -1436,9 +1536,8 @@ export class InvalidDataContractError {
|
|
|
1436
1536
|
/**
|
|
1437
1537
|
* @param {any[]} errors
|
|
1438
1538
|
* @param {any} raw_data_contract
|
|
1439
|
-
* @returns {InvalidDataContractError}
|
|
1440
1539
|
*/
|
|
1441
|
-
|
|
1540
|
+
constructor(errors: any[], raw_data_contract: any);
|
|
1442
1541
|
/**
|
|
1443
1542
|
* @returns {any[]}
|
|
1444
1543
|
*/
|
|
@@ -1447,6 +1546,10 @@ export class InvalidDataContractError {
|
|
|
1447
1546
|
* @returns {any}
|
|
1448
1547
|
*/
|
|
1449
1548
|
getRawDataContract(): any;
|
|
1549
|
+
/**
|
|
1550
|
+
* @returns {string}
|
|
1551
|
+
*/
|
|
1552
|
+
getMessage(): string;
|
|
1450
1553
|
}
|
|
1451
1554
|
/**
|
|
1452
1555
|
*/
|
|
@@ -1718,11 +1821,11 @@ export class InvalidIdentityPublicKeySecurityLevelError {
|
|
|
1718
1821
|
/**
|
|
1719
1822
|
* @returns {number}
|
|
1720
1823
|
*/
|
|
1721
|
-
|
|
1824
|
+
getPublicKeyPurpose(): number;
|
|
1722
1825
|
/**
|
|
1723
1826
|
* @returns {number}
|
|
1724
1827
|
*/
|
|
1725
|
-
|
|
1828
|
+
getPublicKeySecurityLevel(): number;
|
|
1726
1829
|
/**
|
|
1727
1830
|
* @returns {number}
|
|
1728
1831
|
*/
|
|
@@ -2006,6 +2109,15 @@ export class MissingDocumentTransitionActionError {
|
|
|
2006
2109
|
}
|
|
2007
2110
|
/**
|
|
2008
2111
|
*/
|
|
2112
|
+
export class MissingDocumentTransitionTypeError {
|
|
2113
|
+
free(): void;
|
|
2114
|
+
/**
|
|
2115
|
+
* @returns {number}
|
|
2116
|
+
*/
|
|
2117
|
+
getCode(): number;
|
|
2118
|
+
}
|
|
2119
|
+
/**
|
|
2120
|
+
*/
|
|
2009
2121
|
export class MissingDocumentTypeError {
|
|
2010
2122
|
free(): void;
|
|
2011
2123
|
/**
|
|
@@ -2126,6 +2238,11 @@ export class PublicKeysValidator {
|
|
|
2126
2238
|
* @returns {ValidationResult}
|
|
2127
2239
|
*/
|
|
2128
2240
|
validatePublicKeyStructure(public_key: any): ValidationResult;
|
|
2241
|
+
/**
|
|
2242
|
+
* @param {Array<any>} public_keys
|
|
2243
|
+
* @returns {ValidationResult}
|
|
2244
|
+
*/
|
|
2245
|
+
validateKeysInStateTransition(public_keys: Array<any>): ValidationResult;
|
|
2129
2246
|
}
|
|
2130
2247
|
/**
|
|
2131
2248
|
*/
|
|
@@ -2293,30 +2410,16 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
2293
2410
|
|
|
2294
2411
|
export interface InitOutput {
|
|
2295
2412
|
readonly memory: WebAssembly.Memory;
|
|
2296
|
-
readonly
|
|
2297
|
-
readonly
|
|
2298
|
-
readonly
|
|
2299
|
-
readonly invalidindexedpropertyconstrainterror_getPropertyName: (a: number, b: number) => void;
|
|
2300
|
-
readonly invalidindexedpropertyconstrainterror_getConstraintName: (a: number, b: number) => void;
|
|
2301
|
-
readonly invalidindexedpropertyconstrainterror_getReason: (a: number, b: number) => void;
|
|
2302
|
-
readonly invalidindexedpropertyconstrainterror_getCode: (a: number) => number;
|
|
2303
|
-
readonly __wbg_protocolversionparsingerror_free: (a: number) => void;
|
|
2304
|
-
readonly protocolversionparsingerror_getParsingError: (a: number) => number;
|
|
2305
|
-
readonly protocolversionparsingerror_getCode: (a: number) => number;
|
|
2413
|
+
readonly __wbg_duplicatedocumenttransitionswithidserror_free: (a: number) => void;
|
|
2414
|
+
readonly duplicatedocumenttransitionswithidserror_getReferences: (a: number) => number;
|
|
2415
|
+
readonly duplicatedocumenttransitionswithidserror_getCode: (a: number) => number;
|
|
2306
2416
|
readonly __wbg_identityassetlocktransactionoutputnotfounderror_free: (a: number) => void;
|
|
2307
2417
|
readonly identityassetlocktransactionoutputnotfounderror_getOutputIndex: (a: number) => number;
|
|
2308
2418
|
readonly identityassetlocktransactionoutputnotfounderror_getCode: (a: number) => number;
|
|
2309
|
-
readonly
|
|
2310
|
-
readonly
|
|
2311
|
-
readonly
|
|
2312
|
-
readonly
|
|
2313
|
-
readonly datacontractalreadypresenterror_getCode: (a: number) => number;
|
|
2314
|
-
readonly __wbg_datatriggerinvalidresulterror_free: (a: number) => void;
|
|
2315
|
-
readonly datatriggerinvalidresulterror_getDataContractId: (a: number) => number;
|
|
2316
|
-
readonly datatriggerinvalidresulterror_getDocumentTransitionId: (a: number) => number;
|
|
2317
|
-
readonly datatriggerinvalidresulterror_getTimestamp: (a: number) => number;
|
|
2318
|
-
readonly datatriggerinvalidresulterror_getOwnerId: (a: number) => number;
|
|
2319
|
-
readonly datatriggerinvalidresulterror_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;
|
|
2320
2423
|
readonly __wbg_identifier_free: (a: number) => void;
|
|
2321
2424
|
readonly identifier_new: (a: number, b: number, c: number) => void;
|
|
2322
2425
|
readonly identifier_from: (a: number, b: number, c: number, d: number) => void;
|
|
@@ -2326,20 +2429,49 @@ export interface InitOutput {
|
|
|
2326
2429
|
readonly identifier_toString: (a: number, b: number, c: number, d: number) => void;
|
|
2327
2430
|
readonly identifier_length: (a: number) => number;
|
|
2328
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;
|
|
2329
2453
|
readonly __wbg_identityfacade_free: (a: number) => void;
|
|
2330
2454
|
readonly identityfacade_new: (a: number) => number;
|
|
2331
2455
|
readonly identityfacade_validate: (a: number, b: number, c: number) => void;
|
|
2332
2456
|
readonly __wbg_nonconsensuserrorwasm_free: (a: number) => void;
|
|
2333
2457
|
readonly serializedobjectparsingerror_getCode: (a: number) => number;
|
|
2334
|
-
readonly documentalreadypresenterror_getCode: (a: number) => number;
|
|
2335
|
-
readonly documenttimestampsmismatcherror_getCode: (a: number) => number;
|
|
2336
2458
|
readonly __wbg_serializedobjectparsingerror_free: (a: number) => void;
|
|
2337
|
-
readonly documentalreadypresenterror_getDocumentId: (a: number) => number;
|
|
2338
|
-
readonly documenttimestampsmismatcherror_getDocumentId: (a: number) => number;
|
|
2339
2459
|
readonly serializedobjectparsingerror_getParsingError: (a: number) => number;
|
|
2340
|
-
readonly
|
|
2341
|
-
readonly
|
|
2342
|
-
readonly
|
|
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;
|
|
2343
2475
|
readonly __wbg_document_free: (a: number) => void;
|
|
2344
2476
|
readonly document_getProtocolVersion: (a: number) => number;
|
|
2345
2477
|
readonly document_getId: (a: number) => number;
|
|
@@ -2364,6 +2496,22 @@ export interface InitOutput {
|
|
|
2364
2496
|
readonly document_toJSON: (a: number, b: number) => void;
|
|
2365
2497
|
readonly document_toBuffer: (a: number, b: number) => void;
|
|
2366
2498
|
readonly document_hash: (a: number, b: number) => void;
|
|
2499
|
+
readonly __wbg_invalidindexedpropertyconstrainterror_free: (a: number) => void;
|
|
2500
|
+
readonly invalidindexedpropertyconstrainterror_getDocumentType: (a: number, b: number) => void;
|
|
2501
|
+
readonly invalidindexedpropertyconstrainterror_getIndexDefinition: (a: number) => number;
|
|
2502
|
+
readonly invalidindexedpropertyconstrainterror_getPropertyName: (a: number, b: number) => void;
|
|
2503
|
+
readonly invalidindexedpropertyconstrainterror_getConstraintName: (a: number, b: number) => void;
|
|
2504
|
+
readonly invalidindexedpropertyconstrainterror_getReason: (a: number, b: number) => void;
|
|
2505
|
+
readonly invalidindexedpropertyconstrainterror_getCode: (a: number) => number;
|
|
2506
|
+
readonly __wbg_documenttimestampsmismatcherror_free: (a: number) => void;
|
|
2507
|
+
readonly documenttimestampsmismatcherror_getDocumentId: (a: number) => number;
|
|
2508
|
+
readonly documenttimestampsmismatcherror_getCode: (a: number) => number;
|
|
2509
|
+
readonly document_toObject: (a: number, b: number) => void;
|
|
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;
|
|
2367
2515
|
readonly __wbg_incompatibledatacontractschemaerror_free: (a: number) => void;
|
|
2368
2516
|
readonly incompatibledatacontractschemaerror_getDataContractId: (a: number) => number;
|
|
2369
2517
|
readonly incompatibledatacontractschemaerror_getOperation: (a: number, b: number) => void;
|
|
@@ -2371,26 +2519,50 @@ export interface InitOutput {
|
|
|
2371
2519
|
readonly incompatibledatacontractschemaerror_getOldSchema: (a: number, b: number) => void;
|
|
2372
2520
|
readonly incompatibledatacontractschemaerror_getNewSchema: (a: number, b: number) => void;
|
|
2373
2521
|
readonly incompatibledatacontractschemaerror_getCode: (a: number) => number;
|
|
2374
|
-
readonly
|
|
2375
|
-
readonly
|
|
2376
|
-
readonly
|
|
2377
|
-
readonly __wbg_invalididentitypublickeytypeerror_free: (a: number) => void;
|
|
2522
|
+
readonly __wbg_invaliddocumenttransitionactionerror_free: (a: number) => void;
|
|
2523
|
+
readonly invaliddocumenttransitionactionerror_getAction: (a: number, b: number) => void;
|
|
2524
|
+
readonly invaliddocumenttransitionactionerror_getCode: (a: number) => number;
|
|
2378
2525
|
readonly invalididentitypublickeytypeerror_getPublicKeyType: (a: number) => number;
|
|
2379
|
-
readonly
|
|
2380
|
-
readonly
|
|
2381
|
-
readonly
|
|
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;
|
|
2382
2533
|
readonly __wbg_statetransitionexecutioncontext_free: (a: number) => void;
|
|
2383
2534
|
readonly statetransitionexecutioncontext_new: () => number;
|
|
2384
2535
|
readonly statetransitionexecutioncontext_enableDryRun: (a: number) => void;
|
|
2385
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;
|
|
2386
2541
|
readonly invalididentitypublickeytypeerror_getCode: (a: number) => number;
|
|
2542
|
+
readonly jsonschemacompilationerror_getCode: (a: number) => number;
|
|
2543
|
+
readonly invalidstatetransitiontypeerror_getCode: (a: number) => number;
|
|
2387
2544
|
readonly identitynotfounderror_getCode: (a: number) => number;
|
|
2545
|
+
readonly datacontractmaxdeptherror_getDepth: (a: number) => number;
|
|
2546
|
+
readonly documentalreadypresenterror_getCode: (a: number) => number;
|
|
2388
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;
|
|
2389
2554
|
readonly identitynotfounderror_getIdentityId: (a: number) => number;
|
|
2555
|
+
readonly datacontractnotpresenterror_getDataContractId: (a: number) => number;
|
|
2556
|
+
readonly documentalreadypresenterror_getDocumentId: (a: number) => number;
|
|
2390
2557
|
readonly documentnotfounderror_getDocumentId: (a: number) => number;
|
|
2391
|
-
readonly
|
|
2558
|
+
readonly __wbg_invalididentitypublickeytypeerror_free: (a: number) => void;
|
|
2559
|
+
readonly __wbg_invalidstatetransitiontypeerror_free: (a: number) => void;
|
|
2392
2560
|
readonly __wbg_identitynotfounderror_free: (a: number) => void;
|
|
2561
|
+
readonly __wbg_datacontractnotpresenterror_free: (a: number) => void;
|
|
2562
|
+
readonly __wbg_documentalreadypresenterror_free: (a: number) => void;
|
|
2393
2563
|
readonly __wbg_documentnotfounderror_free: (a: number) => void;
|
|
2564
|
+
readonly __wbg_identitypublickeyisreadonlyerror_free: (a: number) => void;
|
|
2565
|
+
readonly __wbg_maxidentitypublickeylimitreachederror_free: (a: number) => void;
|
|
2394
2566
|
readonly __wbg_datacontract_free: (a: number) => void;
|
|
2395
2567
|
readonly datacontract_new: (a: number, b: number) => void;
|
|
2396
2568
|
readonly datacontract_getProtocolVersion: (a: number) => number;
|
|
@@ -2422,7 +2594,14 @@ export interface InitOutput {
|
|
|
2422
2594
|
readonly datacontract_from: (a: number, b: number) => void;
|
|
2423
2595
|
readonly __wbg_datacontractdefaults_free: (a: number) => void;
|
|
2424
2596
|
readonly datacontractdefaults_get_default_schema: (a: number) => void;
|
|
2425
|
-
readonly
|
|
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;
|
|
2426
2605
|
readonly __wbg_datacontractcreatetransition_free: (a: number) => void;
|
|
2427
2606
|
readonly datacontractcreatetransition_new: (a: number, b: number) => void;
|
|
2428
2607
|
readonly datacontractcreatetransition_getDataContract: (a: number) => number;
|
|
@@ -2437,75 +2616,64 @@ export interface InitOutput {
|
|
|
2437
2616
|
readonly datacontractcreatetransition_isDocumentStateTransition: (a: number) => number;
|
|
2438
2617
|
readonly datacontractcreatetransition_isIdentityStateTransition: (a: number) => number;
|
|
2439
2618
|
readonly datacontractcreatetransition_setExecutionContext: (a: number, b: number) => void;
|
|
2440
|
-
readonly
|
|
2441
|
-
readonly
|
|
2442
|
-
readonly
|
|
2443
|
-
readonly
|
|
2444
|
-
readonly invaliddocumenttransitionactionerror_getAction: (a: number, b: number) => void;
|
|
2445
|
-
readonly invaliddocumenttransitionactionerror_getCode: (a: number) => number;
|
|
2446
|
-
readonly invalidstatetransitiontypeerror_getTransitionType: (a: number) => number;
|
|
2447
|
-
readonly __wbg_invalidjsonschemareferror_free: (a: number) => void;
|
|
2448
|
-
readonly invalidjsonschemareferror_getCode: (a: number) => number;
|
|
2449
|
-
readonly invalidstatetransitiontypeerror_getCode: (a: number) => number;
|
|
2450
|
-
readonly maxidentitypublickeylimitreachederror_getIdentityId: (a: number) => number;
|
|
2451
|
-
readonly maxidentitypublickeylimitreachederror_getCode: (a: number) => number;
|
|
2452
|
-
readonly invalidjsonschemareferror_getRefError: (a: number, b: number) => void;
|
|
2453
|
-
readonly __wbg_invalidstatetransitiontypeerror_free: (a: number) => void;
|
|
2454
|
-
readonly __wbg_maxidentitypublickeylimitreachederror_free: (a: number) => void;
|
|
2455
|
-
readonly __wbg_applydatacontractcreatetransition_free: (a: number) => void;
|
|
2456
|
-
readonly applydatacontractcreatetransition_new: (a: number) => number;
|
|
2457
|
-
readonly applydatacontractcreatetransition_applyDataContractCreateTransition: (a: number, b: number) => number;
|
|
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;
|
|
2458
2623
|
readonly __wbg_invaliddocumenterror_free: (a: number) => void;
|
|
2459
2624
|
readonly invaliddocumenterror_new: (a: number, b: number, c: number) => number;
|
|
2460
2625
|
readonly invaliddocumenterror_getErrors: (a: number, b: number) => void;
|
|
2461
2626
|
readonly invaliddocumenterror_getDocument: (a: number) => number;
|
|
2627
|
+
readonly __wbg_mismatchownersidserror_free: (a: number) => void;
|
|
2628
|
+
readonly mismatchownersidserror_new: (a: number, b: number) => number;
|
|
2629
|
+
readonly mismatchownersidserror_getDocumentTransition: (a: number, b: number) => void;
|
|
2462
2630
|
readonly __wbg_invalidindexpropertytypeerror_free: (a: number) => void;
|
|
2463
2631
|
readonly invalidindexpropertytypeerror_getDocumentType: (a: number, b: number) => void;
|
|
2464
2632
|
readonly invalidindexpropertytypeerror_getIndexDefinition: (a: number) => number;
|
|
2465
2633
|
readonly invalidindexpropertytypeerror_getPropertyName: (a: number, b: number) => void;
|
|
2466
2634
|
readonly invalidindexpropertytypeerror_getPropertyType: (a: number, b: number) => void;
|
|
2467
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;
|
|
2468
2641
|
readonly __wbg_invalididentitykeysignatureerror_free: (a: number) => void;
|
|
2469
2642
|
readonly invalididentitykeysignatureerror_getPublicKeyId: (a: number) => number;
|
|
2470
2643
|
readonly invalididentitykeysignatureerror_getCode: (a: number) => number;
|
|
2644
|
+
readonly __wbg_invalididentitypublickeysecuritylevelerror_free: (a: number) => void;
|
|
2645
|
+
readonly invalididentitypublickeysecuritylevelerror_getPublicKeyId: (a: number) => number;
|
|
2646
|
+
readonly invalididentitypublickeysecuritylevelerror_getPublicKeyPurpose: (a: number) => number;
|
|
2647
|
+
readonly invalididentitypublickeysecuritylevelerror_getPublicKeySecurityLevel: (a: number) => number;
|
|
2648
|
+
readonly invalididentitypublickeysecuritylevelerror_getCode: (a: number) => number;
|
|
2471
2649
|
readonly missingpublickeyerror_getPublicKeyId: (a: number) => number;
|
|
2472
|
-
readonly
|
|
2473
|
-
readonly
|
|
2474
|
-
readonly
|
|
2650
|
+
readonly __wbg_identitypublickeydisabledatwindowviolationerror_free: (a: number) => void;
|
|
2651
|
+
readonly identitypublickeydisabledatwindowviolationerror_getDisabledAt: (a: number) => number;
|
|
2652
|
+
readonly identitypublickeydisabledatwindowviolationerror_getTimeWindowStart: (a: number) => number;
|
|
2653
|
+
readonly identitypublickeydisabledatwindowviolationerror_getTimeWindowEnd: (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;
|
|
2475
2657
|
readonly publickeyisdisablederror_getPublicKeyId: (a: number) => number;
|
|
2476
2658
|
readonly publickeyisdisablederror_getCode: (a: number) => number;
|
|
2659
|
+
readonly identitypublickeydisabledatwindowviolationerror_getCode: (a: number) => number;
|
|
2477
2660
|
readonly missingpublickeyerror_getCode: (a: number) => number;
|
|
2478
|
-
readonly
|
|
2479
|
-
readonly
|
|
2480
|
-
readonly identitypublickeyisreadonlyerror_getKeyId: (a: number) => number;
|
|
2481
|
-
readonly invalididentitypublickeyiderror_getId: (a: number) => number;
|
|
2661
|
+
readonly __wbg_applydatacontractupdatetransition_free: (a: number) => void;
|
|
2662
|
+
readonly applydatacontractupdatetransition_new: (a: number) => number;
|
|
2482
2663
|
readonly __wbg_publickeyisdisablederror_free: (a: number) => void;
|
|
2483
2664
|
readonly __wbg_missingpublickeyerror_free: (a: number) => void;
|
|
2484
|
-
readonly __wbg_identitypublickeyisreadonlyerror_free: (a: number) => void;
|
|
2485
|
-
readonly __wbg_invalididentitypublickeyiderror_free: (a: number) => void;
|
|
2486
|
-
readonly __wbg_invalidactionnameerror_free: (a: number) => void;
|
|
2487
|
-
readonly invalidactionnameerror_new: (a: number, b: number) => number;
|
|
2488
|
-
readonly invalidactionnameerror_getActions: (a: number, b: number) => void;
|
|
2489
2665
|
readonly __wbg_invalidinitialrevisionerror_free: (a: number) => void;
|
|
2490
2666
|
readonly invalidinitialrevisionerror_new: (a: number) => number;
|
|
2491
2667
|
readonly invalidinitialrevisionerror_getDocumentTransition: (a: number) => number;
|
|
2492
|
-
readonly
|
|
2493
|
-
readonly
|
|
2494
|
-
readonly
|
|
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;
|
|
2495
2673
|
readonly __wbg_identityassetlockprooflockedtransactionmismatcherror_free: (a: number) => void;
|
|
2496
2674
|
readonly identityassetlockprooflockedtransactionmismatcherror_getInstantLockTransactionId: (a: number) => number;
|
|
2497
2675
|
readonly identityassetlockprooflockedtransactionmismatcherror_getAssetLockTransactionId: (a: number) => number;
|
|
2498
2676
|
readonly identityassetlockprooflockedtransactionmismatcherror_getCode: (a: number) => number;
|
|
2499
|
-
readonly __wbg_transactiondecodeerror_free: (a: number) => void;
|
|
2500
|
-
readonly __wbg_invalididentityassetlocktransactionerror_free: (a: number) => void;
|
|
2501
|
-
readonly invalididentityassetlocktransactionerror_getValidationError: (a: number) => number;
|
|
2502
|
-
readonly invalididentityassetlocktransactionerror_getMessage: (a: number, b: number) => void;
|
|
2503
|
-
readonly invalididentityassetlocktransactionerror_getCode: (a: number) => number;
|
|
2504
|
-
readonly __wbg_invalididentitypublickeysecuritylevelerror_free: (a: number) => void;
|
|
2505
|
-
readonly invalididentitypublickeysecuritylevelerror_getPublicKeyId: (a: number) => number;
|
|
2506
|
-
readonly invalididentitypublickeysecuritylevelerror_getPurpose: (a: number) => number;
|
|
2507
|
-
readonly invalididentitypublickeysecuritylevelerror_getSecurityLevel: (a: number) => number;
|
|
2508
|
-
readonly invalididentitypublickeysecuritylevelerror_getCode: (a: number) => number;
|
|
2509
2677
|
readonly __wbg_invalidinstantassetlockprooferror_free: (a: number) => void;
|
|
2510
2678
|
readonly invalidinstantassetlockprooferror_getCode: (a: number) => number;
|
|
2511
2679
|
readonly __wbg_documentowneridmismatcherror_free: (a: number) => void;
|
|
@@ -2513,11 +2681,11 @@ export interface InitOutput {
|
|
|
2513
2681
|
readonly documentowneridmismatcherror_getDocumentOwnerId: (a: number) => number;
|
|
2514
2682
|
readonly documentowneridmismatcherror_getExistingDocumentOwnerId: (a: number) => number;
|
|
2515
2683
|
readonly documentowneridmismatcherror_getCode: (a: number) => number;
|
|
2516
|
-
readonly
|
|
2517
|
-
readonly
|
|
2518
|
-
readonly
|
|
2519
|
-
readonly
|
|
2520
|
-
readonly
|
|
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;
|
|
2521
2689
|
readonly __wbg_identity_free: (a: number) => void;
|
|
2522
2690
|
readonly __wbg_assetlockproof_free: (a: number) => void;
|
|
2523
2691
|
readonly identity_new: (a: number, b: number) => void;
|
|
@@ -2544,6 +2712,11 @@ export interface InitOutput {
|
|
|
2544
2712
|
readonly identity_addPublicKey: (a: number, b: number) => void;
|
|
2545
2713
|
readonly identity_addPublicKeys: (a: number, b: number, c: number) => void;
|
|
2546
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;
|
|
2547
2720
|
readonly __wbg_documentalreadyexistserror_free: (a: number) => void;
|
|
2548
2721
|
readonly documentalreadyexistserror_getDocumentTransition: (a: number) => number;
|
|
2549
2722
|
readonly __wbg_documentcreatetransition_free: (a: number) => void;
|
|
@@ -2555,10 +2728,8 @@ export interface InitOutput {
|
|
|
2555
2728
|
readonly incompatiblere2patternerror_getPath: (a: number, b: number) => void;
|
|
2556
2729
|
readonly incompatiblere2patternerror_getMessage: (a: number, b: number) => void;
|
|
2557
2730
|
readonly incompatiblere2patternerror_getCode: (a: number) => number;
|
|
2558
|
-
readonly
|
|
2559
|
-
readonly
|
|
2560
|
-
readonly systempropertyindexalreadypresenterror_getPropertyName: (a: number, b: number) => void;
|
|
2561
|
-
readonly systempropertyindexalreadypresenterror_getCode: (a: number) => number;
|
|
2731
|
+
readonly __wbg_inconsistentcompoundindexdataerror_free: (a: number) => void;
|
|
2732
|
+
readonly inconsistentcompoundindexdataerror_getCode: (a: number) => number;
|
|
2562
2733
|
readonly __wbg_identityassetlocktransactionoutpointalreadyexistserror_free: (a: number) => void;
|
|
2563
2734
|
readonly identityassetlocktransactionoutpointalreadyexistserror_getDuplicatedIds: (a: number) => number;
|
|
2564
2735
|
readonly identityassetlocktransactionoutpointalreadyexistserror_getTransactionId: (a: number) => number;
|
|
@@ -2567,27 +2738,35 @@ export interface InitOutput {
|
|
|
2567
2738
|
readonly identityinsufficientbalanceerror_getIdentityId: (a: number) => number;
|
|
2568
2739
|
readonly identityinsufficientbalanceerror_getBalance: (a: number) => number;
|
|
2569
2740
|
readonly identityinsufficientbalanceerror_getCode: (a: number) => number;
|
|
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;
|
|
2570
2745
|
readonly __wbg_invalidinstantassetlockproofsignatureerror_free: (a: number) => void;
|
|
2571
2746
|
readonly invalidinstantassetlockproofsignatureerror_getCode: (a: number) => number;
|
|
2572
2747
|
readonly missingmasterpublickeyerror_getCode: (a: number) => number;
|
|
2573
2748
|
readonly __wbg_invalidstatetransitionsignatureerror_free: (a: number) => void;
|
|
2574
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;
|
|
2575
2756
|
readonly documentdeletetransition_getAction: (a: number) => number;
|
|
2576
2757
|
readonly documenttransition_getAction: (a: number) => number;
|
|
2577
|
-
readonly undefinedindexpropertyerror_getCode: (a: number) => number;
|
|
2578
2758
|
readonly missingdocumenttransitionactionerror_getCode: (a: number) => number;
|
|
2759
|
+
readonly missingdocumenttransitiontypeerror_getCode: (a: number) => number;
|
|
2579
2760
|
readonly missingdocumenttypeerror_getCode: (a: number) => number;
|
|
2580
2761
|
readonly missingdatacontractiderror_getCode: (a: number) => number;
|
|
2581
2762
|
readonly missingstatetransitiontypeerror_getCode: (a: number) => number;
|
|
2582
|
-
readonly
|
|
2583
|
-
readonly
|
|
2584
|
-
readonly undefinedindexpropertyerror_getDocumentType: (a: number, b: number) => void;
|
|
2585
|
-
readonly undefinedindexpropertyerror_getPropertyName: (a: number, b: number) => void;
|
|
2586
|
-
readonly undefinedindexpropertyerror_getIndexDefinition: (a: number) => number;
|
|
2763
|
+
readonly inconsistentcompoundindexdataerror_getIndexProperties: (a: number) => number;
|
|
2764
|
+
readonly inconsistentcompoundindexdataerror_getDocumentType: (a: number, b: number) => void;
|
|
2587
2765
|
readonly __wbg_documentnotprovidederror_free: (a: number) => void;
|
|
2588
2766
|
readonly __wbg_invaliddocumentactionerror_free: (a: number) => void;
|
|
2589
2767
|
readonly __wbg_missingmasterpublickeyerror_free: (a: number) => void;
|
|
2590
2768
|
readonly __wbg_missingdocumenttransitionactionerror_free: (a: number) => void;
|
|
2769
|
+
readonly __wbg_missingdocumenttransitiontypeerror_free: (a: number) => void;
|
|
2591
2770
|
readonly __wbg_missingdocumenttypeerror_free: (a: number) => void;
|
|
2592
2771
|
readonly __wbg_missingdatacontractiderror_free: (a: number) => void;
|
|
2593
2772
|
readonly __wbg_missingstatetransitiontypeerror_free: (a: number) => void;
|
|
@@ -2595,6 +2774,15 @@ export interface InitOutput {
|
|
|
2595
2774
|
readonly invaliddocumentactionerror_getDocumentTransition: (a: number) => number;
|
|
2596
2775
|
readonly __wbg_dashplatformprotocol_free: (a: number) => void;
|
|
2597
2776
|
readonly dashplatformprotocol_new: (a: number) => number;
|
|
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;
|
|
2598
2786
|
readonly __wbg_duplicateindexerror_free: (a: number) => void;
|
|
2599
2787
|
readonly duplicateindexerror_getDocumentType: (a: number, b: number) => void;
|
|
2600
2788
|
readonly duplicateindexerror_getIndexDefinition: (a: number) => number;
|
|
@@ -2602,28 +2790,17 @@ export interface InitOutput {
|
|
|
2602
2790
|
readonly __wbg_invaliddatacontractiderror_free: (a: number) => void;
|
|
2603
2791
|
readonly invaliddatacontractiderror_getExpectedId: (a: number) => number;
|
|
2604
2792
|
readonly invaliddatacontractiderror_getInvalidId: (a: number) => number;
|
|
2605
|
-
readonly
|
|
2606
|
-
readonly inconsistentcompoundindexdataerror_getDocumentType: (a: number, b: number) => void;
|
|
2607
|
-
readonly inconsistentcompoundindexdataerror_getCode: (a: number) => number;
|
|
2793
|
+
readonly invaliddatacontractiderror_getCode: (a: number) => number;
|
|
2608
2794
|
readonly __wbg_invaliddocumenttransitioniderror_free: (a: number) => void;
|
|
2609
2795
|
readonly invaliddocumenttransitioniderror_getExpectedId: (a: number) => number;
|
|
2610
2796
|
readonly invaliddocumenttransitioniderror_getInvalidId: (a: number) => number;
|
|
2611
2797
|
readonly invaliddocumenttransitioniderror_getCode: (a: number) => number;
|
|
2612
|
-
readonly __wbg_duplicatedidentitypublickeyerror_free: (a: number) => void;
|
|
2613
|
-
readonly duplicatedidentitypublickeyerror_getDuplicatedPublicKeysIds: (a: number, b: number) => void;
|
|
2614
|
-
readonly duplicatedidentitypublickeyerror_getCode: (a: number) => number;
|
|
2615
|
-
readonly duplicatedidentitypublickeyiderror_getDuplicatedIds: (a: number, b: number) => void;
|
|
2616
|
-
readonly duplicatedidentitypublickeyiderror_getCode: (a: number) => number;
|
|
2617
2798
|
readonly invalidassetlockproofcorechainheighterror_getProofCoreChainLockedHeight: (a: number) => number;
|
|
2618
2799
|
readonly invalidassetlockproofcorechainheighterror_getCurrentCoreChainLockedHeight: (a: number) => number;
|
|
2619
2800
|
readonly invalidassetlockproofcorechainheighterror_getCode: (a: number) => number;
|
|
2620
2801
|
readonly __wbg_invalididentitycreditwithdrawaltransitionoutputscripterror_free: (a: number) => void;
|
|
2621
2802
|
readonly invalididentitycreditwithdrawaltransitionoutputscripterror_getOutputScript: (a: number) => number;
|
|
2622
2803
|
readonly invalididentitycreditwithdrawaltransitionoutputscripterror_getCode: (a: number) => number;
|
|
2623
|
-
readonly __wbg_invalididentitypublickeydataerror_free: (a: number) => void;
|
|
2624
|
-
readonly invalididentitypublickeydataerror_getPublicKeyId: (a: number) => number;
|
|
2625
|
-
readonly invalididentitypublickeydataerror_getValidationError: (a: number) => number;
|
|
2626
|
-
readonly invalididentitypublickeydataerror_getCode: (a: number) => number;
|
|
2627
2804
|
readonly __wbg_incompatibleprotocolversionerror_free: (a: number) => void;
|
|
2628
2805
|
readonly incompatibleprotocolversionerror_getParsedProtocolVersion: (a: number) => number;
|
|
2629
2806
|
readonly incompatibleprotocolversionerror_getMinimalProtocolVersion: (a: number) => number;
|
|
@@ -2639,16 +2816,7 @@ export interface InitOutput {
|
|
|
2639
2816
|
readonly datatriggerexecutionerror_getTimestamp: (a: number) => number;
|
|
2640
2817
|
readonly datatriggerexecutionerror_getOwnerId: (a: number) => number;
|
|
2641
2818
|
readonly datatriggerexecutionerror_getCode: (a: number) => number;
|
|
2642
|
-
readonly __wbg_duplicateuniqueindexerror_free: (a: number) => void;
|
|
2643
|
-
readonly duplicateuniqueindexerror_getDocumentId: (a: number) => number;
|
|
2644
|
-
readonly duplicateuniqueindexerror_getDuplicatingProperties: (a: number) => number;
|
|
2645
|
-
readonly duplicateuniqueindexerror_getCode: (a: number) => number;
|
|
2646
|
-
readonly __wbg_publickeyvalidationerror_free: (a: number) => void;
|
|
2647
|
-
readonly publickeyvalidationerror_message: (a: number) => number;
|
|
2648
2819
|
readonly invalidcompoundindexerror_getCode: (a: number) => number;
|
|
2649
|
-
readonly invaliddatacontractiderror_getCode: (a: number) => number;
|
|
2650
|
-
readonly inconsistentcompoundindexdataerror_getIndexProperties: (a: number) => number;
|
|
2651
|
-
readonly __wbg_duplicatedidentitypublickeyiderror_free: (a: number) => void;
|
|
2652
2820
|
readonly invalidcompoundindexerror_getDocumentType: (a: number, b: number) => void;
|
|
2653
2821
|
readonly __wbg_invalidcompoundindexerror_free: (a: number) => void;
|
|
2654
2822
|
readonly invalidcompoundindexerror_getIndexDefinition: (a: number) => number;
|
|
@@ -2664,6 +2832,11 @@ export interface InitOutput {
|
|
|
2664
2832
|
readonly __wbg_invaliddocumenttypeerror_free: (a: number) => void;
|
|
2665
2833
|
readonly invaliddocumenttypeerror_getDataContractId: (a: number) => number;
|
|
2666
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;
|
|
2667
2840
|
readonly __wbg_invalidassetlockprooftransactionheighterror_free: (a: number) => void;
|
|
2668
2841
|
readonly invalidassetlockprooftransactionheighterror_getProofCoreChainLockedHeight: (a: number) => number;
|
|
2669
2842
|
readonly invalidassetlockprooftransactionheighterror_getCurrentCoreChainLockedHeight: (a: number, b: number) => void;
|
|
@@ -2679,32 +2852,50 @@ export interface InitOutput {
|
|
|
2679
2852
|
readonly publickeysecuritylevelnotmeterror_getRequiredSecurityLevel: (a: number) => number;
|
|
2680
2853
|
readonly wrongpublickeypurposeerror_getPublicKeyPurpose: (a: number) => number;
|
|
2681
2854
|
readonly wrongpublickeypurposeerror_getKeyPurposeRequirement: (a: number) => number;
|
|
2855
|
+
readonly datacontractimmutablepropertiesupdateerror_getCode: (a: number) => number;
|
|
2856
|
+
readonly datacontractinvalidindexdefinitionupdateerror_getCode: (a: number) => number;
|
|
2682
2857
|
readonly datacontractuniqueindiceschangederror_getCode: (a: number) => number;
|
|
2858
|
+
readonly duplicateindexnameerror_getCode: (a: number) => number;
|
|
2683
2859
|
readonly uniqueindiceslimitreachederror_getIndexLimit: (a: number) => number;
|
|
2860
|
+
readonly invalididentifiererror_getCode: (a: number) => number;
|
|
2684
2861
|
readonly publickeysecuritylevelnotmeterror_getCode: (a: number) => number;
|
|
2685
2862
|
readonly wrongpublickeypurposeerror_getCode: (a: number) => number;
|
|
2686
2863
|
readonly invalidsignaturepublickeysecuritylevelerror_getCode: (a: number) => number;
|
|
2687
2864
|
readonly invalididentityrevisionerror_getCurrentRevision: (a: number) => number;
|
|
2688
2865
|
readonly invalididentityrevisionerror_getCode: (a: number) => number;
|
|
2866
|
+
readonly __wbg_duplicatedidentitypublickeyiderror_free: (a: number) => void;
|
|
2867
|
+
readonly datacontractimmutablepropertiesupdateerror_getOperation: (a: number, b: number) => void;
|
|
2868
|
+
readonly datacontractimmutablepropertiesupdateerror_getFieldPath: (a: number, b: number) => void;
|
|
2869
|
+
readonly datacontractinvalidindexdefinitionupdateerror_getDocumentType: (a: number, b: number) => void;
|
|
2870
|
+
readonly datacontractinvalidindexdefinitionupdateerror_getIndexName: (a: number, b: number) => void;
|
|
2689
2871
|
readonly datacontractuniqueindiceschangederror_getDocumentType: (a: number, b: number) => void;
|
|
2690
2872
|
readonly datacontractuniqueindiceschangederror_getIndexName: (a: number, b: number) => void;
|
|
2873
|
+
readonly duplicateindexnameerror_getDocumentType: (a: number, b: number) => void;
|
|
2874
|
+
readonly duplicateindexnameerror_getDuplicateIndexName: (a: number, b: number) => void;
|
|
2691
2875
|
readonly uniqueindiceslimitreachederror_getDocumentType: (a: number, b: number) => void;
|
|
2692
2876
|
readonly invaliddocumenttypeerror_getDocumentType: (a: number, b: number) => void;
|
|
2877
|
+
readonly invalididentifiererror_getIdentifierName: (a: number, b: number) => void;
|
|
2878
|
+
readonly invalididentifiererror_getError: (a: number, b: number) => void;
|
|
2693
2879
|
readonly invalididentityrevisionerror_getIdentityId: (a: number) => number;
|
|
2694
2880
|
readonly notdocumentssuppliederror_new: () => number;
|
|
2881
|
+
readonly __wbg_datacontractimmutablepropertiesupdateerror_free: (a: number) => void;
|
|
2882
|
+
readonly __wbg_datacontractinvalidindexdefinitionupdateerror_free: (a: number) => void;
|
|
2695
2883
|
readonly __wbg_datacontractuniqueindiceschangederror_free: (a: number) => void;
|
|
2884
|
+
readonly __wbg_duplicateindexnameerror_free: (a: number) => void;
|
|
2885
|
+
readonly __wbg_invalididentifiererror_free: (a: number) => void;
|
|
2696
2886
|
readonly __wbg_publickeysecuritylevelnotmeterror_free: (a: number) => void;
|
|
2697
2887
|
readonly __wbg_wrongpublickeypurposeerror_free: (a: number) => void;
|
|
2698
2888
|
readonly __wbg_invalididentityrevisionerror_free: (a: number) => void;
|
|
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;
|
|
2699
2893
|
readonly __wbg_indexproperty_free: (a: number) => void;
|
|
2700
2894
|
readonly indexproperty_isAscending: (a: number) => number;
|
|
2701
2895
|
readonly __wbg_indexdefinition_free: (a: number) => void;
|
|
2896
|
+
readonly indexdefinition_getName: (a: number, b: number) => void;
|
|
2702
2897
|
readonly indexdefinition_getProperties: (a: number, b: number) => void;
|
|
2703
2898
|
readonly indexdefinition_isUnique: (a: number) => number;
|
|
2704
|
-
readonly __wbg_datacontractimmutablepropertiesupdateerror_free: (a: number) => void;
|
|
2705
|
-
readonly datacontractimmutablepropertiesupdateerror_getOperation: (a: number, b: number) => void;
|
|
2706
|
-
readonly datacontractimmutablepropertiesupdateerror_getFieldPath: (a: number, b: number) => void;
|
|
2707
|
-
readonly datacontractimmutablepropertiesupdateerror_getCode: (a: number) => number;
|
|
2708
2899
|
readonly __wbg_invaliddatacontractversionerror_free: (a: number) => void;
|
|
2709
2900
|
readonly invaliddatacontractversionerror_getExpectedVersion: (a: number) => number;
|
|
2710
2901
|
readonly invaliddatacontractversionerror_getVersion: (a: number) => number;
|
|
@@ -2734,45 +2925,21 @@ export interface InitOutput {
|
|
|
2734
2925
|
readonly documenttimestampwindowviolationerror_getTimeWindowStart: (a: number) => number;
|
|
2735
2926
|
readonly documenttimestampwindowviolationerror_getTimeWindowEnd: (a: number) => number;
|
|
2736
2927
|
readonly documenttimestampwindowviolationerror_getCode: (a: number) => number;
|
|
2737
|
-
readonly __wbg_publickeysvalidator_free: (a: number) => void;
|
|
2738
|
-
readonly publickeysvalidator_new: (a: number) => number;
|
|
2739
|
-
readonly publickeysvalidator_validateKeys: (a: number, b: number, c: number) => void;
|
|
2740
|
-
readonly publickeysvalidator_validatePublicKeyStructure: (a: number, b: number, c: number) => void;
|
|
2741
2928
|
readonly __wbg_metadata_free: (a: number) => void;
|
|
2742
2929
|
readonly metadata_new: (a: number, b: number) => number;
|
|
2743
2930
|
readonly metadata_from: (a: number) => number;
|
|
2744
2931
|
readonly metadata_toJSON: (a: number) => number;
|
|
2745
2932
|
readonly metadata_toObject: (a: number) => number;
|
|
2746
|
-
readonly datacontractinvalidindexdefinitionupdateerror_getCode: (a: number) => number;
|
|
2747
|
-
readonly duplicateindexnameerror_getCode: (a: number) => number;
|
|
2748
|
-
readonly invalididentifiererror_getCode: (a: number) => number;
|
|
2749
2933
|
readonly statetransitionmaxsizeexceedederror_getActualSizeKBytes: (a: number) => number;
|
|
2750
2934
|
readonly statetransitionmaxsizeexceedederror_getMaxSizeKBytes: (a: number) => number;
|
|
2751
2935
|
readonly statetransitionmaxsizeexceedederror_getCode: (a: number) => number;
|
|
2752
2936
|
readonly indexproperty_getName: (a: number, b: number) => void;
|
|
2753
|
-
readonly indexdefinition_getName: (a: number, b: number) => void;
|
|
2754
|
-
readonly datacontractinvalidindexdefinitionupdateerror_getDocumentType: (a: number, b: number) => void;
|
|
2755
|
-
readonly datacontractinvalidindexdefinitionupdateerror_getIndexName: (a: number, b: number) => void;
|
|
2756
|
-
readonly duplicateindexnameerror_getDocumentType: (a: number, b: number) => void;
|
|
2757
|
-
readonly duplicateindexnameerror_getDuplicateIndexName: (a: number, b: number) => void;
|
|
2758
|
-
readonly invalididentifiererror_getIdentifierName: (a: number, b: number) => void;
|
|
2759
|
-
readonly invalididentifiererror_getError: (a: number, b: number) => void;
|
|
2760
|
-
readonly __wbg_datacontractinvalidindexdefinitionupdateerror_free: (a: number) => void;
|
|
2761
|
-
readonly __wbg_duplicateindexnameerror_free: (a: number) => void;
|
|
2762
|
-
readonly __wbg_invalididentifiererror_free: (a: number) => void;
|
|
2763
2937
|
readonly __wbg_statetransitionmaxsizeexceedederror_free: (a: number) => void;
|
|
2764
|
-
readonly
|
|
2765
|
-
readonly
|
|
2766
|
-
readonly
|
|
2767
|
-
readonly
|
|
2768
|
-
readonly
|
|
2769
|
-
readonly datacontractvalidator_new: () => number;
|
|
2770
|
-
readonly __wbg_datacontractfactory_free: (a: number) => void;
|
|
2771
|
-
readonly datacontractfactory_new: (a: number, b: number, c: number) => number;
|
|
2772
|
-
readonly datacontractfactory_create: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
2773
|
-
readonly datacontractfactory_createFromObject: (a: number, b: number, c: number) => number;
|
|
2774
|
-
readonly datacontractfactory_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
|
|
2775
|
-
readonly datacontractfactory_createDataContractCreateTransition: (a: number, b: number) => number;
|
|
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;
|
|
2776
2943
|
readonly __wbg_identitypublickey_free: (a: number) => void;
|
|
2777
2944
|
readonly identitypublickey_new: (a: number, b: number) => void;
|
|
2778
2945
|
readonly identitypublickey_getId: (a: number) => number;
|
|
@@ -2793,39 +2960,19 @@ export interface InitOutput {
|
|
|
2793
2960
|
readonly identitypublickey_isMaster: (a: number) => number;
|
|
2794
2961
|
readonly identitypublickey_toJSON: (a: number, b: number) => void;
|
|
2795
2962
|
readonly identitypublickey_toObject: (a: number, b: number, c: number) => void;
|
|
2796
|
-
readonly __wbg_invaliddatacontracterror_free: (a: number) => void;
|
|
2797
|
-
readonly invaliddatacontracterror_new: (a: number, b: number, c: number) => number;
|
|
2798
|
-
readonly invaliddatacontracterror_getErrors: (a: number, b: number) => void;
|
|
2799
|
-
readonly invaliddatacontracterror_getRawDataContract: (a: number) => number;
|
|
2800
|
-
readonly __wbg_duplicatedocumenttransitionswithidserror_free: (a: number) => void;
|
|
2801
|
-
readonly duplicatedocumenttransitionswithidserror_getReferences: (a: number) => number;
|
|
2802
|
-
readonly duplicatedocumenttransitionswithidserror_getCode: (a: number) => number;
|
|
2803
|
-
readonly identityassetlocktransactionisnotfounderror_getTransactionId: (a: number) => number;
|
|
2804
|
-
readonly identityassetlocktransactionisnotfounderror_getCode: (a: number) => number;
|
|
2805
|
-
readonly __wbg_invalidassetlocktransactionoutputreturnsizeerror_free: (a: number) => void;
|
|
2806
|
-
readonly invalidassetlocktransactionoutputreturnsizeerror_getOutputIndex: (a: number) => number;
|
|
2807
|
-
readonly invalidassetlocktransactionoutputreturnsizeerror_getCode: (a: number) => number;
|
|
2808
|
-
readonly invalididentityassetlocktransactionoutputerror_getOutputIndex: (a: number) => number;
|
|
2809
|
-
readonly invalididentityassetlocktransactionoutputerror_getCode: (a: number) => number;
|
|
2810
|
-
readonly __wbg_identityalreadyexistserror_free: (a: number) => void;
|
|
2811
|
-
readonly identityalreadyexistserror_getIdentityId: (a: number) => number;
|
|
2812
|
-
readonly identityalreadyexistserror_getCode: (a: number) => number;
|
|
2813
|
-
readonly __wbg_validationresult_free: (a: number) => void;
|
|
2814
|
-
readonly validationresult_errorsText: (a: number, b: number) => void;
|
|
2815
|
-
readonly validationresult_isValid: (a: number) => number;
|
|
2816
|
-
readonly validationresult_getErrors: (a: number, b: number) => void;
|
|
2817
|
-
readonly __wbg_invalididentityassetlocktransactionoutputerror_free: (a: number) => void;
|
|
2818
2963
|
readonly __wbg_identityassetlocktransactionisnotfounderror_free: (a: number) => void;
|
|
2819
|
-
readonly
|
|
2820
|
-
readonly
|
|
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;
|
|
2821
2968
|
readonly __wbindgen_malloc: (a: number) => number;
|
|
2822
2969
|
readonly __wbindgen_realloc: (a: number, b: number, c: number) => number;
|
|
2823
2970
|
readonly __wbindgen_export_2: WebAssembly.Table;
|
|
2824
|
-
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;
|
|
2825
2972
|
readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
|
|
2826
2973
|
readonly __wbindgen_free: (a: number, b: number) => void;
|
|
2827
2974
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
2828
|
-
readonly
|
|
2975
|
+
readonly wasm_bindgen__convert__closures__invoke2_mut__hb55bc58977266d22: (a: number, b: number, c: number, d: number) => void;
|
|
2829
2976
|
}
|
|
2830
2977
|
|
|
2831
2978
|
export type SyncInitInput = BufferSource | WebAssembly.Module;
|