pshenmic-dpp 1.0.23 → 1.0.25

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.
@@ -18,54 +18,54 @@ export const contesteddocumentvotepollqueryexecutionresultwasm_skipped: (a: numb
18
18
  export const __wbg_verifiedvotestatewasm_free: (a: number, b: number) => void;
19
19
  export const verifiedvotestatewasm_type_name: (a: number, b: number) => void;
20
20
  export const verifiedvotestatewasm_struct_name: (a: number) => void;
21
- export const verifiedvotestatewasm_root_hash: (a: number, b: number) => void;
21
+ export const verifiedvotestatewasm_root_hash: (a: number) => number;
22
22
  export const verifiedvotestatewasm_result: (a: number) => number;
23
23
  export const verifyVotePollVoteStateProof: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number) => void;
24
24
  export const __wbg_verifiedcontractwasm_free: (a: number, b: number) => void;
25
25
  export const verifiedcontractwasm_type_name: (a: number, b: number) => void;
26
26
  export const verifiedcontractwasm_struct_name: (a: number) => void;
27
- export const verifiedcontractwasm_root_hash: (a: number, b: number) => void;
27
+ export const verifiedcontractwasm_root_hash: (a: number) => number;
28
28
  export const verifiedcontractwasm_data_contract: (a: number) => number;
29
- export const verifyContract: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
29
+ export const verifyContractProof: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
30
30
  export const __wbg_verifieddocumentswasm_free: (a: number, b: number) => void;
31
31
  export const verifieddocumentswasm_type_name: (a: number, b: number) => void;
32
32
  export const verifieddocumentswasm_struct_name: (a: number) => void;
33
- export const verifieddocumentswasm_root_hash: (a: number, b: number) => void;
33
+ export const verifieddocumentswasm_root_hash: (a: number) => number;
34
34
  export const verifieddocumentswasm_documents: (a: number, b: number) => void;
35
35
  export const verifyDocumentsProof: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: bigint, m: number) => void;
36
36
  export const __wbg_verifiedidentifierbynonuniquepublickeyhashwasm_free: (a: number, b: number) => void;
37
37
  export const verifiedidentifierbynonuniquepublickeyhashwasm_type_name: (a: number, b: number) => void;
38
38
  export const verifiedidentifierbynonuniquepublickeyhashwasm_struct_name: (a: number) => void;
39
- export const verifiedidentifierbynonuniquepublickeyhashwasm_root_hash: (a: number, b: number) => void;
39
+ export const verifiedidentifierbynonuniquepublickeyhashwasm_root_hash: (a: number) => number;
40
40
  export const verifiedidentifierbynonuniquepublickeyhashwasm_identifier: (a: number) => number;
41
- export const verifyIdentifierByNonUniquePublicKeyHash: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
41
+ export const verifyIdentifierByNonUniquePublicKeyHashProof: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
42
42
  export const __wbg_verifiedidentitybalancewasm_free: (a: number, b: number) => void;
43
43
  export const verifiedidentitybalancewasm_type_name: (a: number, b: number) => void;
44
44
  export const verifiedidentitybalancewasm_struct_name: (a: number) => void;
45
- export const verifiedidentitybalancewasm_root_hash: (a: number, b: number) => void;
45
+ export const verifiedidentitybalancewasm_root_hash: (a: number) => number;
46
46
  export const verifiedidentitybalancewasm_balance: (a: number, b: number) => void;
47
- export const verifyIdentityBalance: (a: number, b: number, c: number, d: number, e: number) => void;
47
+ export const verifyIdentityBalanceProof: (a: number, b: number, c: number, d: number, e: number) => void;
48
48
  export const __wbg_verifiedidentitybyidentifierwasm_free: (a: number, b: number) => void;
49
49
  export const verifiedidentitybyidentifierwasm_type_name: (a: number, b: number) => void;
50
50
  export const verifiedidentitybyidentifierwasm_struct_name: (a: number) => void;
51
- export const verifiedidentitybyidentifierwasm_root_hash: (a: number, b: number) => void;
51
+ export const verifiedidentitybyidentifierwasm_root_hash: (a: number) => number;
52
52
  export const verifiedidentitybyidentifierwasm_identity: (a: number) => number;
53
- export const verifyIdentityByIdentifier: (a: number, b: number, c: number, d: number, e: number) => void;
53
+ export const verifyIdentityByIdentifierProof: (a: number, b: number, c: number, d: number, e: number) => void;
54
54
  export const verifiedidentitybyuniquekeyhashwasm_type_name: (a: number, b: number) => void;
