@cardananium/cquisitor-lib 0.1.0-beta.13 → 0.1.0-beta.16

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.
@@ -285,24 +285,65 @@ module.exports.get_possible_types_for_input = function(input) {
285
285
  };
286
286
 
287
287
  /**
288
- * @param {string} hex_str
289
- * @returns {any}
288
+ * @param {string} tx_hex
289
+ * @returns {string}
290
290
  */
291
- module.exports.check_block_or_tx_signatures = function(hex_str) {
291
+ module.exports.get_necessary_data_list_js = function(tx_hex) {
292
+ let deferred3_0;
293
+ let deferred3_1;
292
294
  try {
293
295
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
294
- const ptr0 = passStringToWasm0(hex_str, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
296
+ const ptr0 = passStringToWasm0(tx_hex, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
295
297
  const len0 = WASM_VECTOR_LEN;
296
- wasm.check_block_or_tx_signatures(retptr, ptr0, len0);
298
+ wasm.get_necessary_data_list_js(retptr, ptr0, len0);
297
299
  var r0 = getInt32Memory0()[retptr / 4 + 0];
298
300
  var r1 = getInt32Memory0()[retptr / 4 + 1];
299
301
  var r2 = getInt32Memory0()[retptr / 4 + 2];
300
- if (r2) {
301
- throw takeObject(r1);
302
+ var r3 = getInt32Memory0()[retptr / 4 + 3];
303
+ var ptr2 = r0;
304
+ var len2 = r1;
305
+ if (r3) {
306
+ ptr2 = 0; len2 = 0;
307
+ throw takeObject(r2);
302
308
  }
303
- return takeObject(r0);
309
+ deferred3_0 = ptr2;
310
+ deferred3_1 = len2;
311
+ return getStringFromWasm0(ptr2, len2);
312
+ } finally {
313
+ wasm.__wbindgen_add_to_stack_pointer(16);
314
+ wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
315
+ }
316
+ };
317
+
318
+ /**
319
+ * @param {string} tx_hex
320
+ * @param {any} validation_context
321
+ * @returns {string}
322
+ */
323
+ module.exports.validate_transaction_js = function(tx_hex, validation_context) {
324
+ let deferred3_0;
325
+ let deferred3_1;
326
+ try {
327
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
328
+ const ptr0 = passStringToWasm0(tx_hex, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
329
+ const len0 = WASM_VECTOR_LEN;
330
+ wasm.validate_transaction_js(retptr, ptr0, len0, addHeapObject(validation_context));
331
+ var r0 = getInt32Memory0()[retptr / 4 + 0];
332
+ var r1 = getInt32Memory0()[retptr / 4 + 1];
333
+ var r2 = getInt32Memory0()[retptr / 4 + 2];
334
+ var r3 = getInt32Memory0()[retptr / 4 + 3];
335
+ var ptr2 = r0;
336
+ var len2 = r1;
337
+ if (r3) {
338
+ ptr2 = 0; len2 = 0;
339
+ throw takeObject(r2);
340
+ }
341
+ deferred3_0 = ptr2;
342
+ deferred3_1 = len2;
343
+ return getStringFromWasm0(ptr2, len2);
304
344
  } finally {
305
345
  wasm.__wbindgen_add_to_stack_pointer(16);
346
+ wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
306
347
  }
307
348
  };
308
349
 
@@ -356,15 +397,15 @@ module.exports.execute_tx_scripts = function(tx_hex, utxo_json, cost_models_json
356
397
  };
357
398
 
358
399
  /**
359
- * @param {string} cbor_hex
400
+ * @param {string} hex_str
360
401
  * @returns {any}
361
402
  */
362
- module.exports.cbor_to_json = function(cbor_hex) {
403
+ module.exports.check_block_or_tx_signatures = function(hex_str) {
363
404
  try {
364
405
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
365
- const ptr0 = passStringToWasm0(cbor_hex, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
406
+ const ptr0 = passStringToWasm0(hex_str, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
366
407
  const len0 = WASM_VECTOR_LEN;
367
- wasm.cbor_to_json(retptr, ptr0, len0);
408
+ wasm.check_block_or_tx_signatures(retptr, ptr0, len0);
368
409
  var r0 = getInt32Memory0()[retptr / 4 + 0];
369
410
  var r1 = getInt32Memory0()[retptr / 4 + 1];
370
411
  var r2 = getInt32Memory0()[retptr / 4 + 2];
@@ -430,6 +471,28 @@ module.exports.decode_plutus_program_pretty_uplc = function(hex) {
430
471
  }
431
472
  };
432
473
 
474
+ /**
475
+ * @param {string} cbor_hex
476
+ * @returns {any}
477
+ */
478
+ module.exports.cbor_to_json = function(cbor_hex) {
479
+ try {
480
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
481
+ const ptr0 = passStringToWasm0(cbor_hex, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
482
+ const len0 = WASM_VECTOR_LEN;
483
+ wasm.cbor_to_json(retptr, ptr0, len0);
484
+ var r0 = getInt32Memory0()[retptr / 4 + 0];
485
+ var r1 = getInt32Memory0()[retptr / 4 + 1];
486
+ var r2 = getInt32Memory0()[retptr / 4 + 2];
487
+ if (r2) {
488
+ throw takeObject(r1);
489
+ }
490
+ return takeObject(r0);
491
+ } finally {
492
+ wasm.__wbindgen_add_to_stack_pointer(16);
493
+ }
494
+ };
495
+
433
496
  function _assertClass(instance, klass) {
434
497
  if (!(instance instanceof klass)) {
435
498
  throw new Error(`expected instance of ${klass.name}`);
@@ -1016,10 +1079,13 @@ function handleError(f, args) {
1016
1079
  }
1017
1080
  /**
1018
1081
  */
1019
- module.exports.ByronAddressType = Object.freeze({ ATPubKey:0,"0":"ATPubKey",ATScript:1,"1":"ATScript",ATRedeem:2,"2":"ATRedeem", });
1082
+ module.exports.CborContainerType = Object.freeze({ Array:0,"0":"Array",Map:1,"1":"Map", });
1020
1083
  /**
1021
1084
  */
1022
- module.exports.PlutusDataKind = Object.freeze({ ConstrPlutusData:0,"0":"ConstrPlutusData",Map:1,"1":"Map",List:2,"2":"List",Integer:3,"3":"Integer",Bytes:4,"4":"Bytes", });
1085
+ module.exports.RelayKind = Object.freeze({ SingleHostAddr:0,"0":"SingleHostAddr",SingleHostName:1,"1":"SingleHostName",MultiHostName:2,"2":"MultiHostName", });
1086
+ /**
1087
+ */
1088
+ module.exports.VoteKind = Object.freeze({ No:0,"0":"No",Yes:1,"1":"Yes",Abstain:2,"2":"Abstain", });
1023
1089
  /**
1024
1090
  */
1025
1091
  module.exports.CoinSelectionStrategyCIP2 = Object.freeze({
@@ -1040,15 +1106,6 @@ LargestFirstMultiAsset:2,"2":"LargestFirstMultiAsset",
1040
1106
  */
1041
1107
  RandomImproveMultiAsset:3,"3":"RandomImproveMultiAsset", });
1042
1108
  /**
1043
- */
1044
- module.exports.MIRKind = Object.freeze({ ToOtherPot:0,"0":"ToOtherPot",ToStakeCredentials:1,"1":"ToStakeCredentials", });
1045
- /**
1046
- */
1047
- module.exports.CborSetType = Object.freeze({ Tagged:0,"0":"Tagged",Untagged:1,"1":"Untagged", });
1048
- /**
1049
- */
1050
- module.exports.VoteKind = Object.freeze({ No:0,"0":"No",Yes:1,"1":"Yes",Abstain:2,"2":"Abstain", });
1051
- /**
1052
1109
  * JSON <-> PlutusData conversion schemas.
1053
1110
  * Follows ScriptDataJsonSchema in cardano-cli defined at:
1054
1111
  * https://github.com/input-output-hk/cardano-node/blob/master/cardano-api/src/Cardano/Api/ScriptData.hs#L254
@@ -1101,66 +1158,72 @@ BasicConversions:0,"0":"BasicConversions",
1101
1158
  DetailedSchema:1,"1":"DetailedSchema", });
1102
1159
  /**
1103
1160
  */
1104
- module.exports.CredKind = Object.freeze({ Key:0,"0":"Key",Script:1,"1":"Script", });
1161
+ module.exports.GovernanceActionKind = Object.freeze({ ParameterChangeAction:0,"0":"ParameterChangeAction",HardForkInitiationAction:1,"1":"HardForkInitiationAction",TreasuryWithdrawalsAction:2,"2":"TreasuryWithdrawalsAction",NoConfidenceAction:3,"3":"NoConfidenceAction",UpdateCommitteeAction:4,"4":"UpdateCommitteeAction",NewConstitutionAction:5,"5":"NewConstitutionAction",InfoAction:6,"6":"InfoAction", });
1105
1162
  /**
1106
- * Used to choosed the schema for a script JSON string
1107
1163
  */
1108
- module.exports.ScriptSchema = Object.freeze({ Wallet:0,"0":"Wallet",Node:1,"1":"Node", });
1164
+ module.exports.AddressKind = Object.freeze({ Base:0,"0":"Base",Pointer:1,"1":"Pointer",Enterprise:2,"2":"Enterprise",Reward:3,"3":"Reward",Byron:4,"4":"Byron",Malformed:5,"5":"Malformed", });
1109
1165
  /**
1110
1166
  */
1111
- module.exports.GovernanceActionKind = Object.freeze({ ParameterChangeAction:0,"0":"ParameterChangeAction",HardForkInitiationAction:1,"1":"HardForkInitiationAction",TreasuryWithdrawalsAction:2,"2":"TreasuryWithdrawalsAction",NoConfidenceAction:3,"3":"NoConfidenceAction",UpdateCommitteeAction:4,"4":"UpdateCommitteeAction",NewConstitutionAction:5,"5":"NewConstitutionAction",InfoAction:6,"6":"InfoAction", });
1167
+ module.exports.NetworkIdKind = Object.freeze({ Testnet:0,"0":"Testnet",Mainnet:1,"1":"Mainnet", });
1112
1168
  /**
1113
1169
  */
1114
- module.exports.RedeemerTagKind = Object.freeze({ Spend:0,"0":"Spend",Mint:1,"1":"Mint",Cert:2,"2":"Cert",Reward:3,"3":"Reward",Vote:4,"4":"Vote",VotingProposal:5,"5":"VotingProposal", });
1170
+ module.exports.BlockEra = Object.freeze({ Byron:0,"0":"Byron",Shelley:1,"1":"Shelley",Allegra:2,"2":"Allegra",Mary:3,"3":"Mary",Alonzo:4,"4":"Alonzo",Babbage:5,"5":"Babbage",Conway:6,"6":"Conway",Unknown:7,"7":"Unknown", });
1115
1171
  /**
1116
1172
  */
1117
- module.exports.AddressKind = Object.freeze({ Base:0,"0":"Base",Pointer:1,"1":"Pointer",Enterprise:2,"2":"Enterprise",Reward:3,"3":"Reward",Byron:4,"4":"Byron",Malformed:5,"5":"Malformed", });
1173
+ module.exports.NativeScriptKind = Object.freeze({ ScriptPubkey:0,"0":"ScriptPubkey",ScriptAll:1,"1":"ScriptAll",ScriptAny:2,"2":"ScriptAny",ScriptNOfK:3,"3":"ScriptNOfK",TimelockStart:4,"4":"TimelockStart",TimelockExpiry:5,"5":"TimelockExpiry", });
1118
1174
  /**
1119
1175
  */
1120
- module.exports.VoterKind = Object.freeze({ ConstitutionalCommitteeHotKeyHash:0,"0":"ConstitutionalCommitteeHotKeyHash",ConstitutionalCommitteeHotScriptHash:1,"1":"ConstitutionalCommitteeHotScriptHash",DRepKeyHash:2,"2":"DRepKeyHash",DRepScriptHash:3,"3":"DRepScriptHash",StakingPoolKeyHash:4,"4":"StakingPoolKeyHash", });
1176
+ module.exports.RedeemerTagKind = Object.freeze({ Spend:0,"0":"Spend",Mint:1,"1":"Mint",Cert:2,"2":"Cert",Reward:3,"3":"Reward",Vote:4,"4":"Vote",VotingProposal:5,"5":"VotingProposal", });
1121
1177
  /**
1122
1178
  */
1123
- module.exports.MIRPot = Object.freeze({ Reserves:0,"0":"Reserves",Treasury:1,"1":"Treasury", });
1179
+ module.exports.DRepKind = Object.freeze({ KeyHash:0,"0":"KeyHash",ScriptHash:1,"1":"ScriptHash",AlwaysAbstain:2,"2":"AlwaysAbstain",AlwaysNoConfidence:3,"3":"AlwaysNoConfidence", });
1124
1180
  /**
1125
1181
  */
1126
1182
  module.exports.LanguageKind = Object.freeze({ PlutusV1:0,"0":"PlutusV1",PlutusV2:1,"1":"PlutusV2",PlutusV3:2,"2":"PlutusV3", });
1127
1183
  /**
1128
- * Each new language uses a different namespace for hashing its script
1129
- * This is because you could have a language where the same bytes have different semantics
1130
- * So this avoids scripts in different languages mapping to the same hash
1131
- * Note that the enum value here is different than the enum value for deciding the cost model of a script
1132
1184
  */
1133
- module.exports.ScriptHashNamespace = Object.freeze({ NativeScript:0,"0":"NativeScript",PlutusScript:1,"1":"PlutusScript",PlutusScriptV2:2,"2":"PlutusScriptV2",PlutusScriptV3:3,"3":"PlutusScriptV3", });
1185
+ module.exports.TransactionMetadatumKind = Object.freeze({ MetadataMap:0,"0":"MetadataMap",MetadataList:1,"1":"MetadataList",Int:2,"2":"Int",Bytes:3,"3":"Bytes",Text:4,"4":"Text", });
1134
1186
  /**
1135
1187
  */
1136
- module.exports.DRepKind = Object.freeze({ KeyHash:0,"0":"KeyHash",ScriptHash:1,"1":"ScriptHash",AlwaysAbstain:2,"2":"AlwaysAbstain",AlwaysNoConfidence:3,"3":"AlwaysNoConfidence", });
1188
+ module.exports.VoterKind = Object.freeze({ ConstitutionalCommitteeHotKeyHash:0,"0":"ConstitutionalCommitteeHotKeyHash",ConstitutionalCommitteeHotScriptHash:1,"1":"ConstitutionalCommitteeHotScriptHash",DRepKeyHash:2,"2":"DRepKeyHash",DRepScriptHash:3,"3":"DRepScriptHash",StakingPoolKeyHash:4,"4":"StakingPoolKeyHash", });
1137
1189
  /**
1138
1190
  */
1139
- module.exports.RelayKind = Object.freeze({ SingleHostAddr:0,"0":"SingleHostAddr",SingleHostName:1,"1":"SingleHostName",MultiHostName:2,"2":"MultiHostName", });
1191
+ module.exports.MIRPot = Object.freeze({ Reserves:0,"0":"Reserves",Treasury:1,"1":"Treasury", });
1140
1192
  /**
1141
1193
  */
1142
- module.exports.BlockEra = Object.freeze({ Byron:0,"0":"Byron",Shelley:1,"1":"Shelley",Allegra:2,"2":"Allegra",Mary:3,"3":"Mary",Alonzo:4,"4":"Alonzo",Babbage:5,"5":"Babbage",Conway:6,"6":"Conway",Unknown:7,"7":"Unknown", });
1194
+ module.exports.CertificateKind = Object.freeze({ StakeRegistration:0,"0":"StakeRegistration",StakeDeregistration:1,"1":"StakeDeregistration",StakeDelegation:2,"2":"StakeDelegation",PoolRegistration:3,"3":"PoolRegistration",PoolRetirement:4,"4":"PoolRetirement",GenesisKeyDelegation:5,"5":"GenesisKeyDelegation",MoveInstantaneousRewardsCert:6,"6":"MoveInstantaneousRewardsCert",CommitteeHotAuth:7,"7":"CommitteeHotAuth",CommitteeColdResign:8,"8":"CommitteeColdResign",DRepDeregistration:9,"9":"DRepDeregistration",DRepRegistration:10,"10":"DRepRegistration",DRepUpdate:11,"11":"DRepUpdate",StakeAndVoteDelegation:12,"12":"StakeAndVoteDelegation",StakeRegistrationAndDelegation:13,"13":"StakeRegistrationAndDelegation",StakeVoteRegistrationAndDelegation:14,"14":"StakeVoteRegistrationAndDelegation",VoteDelegation:15,"15":"VoteDelegation",VoteRegistrationAndDelegation:16,"16":"VoteRegistrationAndDelegation", });
1143
1195
  /**
1144
1196
  */
1145
- module.exports.MetadataJsonSchema = Object.freeze({ NoConversions:0,"0":"NoConversions",BasicConversions:1,"1":"BasicConversions",DetailedSchema:2,"2":"DetailedSchema", });
1197
+ module.exports.MIRKind = Object.freeze({ ToOtherPot:0,"0":"ToOtherPot",ToStakeCredentials:1,"1":"ToStakeCredentials", });
1146
1198
  /**
1147
1199
  */
1148
- module.exports.CborContainerType = Object.freeze({ Array:0,"0":"Array",Map:1,"1":"Map", });
1200
+ module.exports.CborSetType = Object.freeze({ Tagged:0,"0":"Tagged",Untagged:1,"1":"Untagged", });
1149
1201
  /**
1202
+ * Used to choosed the schema for a script JSON string
1150
1203
  */
1151
- module.exports.TransactionMetadatumKind = Object.freeze({ MetadataMap:0,"0":"MetadataMap",MetadataList:1,"1":"MetadataList",Int:2,"2":"Int",Bytes:3,"3":"Bytes",Text:4,"4":"Text", });
1204
+ module.exports.ScriptSchema = Object.freeze({ Wallet:0,"0":"Wallet",Node:1,"1":"Node", });
1152
1205
  /**
1153
1206
  */
1154
- module.exports.NativeScriptKind = Object.freeze({ ScriptPubkey:0,"0":"ScriptPubkey",ScriptAll:1,"1":"ScriptAll",ScriptAny:2,"2":"ScriptAny",ScriptNOfK:3,"3":"ScriptNOfK",TimelockStart:4,"4":"TimelockStart",TimelockExpiry:5,"5":"TimelockExpiry", });
1207
+ module.exports.TransactionSetsState = Object.freeze({ AllSetsHaveTag:0,"0":"AllSetsHaveTag",AllSetsHaveNoTag:1,"1":"AllSetsHaveNoTag",MixedSets:2,"2":"MixedSets", });
1155
1208
  /**
1156
1209
  */
1157
- module.exports.CertificateKind = Object.freeze({ StakeRegistration:0,"0":"StakeRegistration",StakeDeregistration:1,"1":"StakeDeregistration",StakeDelegation:2,"2":"StakeDelegation",PoolRegistration:3,"3":"PoolRegistration",PoolRetirement:4,"4":"PoolRetirement",GenesisKeyDelegation:5,"5":"GenesisKeyDelegation",MoveInstantaneousRewardsCert:6,"6":"MoveInstantaneousRewardsCert",CommitteeHotAuth:7,"7":"CommitteeHotAuth",CommitteeColdResign:8,"8":"CommitteeColdResign",DRepDeregistration:9,"9":"DRepDeregistration",DRepRegistration:10,"10":"DRepRegistration",DRepUpdate:11,"11":"DRepUpdate",StakeAndVoteDelegation:12,"12":"StakeAndVoteDelegation",StakeRegistrationAndDelegation:13,"13":"StakeRegistrationAndDelegation",StakeVoteRegistrationAndDelegation:14,"14":"StakeVoteRegistrationAndDelegation",VoteDelegation:15,"15":"VoteDelegation",VoteRegistrationAndDelegation:16,"16":"VoteRegistrationAndDelegation", });
1210
+ module.exports.MetadataJsonSchema = Object.freeze({ NoConversions:0,"0":"NoConversions",BasicConversions:1,"1":"BasicConversions",DetailedSchema:2,"2":"DetailedSchema", });
1158
1211
  /**
1212
+ * Each new language uses a different namespace for hashing its script
1213
+ * This is because you could have a language where the same bytes have different semantics
1214
+ * So this avoids scripts in different languages mapping to the same hash
1215
+ * Note that the enum value here is different than the enum value for deciding the cost model of a script
1159
1216
  */
1160
- module.exports.TransactionSetsState = Object.freeze({ AllSetsHaveTag:0,"0":"AllSetsHaveTag",AllSetsHaveNoTag:1,"1":"AllSetsHaveNoTag",MixedSets:2,"2":"MixedSets", });
1217
+ module.exports.ScriptHashNamespace = Object.freeze({ NativeScript:0,"0":"NativeScript",PlutusScript:1,"1":"PlutusScript",PlutusScriptV2:2,"2":"PlutusScriptV2",PlutusScriptV3:3,"3":"PlutusScriptV3", });
1161
1218
  /**
1162
1219
  */
1163
- module.exports.NetworkIdKind = Object.freeze({ Testnet:0,"0":"Testnet",Mainnet:1,"1":"Mainnet", });
1220
+ module.exports.PlutusDataKind = Object.freeze({ ConstrPlutusData:0,"0":"ConstrPlutusData",Map:1,"1":"Map",List:2,"2":"List",Integer:3,"3":"Integer",Bytes:4,"4":"Bytes", });
1221
+ /**
1222
+ */
1223
+ module.exports.ByronAddressType = Object.freeze({ ATPubKey:0,"0":"ATPubKey",ATScript:1,"1":"ATScript",ATRedeem:2,"2":"ATRedeem", });
1224
+ /**
1225
+ */
1226
+ module.exports.CredKind = Object.freeze({ Key:0,"0":"Key",Script:1,"1":"Script", });
1164
1227
 
1165
1228
  const AddressFinalization = (typeof FinalizationRegistry === 'undefined')
1166
1229
  ? { register: () => {}, unregister: () => {} }
@@ -39196,11 +39259,6 @@ module.exports.__wbindgen_string_new = function(arg0, arg1) {
39196
39259
  return addHeapObject(ret);
39197
39260
  };
39198
39261
 
39199
- module.exports.__wbindgen_error_new = function(arg0, arg1) {
39200
- const ret = new Error(getStringFromWasm0(arg0, arg1));
39201
- return addHeapObject(ret);
39202
- };
39203
-
39204
39262
  module.exports.__wbindgen_is_undefined = function(arg0) {
39205
39263
  const ret = getObject(arg0) === undefined;
39206
39264
  return ret;
@@ -39226,6 +39284,17 @@ module.exports.__wbindgen_jsval_eq = function(arg0, arg1) {
39226
39284
  return ret;
39227
39285
  };
39228
39286
 
39287
+ module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
39288
+ const ret = BigInt.asUintN(64, arg0);
39289
+ return addHeapObject(ret);
39290
+ };
39291
+
39292
+ module.exports.__wbindgen_boolean_get = function(arg0) {
39293
+ const v = getObject(arg0);
39294
+ const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
39295
+ return ret;
39296
+ };
39297
+
39229
39298
  module.exports.__wbindgen_is_string = function(arg0) {
39230
39299
  const ret = typeof(getObject(arg0)) === 'string';
39231
39300
  return ret;
@@ -39246,6 +39315,11 @@ module.exports.__wbindgen_is_object = function(arg0) {
39246
39315
  return ret;
39247
39316
  };
39248
39317
 
39318
+ module.exports.__wbindgen_error_new = function(arg0, arg1) {
39319
+ const ret = new Error(getStringFromWasm0(arg0, arg1));
39320
+ return addHeapObject(ret);
39321
+ };
39322
+
39249
39323
  module.exports.__wbindgen_object_clone_ref = function(arg0) {
39250
39324
  const ret = getObject(arg0);
39251
39325
  return addHeapObject(ret);
@@ -39256,12 +39330,6 @@ module.exports.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
39256
39330
  return ret;
39257
39331
  };
39258
39332
 
39259
- module.exports.__wbindgen_boolean_get = function(arg0) {
39260
- const v = getObject(arg0);
39261
- const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
39262
- return ret;
39263
- };
39264
-
39265
39333
  module.exports.__wbindgen_number_get = function(arg0, arg1) {
39266
39334
  const obj = getObject(arg1);
39267
39335
  const ret = typeof(obj) === 'number' ? obj : undefined;
Binary file
@@ -4,12 +4,14 @@ export const memory: WebAssembly.Memory;
4
4
  export function get_decodable_types(a: number): void;
5
5
  export function decode_specific_type(a: number, b: number, c: number, d: number, e: number, f: number): void;
6
6
  export function get_possible_types_for_input(a: number, b: number, c: number): void;
7
- export function check_block_or_tx_signatures(a: number, b: number, c: number): void;
7
+ export function get_necessary_data_list_js(a: number, b: number, c: number): void;
8
+ export function validate_transaction_js(a: number, b: number, c: number, d: number): void;
8
9
  export function get_utxo_list_from_tx(a: number, b: number, c: number): void;
9
10
  export function execute_tx_scripts(a: number, b: number, c: number, d: number, e: number): void;
10
- export function cbor_to_json(a: number, b: number, c: number): void;
11
+ export function check_block_or_tx_signatures(a: number, b: number, c: number): void;
11
12
  export function decode_plutus_program_uplc_json(a: number, b: number, c: number): void;
12
13
  export function decode_plutus_program_pretty_uplc(a: number, b: number, c: number): void;
14
+ export function cbor_to_json(a: number, b: number, c: number): void;
13
15
  export function __wbg_governanceactionids_free(a: number): void;
14
16
  export function governanceactionids_to_json(a: number, b: number): void;
15
17
  export function governanceactionids_to_js_value(a: number, b: number): void;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "collaborators": [
4
4
  "Evgenii Lisitskii <evgeniilisitskii@gmail.com>"
5
5
  ],
6
- "version": "0.1.0-beta.13",
6
+ "version": "0.1.0-beta.16",
7
7
  "files": [
8
8
  "node/cquisitor_lib_bg.wasm",
9
9
  "node/cquisitor_lib.js",