@anastasia-labs/cardano-multiplatform-lib-nodejs 5.3.1-5 → 5.3.1-6

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.
@@ -184,44 +184,25 @@ export function encode_json_str_to_plutus_datum(json: string, schema: CardanoNod
184
184
  export function decode_plutus_datum_to_json_str(datum: PlutusData, schema: CardanoNodePlutusDatumSchema): string;
185
185
  /**
186
186
  */
187
- export enum GovActionKind {
188
- ParameterChangeAction = 0,
189
- HardForkInitiationAction = 1,
190
- TreasuryWithdrawalsAction = 2,
191
- NoConfidence = 3,
192
- UpdateCommittee = 4,
193
- NewConstitution = 5,
194
- InfoAction = 6,
195
- }
196
- /**
197
- */
198
- export enum ScriptKind {
199
- Native = 0,
200
- PlutusV1 = 1,
201
- PlutusV2 = 2,
202
- PlutusV3 = 3,
203
- }
204
- /**
205
- */
206
- export enum NonceKind {
207
- Identity = 0,
208
- Hash = 1,
187
+ export enum StakeDistributionKind {
188
+ SingleKey = 0,
189
+ BootstrapEra = 1,
209
190
  }
210
191
  /**
211
192
  */
212
- export enum ByronAddrType {
213
- PublicKey = 0,
214
- Script = 1,
215
- Redeem = 2,
193
+ export enum VoterKind {
194
+ ConstitutionalCommitteeHotKeyHash = 0,
195
+ ConstitutionalCommitteeHotScriptHash = 1,
196
+ DRepKeyHash = 2,
197
+ DRepScriptHash = 3,
198
+ StakingPoolKeyHash = 4,
216
199
  }
217
200
  /**
218
201
  */
219
- export enum PlutusDataKind {
220
- ConstrPlutusData = 0,
221
- Map = 1,
222
- List = 2,
223
- Integer = 3,
224
- Bytes = 4,
202
+ export enum MetadataJsonSchema {
203
+ NoConversions = 0,
204
+ BasicConversions = 1,
205
+ DetailedSchema = 2,
225
206
  }
226
207
  /**
227
208
  * Careful: this enum doesn't include the network ID part of the header
@@ -243,36 +224,42 @@ export enum AddressHeaderKind {
243
224
  }
244
225
  /**
245
226
  */
246
- export enum CredentialKind {
247
- PubKey = 0,
248
- Script = 1,
249
- }
227
+ export enum CoinSelectionStrategyCIP2 {
250
228
  /**
229
+ * Performs CIP2's Largest First ada-only selection. Will error if outputs contain non-ADA assets.
251
230
  */
252
- export enum ChunkableStringKind {
253
- Single = 0,
254
- Chunked = 1,
255
- }
231
+ LargestFirst = 0,
256
232
  /**
233
+ * Performs CIP2's Random Improve ada-only selection. Will error if outputs contain non-ADA assets.
257
234
  */
258
- export enum DRepKind {
259
- Key = 0,
260
- Script = 1,
261
- AlwaysAbstain = 2,
262
- AlwaysNoConfidence = 3,
235
+ RandomImprove = 1,
236
+ /**
237
+ * Same as LargestFirst, but before adding ADA, will insert by largest-first for each asset type.
238
+ */
239
+ LargestFirstMultiAsset = 2,
240
+ /**
241
+ * Same as RandomImprove, but before adding ADA, will insert by random-improve for each asset type.
242
+ */
243
+ RandomImproveMultiAsset = 3,
263
244
  }
264
245
  /**
265
246
  */
266
- export enum RedeemersKind {
267
- ArrLegacyRedeemer = 0,
268
- MapRedeemerKeyToRedeemerVal = 1,
247
+ export enum NativeScriptKind {
248
+ ScriptPubkey = 0,
249
+ ScriptAll = 1,
250
+ ScriptAny = 2,
251
+ ScriptNOfK = 3,
252
+ ScriptInvalidBefore = 4,
253
+ ScriptInvalidHereafter = 5,
269
254
  }
270
255
  /**
271
256
  */
272
- export enum AuxiliaryDataKind {
273
- Shelley = 0,
274
- ShelleyMA = 1,
275
- Conway = 2,
257
+ export enum TransactionMetadatumKind {
258
+ Map = 0,
259
+ List = 1,
260
+ Int = 2,
261
+ Bytes = 3,
262
+ Text = 4,
276
263
  }
277
264
  /**
278
265
  */
@@ -296,37 +283,29 @@ export enum CertificateKind {
296
283
  UpdateDrepCert = 16,
297
284
  }
298
285
  /**
286
+ * Which version of the CIP25 spec to use. See CIP25 for details.
287
+ * This will change how things are encoded but for the most part contains
288
+ * the same information.
299
289
  */
300
- export enum SpendingDataKind {
301
- SpendingDataPubKey = 0,
302
- SpendingDataScript = 1,
303
- SpendingDataRedeem = 2,
304
- }
290
+ export enum CIP25Version {
305
291
  /**
292
+ * Initial version of CIP25 with only string (utf8) asset names allowed.
306
293
  */
307
- export enum RelayKind {
308
- SingleHostAddr = 0,
309
- SingleHostName = 1,
310
- MultiHostName = 2,
311
- }
294
+ V1 = 0,
312
295
  /**
296
+ * Second version of CIP25. Supports any type of asset names.
313
297
  */
314
- export enum NativeScriptKind {
315
- ScriptPubkey = 0,
316
- ScriptAll = 1,
317
- ScriptAny = 2,
318
- ScriptNOfK = 3,
319
- ScriptInvalidBefore = 4,
320
- ScriptInvalidHereafter = 5,
298
+ V2 = 1,
321
299
  }
322
300
  /**
323
301
  */
324
- export enum TransactionMetadatumKind {
325
- Map = 0,
326
- List = 1,
327
- Int = 2,
328
- Bytes = 3,
329
- Text = 4,
302
+ export enum RedeemerTag {
303
+ Spend = 0,
304
+ Mint = 1,
305
+ Cert = 2,
306
+ Reward = 3,
307
+ Voting = 4,
308
+ Proposing = 5,
330
309
  }
331
310
  /**
332
311
  * JSON <-> PlutusData conversion schemas.
@@ -382,107 +361,117 @@ export enum CardanoNodePlutusDatumSchema {
382
361
  }
383
362
  /**
384
363
  */
364
+ export enum CredentialKind {
365
+ PubKey = 0,
366
+ Script = 1,
367
+ }
368
+ /**
369
+ */
385
370
  export enum DatumOptionKind {
386
371
  Hash = 0,
387
372
  Datum = 1,
388
373
  }
389
374
  /**
390
375
  */
391
- export enum Vote {
392
- No = 0,
393
- Yes = 1,
394
- Abstain = 2,
376
+ export enum DRepKind {
377
+ Key = 0,
378
+ Script = 1,
379
+ AlwaysAbstain = 2,
380
+ AlwaysNoConfidence = 3,
395
381
  }
396
382
  /**
397
383
  */
398
- export enum VoterKind {
399
- ConstitutionalCommitteeHotKeyHash = 0,
400
- ConstitutionalCommitteeHotScriptHash = 1,
401
- DRepKeyHash = 2,
402
- DRepScriptHash = 3,
403
- StakingPoolKeyHash = 4,
384
+ export enum Language {
385
+ PlutusV1 = 0,
386
+ PlutusV2 = 1,
387
+ PlutusV3 = 2,
404
388
  }
405
389
  /**
406
390
  */
407
- export enum RedeemerTag {
408
- Spend = 0,
409
- Mint = 1,
410
- Cert = 2,
411
- Reward = 3,
412
- Voting = 4,
413
- Proposing = 5,
391
+ export enum ByronAddrType {
392
+ PublicKey = 0,
393
+ Script = 1,
394
+ Redeem = 2,
414
395
  }
415
396
  /**
416
- * Which version of the CIP25 spec to use. See CIP25 for details.
417
- * This will change how things are encoded but for the most part contains
418
- * the same information.
419
397
  */
420
- export enum CIP25Version {
421
- /**
422
- * Initial version of CIP25 with only string (utf8) asset names allowed.
423
- */
424
- V1 = 0,
425
- /**
426
- * Second version of CIP25. Supports any type of asset names.
427
- */
428
- V2 = 1,
398
+ export enum ChunkableStringKind {
399
+ Single = 0,
400
+ Chunked = 1,
429
401
  }
430
402
  /**
431
403
  */
432
- export enum StakeDistributionKind {
433
- SingleKey = 0,
434
- BootstrapEra = 1,
404
+ export enum AuxiliaryDataKind {
405
+ Shelley = 0,
406
+ ShelleyMA = 1,
407
+ Conway = 2,
435
408
  }
436
409
  /**
437
410
  */
438
- export enum MetadataJsonSchema {
439
- NoConversions = 0,
440
- BasicConversions = 1,
441
- DetailedSchema = 2,
411
+ export enum SpendingDataKind {
412
+ SpendingDataPubKey = 0,
413
+ SpendingDataScript = 1,
414
+ SpendingDataRedeem = 2,
442
415
  }
443
416
  /**
444
417
  */
445
- export enum CoinSelectionStrategyCIP2 {
418
+ export enum TransactionOutputKind {
419
+ AlonzoFormatTxOut = 0,
420
+ ConwayFormatTxOut = 1,
421
+ }
446
422
  /**
447
- * Performs CIP2's Largest First ada-only selection. Will error if outputs contain non-ADA assets.
448
423
  */
449
- LargestFirst = 0,
424
+ export enum NonceKind {
425
+ Identity = 0,
426
+ Hash = 1,
427
+ }
450
428
  /**
451
- * Performs CIP2's Random Improve ada-only selection. Will error if outputs contain non-ADA assets.
452
429
  */
453
- RandomImprove = 1,
430
+ export enum DelegationDistributionKind {
431
+ Weighted = 0,
432
+ Legacy = 1,
433
+ }
454
434
  /**
455
- * Same as LargestFirst, but before adding ADA, will insert by largest-first for each asset type.
456
435
  */
457
- LargestFirstMultiAsset = 2,
436
+ export enum RedeemersKind {
437
+ ArrLegacyRedeemer = 0,
438
+ MapRedeemerKeyToRedeemerVal = 1,
439
+ }
458
440
  /**
459
- * Same as RandomImprove, but before adding ADA, will insert by random-improve for each asset type.
460
441
  */
461
- RandomImproveMultiAsset = 3,
442
+ export enum ChangeSelectionAlgo {
443
+ Default = 0,
462
444
  }
463
445
  /**
464
446
  */
465
- export enum TransactionOutputKind {
466
- AlonzoFormatTxOut = 0,
467
- ConwayFormatTxOut = 1,
447
+ export enum ScriptKind {
448
+ Native = 0,
449
+ PlutusV1 = 1,
450
+ PlutusV2 = 2,
451
+ PlutusV3 = 3,
468
452
  }
469
453
  /**
470
454
  */
471
- export enum Language {
472
- PlutusV1 = 0,
473
- PlutusV2 = 1,
474
- PlutusV3 = 2,
455
+ export enum Vote {
456
+ No = 0,
457
+ Yes = 1,
458
+ Abstain = 2,
475
459
  }
476
460
  /**
477
461
  */
478
- export enum DelegationDistributionKind {
479
- Weighted = 0,
480
- Legacy = 1,
462
+ export enum PlutusDataKind {
463
+ ConstrPlutusData = 0,
464
+ Map = 1,
465
+ List = 2,
466
+ Integer = 3,
467
+ Bytes = 4,
481
468
  }
482
469
  /**
483
470
  */
484
- export enum ChangeSelectionAlgo {
485
- Default = 0,
471
+ export enum RelayKind {
472
+ SingleHostAddr = 0,
473
+ SingleHostName = 1,
474
+ MultiHostName = 2,
486
475
  }
487
476
  /**
488
477
  */
@@ -495,6 +484,17 @@ export enum AddressKind {
495
484
  }
496
485
  /**
497
486
  */
487
+ export enum GovActionKind {
488
+ ParameterChangeAction = 0,
489
+ HardForkInitiationAction = 1,
490
+ TreasuryWithdrawalsAction = 2,
491
+ NoConfidence = 3,
492
+ UpdateCommittee = 4,
493
+ NewConstitution = 5,
494
+ InfoAction = 6,
495
+ }
496
+ /**
497
+ */
498
498
  export class AddrAttributes {
499
499
  free(): void;
500
500
  /**
@@ -763,19 +763,13 @@ function getArrayU64FromWasm0(ptr, len) {
763
763
  }
764
764
  /**
765
765
  */
766
- module.exports.GovActionKind = Object.freeze({ ParameterChangeAction:0,"0":"ParameterChangeAction",HardForkInitiationAction:1,"1":"HardForkInitiationAction",TreasuryWithdrawalsAction:2,"2":"TreasuryWithdrawalsAction",NoConfidence:3,"3":"NoConfidence",UpdateCommittee:4,"4":"UpdateCommittee",NewConstitution:5,"5":"NewConstitution",InfoAction:6,"6":"InfoAction", });
767
- /**
768
- */
769
- module.exports.ScriptKind = Object.freeze({ Native:0,"0":"Native",PlutusV1:1,"1":"PlutusV1",PlutusV2:2,"2":"PlutusV2",PlutusV3:3,"3":"PlutusV3", });
770
- /**
771
- */
772
- module.exports.NonceKind = Object.freeze({ Identity:0,"0":"Identity",Hash:1,"1":"Hash", });
766
+ module.exports.StakeDistributionKind = Object.freeze({ SingleKey:0,"0":"SingleKey",BootstrapEra:1,"1":"BootstrapEra", });
773
767
  /**
774
768
  */
775
- module.exports.ByronAddrType = Object.freeze({ PublicKey:0,"0":"PublicKey",Script:1,"1":"Script",Redeem:2,"2":"Redeem", });
769
+ 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", });
776
770
  /**
777
771
  */
778
- 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", });
772
+ module.exports.MetadataJsonSchema = Object.freeze({ NoConversions:0,"0":"NoConversions",BasicConversions:1,"1":"BasicConversions",DetailedSchema:2,"2":"DetailedSchema", });
779
773
  /**
780
774
  * Careful: this enum doesn't include the network ID part of the header
781
775
  * ex: base address isn't 0b0000_0000 but instead 0b0000
@@ -784,34 +778,49 @@ module.exports.PlutusDataKind = Object.freeze({ ConstrPlutusData:0,"0":"ConstrPl
784
778
  module.exports.AddressHeaderKind = Object.freeze({ BasePaymentKeyStakeKey:0,"0":"BasePaymentKeyStakeKey",BasePaymentScriptStakeKey:1,"1":"BasePaymentScriptStakeKey",BasePaymentKeyStakeScript:2,"2":"BasePaymentKeyStakeScript",BasePaymentScriptStakeScript:3,"3":"BasePaymentScriptStakeScript",PointerKey:4,"4":"PointerKey",PointerScript:5,"5":"PointerScript",EnterpriseKey:6,"6":"EnterpriseKey",EnterpriseScript:7,"7":"EnterpriseScript",Byron:8,"8":"Byron",RewardKey:14,"14":"RewardKey",RewardScript:15,"15":"RewardScript", });
785
779
  /**
786
780
  */
787
- module.exports.CredentialKind = Object.freeze({ PubKey:0,"0":"PubKey",Script:1,"1":"Script", });
781
+ module.exports.CoinSelectionStrategyCIP2 = Object.freeze({
788
782
  /**
783
+ * Performs CIP2's Largest First ada-only selection. Will error if outputs contain non-ADA assets.
789
784
  */
790
- module.exports.ChunkableStringKind = Object.freeze({ Single:0,"0":"Single",Chunked:1,"1":"Chunked", });
785
+ LargestFirst:0,"0":"LargestFirst",
791
786
  /**
787
+ * Performs CIP2's Random Improve ada-only selection. Will error if outputs contain non-ADA assets.
792
788
  */
793
- module.exports.DRepKind = Object.freeze({ Key:0,"0":"Key",Script:1,"1":"Script",AlwaysAbstain:2,"2":"AlwaysAbstain",AlwaysNoConfidence:3,"3":"AlwaysNoConfidence", });
789
+ RandomImprove:1,"1":"RandomImprove",
794
790
  /**
791
+ * Same as LargestFirst, but before adding ADA, will insert by largest-first for each asset type.
795
792
  */
796
- module.exports.RedeemersKind = Object.freeze({ ArrLegacyRedeemer:0,"0":"ArrLegacyRedeemer",MapRedeemerKeyToRedeemerVal:1,"1":"MapRedeemerKeyToRedeemerVal", });
793
+ LargestFirstMultiAsset:2,"2":"LargestFirstMultiAsset",
797
794
  /**
795
+ * Same as RandomImprove, but before adding ADA, will insert by random-improve for each asset type.
798
796
  */
799
- module.exports.AuxiliaryDataKind = Object.freeze({ Shelley:0,"0":"Shelley",ShelleyMA:1,"1":"ShelleyMA",Conway:2,"2":"Conway", });
797
+ RandomImproveMultiAsset:3,"3":"RandomImproveMultiAsset", });
798
+ /**
799
+ */
800
+ module.exports.NativeScriptKind = Object.freeze({ ScriptPubkey:0,"0":"ScriptPubkey",ScriptAll:1,"1":"ScriptAll",ScriptAny:2,"2":"ScriptAny",ScriptNOfK:3,"3":"ScriptNOfK",ScriptInvalidBefore:4,"4":"ScriptInvalidBefore",ScriptInvalidHereafter:5,"5":"ScriptInvalidHereafter", });
801
+ /**
802
+ */
803
+ module.exports.TransactionMetadatumKind = Object.freeze({ Map:0,"0":"Map",List:1,"1":"List",Int:2,"2":"Int",Bytes:3,"3":"Bytes",Text:4,"4":"Text", });
800
804
  /**
801
805
  */
802
806
  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",RegCert:5,"5":"RegCert",UnregCert:6,"6":"UnregCert",VoteDelegCert:7,"7":"VoteDelegCert",StakeVoteDelegCert:8,"8":"StakeVoteDelegCert",StakeRegDelegCert:9,"9":"StakeRegDelegCert",VoteRegDelegCert:10,"10":"VoteRegDelegCert",StakeVoteRegDelegCert:11,"11":"StakeVoteRegDelegCert",AuthCommitteeHotCert:12,"12":"AuthCommitteeHotCert",ResignCommitteeColdCert:13,"13":"ResignCommitteeColdCert",RegDrepCert:14,"14":"RegDrepCert",UnregDrepCert:15,"15":"UnregDrepCert",UpdateDrepCert:16,"16":"UpdateDrepCert", });
803
807
  /**
808
+ * Which version of the CIP25 spec to use. See CIP25 for details.
809
+ * This will change how things are encoded but for the most part contains
810
+ * the same information.
804
811
  */
805
- module.exports.SpendingDataKind = Object.freeze({ SpendingDataPubKey:0,"0":"SpendingDataPubKey",SpendingDataScript:1,"1":"SpendingDataScript",SpendingDataRedeem:2,"2":"SpendingDataRedeem", });
812
+ module.exports.CIP25Version = Object.freeze({
806
813
  /**
814
+ * Initial version of CIP25 with only string (utf8) asset names allowed.
807
815
  */
808
- module.exports.RelayKind = Object.freeze({ SingleHostAddr:0,"0":"SingleHostAddr",SingleHostName:1,"1":"SingleHostName",MultiHostName:2,"2":"MultiHostName", });
816
+ V1:0,"0":"V1",
809
817
  /**
818
+ * Second version of CIP25. Supports any type of asset names.
810
819
  */
811
- module.exports.NativeScriptKind = Object.freeze({ ScriptPubkey:0,"0":"ScriptPubkey",ScriptAll:1,"1":"ScriptAll",ScriptAny:2,"2":"ScriptAny",ScriptNOfK:3,"3":"ScriptNOfK",ScriptInvalidBefore:4,"4":"ScriptInvalidBefore",ScriptInvalidHereafter:5,"5":"ScriptInvalidHereafter", });
820
+ V2:1,"1":"V2", });
812
821
  /**
813
822
  */
814
- module.exports.TransactionMetadatumKind = Object.freeze({ Map:0,"0":"Map",List:1,"1":"List",Int:2,"2":"Int",Bytes:3,"3":"Bytes",Text:4,"4":"Text", });
823
+ module.exports.RedeemerTag = Object.freeze({ Spend:0,"0":"Spend",Mint:1,"1":"Mint",Cert:2,"2":"Cert",Reward:3,"3":"Reward",Voting:4,"4":"Voting",Proposing:5,"5":"Proposing", });
815
824
  /**
816
825
  * JSON <-> PlutusData conversion schemas.
817
826
  * Follows ScriptDataJsonSchema in cardano-cli defined at:
@@ -865,70 +874,61 @@ BasicConversions:0,"0":"BasicConversions",
865
874
  DetailedSchema:1,"1":"DetailedSchema", });
866
875
  /**
867
876
  */
868
- module.exports.DatumOptionKind = Object.freeze({ Hash:0,"0":"Hash",Datum:1,"1":"Datum", });
877
+ module.exports.CredentialKind = Object.freeze({ PubKey:0,"0":"PubKey",Script:1,"1":"Script", });
869
878
  /**
870
879
  */
871
- module.exports.Vote = Object.freeze({ No:0,"0":"No",Yes:1,"1":"Yes",Abstain:2,"2":"Abstain", });
880
+ module.exports.DatumOptionKind = Object.freeze({ Hash:0,"0":"Hash",Datum:1,"1":"Datum", });
872
881
  /**
873
882
  */
874
- 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", });
883
+ module.exports.DRepKind = Object.freeze({ Key:0,"0":"Key",Script:1,"1":"Script",AlwaysAbstain:2,"2":"AlwaysAbstain",AlwaysNoConfidence:3,"3":"AlwaysNoConfidence", });
875
884
  /**
876
885
  */
877
- module.exports.RedeemerTag = Object.freeze({ Spend:0,"0":"Spend",Mint:1,"1":"Mint",Cert:2,"2":"Cert",Reward:3,"3":"Reward",Voting:4,"4":"Voting",Proposing:5,"5":"Proposing", });
886
+ module.exports.Language = Object.freeze({ PlutusV1:0,"0":"PlutusV1",PlutusV2:1,"1":"PlutusV2",PlutusV3:2,"2":"PlutusV3", });
878
887
  /**
879
- * Which version of the CIP25 spec to use. See CIP25 for details.
880
- * This will change how things are encoded but for the most part contains
881
- * the same information.
882
888
  */
883
- module.exports.CIP25Version = Object.freeze({
889
+ module.exports.ByronAddrType = Object.freeze({ PublicKey:0,"0":"PublicKey",Script:1,"1":"Script",Redeem:2,"2":"Redeem", });
884
890
  /**
885
- * Initial version of CIP25 with only string (utf8) asset names allowed.
886
891
  */
887
- V1:0,"0":"V1",
892
+ module.exports.ChunkableStringKind = Object.freeze({ Single:0,"0":"Single",Chunked:1,"1":"Chunked", });
888
893
  /**
889
- * Second version of CIP25. Supports any type of asset names.
890
894
  */
891
- V2:1,"1":"V2", });
895
+ module.exports.AuxiliaryDataKind = Object.freeze({ Shelley:0,"0":"Shelley",ShelleyMA:1,"1":"ShelleyMA",Conway:2,"2":"Conway", });
892
896
  /**
893
897
  */
894
- module.exports.StakeDistributionKind = Object.freeze({ SingleKey:0,"0":"SingleKey",BootstrapEra:1,"1":"BootstrapEra", });
898
+ module.exports.SpendingDataKind = Object.freeze({ SpendingDataPubKey:0,"0":"SpendingDataPubKey",SpendingDataScript:1,"1":"SpendingDataScript",SpendingDataRedeem:2,"2":"SpendingDataRedeem", });
895
899
  /**
896
900
  */
897
- module.exports.MetadataJsonSchema = Object.freeze({ NoConversions:0,"0":"NoConversions",BasicConversions:1,"1":"BasicConversions",DetailedSchema:2,"2":"DetailedSchema", });
901
+ module.exports.TransactionOutputKind = Object.freeze({ AlonzoFormatTxOut:0,"0":"AlonzoFormatTxOut",ConwayFormatTxOut:1,"1":"ConwayFormatTxOut", });
898
902
  /**
899
903
  */
900
- module.exports.CoinSelectionStrategyCIP2 = Object.freeze({
904
+ module.exports.NonceKind = Object.freeze({ Identity:0,"0":"Identity",Hash:1,"1":"Hash", });
901
905
  /**
902
- * Performs CIP2's Largest First ada-only selection. Will error if outputs contain non-ADA assets.
903
906
  */
904
- LargestFirst:0,"0":"LargestFirst",
907
+ module.exports.DelegationDistributionKind = Object.freeze({ Weighted:0,"0":"Weighted",Legacy:1,"1":"Legacy", });
905
908
  /**
906
- * Performs CIP2's Random Improve ada-only selection. Will error if outputs contain non-ADA assets.
907
909
  */
908
- RandomImprove:1,"1":"RandomImprove",
910
+ module.exports.RedeemersKind = Object.freeze({ ArrLegacyRedeemer:0,"0":"ArrLegacyRedeemer",MapRedeemerKeyToRedeemerVal:1,"1":"MapRedeemerKeyToRedeemerVal", });
909
911
  /**
910
- * Same as LargestFirst, but before adding ADA, will insert by largest-first for each asset type.
911
912
  */
912
- LargestFirstMultiAsset:2,"2":"LargestFirstMultiAsset",
913
+ module.exports.ChangeSelectionAlgo = Object.freeze({ Default:0,"0":"Default", });
913
914
  /**
914
- * Same as RandomImprove, but before adding ADA, will insert by random-improve for each asset type.
915
915
  */
916
- RandomImproveMultiAsset:3,"3":"RandomImproveMultiAsset", });
916
+ module.exports.ScriptKind = Object.freeze({ Native:0,"0":"Native",PlutusV1:1,"1":"PlutusV1",PlutusV2:2,"2":"PlutusV2",PlutusV3:3,"3":"PlutusV3", });
917
917
  /**
918
918
  */
919
- module.exports.TransactionOutputKind = Object.freeze({ AlonzoFormatTxOut:0,"0":"AlonzoFormatTxOut",ConwayFormatTxOut:1,"1":"ConwayFormatTxOut", });
919
+ module.exports.Vote = Object.freeze({ No:0,"0":"No",Yes:1,"1":"Yes",Abstain:2,"2":"Abstain", });
920
920
  /**
921
921
  */
922
- module.exports.Language = Object.freeze({ PlutusV1:0,"0":"PlutusV1",PlutusV2:1,"1":"PlutusV2",PlutusV3:2,"2":"PlutusV3", });
922
+ 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", });
923
923
  /**
924
924
  */
925
- module.exports.DelegationDistributionKind = Object.freeze({ Weighted:0,"0":"Weighted",Legacy:1,"1":"Legacy", });
925
+ module.exports.RelayKind = Object.freeze({ SingleHostAddr:0,"0":"SingleHostAddr",SingleHostName:1,"1":"SingleHostName",MultiHostName:2,"2":"MultiHostName", });
926
926
  /**
927
927
  */
928
- module.exports.ChangeSelectionAlgo = Object.freeze({ Default:0,"0":"Default", });
928
+ module.exports.AddressKind = Object.freeze({ Base:0,"0":"Base",Ptr:1,"1":"Ptr",Enterprise:2,"2":"Enterprise",Reward:3,"3":"Reward",Byron:4,"4":"Byron", });
929
929
  /**
930
930
  */
931
- module.exports.AddressKind = Object.freeze({ Base:0,"0":"Base",Ptr:1,"1":"Ptr",Enterprise:2,"2":"Enterprise",Reward:3,"3":"Reward",Byron:4,"4":"Byron", });
931
+ module.exports.GovActionKind = Object.freeze({ ParameterChangeAction:0,"0":"ParameterChangeAction",HardForkInitiationAction:1,"1":"HardForkInitiationAction",TreasuryWithdrawalsAction:2,"2":"TreasuryWithdrawalsAction",NoConfidence:3,"3":"NoConfidence",UpdateCommittee:4,"4":"UpdateCommittee",NewConstitution:5,"5":"NewConstitution",InfoAction:6,"6":"InfoAction", });
932
932
 
933
933
  const AddrAttributesFinalization = (typeof FinalizationRegistry === 'undefined')
934
934
  ? { register: () => {}, unregister: () => {} }
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@anastasia-labs/cardano-multiplatform-lib-nodejs",
3
3
  "description": "Multiplatform WASM SDK containing the most common CML crates for Cardano blockchain functionality",
4
- "version": "5.3.1-5",
4
+ "version": "5.3.1-6",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",