55
55
  export const verifiedidentitybyuniquekeyhashwasm_struct_name: (a: number) => void;
56
- export const verifyIdentityByUniqueKeyHash: (a: number, b: number, c: number, d: number) => void;
56
+ export const verifyIdentityByUniqueKeyHashProof: (a: number, b: number, c: number, d: number) => void;
57
57
  export const verifiedidentitycontractnoncewasm_type_name: (a: number, b: number) => void;
58
58
  export const verifiedidentitycontractnoncewasm_struct_name: (a: number) => void;
59
- export const verifyIdentityContractNonce: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
59
+ export const verifyIdentityContractNonceProof: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
60
60
  export const __wbg_verifiedidentitykeysbyidentifierwasm_free: (a: number, b: number) => void;
61
61
  export const verifiedidentitykeysbyidentifierwasm_type_name: (a: number, b: number) => void;
62
62
  export const verifiedidentitykeysbyidentifierwasm_struct_name: (a: number) => void;
63
- export const verifiedidentitykeysbyidentifierwasm_root_hash: (a: number, b: number) => void;
63
+ export const verifiedidentitykeysbyidentifierwasm_root_hash: (a: number) => number;
64
64
  export const verifiedidentitykeysbyidentifierwasm_identity: (a: number) => number;
65
- export const verifyIdentityKeysByIdentifier: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
65
+ export const verifyIdentityKeysByIdentifierProof: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
66
66
  export const verifiedidentitynoncewasm_type_name: (a: number, b: number) => void;
67
67
  export const verifiedidentitynoncewasm_struct_name: (a: number) => void;
68
- export const verifyIdentityNonce: (a: number, b: number, c: number, d: number, e: number) => void;
68
+ export const verifyIdentityNonceProof: (a: number, b: number, c: number, d: number, e: number) => void;
69
69
  export const verifySignatureDigest: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
70
70
  export const __wbg_extendedepochinfowasm_free: (a: number, b: number) => void;
71
71
  export const extendedepochinfowasm_type_name: (a: number, b: number) => void;
@@ -79,29 +79,29 @@ export const extendedepochinfowasm_protocol_version: (a: number) => number;
79
79
  export const __wbg_verifiedepochsinfowasm_free: (a: number, b: number) => void;
80
80
  export const verifiedepochsinfowasm_type_name: (a: number, b: number) => void;
81
81
  export const verifiedepochsinfowasm_struct_name: (a: number) => void;
82
- export const verifiedepochsinfowasm_root_hash: (a: number, b: number) => void;
82
+ export const verifiedepochsinfowasm_root_hash: (a: number) => number;
83
83
  export const verifiedepochsinfowasm_epochs_info: (a: number, b: number) => void;
84
- export const verifyEpochsInfo: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
84
+ export const verifyEpochsInfoProof: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
85
85
  export const verifiedtotalcreditswasm_type_name: (a: number, b: number) => void;
86
86
  export const verifiedtotalcreditswasm_struct_name: (a: number) => void;
87
- export const verifiedtotalcreditswasm_root_hash: (a: number, b: number) => void;
87
+ export const verifiedtotalcreditswasm_root_hash: (a: number) => number;
88
88
  export const verifiedtotalcreditswasm_total_credits: (a: number) => bigint;
89
- export const verifyTotalCredits: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
89
+ export const verifyTotalCreditsProof: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
90
90
  export const __wbg_verifiedtokenbalancesforidentitieswasm_free: (a: number, b: number) => void;
91
91
  export const verifiedtokenbalancesforidentitieswasm_type_name: (a: number, b: number) => void;
92
92
  export const verifiedtokenbalancesforidentitieswasm_struct_name: (a: number) => void;
93
- export const verifiedtokenbalancesforidentitieswasm_root_hash: (a: number, b: number) => void;
93
+ export const verifiedtokenbalancesforidentitieswasm_root_hash: (a: number) => number;
94
94
  export const verifiedtokenbalancesforidentitieswasm_balances: (a: number) => number;
95
- export const verifyTokenBalancesForIdentities: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
95
+ export const verifyTokenBalancesForIdentitiesProof: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
96
96
  export const __wbg_tokencontractinfowasm_free: (a: number, b: number) => void;
