@dashevo/wasm-dpp 0.24.1 → 0.24.3
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/wasm/wasm_dpp.d.ts +92 -67
- package/dist/wasm/wasm_dpp.js +20 -11
- package/dist/wasm/wasm_dpp_bg.js +1 -1
- package/lib/wasm/wasm_dpp.d.ts +92 -67
- package/package.json +3 -3
- package/src/errors/consensus/consensus_error.rs +5 -0
- package/src/errors/consensus/state/document/document_timestamps_are_equal_error.rs +42 -0
- package/src/errors/consensus/state/document/mod.rs +2 -0
package/dist/wasm/wasm_dpp.d.ts
CHANGED
|
@@ -32,6 +32,11 @@ export function generateTemporaryEcdsaPrivateKey(): any;
|
|
|
32
32
|
*/
|
|
33
33
|
export function findDuplicatesById(js_raw_transitions: Array<any>): any[];
|
|
34
34
|
/**
|
|
35
|
+
* @param {Array<any>} operations
|
|
36
|
+
* @returns {DummyFeesResult}
|
|
37
|
+
*/
|
|
38
|
+
export function calculateOperationFees(operations: Array<any>): DummyFeesResult;
|
|
39
|
+
/**
|
|
35
40
|
* @param {any} raw_parameters
|
|
36
41
|
* @returns {any}
|
|
37
42
|
*/
|
|
@@ -59,11 +64,6 @@ export function fetchAssetLockTransactionOutput(state_repository: any, raw_asset
|
|
|
59
64
|
*/
|
|
60
65
|
export function fetchAssetLockPublicKeyHash(state_repository: any, raw_asset_lock_proof: any, execution_context: StateTransitionExecutionContext): Promise<any>;
|
|
61
66
|
/**
|
|
62
|
-
* @param {Array<any>} operations
|
|
63
|
-
* @returns {DummyFeesResult}
|
|
64
|
-
*/
|
|
65
|
-
export function calculateOperationFees(operations: Array<any>): DummyFeesResult;
|
|
66
|
-
/**
|
|
67
67
|
* @param {any} state_repository
|
|
68
68
|
* @param {DataContractUpdateTransition} state_transition
|
|
69
69
|
* @returns {Promise<ValidationResult>}
|
|
@@ -1625,6 +1625,26 @@ export class DocumentTimestampWindowViolationError {
|
|
|
1625
1625
|
}
|
|
1626
1626
|
/**
|
|
1627
1627
|
*/
|
|
1628
|
+
export class DocumentTimestampsAreEqualError {
|
|
1629
|
+
free(): void;
|
|
1630
|
+
/**
|
|
1631
|
+
* @returns {any}
|
|
1632
|
+
*/
|
|
1633
|
+
getDocumentId(): any;
|
|
1634
|
+
/**
|
|
1635
|
+
* @returns {number}
|
|
1636
|
+
*/
|
|
1637
|
+
getCode(): number;
|
|
1638
|
+
/**
|
|
1639
|
+
* @returns {any}
|
|
1640
|
+
*/
|
|
1641
|
+
serialize(): any;
|
|
1642
|
+
/**
|
|
1643
|
+
*/
|
|
1644
|
+
readonly message: string;
|
|
1645
|
+
}
|
|
1646
|
+
/**
|
|
1647
|
+
*/
|
|
1628
1648
|
export class DocumentTimestampsMismatchError {
|
|
1629
1649
|
free(): void;
|
|
1630
1650
|
/**
|
|
@@ -5327,6 +5347,10 @@ export interface InitOutput {
|
|
|
5327
5347
|
readonly identityassetlocktransactionisnotfounderror_getCode: (a: number) => number;
|
|
5328
5348
|
readonly identityassetlocktransactionisnotfounderror_message: (a: number, b: number) => void;
|
|
5329
5349
|
readonly identityassetlocktransactionisnotfounderror_serialize: (a: number, b: number) => void;
|
|
5350
|
+
readonly invalididentityassetlocktransactionerror_getErrorMessage: (a: number, b: number) => void;
|
|
5351
|
+
readonly invalididentityassetlocktransactionerror_getCode: (a: number) => number;
|
|
5352
|
+
readonly invalididentityassetlocktransactionerror_message: (a: number, b: number) => void;
|
|
5353
|
+
readonly invalididentityassetlocktransactionerror_serialize: (a: number, b: number) => void;
|
|
5330
5354
|
readonly jsonschemacompilationerror_getError: (a: number, b: number) => void;
|
|
5331
5355
|
readonly jsonschemacompilationerror_getCode: (a: number) => number;
|
|
5332
5356
|
readonly jsonschemacompilationerror_message: (a: number, b: number) => void;
|
|
@@ -5336,6 +5360,10 @@ export interface InitOutput {
|
|
|
5336
5360
|
readonly identityalreadyexistserror_getCode: (a: number) => number;
|
|
5337
5361
|
readonly identityalreadyexistserror_message: (a: number, b: number) => void;
|
|
5338
5362
|
readonly identityalreadyexistserror_serialize: (a: number, b: number) => void;
|
|
5363
|
+
readonly valueerror_getMessage: (a: number, b: number) => void;
|
|
5364
|
+
readonly valueerror_getCode: (a: number) => number;
|
|
5365
|
+
readonly valueerror_message: (a: number, b: number) => void;
|
|
5366
|
+
readonly valueerror_serialize: (a: number, b: number) => void;
|
|
5339
5367
|
readonly __wbg_publickeysvalidator_free: (a: number) => void;
|
|
5340
5368
|
readonly publickeysvalidator_new: (a: number, b: number) => void;
|
|
5341
5369
|
readonly publickeysvalidator_validateKeys: (a: number, b: number, c: number) => void;
|
|
@@ -5352,6 +5380,13 @@ export interface InitOutput {
|
|
|
5352
5380
|
readonly instantassetlockproof_getTransaction: (a: number) => number;
|
|
5353
5381
|
readonly instantassetlockproof_toObject: (a: number, b: number) => void;
|
|
5354
5382
|
readonly instantassetlockproof_toJSON: (a: number, b: number) => void;
|
|
5383
|
+
readonly __wbg_dummyfeesresult_free: (a: number) => void;
|
|
5384
|
+
readonly dummyfeesresult_storageFee: (a: number) => number;
|
|
5385
|
+
readonly dummyfeesresult_processingFee: (a: number) => number;
|
|
5386
|
+
readonly dummyfeesresult_feeRefunds: (a: number) => number;
|
|
5387
|
+
readonly dummyfeesresult_set_storageFee: (a: number, b: number, c: number) => void;
|
|
5388
|
+
readonly dummyfeesresult_set_processingFee: (a: number, b: number, c: number) => void;
|
|
5389
|
+
readonly dummyfeesresult_set_feeRefunds: (a: number, b: number, c: number) => void;
|
|
5355
5390
|
readonly __wbg_statetransitionexecutioncontext_free: (a: number) => void;
|
|
5356
5391
|
readonly statetransitionexecutioncontext_new: () => number;
|
|
5357
5392
|
readonly statetransitionexecutioncontext_enableDryRun: (a: number) => void;
|
|
@@ -5365,7 +5400,9 @@ export interface InitOutput {
|
|
|
5365
5400
|
readonly __wbg_identityassetlocktransactionisnotfounderror_free: (a: number) => void;
|
|
5366
5401
|
readonly __wbg_serializedobjectparsingerror_free: (a: number) => void;
|
|
5367
5402
|
readonly __wbg_invalidjsonschemareferror_free: (a: number) => void;
|
|
5403
|
+
readonly __wbg_invalididentityassetlocktransactionerror_free: (a: number) => void;
|
|
5368
5404
|
readonly __wbg_jsonschemacompilationerror_free: (a: number) => void;
|
|
5405
|
+
readonly __wbg_valueerror_free: (a: number) => void;
|
|
5369
5406
|
readonly validateDataContractCreateTransitionState: (a: number, b: number) => number;
|
|
5370
5407
|
readonly validateDataContractCreateTransitionBasic: (a: number) => number;
|
|
5371
5408
|
readonly __wbg_identityassetlocktransactionoutputnotfounderror_free: (a: number) => void;
|
|
@@ -5426,13 +5463,6 @@ export interface InitOutput {
|
|
|
5426
5463
|
readonly maxidentitypublickeylimitreachederror_serialize: (a: number, b: number) => void;
|
|
5427
5464
|
readonly __wbg_assetlockoutputnotfounderror_free: (a: number) => void;
|
|
5428
5465
|
readonly calculateStateTransitionFeeFromOperations: (a: number, b: number, c: number) => void;
|
|
5429
|
-
readonly __wbg_dummyfeesresult_free: (a: number) => void;
|
|
5430
|
-
readonly dummyfeesresult_storageFee: (a: number) => number;
|
|
5431
|
-
readonly dummyfeesresult_processingFee: (a: number) => number;
|
|
5432
|
-
readonly dummyfeesresult_feeRefunds: (a: number) => number;
|
|
5433
|
-
readonly dummyfeesresult_set_storageFee: (a: number, b: number, c: number) => void;
|
|
5434
|
-
readonly dummyfeesresult_set_processingFee: (a: number, b: number, c: number) => void;
|
|
5435
|
-
readonly dummyfeesresult_set_feeRefunds: (a: number, b: number, c: number) => void;
|
|
5436
5466
|
readonly __wbg_readoperation_free: (a: number) => void;
|
|
5437
5467
|
readonly readoperation_new: (a: number, b: number) => void;
|
|
5438
5468
|
readonly readoperation_processingCost: (a: number, b: number) => void;
|
|
@@ -5487,10 +5517,6 @@ export interface InitOutput {
|
|
|
5487
5517
|
readonly document_toBuffer: (a: number, b: number) => void;
|
|
5488
5518
|
readonly document_hash: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
5489
5519
|
readonly document_clone: (a: number) => number;
|
|
5490
|
-
readonly __wbg_invalidinstantassetlockprooferror_free: (a: number) => void;
|
|
5491
|
-
readonly invalidinstantassetlockprooferror_getCode: (a: number) => number;
|
|
5492
|
-
readonly invalidinstantassetlockprooferror_message: (a: number, b: number) => void;
|
|
5493
|
-
readonly invalidinstantassetlockprooferror_serialize: (a: number, b: number) => void;
|
|
5494
5520
|
readonly __wbg_documenttimestampwindowviolationerror_free: (a: number) => void;
|
|
5495
5521
|
readonly documenttimestampwindowviolationerror_getDocumentId: (a: number) => number;
|
|
5496
5522
|
readonly documenttimestampwindowviolationerror_getTimestampName: (a: number, b: number) => void;
|
|
@@ -5513,9 +5539,6 @@ export interface InitOutput {
|
|
|
5513
5539
|
readonly identityfactory_createIdentityUpdateTransition: (a: number, b: number, c: number, d: number) => void;
|
|
5514
5540
|
readonly __wbg_assetlocktransactionisnotfounderror_free: (a: number) => void;
|
|
5515
5541
|
readonly assetlocktransactionisnotfounderror_getTransactionId: (a: number) => number;
|
|
5516
|
-
readonly __wbg_identitycreatetransitionbasicvalidator_free: (a: number) => void;
|
|
5517
|
-
readonly identitycreatetransitionbasicvalidator_new: (a: number, b: number, c: number) => void;
|
|
5518
|
-
readonly identitycreatetransitionbasicvalidator_validate: (a: number, b: number, c: number) => number;
|
|
5519
5542
|
readonly generateTemporaryEcdsaPrivateKey: () => number;
|
|
5520
5543
|
readonly tryingtoreplaceimmutabledocumenterror_new: (a: number) => number;
|
|
5521
5544
|
readonly dashplatformprotocol_protocol_version: (a: number) => number;
|
|
@@ -5527,6 +5550,9 @@ export interface InitOutput {
|
|
|
5527
5550
|
readonly datacontractgenericerror_getMessage: (a: number, b: number) => void;
|
|
5528
5551
|
readonly __wbg_documentalreadyexistserror_free: (a: number) => void;
|
|
5529
5552
|
readonly documentalreadyexistserror_getDocumentTransition: (a: number) => number;
|
|
5553
|
+
readonly __wbg_revisionabsenterror_free: (a: number) => void;
|
|
5554
|
+
readonly revisionabsenterror_new: (a: number) => number;
|
|
5555
|
+
readonly revisionabsenterror_getDocument: (a: number) => number;
|
|
5530
5556
|
readonly __wbg_documentfacade_free: (a: number) => void;
|
|
5531
5557
|
readonly documentfacade_new: (a: number, b: number, c: number) => number;
|
|
5532
5558
|
readonly documentfacade_create: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
@@ -5542,15 +5568,13 @@ export interface InitOutput {
|
|
|
5542
5568
|
readonly invalididentitypublickeytypeerror_getCode: (a: number) => number;
|
|
5543
5569
|
readonly invalididentitypublickeytypeerror_message: (a: number, b: number) => void;
|
|
5544
5570
|
readonly invalididentitypublickeytypeerror_serialize: (a: number, b: number) => void;
|
|
5571
|
+
readonly invalidinstantassetlockprooferror_getCode: (a: number) => number;
|
|
5572
|
+
readonly invalidinstantassetlockprooferror_message: (a: number, b: number) => void;
|
|
5573
|
+
readonly invalidinstantassetlockprooferror_serialize: (a: number, b: number) => void;
|
|
5545
5574
|
readonly unknownassetlockprooftypeerror_getType: (a: number) => number;
|
|
5546
|
-
readonly
|
|
5547
|
-
readonly
|
|
5548
|
-
readonly
|
|
5549
|
-
readonly assetlockproof_toObject: (a: number, b: number) => void;
|
|
5550
|
-
readonly createAssetLockProofInstance: (a: number, b: number) => void;
|
|
5551
|
-
readonly validateAssetLockTransaction: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
5552
|
-
readonly fetchAssetLockTransactionOutput: (a: number, b: number, c: number) => number;
|
|
5553
|
-
readonly fetchAssetLockPublicKeyHash: (a: number, b: number, c: number) => number;
|
|
5575
|
+
readonly __wbg_identitycreatetransitionbasicvalidator_free: (a: number) => void;
|
|
5576
|
+
readonly identitycreatetransitionbasicvalidator_new: (a: number, b: number, c: number) => void;
|
|
5577
|
+
readonly identitycreatetransitionbasicvalidator_validate: (a: number, b: number, c: number) => number;
|
|
5554
5578
|
readonly __wbg_identitytopuptransition_free: (a: number) => void;
|
|
5555
5579
|
readonly identitytopuptransition_new: (a: number, b: number) => void;
|
|
5556
5580
|
readonly identitytopuptransition_setAssetLockProof: (a: number, b: number, c: number) => void;
|
|
@@ -5581,21 +5605,13 @@ export interface InitOutput {
|
|
|
5581
5605
|
readonly __wbg_unknownassetlockprooftypeerror_free: (a: number) => void;
|
|
5582
5606
|
readonly documentnotprovidederror_getDocumentTransition: (a: number) => number;
|
|
5583
5607
|
readonly invaliddocumentactionerror_getDocumentTransition: (a: number) => number;
|
|
5584
|
-
readonly
|
|
5585
|
-
readonly revisionabsenterror_new: (a: number) => number;
|
|
5586
|
-
readonly revisionabsenterror_getDocument: (a: number) => number;
|
|
5608
|
+
readonly __wbg_invalidinstantassetlockprooferror_free: (a: number) => void;
|
|
5587
5609
|
readonly __wbg_protocolversionparsingerror_free: (a: number) => void;
|
|
5588
5610
|
readonly protocolversionparsingerror_new: (a: number, b: number) => number;
|
|
5589
5611
|
readonly protocolversionparsingerror_getParsingError: (a: number, b: number) => void;
|
|
5590
5612
|
readonly protocolversionparsingerror_getCode: (a: number) => number;
|
|
5591
5613
|
readonly protocolversionparsingerror_serialize: (a: number, b: number) => void;
|
|
5592
5614
|
readonly protocolversionparsingerror_message: (a: number, b: number) => void;
|
|
5593
|
-
readonly missingdatacontractiderror_getCode: (a: number) => number;
|
|
5594
|
-
readonly missingdatacontractiderror_message: (a: number, b: number) => void;
|
|
5595
|
-
readonly missingdatacontractiderror_serialize: (a: number, b: number) => void;
|
|
5596
|
-
readonly missingdocumenttransitionactionerror_getCode: (a: number) => number;
|
|
5597
|
-
readonly missingdocumenttransitionactionerror_message: (a: number, b: number) => void;
|
|
5598
|
-
readonly missingdocumenttransitionactionerror_serialize: (a: number, b: number) => void;
|
|
5599
5615
|
readonly missingdocumenttypeerror_getCode: (a: number) => number;
|
|
5600
5616
|
readonly missingdocumenttypeerror_message: (a: number, b: number) => void;
|
|
5601
5617
|
readonly missingdocumenttypeerror_serialize: (a: number, b: number) => void;
|
|
@@ -5608,9 +5624,15 @@ export interface InitOutput {
|
|
|
5608
5624
|
readonly invalidstatetransitionsignatureerror_serialize: (a: number, b: number) => void;
|
|
5609
5625
|
readonly __wbg_compatibleprotocolversionisnotdefinederror_free: (a: number) => void;
|
|
5610
5626
|
readonly compatibleprotocolversionisnotdefinederror_getCurrentProtocolVersion: (a: number) => number;
|
|
5611
|
-
readonly
|
|
5627
|
+
readonly __wbg_assetlockproof_free: (a: number) => void;
|
|
5628
|
+
readonly assetlockproof_new: (a: number, b: number) => void;
|
|
5629
|
+
readonly assetlockproof_createIdentifier: (a: number, b: number) => void;
|
|
5630
|
+
readonly assetlockproof_toObject: (a: number, b: number) => void;
|
|
5631
|
+
readonly createAssetLockProofInstance: (a: number, b: number) => void;
|
|
5632
|
+
readonly validateAssetLockTransaction: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
5633
|
+
readonly fetchAssetLockTransactionOutput: (a: number, b: number, c: number) => number;
|
|
5634
|
+
readonly fetchAssetLockPublicKeyHash: (a: number, b: number, c: number) => number;
|
|
5612
5635
|
readonly __wbg_missingdocumenttypeerror_free: (a: number) => void;
|
|
5613
|
-
readonly __wbg_missingdatacontractiderror_free: (a: number) => void;
|
|
5614
5636
|
readonly __wbg_invalidstatetransitionsignatureerror_free: (a: number) => void;
|
|
5615
5637
|
readonly validateDataContractUpdateTransitionState: (a: number, b: number) => number;
|
|
5616
5638
|
readonly validateIndicesAreBackwardCompatible: (a: number, b: number, c: number) => void;
|
|
@@ -5639,6 +5661,12 @@ export interface InitOutput {
|
|
|
5639
5661
|
readonly invalidindexedpropertyconstrainterror_getCode: (a: number) => number;
|
|
5640
5662
|
readonly invalidindexedpropertyconstrainterror_message: (a: number, b: number) => void;
|
|
5641
5663
|
readonly invalidindexedpropertyconstrainterror_serialize: (a: number, b: number) => void;
|
|
5664
|
+
readonly missingdatacontractiderror_getCode: (a: number) => number;
|
|
5665
|
+
readonly missingdatacontractiderror_message: (a: number, b: number) => void;
|
|
5666
|
+
readonly missingdatacontractiderror_serialize: (a: number, b: number) => void;
|
|
5667
|
+
readonly missingdocumenttransitionactionerror_getCode: (a: number) => number;
|
|
5668
|
+
readonly missingdocumenttransitionactionerror_message: (a: number, b: number) => void;
|
|
5669
|
+
readonly missingdocumenttransitionactionerror_serialize: (a: number, b: number) => void;
|
|
5642
5670
|
readonly missingdocumenttransitiontypeerror_getCode: (a: number) => number;
|
|
5643
5671
|
readonly missingdocumenttransitiontypeerror_message: (a: number, b: number) => void;
|
|
5644
5672
|
readonly missingdocumenttransitiontypeerror_serialize: (a: number, b: number) => void;
|
|
@@ -5662,11 +5690,6 @@ export interface InitOutput {
|
|
|
5662
5690
|
readonly balanceisnotenougherror_getCode: (a: number) => number;
|
|
5663
5691
|
readonly balanceisnotenougherror_message: (a: number, b: number) => void;
|
|
5664
5692
|
readonly balanceisnotenougherror_serialize: (a: number, b: number) => void;
|
|
5665
|
-
readonly identitynotfounderror_new: (a: number) => number;
|
|
5666
|
-
readonly identitynotfounderror_getIdentityId: (a: number) => number;
|
|
5667
|
-
readonly identitynotfounderror_getCode: (a: number) => number;
|
|
5668
|
-
readonly identitynotfounderror_message: (a: number, b: number) => void;
|
|
5669
|
-
readonly identitynotfounderror_serialize: (a: number, b: number) => void;
|
|
5670
5693
|
readonly __wbg_datacontractalreadypresenterror_free: (a: number) => void;
|
|
5671
5694
|
readonly datacontractalreadypresenterror_new: (a: number) => number;
|
|
5672
5695
|
readonly datacontractalreadypresenterror_getDataContractId: (a: number) => number;
|
|
@@ -5772,11 +5795,12 @@ export interface InitOutput {
|
|
|
5772
5795
|
readonly validateStateTransitionIdentitySignature: (a: number, b: number, c: number) => number;
|
|
5773
5796
|
readonly identityupdatetransition_getPublicKeysToAdd: (a: number, b: number) => void;
|
|
5774
5797
|
readonly identityupdatetransition_identityId: (a: number) => number;
|
|
5798
|
+
readonly __wbg_missingdocumenttransitionactionerror_free: (a: number) => void;
|
|
5775
5799
|
readonly __wbg_missingdocumenttransitiontypeerror_free: (a: number) => void;
|
|
5800
|
+
readonly __wbg_missingdatacontractiderror_free: (a: number) => void;
|
|
5776
5801
|
readonly __wbg_missingmasterpublickeyerror_free: (a: number) => void;
|
|
5777
5802
|
readonly platformvalueerror_valueOf: (a: number, b: number) => void;
|
|
5778
5803
|
readonly identity_getBalance: (a: number) => number;
|
|
5779
|
-
readonly __wbg_identitynotfounderror_free: (a: number) => void;
|
|
5780
5804
|
readonly __wbg_invaliddocumenttypeindatacontracterror_free: (a: number) => void;
|
|
5781
5805
|
readonly invaliddocumenttypeindatacontracterror_new: (a: number, b: number, c: number) => number;
|
|
5782
5806
|
readonly invaliddocumenttypeindatacontracterror_getType: (a: number, b: number) => void;
|
|
@@ -5834,6 +5858,12 @@ export interface InitOutput {
|
|
|
5834
5858
|
readonly missingstatetransitiontypeerror_getCode: (a: number) => number;
|
|
5835
5859
|
readonly missingstatetransitiontypeerror_message: (a: number, b: number) => void;
|
|
5836
5860
|
readonly missingstatetransitiontypeerror_serialize: (a: number, b: number) => void;
|
|
5861
|
+
readonly __wbg_identitynotfounderror_free: (a: number) => void;
|
|
5862
|
+
readonly identitynotfounderror_new: (a: number) => number;
|
|
5863
|
+
readonly identitynotfounderror_getIdentityId: (a: number) => number;
|
|
5864
|
+
readonly identitynotfounderror_getCode: (a: number) => number;
|
|
5865
|
+
readonly identitynotfounderror_message: (a: number, b: number) => void;
|
|
5866
|
+
readonly identitynotfounderror_serialize: (a: number, b: number) => void;
|
|
5837
5867
|
readonly __wbg_datatriggerconditionerror_free: (a: number) => void;
|
|
5838
5868
|
readonly datatriggerconditionerror_getDataContractId: (a: number) => number;
|
|
5839
5869
|
readonly datatriggerconditionerror_getDocumentId: (a: number) => number;
|
|
@@ -5985,9 +6015,7 @@ export interface InitOutput {
|
|
|
5985
6015
|
readonly invalididentityrevisionerror_getCode: (a: number) => number;
|
|
5986
6016
|
readonly invalididentityrevisionerror_message: (a: number, b: number) => void;
|
|
5987
6017
|
readonly invalididentityrevisionerror_serialize: (a: number, b: number) => void;
|
|
5988
|
-
readonly
|
|
5989
|
-
readonly chainassetlockproofstructurevalidator_new: (a: number, b: number) => void;
|
|
5990
|
-
readonly chainassetlockproofstructurevalidator_validate: (a: number, b: number, c: number) => number;
|
|
6018
|
+
readonly __wbg_instantassetlockproofstructurevalidator_free: (a: number) => void;
|
|
5991
6019
|
readonly instantassetlockproofstructurevalidator_new: (a: number, b: number) => void;
|
|
5992
6020
|
readonly instantassetlockproofstructurevalidator_validate: (a: number, b: number, c: number) => number;
|
|
5993
6021
|
readonly __wbg_refunds_free: (a: number) => void;
|
|
@@ -5998,7 +6026,6 @@ export interface InitOutput {
|
|
|
5998
6026
|
readonly jsonschemavalidator_new: (a: number, b: number, c: number) => void;
|
|
5999
6027
|
readonly __wbg_systempropertyindexalreadypresenterror_free: (a: number) => void;
|
|
6000
6028
|
readonly __wbg_undefinedindexpropertyerror_free: (a: number) => void;
|
|
6001
|
-
readonly __wbg_instantassetlockproofstructurevalidator_free: (a: number) => void;
|
|
6002
6029
|
readonly invalidactionterror_new: (a: number) => number;
|
|
6003
6030
|
readonly __wbg_invaliddocumenttransitioniderror_free: (a: number) => void;
|
|
6004
6031
|
readonly __wbg_identityassetlockprooflockedtransactionmismatcherror_free: (a: number) => void;
|
|
@@ -6202,8 +6229,10 @@ export interface InitOutput {
|
|
|
6202
6229
|
readonly __wbg_invalididentityerror_free: (a: number) => void;
|
|
6203
6230
|
readonly invalididentityerror_getErrors: (a: number, b: number) => void;
|
|
6204
6231
|
readonly invalididentityerror_getRawIdentity: (a: number) => number;
|
|
6232
|
+
readonly __wbg_chainassetlockproofstructurevalidator_free: (a: number) => void;
|
|
6233
|
+
readonly chainassetlockproofstructurevalidator_new: (a: number, b: number) => void;
|
|
6234
|
+
readonly chainassetlockproofstructurevalidator_validate: (a: number, b: number, c: number) => number;
|
|
6205
6235
|
readonly applyIdentityCreateTransition: (a: number, b: number) => number;
|
|
6206
|
-
readonly identitycreatetransitionstatevalidator_validate: (a: number, b: number) => number;
|
|
6207
6236
|
readonly applyIdentityTopUpTransition: (a: number, b: number) => number;
|
|
6208
6237
|
readonly applyIdentityUpdateTransition: (a: number, b: number) => number;
|
|
6209
6238
|
readonly __wbg_identityupdatetransitionstatevalidator_free: (a: number) => void;
|
|
@@ -6222,8 +6251,6 @@ export interface InitOutput {
|
|
|
6222
6251
|
readonly __wbg_invalidcompoundindexerror_free: (a: number) => void;
|
|
6223
6252
|
readonly __wbg_invaliddatacontractiderror_free: (a: number) => void;
|
|
6224
6253
|
readonly __wbg_invalididentifiererror_free: (a: number) => void;
|
|
6225
|
-
readonly __wbg_identitycreatetransitionstatevalidator_free: (a: number) => void;
|
|
6226
|
-
readonly identitycreatetransitionstatevalidator_new: (a: number) => number;
|
|
6227
6254
|
readonly __wbg_invaliddatacontractversionerror_free: (a: number) => void;
|
|
6228
6255
|
readonly __wbg_invalidassetlockproofcorechainheighterror_free: (a: number) => void;
|
|
6229
6256
|
readonly __wbg_incompatibleprotocolversionerror_free: (a: number) => void;
|
|
@@ -6234,10 +6261,6 @@ export interface InitOutput {
|
|
|
6234
6261
|
readonly __wbg_uniqueindiceslimitreachederror_free: (a: number) => void;
|
|
6235
6262
|
readonly getDataTriggers: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
6236
6263
|
readonly getAllDataTriggers: (a: number) => void;
|
|
6237
|
-
readonly __wbg_invaliddocumenterror_free: (a: number) => void;
|
|
6238
|
-
readonly invaliddocumenterror_new: (a: number, b: number, c: number) => number;
|
|
6239
|
-
readonly invaliddocumenterror_getErrors: (a: number, b: number) => void;
|
|
6240
|
-
readonly invaliddocumenterror_getRawDocument: (a: number) => number;
|
|
6241
6264
|
readonly __wbg_documentsbatchtransition_free: (a: number) => void;
|
|
6242
6265
|
readonly documentsbatchtransition_from_raw_object: (a: number, b: number, c: number) => void;
|
|
6243
6266
|
readonly documentsbatchtransition_getType: (a: number) => number;
|
|
@@ -6292,11 +6315,14 @@ export interface InitOutput {
|
|
|
6292
6315
|
readonly identitypublickey_isMaster: (a: number) => number;
|
|
6293
6316
|
readonly identitypublickey_toJSON: (a: number, b: number) => void;
|
|
6294
6317
|
readonly identitypublickey_toObject: (a: number, b: number) => void;
|
|
6295
|
-
readonly
|
|
6296
|
-
readonly
|
|
6318
|
+
readonly __wbg_identitycreatetransitionstatevalidator_free: (a: number) => void;
|
|
6319
|
+
readonly identitycreatetransitionstatevalidator_new: (a: number) => number;
|
|
6320
|
+
readonly identitycreatetransitionstatevalidator_validate: (a: number, b: number) => number;
|
|
6297
6321
|
readonly identitytopuptransitionstatevalidator_validate: (a: number, b: number) => number;
|
|
6298
6322
|
readonly calculateStateTransitionFee: (a: number, b: number) => void;
|
|
6323
|
+
readonly __wbg_identitytopuptransitionstatevalidator_free: (a: number) => void;
|
|
6299
6324
|
readonly identitypublickeyisreadonlyerror_getPublicKeyIndex: (a: number) => number;
|
|
6325
|
+
readonly identitytopuptransitionstatevalidator_new: (a: number) => number;
|
|
6300
6326
|
readonly __wbg_applydatacontractcreatetransition_free: (a: number) => void;
|
|
6301
6327
|
readonly applydatacontractcreatetransition_new: (a: number) => number;
|
|
6302
6328
|
readonly applydatacontractcreatetransition_applyDataContractCreateTransition: (a: number, b: number) => number;
|
|
@@ -6327,6 +6353,10 @@ export interface InitOutput {
|
|
|
6327
6353
|
readonly datatrigger_set_transition_action: (a: number, b: number, c: number, d: number) => void;
|
|
6328
6354
|
readonly datatrigger_get_top_level_identity: (a: number) => number;
|
|
6329
6355
|
readonly datatrigger_set_top_level_identity: (a: number, b: number, c: number) => void;
|
|
6356
|
+
readonly __wbg_invaliddocumenterror_free: (a: number) => void;
|
|
6357
|
+
readonly invaliddocumenterror_new: (a: number, b: number, c: number) => number;
|
|
6358
|
+
readonly invaliddocumenterror_getErrors: (a: number, b: number) => void;
|
|
6359
|
+
readonly invaliddocumenterror_getRawDocument: (a: number) => number;
|
|
6330
6360
|
readonly __wbg_documentdeletetransition_free: (a: number) => void;
|
|
6331
6361
|
readonly documentdeletetransition_getAction: (a: number) => number;
|
|
6332
6362
|
readonly documentdeletetransition_toObject: (a: number, b: number, c: number) => void;
|
|
@@ -6359,11 +6389,6 @@ export interface InitOutput {
|
|
|
6359
6389
|
readonly duplicatedidentitypublickeyiderror_getCode: (a: number) => number;
|
|
6360
6390
|
readonly duplicatedidentitypublickeyiderror_message: (a: number, b: number) => void;
|
|
6361
6391
|
readonly duplicatedidentitypublickeyiderror_serialize: (a: number, b: number) => void;
|
|
6362
|
-
readonly __wbg_invalididentityassetlocktransactionerror_free: (a: number) => void;
|
|
6363
|
-
readonly invalididentityassetlocktransactionerror_getErrorMessage: (a: number, b: number) => void;
|
|
6364
|
-
readonly invalididentityassetlocktransactionerror_getCode: (a: number) => number;
|
|
6365
|
-
readonly invalididentityassetlocktransactionerror_message: (a: number, b: number) => void;
|
|
6366
|
-
readonly invalididentityassetlocktransactionerror_serialize: (a: number, b: number) => void;
|
|
6367
6392
|
readonly documentalreadypresenterror_getDocumentId: (a: number) => number;
|
|
6368
6393
|
readonly documentalreadypresenterror_getCode: (a: number) => number;
|
|
6369
6394
|
readonly documentalreadypresenterror_message: (a: number, b: number) => void;
|
|
@@ -6372,6 +6397,10 @@ export interface InitOutput {
|
|
|
6372
6397
|
readonly documentnotfounderror_getCode: (a: number) => number;
|
|
6373
6398
|
readonly documentnotfounderror_message: (a: number, b: number) => void;
|
|
6374
6399
|
readonly documentnotfounderror_serialize: (a: number, b: number) => void;
|
|
6400
|
+
readonly documenttimestampsareequalerror_getDocumentId: (a: number) => number;
|
|
6401
|
+
readonly documenttimestampsareequalerror_getCode: (a: number) => number;
|
|
6402
|
+
readonly documenttimestampsareequalerror_message: (a: number, b: number) => void;
|
|
6403
|
+
readonly documenttimestampsareequalerror_serialize: (a: number, b: number) => void;
|
|
6375
6404
|
readonly documenttimestampsmismatcherror_getDocumentId: (a: number) => number;
|
|
6376
6405
|
readonly documenttimestampsmismatcherror_getCode: (a: number) => number;
|
|
6377
6406
|
readonly documenttimestampsmismatcherror_message: (a: number, b: number) => void;
|
|
@@ -6384,10 +6413,6 @@ export interface InitOutput {
|
|
|
6384
6413
|
readonly duplicatedidentitypublickeystateerror_getCode: (a: number) => number;
|
|
6385
6414
|
readonly duplicatedidentitypublickeystateerror_message: (a: number, b: number) => void;
|
|
6386
6415
|
readonly duplicatedidentitypublickeystateerror_serialize: (a: number, b: number) => void;
|
|
6387
|
-
readonly valueerror_getMessage: (a: number, b: number) => void;
|
|
6388
|
-
readonly valueerror_getCode: (a: number) => number;
|
|
6389
|
-
readonly valueerror_message: (a: number, b: number) => void;
|
|
6390
|
-
readonly valueerror_serialize: (a: number, b: number) => void;
|
|
6391
6416
|
readonly __wbg_identityfacade_free: (a: number) => void;
|
|
6392
6417
|
readonly identityfacade_create: (a: number, b: number, c: number, d: number) => void;
|
|
6393
6418
|
readonly identityfacade_createFromObject: (a: number, b: number, c: number, d: number) => void;
|
|
@@ -6473,8 +6498,8 @@ export interface InitOutput {
|
|
|
6473
6498
|
readonly __wbg_duplicatedocumenttransitionswithindiceserror_free: (a: number) => void;
|
|
6474
6499
|
readonly __wbg_documentalreadypresenterror_free: (a: number) => void;
|
|
6475
6500
|
readonly __wbg_documentnotfounderror_free: (a: number) => void;
|
|
6501
|
+
readonly __wbg_documenttimestampsareequalerror_free: (a: number) => void;
|
|
6476
6502
|
readonly __wbg_documenttimestampsmismatcherror_free: (a: number) => void;
|
|
6477
|
-
readonly __wbg_valueerror_free: (a: number) => void;
|
|
6478
6503
|
readonly rustsecp256k1_v0_6_1_context_create: (a: number) => number;
|
|
6479
6504
|
readonly rustsecp256k1_v0_6_1_context_destroy: (a: number) => void;
|
|
6480
6505
|
readonly rustsecp256k1_v0_6_1_default_illegal_callback_fn: (a: number, b: number) => void;
|