@anastasia-labs/cardano-multiplatform-lib-nodejs 6.0.0-8 → 6.0.0-9

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,108 +189,97 @@ 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 ChangeSelectionAlgo {
193
- Default = 0,
192
+ export enum SpendingDataKind {
193
+ SpendingDataPubKey = 0,
194
+ SpendingDataScript = 1,
195
+ SpendingDataRedeem = 2,
194
196
  }
195
197
  /**
196
198
  */
197
- export enum NonceKind {
198
- Identity = 0,
199
- Hash = 1,
199
+ export enum MetadataJsonSchema {
200
+ NoConversions = 0,
201
+ BasicConversions = 1,
202
+ DetailedSchema = 2,
200
203
  }
201
204
  /**
205
+ * Which version of the CIP25 spec to use. See CIP25 for details.
206
+ * This will change how things are encoded but for the most part contains
207
+ * the same information.
202
208
  */
203
- export enum TransactionMetadatumKind {
204
- Map = 0,
205
- List = 1,
206
- Int = 2,
207
- Bytes = 3,
208
- Text = 4,
209
+ export enum CIP25Version {
210
+ /**
211
+ * Initial version of CIP25 with only string (utf8) asset names allowed.
212
+ */
213
+ V1 = 0,
214
+ /**
215
+ * Second version of CIP25. Supports any type of asset names.
216
+ */
217
+ V2 = 1,
209
218
  }
210
219
  /**
211
220
  */
212
- export enum StakeDistributionKind {
213
- SingleKey = 0,
214
- BootstrapEra = 1,
221
+ export enum RelayKind {
222
+ SingleHostAddr = 0,
223
+ SingleHostName = 1,
224
+ MultiHostName = 2,
215
225
  }
216
226
  /**
217
227
  */
218
- export enum ByronAddrType {
219
- PublicKey = 0,
220
- Script = 1,
221
- Redeem = 2,
228
+ export enum PlutusDataKind {
229
+ ConstrPlutusData = 0,
230
+ Map = 1,
231
+ List = 2,
232
+ Integer = 3,
233
+ Bytes = 4,
222
234
  }
223
235
  /**
224
236
  */
225
- export enum AddressKind {
226
- Base = 0,
227
- Ptr = 1,
228
- Enterprise = 2,
229
- Reward = 3,
230
- Byron = 4,
237
+ export enum ChunkableStringKind {
238
+ Single = 0,
239
+ Chunked = 1,
231
240
  }
232
241
  /**
233
242
  */
234
- export enum ScriptKind {
235
- Native = 0,
236
- PlutusV1 = 1,
237
- PlutusV2 = 2,
238
- PlutusV3 = 3,
243
+ export enum VoterKind {
244
+ ConstitutionalCommitteeHotKeyHash = 0,
245
+ ConstitutionalCommitteeHotScriptHash = 1,
246
+ DRepKeyHash = 2,
247
+ DRepScriptHash = 3,
248
+ StakingPoolKeyHash = 4,
239
249
  }
240
250
  /**
241
251
  */
242
- export enum DRepKind {
243
- Key = 0,
244
- Script = 1,
245
- AlwaysAbstain = 2,
246
- AlwaysNoConfidence = 3,
252
+ export enum TransactionMetadatumKind {
253
+ Map = 0,
254
+ List = 1,
255
+ Int = 2,
256
+ Bytes = 3,
257
+ Text = 4,
247
258
  }
248
259
  /**
249
260
  */
250
- export enum Vote {
251
- No = 0,
252
- Yes = 1,
253
- Abstain = 2,
261
+ export enum ByronAddrType {
262
+ PublicKey = 0,
263
+ Script = 1,
264
+ Redeem = 2,
254
265
  }
255
266
  /**
256
267
  */
257
- export enum RedeemerTag {
258
- Spend = 0,
259
- Mint = 1,
260
- Cert = 2,
261
- Reward = 3,
262
- Voting = 4,
263
- Proposing = 5,
268
+ export enum StakeDistributionKind {
269
+ SingleKey = 0,
270
+ BootstrapEra = 1,
264
271
  }
265
272
  /**
266
273
  */
267
- export enum CertificateKind {
268
- StakeRegistration = 0,
269
- StakeDeregistration = 1,
270
- StakeDelegation = 2,
271
- PoolRegistration = 3,
272
- PoolRetirement = 4,
273
- RegCert = 5,
274
- UnregCert = 6,
275
- VoteDelegCert = 7,
276
- StakeVoteDelegCert = 8,
277
- StakeRegDelegCert = 9,
278
- VoteRegDelegCert = 10,
279
- StakeVoteRegDelegCert = 11,
280
- AuthCommitteeHotCert = 12,
281
- ResignCommitteeColdCert = 13,
282
- RegDrepCert = 14,
283
- UnregDrepCert = 15,
284
- UpdateDrepCert = 16,
274
+ export enum AuxiliaryDataKind {
275
+ Shelley = 0,
276
+ ShelleyMA = 1,
277
+ Conway = 2,
285
278
  }
286
279
  /**
287
280
  */
288
- export enum VoterKind {
289
- ConstitutionalCommitteeHotKeyHash = 0,
290
- ConstitutionalCommitteeHotScriptHash = 1,
291
- DRepKeyHash = 2,
292
- DRepScriptHash = 3,
293
- StakingPoolKeyHash = 4,
281
+ export enum ChangeSelectionAlgo {
282
+ Default = 0,
294
283
  }
295
284
  /**
296
285
  * JSON <-> PlutusData conversion schemas.
@@ -346,31 +335,53 @@ export enum CardanoNodePlutusDatumSchema {
346
335
  }
347
336
  /**
348
337
  */
349
- export enum AuxiliaryDataKind {
350
- Shelley = 0,
351
- ShelleyMA = 1,
352
- Conway = 2,
338
+ export enum AddressKind {
339
+ Base = 0,
340
+ Ptr = 1,
341
+ Enterprise = 2,
342
+ Reward = 3,
343
+ Byron = 4,
353
344
  }
354
345
  /**
355
346
  */
356
- export enum TransactionOutputKind {
357
- AlonzoFormatTxOut = 0,
358
- ConwayFormatTxOut = 1,
347
+ export enum RedeemerTag {
348
+ Spend = 0,
349
+ Mint = 1,
350
+ Cert = 2,
351
+ Reward = 3,
352
+ Voting = 4,
353
+ Proposing = 5,
359
354
  }
360
355
  /**
361
356
  */
362
- export enum PlutusDataKind {
363
- ConstrPlutusData = 0,
364
- Map = 1,
365
- List = 2,
366
- Integer = 3,
367
- Bytes = 4,
357
+ export enum CredentialKind {
358
+ PubKey = 0,
359
+ Script = 1,
368
360
  }
369
361
  /**
370
362
  */
371
- export enum RedeemersKind {
372
- ArrLegacyRedeemer = 0,
373
- MapRedeemerKeyToRedeemerVal = 1,
363
+ export enum NonceKind {
364
+ Identity = 0,
365
+ Hash = 1,
366
+ }
367
+ /**
368
+ */
369
+ export enum DRepKind {
370
+ Key = 0,
371
+ Script = 1,
372
+ AlwaysAbstain = 2,
373
+ AlwaysNoConfidence = 3,
374
+ }
375
+ /**
376
+ */
377
+ export enum GovActionKind {
378
+ ParameterChangeAction = 0,
379
+ HardForkInitiationAction = 1,
380
+ TreasuryWithdrawalsAction = 2,
381
+ NoConfidence = 3,
382
+ UpdateCommittee = 4,
383
+ NewConstitution = 5,
384
+ InfoAction = 6,
374
385
  }
375
386
  /**
376
387
  * Careful: this enum doesn't include the network ID part of the header
@@ -392,30 +403,61 @@ export enum AddressHeaderKind {
392
403
  }
393
404
  /**
394
405
  */
395
- export enum MetadataJsonSchema {
396
- NoConversions = 0,
397
- BasicConversions = 1,
398
- DetailedSchema = 2,
406
+ export enum ScriptKind {
407
+ Native = 0,
408
+ PlutusV1 = 1,
409
+ PlutusV2 = 2,
410
+ PlutusV3 = 3,
399
411
  }
400
412
  /**
401
413
  */
402
- export enum CoinSelectionStrategyCIP2 {
414
+ export enum CertificateKind {
415
+ StakeRegistration = 0,
416
+ StakeDeregistration = 1,
417
+ StakeDelegation = 2,
418
+ PoolRegistration = 3,
419
+ PoolRetirement = 4,
420
+ RegCert = 5,
421
+ UnregCert = 6,
422
+ VoteDelegCert = 7,
423
+ StakeVoteDelegCert = 8,
424
+ StakeRegDelegCert = 9,
425
+ VoteRegDelegCert = 10,
426
+ StakeVoteRegDelegCert = 11,
427
+ AuthCommitteeHotCert = 12,
428
+ ResignCommitteeColdCert = 13,
429
+ RegDrepCert = 14,
430
+ UnregDrepCert = 15,
431
+ UpdateDrepCert = 16,
432
+ }
403
433
  /**
404
- * Performs CIP2's Largest First ada-only selection. Will error if outputs contain non-ADA assets.
405
434
  */
406
- LargestFirst = 0,
435
+ export enum NativeScriptKind {
436
+ ScriptPubkey = 0,
437
+ ScriptAll = 1,
438
+ ScriptAny = 2,
439
+ ScriptNOfK = 3,
440
+ ScriptInvalidBefore = 4,
441
+ ScriptInvalidHereafter = 5,
442
+ }
407
443
  /**
408
- * Performs CIP2's Random Improve ada-only selection. Will error if outputs contain non-ADA assets.
409
444
  */
410
- RandomImprove = 1,
445
+ export enum DelegationDistributionKind {
446
+ Weighted = 0,
447
+ Legacy = 1,
448
+ }
411
449
  /**
412
- * Same as LargestFirst, but before adding ADA, will insert by largest-first for each asset type.
413
450
  */
414
- LargestFirstMultiAsset = 2,
451
+ export enum TransactionOutputKind {
452
+ AlonzoFormatTxOut = 0,
453
+ ConwayFormatTxOut = 1,
454
+ }
415
455
  /**
416
- * Same as RandomImprove, but before adding ADA, will insert by random-improve for each asset type.
417
456
  */
418
- RandomImproveMultiAsset = 3,
457
+ export enum Vote {
458
+ No = 0,
459
+ Yes = 1,
460
+ Abstain = 2,
419
461
  }
420
462
  /**
421
463
  */
@@ -424,79 +466,37 @@ export enum DatumOptionKind {
424
466
  Datum = 1,
425
467
  }
426
468
  /**
427
- * Which version of the CIP25 spec to use. See CIP25 for details.
428
- * This will change how things are encoded but for the most part contains
429
- * the same information.
430
- */
431
- export enum CIP25Version {
432
- /**
433
- * Initial version of CIP25 with only string (utf8) asset names allowed.
434
- */
435
- V1 = 0,
436
- /**
437
- * Second version of CIP25. Supports any type of asset names.
438
- */
439
- V2 = 1,
440
- }
441
- /**
442
469
  */
443
- export enum Language {
444
- PlutusV1 = 0,
445
- PlutusV2 = 1,
446
- PlutusV3 = 2,
447
- }
448
- /**
449
- */
450
- export enum DelegationDistributionKind {
451
- Weighted = 0,
452
- Legacy = 1,
470
+ export enum RedeemersKind {
471
+ ArrLegacyRedeemer = 0,
472
+ MapRedeemerKeyToRedeemerVal = 1,
453
473
  }
454
474
  /**
455
475
  */
456
- export enum NativeScriptKind {
457
- ScriptPubkey = 0,
458
- ScriptAll = 1,
459
- ScriptAny = 2,
460
- ScriptNOfK = 3,
461
- ScriptInvalidBefore = 4,
462
- ScriptInvalidHereafter = 5,
463
- }
476
+ export enum CoinSelectionStrategyCIP2 {
464
477
  /**
478
+ * Performs CIP2's Largest First ada-only selection. Will error if outputs contain non-ADA assets.
465
479
  */
466
- export enum GovActionKind {
467
- ParameterChangeAction = 0,
468
- HardForkInitiationAction = 1,
469
- TreasuryWithdrawalsAction = 2,
470
- NoConfidence = 3,
471
- UpdateCommittee = 4,
472
- NewConstitution = 5,
473
- InfoAction = 6,
474
- }
480
+ LargestFirst = 0,
475
481
  /**
482
+ * Performs CIP2's Random Improve ada-only selection. Will error if outputs contain non-ADA assets.
476
483
  */
477
- export enum RelayKind {
478
- SingleHostAddr = 0,
479
- SingleHostName = 1,
480
- MultiHostName = 2,
481
- }
484
+ RandomImprove = 1,
482
485
  /**
486
+ * Same as LargestFirst, but before adding ADA, will insert by largest-first for each asset type.
483
487
  */
484
- export enum SpendingDataKind {
485
- SpendingDataPubKey = 0,
486
- SpendingDataScript = 1,
487
- SpendingDataRedeem = 2,
488
- }
488
+ LargestFirstMultiAsset = 2,
489
489
  /**
490
+ * Same as RandomImprove, but before adding ADA, will insert by random-improve for each asset type.
490
491
  */
491
- export enum ChunkableStringKind {
492
- Single = 0,
493
- Chunked = 1,
492
+ RandomImproveMultiAsset = 3,
494
493
  }
495
494
  /**
496
495
  */
497
- export enum CredentialKind {
498
- PubKey = 0,
499
- Script = 1,
496
+ export enum Language {
497
+ PlutusV1 = 0,
498
+ PlutusV2 = 1,
499
+ PlutusV3 = 2,
500
500
  }
501
501
  /**
502
502
  */
@@ -767,40 +767,51 @@ function getArrayU64FromWasm0(ptr, len) {
767
767
  }
768
768
  /**
769
769
  */
770
- module.exports.ChangeSelectionAlgo = Object.freeze({ Default:0,"0":"Default", });
770
+ module.exports.SpendingDataKind = Object.freeze({ SpendingDataPubKey:0,"0":"SpendingDataPubKey",SpendingDataScript:1,"1":"SpendingDataScript",SpendingDataRedeem:2,"2":"SpendingDataRedeem", });
771
771
  /**
772
772
  */
773
- module.exports.NonceKind = Object.freeze({ Identity:0,"0":"Identity",Hash:1,"1":"Hash", });
773
+ module.exports.MetadataJsonSchema = Object.freeze({ NoConversions:0,"0":"NoConversions",BasicConversions:1,"1":"BasicConversions",DetailedSchema:2,"2":"DetailedSchema", });
774
774
  /**
775
+ * Which version of the CIP25 spec to use. See CIP25 for details.
776
+ * This will change how things are encoded but for the most part contains
777
+ * the same information.
775
778
  */
776
- 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", });
779
+ module.exports.CIP25Version = Object.freeze({
777
780
  /**
781
+ * Initial version of CIP25 with only string (utf8) asset names allowed.
778
782
  */
779
- module.exports.StakeDistributionKind = Object.freeze({ SingleKey:0,"0":"SingleKey",BootstrapEra:1,"1":"BootstrapEra", });
783
+ V1:0,"0":"V1",
780
784
  /**
785
+ * Second version of CIP25. Supports any type of asset names.
781
786
  */
782
- module.exports.ByronAddrType = Object.freeze({ PublicKey:0,"0":"PublicKey",Script:1,"1":"Script",Redeem:2,"2":"Redeem", });
787
+ V2:1,"1":"V2", });
783
788
  /**
784
789
  */
785
- 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", });
790
+ module.exports.RelayKind = Object.freeze({ SingleHostAddr:0,"0":"SingleHostAddr",SingleHostName:1,"1":"SingleHostName",MultiHostName:2,"2":"MultiHostName", });
786
791
  /**
787
792
  */
788
- module.exports.ScriptKind = Object.freeze({ Native:0,"0":"Native",PlutusV1:1,"1":"PlutusV1",PlutusV2:2,"2":"PlutusV2",PlutusV3:3,"3":"PlutusV3", });
793
+ 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", });
789
794
  /**
790
795
  */
791
- module.exports.DRepKind = Object.freeze({ Key:0,"0":"Key",Script:1,"1":"Script",AlwaysAbstain:2,"2":"AlwaysAbstain",AlwaysNoConfidence:3,"3":"AlwaysNoConfidence", });
796
+ module.exports.ChunkableStringKind = Object.freeze({ Single:0,"0":"Single",Chunked:1,"1":"Chunked", });
792
797
  /**
793
798
  */
794
- module.exports.Vote = Object.freeze({ No:0,"0":"No",Yes:1,"1":"Yes",Abstain:2,"2":"Abstain", });
799
+ 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", });
795
800
  /**
796
801
  */
797
- 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", });
802
+ 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", });
798
803
  /**
799
804
  */
800
- 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", });
805
+ module.exports.ByronAddrType = Object.freeze({ PublicKey:0,"0":"PublicKey",Script:1,"1":"Script",Redeem:2,"2":"Redeem", });
801
806
  /**
802
807
  */
803
- 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", });
808
+ module.exports.StakeDistributionKind = Object.freeze({ SingleKey:0,"0":"SingleKey",BootstrapEra:1,"1":"BootstrapEra", });
809
+ /**
810
+ */
811
+ module.exports.AuxiliaryDataKind = Object.freeze({ Shelley:0,"0":"Shelley",ShelleyMA:1,"1":"ShelleyMA",Conway:2,"2":"Conway", });
812
+ /**
813
+ */
814
+ module.exports.ChangeSelectionAlgo = Object.freeze({ Default:0,"0":"Default", });
804
815
  /**
805
816
  * JSON <-> PlutusData conversion schemas.
806
817
  * Follows ScriptDataJsonSchema in cardano-cli defined at:
@@ -854,16 +865,22 @@ BasicConversions:0,"0":"BasicConversions",
854
865
  DetailedSchema:1,"1":"DetailedSchema", });
855
866
  /**
856
867
  */
857
- module.exports.AuxiliaryDataKind = Object.freeze({ Shelley:0,"0":"Shelley",ShelleyMA:1,"1":"ShelleyMA",Conway:2,"2":"Conway", });
868
+ 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", });
858
869
  /**
859
870
  */
860
- module.exports.TransactionOutputKind = Object.freeze({ AlonzoFormatTxOut:0,"0":"AlonzoFormatTxOut",ConwayFormatTxOut:1,"1":"ConwayFormatTxOut", });
871
+ 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", });
861
872
  /**
862
873
  */
863
- 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", });
874
+ module.exports.CredentialKind = Object.freeze({ PubKey:0,"0":"PubKey",Script:1,"1":"Script", });
864
875
  /**
865
876
  */
866
- module.exports.RedeemersKind = Object.freeze({ ArrLegacyRedeemer:0,"0":"ArrLegacyRedeemer",MapRedeemerKeyToRedeemerVal:1,"1":"MapRedeemerKeyToRedeemerVal", });
877
+ module.exports.NonceKind = Object.freeze({ Identity:0,"0":"Identity",Hash:1,"1":"Hash", });
878
+ /**
879
+ */
880
+ module.exports.DRepKind = Object.freeze({ Key:0,"0":"Key",Script:1,"1":"Script",AlwaysAbstain:2,"2":"AlwaysAbstain",AlwaysNoConfidence:3,"3":"AlwaysNoConfidence", });
881
+ /**
882
+ */
883
+ 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", });
867
884
  /**
868
885
  * Careful: this enum doesn't include the network ID part of the header
869
886
  * ex: base address isn't 0b0000_0000 but instead 0b0000
@@ -872,67 +889,50 @@ module.exports.RedeemersKind = Object.freeze({ ArrLegacyRedeemer:0,"0":"ArrLegac
872
889
  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", });
873
890
  /**
874
891
  */
875
- module.exports.MetadataJsonSchema = Object.freeze({ NoConversions:0,"0":"NoConversions",BasicConversions:1,"1":"BasicConversions",DetailedSchema:2,"2":"DetailedSchema", });
892
+ module.exports.ScriptKind = Object.freeze({ Native:0,"0":"Native",PlutusV1:1,"1":"PlutusV1",PlutusV2:2,"2":"PlutusV2",PlutusV3:3,"3":"PlutusV3", });
876
893
  /**
877
894
  */
878
- module.exports.CoinSelectionStrategyCIP2 = Object.freeze({
895
+ 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", });
879
896
  /**
880
- * Performs CIP2's Largest First ada-only selection. Will error if outputs contain non-ADA assets.
881
897
  */
882
- LargestFirst:0,"0":"LargestFirst",
898
+ 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", });
883
899
  /**
884
- * Performs CIP2's Random Improve ada-only selection. Will error if outputs contain non-ADA assets.
885
900
  */
886
- RandomImprove:1,"1":"RandomImprove",
901
+ module.exports.DelegationDistributionKind = Object.freeze({ Weighted:0,"0":"Weighted",Legacy:1,"1":"Legacy", });
887
902
  /**
888
- * Same as LargestFirst, but before adding ADA, will insert by largest-first for each asset type.
889
903
  */
890
- LargestFirstMultiAsset:2,"2":"LargestFirstMultiAsset",
904
+ module.exports.TransactionOutputKind = Object.freeze({ AlonzoFormatTxOut:0,"0":"AlonzoFormatTxOut",ConwayFormatTxOut:1,"1":"ConwayFormatTxOut", });
891
905
  /**
892
- * Same as RandomImprove, but before adding ADA, will insert by random-improve for each asset type.
893
906
  */
894
- RandomImproveMultiAsset:3,"3":"RandomImproveMultiAsset", });
907
+ module.exports.Vote = Object.freeze({ No:0,"0":"No",Yes:1,"1":"Yes",Abstain:2,"2":"Abstain", });
895
908
  /**
896
909
  */
897
910
  module.exports.DatumOptionKind = Object.freeze({ Hash:0,"0":"Hash",Datum:1,"1":"Datum", });
898
911
  /**
899
- * Which version of the CIP25 spec to use. See CIP25 for details.
900
- * This will change how things are encoded but for the most part contains
901
- * the same information.
902
- */
903
- module.exports.CIP25Version = Object.freeze({
904
- /**
905
- * Initial version of CIP25 with only string (utf8) asset names allowed.
906
- */
907
- V1:0,"0":"V1",
908
- /**
909
- * Second version of CIP25. Supports any type of asset names.
910
- */
911
- V2:1,"1":"V2", });
912
- /**
913
- */
914
- module.exports.Language = Object.freeze({ PlutusV1:0,"0":"PlutusV1",PlutusV2:1,"1":"PlutusV2",PlutusV3:2,"2":"PlutusV3", });
915
- /**
916
912
  */
917
- module.exports.DelegationDistributionKind = Object.freeze({ Weighted:0,"0":"Weighted",Legacy:1,"1":"Legacy", });
913
+ module.exports.RedeemersKind = Object.freeze({ ArrLegacyRedeemer:0,"0":"ArrLegacyRedeemer",MapRedeemerKeyToRedeemerVal:1,"1":"MapRedeemerKeyToRedeemerVal", });
918
914
  /**
919
915
  */
920
- 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", });
916
+ module.exports.CoinSelectionStrategyCIP2 = Object.freeze({
921
917
  /**
918
+ * Performs CIP2's Largest First ada-only selection. Will error if outputs contain non-ADA assets.
922
919
  */
923
- 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
+ LargestFirst:0,"0":"LargestFirst",
924
921
  /**
922
+ * Performs CIP2's Random Improve ada-only selection. Will error if outputs contain non-ADA assets.
925
923
  */
926
- module.exports.RelayKind = Object.freeze({ SingleHostAddr:0,"0":"SingleHostAddr",SingleHostName:1,"1":"SingleHostName",MultiHostName:2,"2":"MultiHostName", });
924
+ RandomImprove:1,"1":"RandomImprove",
927
925
  /**
926
+ * Same as LargestFirst, but before adding ADA, will insert by largest-first for each asset type.
928
927
  */
929
- module.exports.SpendingDataKind = Object.freeze({ SpendingDataPubKey:0,"0":"SpendingDataPubKey",SpendingDataScript:1,"1":"SpendingDataScript",SpendingDataRedeem:2,"2":"SpendingDataRedeem", });
928
+ LargestFirstMultiAsset:2,"2":"LargestFirstMultiAsset",
930
929
  /**
930
+ * Same as RandomImprove, but before adding ADA, will insert by random-improve for each asset type.
931
931
  */
932
- module.exports.ChunkableStringKind = Object.freeze({ Single:0,"0":"Single",Chunked:1,"1":"Chunked", });
932
+ RandomImproveMultiAsset:3,"3":"RandomImproveMultiAsset", });
933
933
  /**
934
934
  */
935
- module.exports.CredentialKind = Object.freeze({ PubKey:0,"0":"PubKey",Script:1,"1":"Script", });
935
+ module.exports.Language = Object.freeze({ PlutusV1:0,"0":"PlutusV1",PlutusV2:1,"1":"PlutusV2",PlutusV3:2,"2":"PlutusV3", });
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-8",
4
+ "version": "6.0.0-9",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",