97
- export const tokencontractinfowasm_contractId: (a: number) => number;
98
- export const tokencontractinfowasm_tokenContractPosition: (a: number) => number;
99
- export const __wbg_verifiedtokencontractinfowsam_free: (a: number, b: number) => void;
97
+ export const tokencontractinfowasm_contract_id: (a: number) => number;
98
+ export const tokencontractinfowasm_token_contract_position: (a: number) => number;
99
+ export const __wbg_verifiedtokencontractinfowasm_free: (a: number, b: number) => void;
100
100
  export const verifiedtokencontractinfowasm_type_name: (a: number, b: number) => void;
101
101
  export const verifiedtokencontractinfowasm_struct_name: (a: number) => void;
102
- export const verifiedtokencontractinfowasm_root_hash: (a: number, b: number) => void;
102
+ export const verifiedtokencontractinfowasm_root_hash: (a: number) => number;
103
103
  export const verifiedtokencontractinfowasm_get_contract_info: (a: number) => number;
104
- export const verifyTokenContractInfo: (a: number, b: number, c: number, d: number, e: number) => void;
104
+ export const verifyTokenContractInfoProof: (a: number, b: number, c: number, d: number, e: number) => void;
105
105
  export const __wbg_totalsingletokenbalancewasm_free: (a: number, b: number) => void;
106
106
  export const totalsingletokenbalancewasm_type_name: (a: number, b: number) => void;
107
107
  export const totalsingletokenbalancewasm_struct_name: (a: number) => void;
@@ -109,26 +109,26 @@ export const totalsingletokenbalancewasm_token_supply: (a: number) => bigint;
109
109
  export const totalsingletokenbalancewasm_aggregated_token_account_balances: (a: number) => bigint;
110
110
  export const verifiedtokentotalsupplywasm_type_name: (a: number, b: number) => void;
111
111
  export const verifiedtokentotalsupplywasm_struct_name: (a: number) => void;
112
- export const verifiedtokentotalsupplywasm_root_hash: (a: number, b: number) => void;
112
+ export const verifiedtokentotalsupplywasm_root_hash: (a: number) => number;
113
113
  export const verifiedtokentotalsupplywasm_total_balance: (a: number) => number;
114
- export const verifyTokenTotalSupply: (a: number, b: number, c: number, d: number, e: number) => void;
114
+ export const verifyTokenTotalSupplyProof: (a: number, b: number, c: number, d: number, e: number) => void;
115
115
  export const verifiedtokensbalancesforidentitywasm_type_name: (a: number, b: number) => void;
116
116
  export const verifiedtokensbalancesforidentitywasm_struct_name: (a: number) => void;
117
- export const verifyTokensBalancesForIdentity: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
117
+ export const verifyTokensBalancesForIdentityProof: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
118
118
  export const __wbg_verifiedtokentotalsupplywasm_free: (a: number, b: number) => void;
119
119
  export const __wbg_verifiedidentitynoncewasm_free: (a: number, b: number) => void;
120
120
  export const __wbg_verifiedidentitycontractnoncewasm_free: (a: number, b: number) => void;
121
121
  export const __wbg_verifiedtotalcreditswasm_free: (a: number, b: number) => void;
122
- export const __wbg_verifiedidentitybyuniquekeyhashwasm_free: (a: number, b: number) => void;
123
122
  export const __wbg_verifiedtokensbalancesforidentitywasm_free: (a: number, b: number) => void;
123
+ export const __wbg_verifiedidentitybyuniquekeyhashwasm_free: (a: number, b: number) => void;
124
124
  export const verifiedidentitycontractnoncewasm_contract_nonce: (a: number, b: number) => void;
125
- export const verifiedidentitycontractnoncewasm_root_hash: (a: number, b: number) => void;
126
- export const verifiedidentitybyuniquekeyhashwasm_identity: (a: number) => number;
127
- export const verifiedidentitybyuniquekeyhashwasm_root_hash: (a: number, b: number) => void;
125
+ export const verifiedidentitycontractnoncewasm_root_hash: (a: number) => number;
128
126
  export const verifiedtokensbalancesforidentitywasm_balances: (a: number) => number;
129
- export const verifiedtokensbalancesforidentitywasm_root_hash: (a: number, b: number) => void;
127
+ export const verifiedtokensbalancesforidentitywasm_root_hash: (a: number) => number;
128
+ export const verifiedidentitybyuniquekeyhashwasm_identity: (a: number) => number;
129
+ export const verifiedidentitybyuniquekeyhashwasm_root_hash: (a: number) => number;
130
130
  export const verifiedidentitynoncewasm_nonce: (a: number, b: number) => void;
