@anastasia-labs/cardano-multiplatform-lib-nodejs 6.0.0-4 → 6.0.0-7

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.
@@ -189,15 +189,6 @@ export function encode_json_str_to_plutus_datum(json: string, schema: CardanoNod
189
189
  export function decode_plutus_datum_to_json_str(datum: PlutusData, schema: CardanoNodePlutusDatumSchema): string;
190
190
  /**
191
191
  */
192
- export enum TransactionMetadatumKind {
193
- Map = 0,
194
- List = 1,
195
- Int = 2,
196
- Bytes = 3,
197
- Text = 4,
198
- }
199
- /**
200
- */
201
192
  export enum CertificateKind {
202
193
  StakeRegistration = 0,
203
194
  StakeDeregistration = 1,
@@ -219,16 +210,10 @@ export enum CertificateKind {
219
210
  }
220
211
  /**
221
212
  */
222
- export enum NonceKind {
223
- Identity = 0,
224
- Hash = 1,
225
- }
226
- /**
227
- */
228
- export enum Vote {
229
- No = 0,
230
- Yes = 1,
231
- Abstain = 2,
213
+ export enum ByronAddrType {
214
+ PublicKey = 0,
215
+ Script = 1,
216
+ Redeem = 2,
232
217
  }
233
218
  /**
234
219
  */
@@ -239,48 +224,20 @@ export enum Language {
239
224
  }
240
225
  /**
241
226
  */
242
- export enum DatumOptionKind {
243
- Hash = 0,
244
- Datum = 1,
245
- }
246
- /**
247
- */
248
- export enum ChangeSelectionAlgo {
249
- Default = 0,
250
- }
251
- /**
252
- */
253
- export enum RedeemerTag {
254
- Spend = 0,
255
- Mint = 1,
256
- Cert = 2,
257
- Reward = 3,
258
- Voting = 4,
259
- Proposing = 5,
260
- }
261
- /**
262
- */
263
- export enum DRepKind {
264
- Key = 0,
265
- Script = 1,
266
- AlwaysAbstain = 2,
267
- AlwaysNoConfidence = 3,
268
- }
269
- /**
270
- */
271
- export enum RelayKind {
272
- SingleHostAddr = 0,
273
- SingleHostName = 1,
274
- MultiHostName = 2,
227
+ export enum TransactionMetadatumKind {
228
+ Map = 0,
229
+ List = 1,
230
+ Int = 2,
231
+ Bytes = 3,
232
+ Text = 4,
275
233
  }
276
234
  /**
277
235
  */
278
- export enum PlutusDataKind {
279
- ConstrPlutusData = 0,
280
- Map = 1,
281
- List = 2,
282
- Integer = 3,
283
- Bytes = 4,
236
+ export enum ScriptKind {
237
+ Native = 0,
238
+ PlutusV1 = 1,
239
+ PlutusV2 = 2,
240
+ PlutusV3 = 3,
284
241
  }
285
242
  /**
286
243
  * Careful: this enum doesn't include the network ID part of the header
@@ -302,58 +259,44 @@ export enum AddressHeaderKind {
302
259
  }
303
260
  /**
304
261
  */
305
- export enum RedeemersKind {
306
- ArrLegacyRedeemer = 0,
307
- MapRedeemerKeyToRedeemerVal = 1,
262
+ export enum DelegationDistributionKind {
263
+ Weighted = 0,
264
+ Legacy = 1,
308
265
  }
309
266
  /**
310
267
  */
311
- export enum StakeDistributionKind {
312
- SingleKey = 0,
313
- BootstrapEra = 1,
268
+ export enum PlutusDataKind {
269
+ ConstrPlutusData = 0,
270
+ Map = 1,
271
+ List = 2,
272
+ Integer = 3,
273
+ Bytes = 4,
314
274
  }
315
275
  /**
316
276
  */
317
- export enum AddressKind {
318
- Base = 0,
319
- Ptr = 1,
320
- Enterprise = 2,
321
- Reward = 3,
322
- Byron = 4,
323
- }
277
+ export enum CoinSelectionStrategyCIP2 {
324
278
  /**
279
+ * Performs CIP2's Largest First ada-only selection. Will error if outputs contain non-ADA assets.
325
280
  */
326
- export enum SpendingDataKind {
327
- SpendingDataPubKey = 0,
328
- SpendingDataScript = 1,
329
- SpendingDataRedeem = 2,
330
- }
281
+ LargestFirst = 0,
331
282
  /**
283
+ * Performs CIP2's Random Improve ada-only selection. Will error if outputs contain non-ADA assets.
332
284
  */
333
- export enum ScriptKind {
334
- Native = 0,
335
- PlutusV1 = 1,
336
- PlutusV2 = 2,
337
- PlutusV3 = 3,
338
- }
285
+ RandomImprove = 1,
339
286
  /**
287
+ * Same as LargestFirst, but before adding ADA, will insert by largest-first for each asset type.
340
288
  */
341
- export enum ChunkableStringKind {
342
- Single = 0,
343
- Chunked = 1,
344
- }
289
+ LargestFirstMultiAsset = 2,
345
290
  /**
291
+ * Same as RandomImprove, but before adding ADA, will insert by random-improve for each asset type.
346
292
  */
347
- export enum TransactionOutputKind {
348
- AlonzoFormatTxOut = 0,
349
- ConwayFormatTxOut = 1,
293
+ RandomImproveMultiAsset = 3,
350
294
  }
351
295
  /**
352
296
  */
353
- export enum ByronAddrType {
354
- PublicKey = 0,
297
+ export enum CredentialKind {
298
+ PubKey = 0,
355
299
  Script = 1,
356
- Redeem = 2,
357
300
  }
358
301
  /**
359
302
  */
@@ -363,10 +306,32 @@ export enum MetadataJsonSchema {
363
306
  DetailedSchema = 2,
364
307
  }
365
308
  /**
309
+ * Which version of the CIP25 spec to use. See CIP25 for details.
310
+ * This will change how things are encoded but for the most part contains
311
+ * the same information.
366
312
  */
367
- export enum CredentialKind {
368
- PubKey = 0,
369
- Script = 1,
313
+ export enum CIP25Version {
314
+ /**
315
+ * Initial version of CIP25 with only string (utf8) asset names allowed.
316
+ */
317
+ V1 = 0,
318
+ /**
319
+ * Second version of CIP25. Supports any type of asset names.
320
+ */
321
+ V2 = 1,
322
+ }
323
+ /**
324
+ */
325
+ export enum NonceKind {
326
+ Identity = 0,
327
+ Hash = 1,
328
+ }
329
+ /**
330
+ */
331
+ export enum SpendingDataKind {
332
+ SpendingDataPubKey = 0,
333
+ SpendingDataScript = 1,
334
+ SpendingDataRedeem = 2,
370
335
  }
371
336
  /**
372
337
  * JSON <-> PlutusData conversion schemas.
@@ -422,23 +387,29 @@ export enum CardanoNodePlutusDatumSchema {
422
387
  }
423
388
  /**
424
389
  */
425
- export enum CoinSelectionStrategyCIP2 {
426
- /**
427
- * Performs CIP2's Largest First ada-only selection. Will error if outputs contain non-ADA assets.
428
- */
429
- LargestFirst = 0,
430
- /**
431
- * Performs CIP2's Random Improve ada-only selection. Will error if outputs contain non-ADA assets.
432
- */
433
- RandomImprove = 1,
390
+ export enum StakeDistributionKind {
391
+ SingleKey = 0,
392
+ BootstrapEra = 1,
393
+ }
434
394
  /**
435
- * Same as LargestFirst, but before adding ADA, will insert by largest-first for each asset type.
436
395
  */
437
- LargestFirstMultiAsset = 2,
396
+ export enum GovActionKind {
397
+ ParameterChangeAction = 0,
398
+ HardForkInitiationAction = 1,
399
+ TreasuryWithdrawalsAction = 2,
400
+ NoConfidence = 3,
401
+ UpdateCommittee = 4,
402
+ NewConstitution = 5,
403
+ InfoAction = 6,
404
+ }
438
405
  /**
439
- * Same as RandomImprove, but before adding ADA, will insert by random-improve for each asset type.
440
406
  */
441
- RandomImproveMultiAsset = 3,
407
+ export enum AddressKind {
408
+ Base = 0,
409
+ Ptr = 1,
410
+ Enterprise = 2,
411
+ Reward = 3,
412
+ Byron = 4,
442
413
  }
443
414
  /**
444
415
  */
@@ -452,12 +423,26 @@ export enum NativeScriptKind {
452
423
  }
453
424
  /**
454
425
  */
455
- export enum VoterKind {
456
- ConstitutionalCommitteeHotKeyHash = 0,
457
- ConstitutionalCommitteeHotScriptHash = 1,
458
- DRepKeyHash = 2,
459
- DRepScriptHash = 3,
460
- StakingPoolKeyHash = 4,
426
+ export enum RedeemerTag {
427
+ Spend = 0,
428
+ Mint = 1,
429
+ Cert = 2,
430
+ Reward = 3,
431
+ Voting = 4,
432
+ Proposing = 5,
433
+ }
434
+ /**
435
+ */
436
+ export enum ChangeSelectionAlgo {
437
+ Default = 0,
438
+ }
439
+ /**
440
+ */
441
+ export enum DRepKind {
442
+ Key = 0,
443
+ Script = 1,
444
+ AlwaysAbstain = 2,
445
+ AlwaysNoConfidence = 3,
461
446
  }
462
447
  /**
463
448
  */
@@ -468,35 +453,50 @@ export enum AuxiliaryDataKind {
468
453
  }
469
454
  /**
470
455
  */
471
- export enum DelegationDistributionKind {
472
- Weighted = 0,
473
- Legacy = 1,
456
+ export enum DatumOptionKind {
457
+ Hash = 0,
458
+ Datum = 1,
474
459
  }
475
460
  /**
476
461
  */
477
- export enum GovActionKind {
478
- ParameterChangeAction = 0,
479
- HardForkInitiationAction = 1,
480
- TreasuryWithdrawalsAction = 2,
481
- NoConfidence = 3,
482
- UpdateCommittee = 4,
483
- NewConstitution = 5,
484
- InfoAction = 6,
462
+ export enum VoterKind {
463
+ ConstitutionalCommitteeHotKeyHash = 0,
464
+ ConstitutionalCommitteeHotScriptHash = 1,
465
+ DRepKeyHash = 2,
466
+ DRepScriptHash = 3,
467
+ StakingPoolKeyHash = 4,
485
468
  }
486
469
  /**
487
- * Which version of the CIP25 spec to use. See CIP25 for details.
488
- * This will change how things are encoded but for the most part contains
489
- * the same information.
490
470
  */
491
- export enum CIP25Version {
471
+ export enum TransactionOutputKind {
472
+ AlonzoFormatTxOut = 0,
473
+ ConwayFormatTxOut = 1,
474
+ }
492
475
  /**
493
- * Initial version of CIP25 with only string (utf8) asset names allowed.
494
476
  */
495
- V1 = 0,
477
+ export enum RelayKind {
478
+ SingleHostAddr = 0,
479
+ SingleHostName = 1,
480
+ MultiHostName = 2,
481
+ }
496
482
  /**
497
- * Second version of CIP25. Supports any type of asset names.
498
483
  */
499
- V2 = 1,
484
+ export enum ChunkableStringKind {
485
+ Single = 0,
486
+ Chunked = 1,
487
+ }
488
+ /**
489
+ */
490
+ export enum RedeemersKind {
491
+ ArrLegacyRedeemer = 0,
492
+ MapRedeemerKeyToRedeemerVal = 1,
493
+ }
494
+ /**
495
+ */
496
+ export enum Vote {
497
+ No = 0,
498
+ Yes = 1,
499
+ Abstain = 2,
500
500
  }
501
501
  /**
502
502
  */
@@ -767,73 +767,76 @@ function getArrayU64FromWasm0(ptr, len) {
767
767
  }
768
768
  /**
769
769
  */
770
- 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", });
771
- /**
772
- */
773
770
  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", });
774
771
  /**
775
772
  */
776
- module.exports.NonceKind = Object.freeze({ Identity:0,"0":"Identity",Hash:1,"1":"Hash", });
777
- /**
778
- */
779
- module.exports.Vote = Object.freeze({ No:0,"0":"No",Yes:1,"1":"Yes",Abstain:2,"2":"Abstain", });
773
+ module.exports.ByronAddrType = Object.freeze({ PublicKey:0,"0":"PublicKey",Script:1,"1":"Script",Redeem:2,"2":"Redeem", });
780
774
  /**
781
775
  */
782
776
  module.exports.Language = Object.freeze({ PlutusV1:0,"0":"PlutusV1",PlutusV2:1,"1":"PlutusV2",PlutusV3:2,"2":"PlutusV3", });
783
777
  /**
784
778
  */
785
- module.exports.DatumOptionKind = Object.freeze({ Hash:0,"0":"Hash",Datum:1,"1":"Datum", });
779
+ 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", });
786
780
  /**
787
781
  */
788
- module.exports.ChangeSelectionAlgo = Object.freeze({ Default:0,"0":"Default", });
782
+ module.exports.ScriptKind = Object.freeze({ Native:0,"0":"Native",PlutusV1:1,"1":"PlutusV1",PlutusV2:2,"2":"PlutusV2",PlutusV3:3,"3":"PlutusV3", });
789
783
  /**
784
+ * Careful: this enum doesn't include the network ID part of the header
785
+ * ex: base address isn't 0b0000_0000 but instead 0b0000
786
+ * Use `header_matches_kind` if you don't want to implement the bitwise operators yourself
790
787
  */
791
- 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", });
788
+ 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", });
792
789
  /**
793
790
  */
794
- module.exports.DRepKind = Object.freeze({ Key:0,"0":"Key",Script:1,"1":"Script",AlwaysAbstain:2,"2":"AlwaysAbstain",AlwaysNoConfidence:3,"3":"AlwaysNoConfidence", });
791
+ module.exports.DelegationDistributionKind = Object.freeze({ Weighted:0,"0":"Weighted",Legacy:1,"1":"Legacy", });
795
792
  /**
796
793
  */
797
- module.exports.RelayKind = Object.freeze({ SingleHostAddr:0,"0":"SingleHostAddr",SingleHostName:1,"1":"SingleHostName",MultiHostName:2,"2":"MultiHostName", });
794
+ 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", });
798
795
  /**
799
796
  */
800
- 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", });
797
+ module.exports.CoinSelectionStrategyCIP2 = Object.freeze({
801
798
  /**
802
- * Careful: this enum doesn't include the network ID part of the header
803
- * ex: base address isn't 0b0000_0000 but instead 0b0000
804
- * Use `header_matches_kind` if you don't want to implement the bitwise operators yourself
799
+ * Performs CIP2's Largest First ada-only selection. Will error if outputs contain non-ADA assets.
805
800
  */
806
- 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", });
801
+ LargestFirst:0,"0":"LargestFirst",
807
802
  /**
803
+ * Performs CIP2's Random Improve ada-only selection. Will error if outputs contain non-ADA assets.
808
804
  */
809
- module.exports.RedeemersKind = Object.freeze({ ArrLegacyRedeemer:0,"0":"ArrLegacyRedeemer",MapRedeemerKeyToRedeemerVal:1,"1":"MapRedeemerKeyToRedeemerVal", });
805
+ RandomImprove:1,"1":"RandomImprove",
810
806
  /**
807
+ * Same as LargestFirst, but before adding ADA, will insert by largest-first for each asset type.
811
808
  */
812
- module.exports.StakeDistributionKind = Object.freeze({ SingleKey:0,"0":"SingleKey",BootstrapEra:1,"1":"BootstrapEra", });
809
+ LargestFirstMultiAsset:2,"2":"LargestFirstMultiAsset",
813
810
  /**
811
+ * Same as RandomImprove, but before adding ADA, will insert by random-improve for each asset type.
814
812
  */
815
- 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", });
813
+ RandomImproveMultiAsset:3,"3":"RandomImproveMultiAsset", });
816
814
  /**
817
815
  */
818
- module.exports.SpendingDataKind = Object.freeze({ SpendingDataPubKey:0,"0":"SpendingDataPubKey",SpendingDataScript:1,"1":"SpendingDataScript",SpendingDataRedeem:2,"2":"SpendingDataRedeem", });
816
+ module.exports.CredentialKind = Object.freeze({ PubKey:0,"0":"PubKey",Script:1,"1":"Script", });
819
817
  /**
820
818
  */
821
- module.exports.ScriptKind = Object.freeze({ Native:0,"0":"Native",PlutusV1:1,"1":"PlutusV1",PlutusV2:2,"2":"PlutusV2",PlutusV3:3,"3":"PlutusV3", });
819
+ module.exports.MetadataJsonSchema = Object.freeze({ NoConversions:0,"0":"NoConversions",BasicConversions:1,"1":"BasicConversions",DetailedSchema:2,"2":"DetailedSchema", });
822
820
  /**
821
+ * Which version of the CIP25 spec to use. See CIP25 for details.
822
+ * This will change how things are encoded but for the most part contains
823
+ * the same information.
823
824
  */
824
- module.exports.ChunkableStringKind = Object.freeze({ Single:0,"0":"Single",Chunked:1,"1":"Chunked", });
825
+ module.exports.CIP25Version = Object.freeze({
825
826
  /**
827
+ * Initial version of CIP25 with only string (utf8) asset names allowed.
826
828
  */
827
- module.exports.TransactionOutputKind = Object.freeze({ AlonzoFormatTxOut:0,"0":"AlonzoFormatTxOut",ConwayFormatTxOut:1,"1":"ConwayFormatTxOut", });
829
+ V1:0,"0":"V1",
828
830
  /**
831
+ * Second version of CIP25. Supports any type of asset names.
829
832
  */
830
- module.exports.ByronAddrType = Object.freeze({ PublicKey:0,"0":"PublicKey",Script:1,"1":"Script",Redeem:2,"2":"Redeem", });
833
+ V2:1,"1":"V2", });
831
834
  /**
832
835
  */
833
- module.exports.MetadataJsonSchema = Object.freeze({ NoConversions:0,"0":"NoConversions",BasicConversions:1,"1":"BasicConversions",DetailedSchema:2,"2":"DetailedSchema", });
836
+ module.exports.NonceKind = Object.freeze({ Identity:0,"0":"Identity",Hash:1,"1":"Hash", });
834
837
  /**
835
838
  */
836
- module.exports.CredentialKind = Object.freeze({ PubKey:0,"0":"PubKey",Script:1,"1":"Script", });
839
+ module.exports.SpendingDataKind = Object.freeze({ SpendingDataPubKey:0,"0":"SpendingDataPubKey",SpendingDataScript:1,"1":"SpendingDataScript",SpendingDataRedeem:2,"2":"SpendingDataRedeem", });
837
840
  /**
838
841
  * JSON <-> PlutusData conversion schemas.
839
842
  * Follows ScriptDataJsonSchema in cardano-cli defined at:
@@ -887,52 +890,49 @@ BasicConversions:0,"0":"BasicConversions",
887
890
  DetailedSchema:1,"1":"DetailedSchema", });
888
891
  /**
889
892
  */
890
- module.exports.CoinSelectionStrategyCIP2 = Object.freeze({
893
+ module.exports.StakeDistributionKind = Object.freeze({ SingleKey:0,"0":"SingleKey",BootstrapEra:1,"1":"BootstrapEra", });
891
894
  /**
892
- * Performs CIP2's Largest First ada-only selection. Will error if outputs contain non-ADA assets.
893
895
  */
894
- LargestFirst:0,"0":"LargestFirst",
896
+ 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", });
895
897
  /**
896
- * Performs CIP2's Random Improve ada-only selection. Will error if outputs contain non-ADA assets.
897
898
  */
898
- RandomImprove:1,"1":"RandomImprove",
899
+ 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", });
899
900
  /**
900
- * Same as LargestFirst, but before adding ADA, will insert by largest-first for each asset type.
901
901
  */
902
- LargestFirstMultiAsset:2,"2":"LargestFirstMultiAsset",
902
+ 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", });
903
903
  /**
904
- * Same as RandomImprove, but before adding ADA, will insert by random-improve for each asset type.
905
904
  */
906
- RandomImproveMultiAsset:3,"3":"RandomImproveMultiAsset", });
905
+ 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", });
907
906
  /**
908
907
  */
909
- 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", });
908
+ module.exports.ChangeSelectionAlgo = Object.freeze({ Default:0,"0":"Default", });
910
909
  /**
911
910
  */
912
- 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", });
911
+ module.exports.DRepKind = Object.freeze({ Key:0,"0":"Key",Script:1,"1":"Script",AlwaysAbstain:2,"2":"AlwaysAbstain",AlwaysNoConfidence:3,"3":"AlwaysNoConfidence", });
913
912
  /**
914
913
  */
915
914
  module.exports.AuxiliaryDataKind = Object.freeze({ Shelley:0,"0":"Shelley",ShelleyMA:1,"1":"ShelleyMA",Conway:2,"2":"Conway", });
916
915
  /**
917
916
  */
918
- module.exports.DelegationDistributionKind = Object.freeze({ Weighted:0,"0":"Weighted",Legacy:1,"1":"Legacy", });
917
+ module.exports.DatumOptionKind = Object.freeze({ Hash:0,"0":"Hash",Datum:1,"1":"Datum", });
919
918
  /**
920
919
  */
921
- 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", });
920
+ 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", });
922
921
  /**
923
- * Which version of the CIP25 spec to use. See CIP25 for details.
924
- * This will change how things are encoded but for the most part contains
925
- * the same information.
926
922
  */
927
- module.exports.CIP25Version = Object.freeze({
923
+ module.exports.TransactionOutputKind = Object.freeze({ AlonzoFormatTxOut:0,"0":"AlonzoFormatTxOut",ConwayFormatTxOut:1,"1":"ConwayFormatTxOut", });
928
924
  /**
929
- * Initial version of CIP25 with only string (utf8) asset names allowed.
930
925
  */
931
- V1:0,"0":"V1",
926
+ module.exports.RelayKind = Object.freeze({ SingleHostAddr:0,"0":"SingleHostAddr",SingleHostName:1,"1":"SingleHostName",MultiHostName:2,"2":"MultiHostName", });
932
927
  /**
933
- * Second version of CIP25. Supports any type of asset names.
934
928
  */
935
- V2:1,"1":"V2", });
929
+ module.exports.ChunkableStringKind = Object.freeze({ Single:0,"0":"Single",Chunked:1,"1":"Chunked", });
930
+ /**
931
+ */
932
+ module.exports.RedeemersKind = Object.freeze({ ArrLegacyRedeemer:0,"0":"ArrLegacyRedeemer",MapRedeemerKeyToRedeemerVal:1,"1":"MapRedeemerKeyToRedeemerVal", });
933
+ /**
934
+ */
935
+ module.exports.Vote = Object.freeze({ No:0,"0":"No",Yes:1,"1":"Yes",Abstain:2,"2":"Abstain", });
936
936
 
937
937
  const AddrAttributesFinalization = (typeof FinalizationRegistry === 'undefined')
938
938
  ? { 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": "6.0.0-4",
4
+ "version": "6.0.0-7",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",