131
- export const verifiedidentitynoncewasm_root_hash: (a: number, b: number) => void;
131
+ export const verifiedidentitynoncewasm_root_hash: (a: number) => number;
132
132
  export const __wbg_partialidentitywasm_free: (a: number, b: number) => void;
133
133
  export const partialidentitywasm_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number) => void;
134
134
  export const partialidentitywasm_id: (a: number) => number;
@@ -798,11 +798,11 @@ export const __wbg_tokenemergencyactiontransitionwasm_free: (a: number, b: numbe
798
798
  export const __wbg_tokenunfreezetransitionwasm_free: (a: number, b: number) => void;
799
799
  export const __wbg_documentupdatepricetransitionwasm_free: (a: number, b: number) => void;
800
800
  export const __wbg_documentdeletetransitionwasm_free: (a: number, b: number) => void;
801
- export const tokenemergencyactiontransitionwasm_get_base: (a: number) => number;
801
+ export const tokenfreezetransitionwasm_get_base: (a: number) => number;
802
802
  export const documentupdatepricetransitionwasm_get_price: (a: number) => bigint;
803
803
  export const documentupdatepricetransitionwasm_get_base: (a: number) => number;
804
804
  export const tokenunfreezetransitionwasm_get_base: (a: number) => number;
805
- export const tokenfreezetransitionwasm_get_base: (a: number) => number;
805
+ export const tokenemergencyactiontransitionwasm_get_base: (a: number) => number;
806
806
  export const documentupdatepricetransitionwasm_set_price: (a: number, b: bigint) => void;
807
807
  export const tokenunfreezetransitionwasm_set_base: (a: number, b: number) => void;
808
808
  export const tokenemergencyactiontransitionwasm_set_base: (a: number, b: number) => void;
@@ -1213,16 +1213,24 @@ export const __wbg_set_distributioninvertedlogarithmicwasm_n: (a: number, b: big
1213
1213
  export const __wbg_set_distributioninvertedlogarithmicwasm_o: (a: number, b: bigint) => void;
1214
1214
  export const __wbg_set_distributioninvertedlogarithmicwasm_b: (a: number, b: bigint) => void;
1215
1215
  export const __wbg_set_timebaseddistributionwasm_interval: (a: number, b: bigint) => void;
1216
- export const __wbg_set_distributionlogarithmicwasm_startMoment: (a: number, b: number, c: bigint) => void;
1217
- export const __wbg_distributionlogarithmicwasm_free: (a: number, b: number) => void;
1216
+ export const __wbg_set_distributionstepdecreasingamountwasm_startDecreasingOffset: (a: number, b: number, c: bigint) => void;
1218
1217
  export const __wbg_set_distributionlinearwasm_startStep: (a: number, b: number, c: bigint) => void;
1219
- export const __wbg_set_distributionrandomwasm_min: (a: number, b: bigint) => void;
1220
- export const __wbg_get_distributionrandomwasm_min: (a: number) => bigint;
1221
- export const __wbg_set_distributionpolynomialwasm_startMoment: (a: number, b: number, c: bigint) => void;
1222
- export const __wbg_distributionpolynomialwasm_free: (a: number, b: number) => void;
1223
1218
  export const __wbg_set_distributioninvertedlogarithmicwasm_startMoment: (a: number, b: number, c: bigint) => void;
1224
1219
  export const __wbg_distributioninvertedlogarithmicwasm_free: (a: number, b: number) => void;
1225
- export const __wbg_set_distributionstepdecreasingamountwasm_startDecreasingOffset: (a: number, b: number, c: bigint) => void;
1220
+ export const __wbg_set_distributionpolynomialwasm_startMoment: (a: number, b: number, c: bigint) => void;
1221
+ export const __wbg_distributionpolynomialwasm_free: (a: number, b: number) => void;
1222
+ export const __wbg_set_distributionlogarithmicwasm_startMoment: (a: number, b: number, c: bigint) => void;
1223
+ export const __wbg_distributionlogarithmicwasm_free: (a: number, b: number) => void;
1224
+ export const __wbg_get_distributionrandomwasm_min: (a: number) => bigint;
1225
+ export const __wbg_get_distributionlinearwasm_maxValue: (a: number, b: number) => void;
1226
+ export const __wbg_get_distributionlinearwasm_minValue: (a: number, b: number) => void;
1227
+ export const __wbg_get_distributionlinearwasm_startingAmount: (a: number) => bigint;
1228
+ export const __wbg_get_distributionlinearwasm_startStep: (a: number, b: number) => void;
1229
+ export const __wbg_get_distributionlinearwasm_d: (a: number) => bigint;
1230
+ export const __wbg_get_distributionlinearwasm_a: (a: number) => bigint;
1231
+ export const __wbg_get_distributionstepdecreasingamountwasm_minValue: (a: number, b: number) => void;
1232
+ export const __wbg_get_distributionstepdecreasingamountwasm_startDecreasingOffset: (a: number, b: number) => void;
1233
+ export const __wbg_get_timebaseddistributionwasm_interval: (a: number) => bigint;
1226
1234
  export const __wbg_get_distributionlogarithmicwasm_maxValue: (a: number, b: number) => void;
1227
1235
  export const __wbg_get_distributionlogarithmicwasm_minValue: (a: number, b: number) => void;
1228
1236
  export const __wbg_get_distributionlogarithmicwasm_b: (a: number) => bigint;
@@ -1232,14 +1240,6 @@ export const __wbg_get_distributionlogarithmicwasm_n: (a: number) => bigint;
1232
1240
  export const __wbg_get_distributionlogarithmicwasm_m: (a: number) => bigint;
1233
1241
  export const __wbg_get_distributionlogarithmicwasm_d: (a: number) => bigint;
1234
1242
  export const __wbg_get_distributionlogarithmicwasm_a: (a: number) => bigint;
1235
- export const __wbg_get_distributionstepdecreasingamountwasm_minValue: (a: number, b: number) => void;
1236
- export const __wbg_get_distributionstepdecreasingamountwasm_startDecreasingOffset: (a: number, b: number) => void;
1237
- export const __wbg_get_distributionlinearwasm_maxValue: (a: number, b: number) => void;
1238
- export const __wbg_get_distributionlinearwasm_minValue: (a: number, b: number) => void;
1239
- export const __wbg_get_distributionlinearwasm_startingAmount: (a: number) => bigint;
1240
- export const __wbg_get_distributionlinearwasm_startStep: (a: number, b: number) => void;
1241
- export const __wbg_get_distributionlinearwasm_d: (a: number) => bigint;
1242
- export const __wbg_get_distributionlinearwasm_a: (a: number) => bigint;
1243
1243
  export const __wbg_get_distributionpolynomialwasm_maxValue: (a: number, b: number) => void;
1244
1244
  export const __wbg_get_distributionpolynomialwasm_minValue: (a: number, b: number) => void;
1245
1245
  export const __wbg_get_distributionpolynomialwasm_b: (a: number) => bigint;
@@ -1258,16 +1258,16 @@ export const __wbg_get_distributioninvertedlogarithmicwasm_n: (a: number) => big
1258
1258
  export const __wbg_get_distributioninvertedlogarithmicwasm_m: (a: number) => bigint;
1259
1259
  export const __wbg_get_distributioninvertedlogarithmicwasm_d: (a: number) => bigint;
1260
1260
  export const __wbg_get_distributioninvertedlogarithmicwasm_a: (a: number) => bigint;
1261
- export const __wbg_get_timebaseddistributionwasm_interval: (a: number) => bigint;
1261
+ export const __wbg_set_distributionlinearwasm_maxValue: (a: number, b: number, c: bigint) => void;
1262
+ export const __wbg_set_distributionlinearwasm_minValue: (a: number, b: number, c: bigint) => void;
1262
1263
  export const __wbg_set_distributionstepdecreasingamountwasm_minValue: (a: number, b: number, c: bigint) => void;
1264
+ export const __wbg_set_distributionpolynomialwasm_maxValue: (a: number, b: number, c: bigint) => void;
1265
+ export const __wbg_set_distributionpolynomialwasm_minValue: (a: number, b: number, c: bigint) => void;
1263
1266
  export const __wbg_set_distributioninvertedlogarithmicwasm_maxValue: (a: number, b: number, c: bigint) => void;
1264
1267
  export const __wbg_set_distributioninvertedlogarithmicwasm_minValue: (a: number, b: number, c: bigint) => void;
1265
1268
  export const __wbg_set_distributionlogarithmicwasm_maxValue: (a: number, b: number, c: bigint) => void;
1266
1269
  export const __wbg_set_distributionlogarithmicwasm_minValue: (a: number, b: number, c: bigint) => void;
1267
- export const __wbg_set_distributionlinearwasm_maxValue: (a: number, b: number, c: bigint) => void;
1268
- export const __wbg_set_distributionlinearwasm_minValue: (a: number, b: number, c: bigint) => void;
1269
- export const __wbg_set_distributionpolynomialwasm_maxValue: (a: number, b: number, c: bigint) => void;
1270
- export const __wbg_set_distributionpolynomialwasm_minValue: (a: number, b: number, c: bigint) => void;
1270
+ export const __wbg_set_distributionrandomwasm_min: (a: number, b: bigint) => void;
1271
1271
  export const __wbg_tokenmarketplaceruleswasm_free: (a: number, b: number) => void;
1272
1272
  export const __wbg_timebaseddistributionwasm_free: (a: number, b: number) => void;
1273
1273
  export const epochbaseddistributionwasm_set_function: (a: number, b: number) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pshenmic-dpp",
3
- "version": "1.0.23",
3
+ "version": "1.0.25",
4
4
  "main": "dist/wasm/index.js",
5
5
  "types": "dist/wasm/index.d.ts",
6
6
  "repository": {
@@ -1,17 +1,18 @@
1
1
  const assert = require('assert')
2
2
  const { describe, it } = require('mocha')
3
3
  const { default: wasm } = require('..')
4
+ const {fromHexString} = require("./utils/hex");
4
5
 
5
6
  describe('IdentityCreateTransition', function () {
6
7
  describe('serialization / deserialization', function () {
7
8
  it('should allow to create transition', function () {
8
- const transition = wasm.IdentityCreateTransitionWASM.default(0)
9
+ const transition = wasm.IdentityCreateTransitionWASM.default(1)
9
10
 
10
11
  assert.notEqual(transition.__wbg_ptr, 0)
11
12
  })
12
13
 
13
14
  it('should allow to serialize to bytes', function () {
14
- const transition = wasm.IdentityCreateTransitionWASM.default(0)
15
+ const transition = wasm.IdentityCreateTransitionWASM.default(1)
15
16
 
16
17
  const bytes = transition.bytes()
17
18
 
@@ -29,37 +30,37 @@ describe('IdentityCreateTransition', function () {
29
30
 
30
31
  describe('getters', function () {
31
32
  it('should allow to get userFeeIncrease', function () {
32
- const transition = wasm.IdentityCreateTransitionWASM.default(0)
33
+ const transition = wasm.IdentityCreateTransitionWASM.default(1)
33
34
 
34
35
  assert.equal(transition.userFeeIncrease, 0)
35
36
  })
36
37
 
37
38
  it('should allow to get AssetLock', function () {
38
- const transition = wasm.IdentityCreateTransitionWASM.default(0)
39
+ const transition = wasm.IdentityCreateTransitionWASM.default(1)
39
40
 
40
41
  assert.notEqual(transition.assetLock.__wbg_ptr, 0)
41
42
  })
42
43
 
43
44
  it('should allow to get Identifier', function () {
44
- const transition = wasm.IdentityCreateTransitionWASM.default(0)
45
+ const transition = wasm.IdentityCreateTransitionWASM.default(1)
45
46
 
46
47
  assert.equal(transition.getIdentifier().base58(), '11111111111111111111111111111111')
47
48
  })
48
49
 
49
50
  it('should allow to get PublicKeys', function () {
50
- const transition = wasm.IdentityCreateTransitionWASM.default(0)
51
+ const transition = wasm.IdentityCreateTransitionWASM.default(1)
51
52
 
52
53
  assert.equal(transition.publicKeys.length, 0)
53
54
  })
54
55
 
55
56
  it('should allow to get signature', function () {
56
- const transition = wasm.IdentityCreateTransitionWASM.default(0)
57
+ const transition = wasm.IdentityCreateTransitionWASM.default(1)
57
58
 
58
59
  assert.deepEqual(transition.signature, Uint8Array.from([]))
59
60
  })
60
61
 
61
62
  it('should allow to get signable bytes', function () {
62
- const transition = wasm.IdentityCreateTransitionWASM.default(0)
63
+ const transition = wasm.IdentityCreateTransitionWASM.default(1)
63
64
 
64
65
  assert.equal(transition.getSignableBytes().length, 229)
65
66
  })
@@ -67,7 +68,7 @@ describe('IdentityCreateTransition', function () {
67
68
 
68
69
  describe('setters', function () {
69
70
  it('should allow to set the userFeeIncrease', function () {
70
- const transition = wasm.IdentityCreateTransitionWASM.default(0)
71
+ const transition = wasm.IdentityCreateTransitionWASM.default(1)
71
72
 
72
73
  transition.userFeeIncrease = 100
73
74