@anastasia-labs/cardano-multiplatform-lib-nodejs 6.0.1 → 6.0.2-1

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,10 +189,51 @@ export function min_no_script_fee(tx: Transaction, linear_fee: LinearFee): bigin
189
189
  export function min_fee(tx: Transaction, linear_fee: LinearFee, ex_unit_prices: ExUnitPrices, total_ref_script_size: bigint): bigint;
190
190
  /**
191
191
  */
192
- export enum MetadataJsonSchema {
193
- NoConversions = 0,
194
- BasicConversions = 1,
195
- DetailedSchema = 2,
192
+ export enum DelegationDistributionKind {
193
+ Weighted = 0,
194
+ Legacy = 1,
195
+ }
196
+ /**
197
+ */
198
+ export enum AuxiliaryDataKind {
199
+ Shelley = 0,
200
+ ShelleyMA = 1,
201
+ Conway = 2,
202
+ }
203
+ /**
204
+ */
205
+ export enum ChunkableStringKind {
206
+ Single = 0,
207
+ Chunked = 1,
208
+ }
209
+ /**
210
+ */
211
+ export enum CertificateKind {
212
+ StakeRegistration = 0,
213
+ StakeDeregistration = 1,
214
+ StakeDelegation = 2,
215
+ PoolRegistration = 3,
216
+ PoolRetirement = 4,
217
+ RegCert = 5,
218
+ UnregCert = 6,
219
+ VoteDelegCert = 7,
220
+ StakeVoteDelegCert = 8,
221
+ StakeRegDelegCert = 9,
222
+ VoteRegDelegCert = 10,
223
+ StakeVoteRegDelegCert = 11,
224
+ AuthCommitteeHotCert = 12,
225
+ ResignCommitteeColdCert = 13,
226
+ RegDrepCert = 14,
227
+ UnregDrepCert = 15,
228
+ UpdateDrepCert = 16,
229
+ }
230
+ /**
231
+ */
232
+ export enum ScriptKind {
233
+ Native = 0,
234
+ PlutusV1 = 1,
235
+ PlutusV2 = 2,
236
+ PlutusV3 = 3,
196
237
  }
197
238
  /**
198
239
  */
@@ -204,12 +245,6 @@ export enum AddressKind {
204
245
  Byron = 4,
205
246
  }
206
247
  /**
207
- */
208
- export enum CredentialKind {
209
- PubKey = 0,
210
- Script = 1,
211
- }
212
- /**
213
248
  * Which version of the CIP25 spec to use. See CIP25 for details.
214
249
  * This will change how things are encoded but for the most part contains
215
250
  * the same information.
@@ -226,33 +261,22 @@ export enum CIP25Version {
226
261
  }
227
262
  /**
228
263
  */
229
- export enum VoterKind {
230
- ConstitutionalCommitteeHotKeyHash = 0,
231
- ConstitutionalCommitteeHotScriptHash = 1,
232
- DRepKeyHash = 2,
233
- DRepScriptHash = 3,
234
- StakingPoolKeyHash = 4,
235
- }
236
- /**
237
- */
238
- export enum ScriptKind {
239
- Native = 0,
240
- PlutusV1 = 1,
241
- PlutusV2 = 2,
242
- PlutusV3 = 3,
264
+ export enum DatumOptionKind {
265
+ Hash = 0,
266
+ Datum = 1,
243
267
  }
244
268
  /**
245
269
  */
246
- export enum Vote {
247
- No = 0,
248
- Yes = 1,
249
- Abstain = 2,
270
+ export enum TransactionOutputKind {
271
+ AlonzoFormatTxOut = 0,
272
+ ConwayFormatTxOut = 1,
250
273
  }
251
274
  /**
252
275
  */
253
- export enum NonceKind {
254
- Identity = 0,
255
- Hash = 1,
276
+ export enum MetadataJsonSchema {
277
+ NoConversions = 0,
278
+ BasicConversions = 1,
279
+ DetailedSchema = 2,
256
280
  }
257
281
  /**
258
282
  */
@@ -262,6 +286,84 @@ export enum RelayKind {
262
286
  MultiHostName = 2,
263
287
  }
264
288
  /**
289
+ */
290
+ export enum DRepKind {
291
+ Key = 0,
292
+ Script = 1,
293
+ AlwaysAbstain = 2,
294
+ AlwaysNoConfidence = 3,
295
+ }
296
+ /**
297
+ */
298
+ export enum StakeDistributionKind {
299
+ SingleKey = 0,
300
+ BootstrapEra = 1,
301
+ }
302
+ /**
303
+ */
304
+ export enum ChangeSelectionAlgo {
305
+ Default = 0,
306
+ }
307
+ /**
308
+ */
309
+ export enum CoinSelectionStrategyCIP2 {
310
+ /**
311
+ * Performs CIP2's Largest First ada-only selection. Will error if outputs contain non-ADA assets.
312
+ */
313
+ LargestFirst = 0,
314
+ /**
315
+ * Performs CIP2's Random Improve ada-only selection. Will error if outputs contain non-ADA assets.
316
+ */
317
+ RandomImprove = 1,
318
+ /**
319
+ * Same as LargestFirst, but before adding ADA, will insert by largest-first for each asset type.
320
+ */
321
+ LargestFirstMultiAsset = 2,
322
+ /**
323
+ * Same as RandomImprove, but before adding ADA, will insert by random-improve for each asset type.
324
+ */
325
+ RandomImproveMultiAsset = 3,
326
+ }
327
+ /**
328
+ */
329
+ export enum ByronAddrType {
330
+ PublicKey = 0,
331
+ Script = 1,
332
+ Redeem = 2,
333
+ }
334
+ /**
335
+ */
336
+ export enum RedeemerTag {
337
+ Spend = 0,
338
+ Mint = 1,
339
+ Cert = 2,
340
+ Reward = 3,
341
+ Voting = 4,
342
+ Proposing = 5,
343
+ }
344
+ /**
345
+ */
346
+ export enum VoterKind {
347
+ ConstitutionalCommitteeHotKeyHash = 0,
348
+ ConstitutionalCommitteeHotScriptHash = 1,
349
+ DRepKeyHash = 2,
350
+ DRepScriptHash = 3,
351
+ StakingPoolKeyHash = 4,
352
+ }
353
+ /**
354
+ */
355
+ export enum RedeemersKind {
356
+ ArrLegacyRedeemer = 0,
357
+ MapRedeemerKeyToRedeemerVal = 1,
358
+ }
359
+ /**
360
+ */
361
+ export enum SpendingDataKind {
362
+ SpendingDataPubKey = 0,
363
+ SpendingDataScript = 1,
364
+ SpendingDataRedeem = 2,
365
+ }
366
+ /**
265
367
  * JSON <-> PlutusData conversion schemas.
266
368
  * Follows ScriptDataJsonSchema in cardano-cli defined at:
267
369
  * https://github.com/input-output-hk/cardano-node/blob/master/cardano-api/src/Cardano/Api/ScriptData.hs#L254
@@ -315,80 +417,6 @@ export enum CardanoNodePlutusDatumSchema {
315
417
  }
316
418
  /**
317
419
  */
318
- export enum RedeemerTag {
319
- Spend = 0,
320
- Mint = 1,
321
- Cert = 2,
322
- Reward = 3,
323
- Voting = 4,
324
- Proposing = 5,
325
- }
326
- /**
327
- */
328
- export enum CoinSelectionStrategyCIP2 {
329
- /**
330
- * Performs CIP2's Largest First ada-only selection. Will error if outputs contain non-ADA assets.
331
- */
332
- LargestFirst = 0,
333
- /**
334
- * Performs CIP2's Random Improve ada-only selection. Will error if outputs contain non-ADA assets.
335
- */
336
- RandomImprove = 1,
337
- /**
338
- * Same as LargestFirst, but before adding ADA, will insert by largest-first for each asset type.
339
- */
340
- LargestFirstMultiAsset = 2,
341
- /**
342
- * Same as RandomImprove, but before adding ADA, will insert by random-improve for each asset type.
343
- */
344
- RandomImproveMultiAsset = 3,
345
- }
346
- /**
347
- */
348
- export enum DRepKind {
349
- Key = 0,
350
- Script = 1,
351
- AlwaysAbstain = 2,
352
- AlwaysNoConfidence = 3,
353
- }
354
- /**
355
- */
356
- export enum CertificateKind {
357
- StakeRegistration = 0,
358
- StakeDeregistration = 1,
359
- StakeDelegation = 2,
360
- PoolRegistration = 3,
361
- PoolRetirement = 4,
362
- RegCert = 5,
363
- UnregCert = 6,
364
- VoteDelegCert = 7,
365
- StakeVoteDelegCert = 8,
366
- StakeRegDelegCert = 9,
367
- VoteRegDelegCert = 10,
368
- StakeVoteRegDelegCert = 11,
369
- AuthCommitteeHotCert = 12,
370
- ResignCommitteeColdCert = 13,
371
- RegDrepCert = 14,
372
- UnregDrepCert = 15,
373
- UpdateDrepCert = 16,
374
- }
375
- /**
376
- */
377
- export enum PlutusDataKind {
378
- ConstrPlutusData = 0,
379
- Map = 1,
380
- List = 2,
381
- Integer = 3,
382
- Bytes = 4,
383
- }
384
- /**
385
- */
386
- export enum DelegationDistributionKind {
387
- Weighted = 0,
388
- Legacy = 1,
389
- }
390
- /**
391
- */
392
420
  export enum GovActionKind {
393
421
  ParameterChangeAction = 0,
394
422
  HardForkInitiationAction = 1,
@@ -399,53 +427,6 @@ export enum GovActionKind {
399
427
  InfoAction = 6,
400
428
  }
401
429
  /**
402
- */
403
- export enum Language {
404
- PlutusV1 = 0,
405
- PlutusV2 = 1,
406
- PlutusV3 = 2,
407
- }
408
- /**
409
- */
410
- export enum StakeDistributionKind {
411
- SingleKey = 0,
412
- BootstrapEra = 1,
413
- }
414
- /**
415
- */
416
- export enum ChunkableStringKind {
417
- Single = 0,
418
- Chunked = 1,
419
- }
420
- /**
421
- */
422
- export enum TransactionMetadatumKind {
423
- Map = 0,
424
- List = 1,
425
- Int = 2,
426
- Bytes = 3,
427
- Text = 4,
428
- }
429
- /**
430
- */
431
- export enum DatumOptionKind {
432
- Hash = 0,
433
- Datum = 1,
434
- }
435
- /**
436
- */
437
- export enum SpendingDataKind {
438
- SpendingDataPubKey = 0,
439
- SpendingDataScript = 1,
440
- SpendingDataRedeem = 2,
441
- }
442
- /**
443
- */
444
- export enum RedeemersKind {
445
- ArrLegacyRedeemer = 0,
446
- MapRedeemerKeyToRedeemerVal = 1,
447
- }
448
- /**
449
430
  * Careful: this enum doesn't include the network ID part of the header
450
431
  * ex: base address isn't 0b0000_0000 but instead 0b0000
451
432
  * Use `header_matches_kind` if you don't want to implement the bitwise operators yourself
@@ -465,16 +446,19 @@ export enum AddressHeaderKind {
465
446
  }
466
447
  /**
467
448
  */
468
- export enum TransactionOutputKind {
469
- AlonzoFormatTxOut = 0,
470
- ConwayFormatTxOut = 1,
449
+ export enum TransactionMetadatumKind {
450
+ Map = 0,
451
+ List = 1,
452
+ Int = 2,
453
+ Bytes = 3,
454
+ Text = 4,
471
455
  }
472
456
  /**
473
457
  */
474
- export enum ByronAddrType {
475
- PublicKey = 0,
476
- Script = 1,
477
- Redeem = 2,
458
+ export enum Language {
459
+ PlutusV1 = 0,
460
+ PlutusV2 = 1,
461
+ PlutusV3 = 2,
478
462
  }
479
463
  /**
480
464
  */
@@ -488,15 +472,31 @@ export enum NativeScriptKind {
488
472
  }
489
473
  /**
490
474
  */
491
- export enum AuxiliaryDataKind {
492
- Shelley = 0,
493
- ShelleyMA = 1,
494
- Conway = 2,
475
+ export enum CredentialKind {
476
+ PubKey = 0,
477
+ Script = 1,
495
478
  }
496
479
  /**
497
480
  */
498
- export enum ChangeSelectionAlgo {
499
- Default = 0,
481
+ export enum Vote {
482
+ No = 0,
483
+ Yes = 1,
484
+ Abstain = 2,
485
+ }
486
+ /**
487
+ */
488
+ export enum PlutusDataKind {
489
+ ConstrPlutusData = 0,
490
+ Map = 1,
491
+ List = 2,
492
+ Integer = 3,
493
+ Bytes = 4,
494
+ }
495
+ /**
496
+ */
497
+ export enum NonceKind {
498
+ Identity = 0,
499
+ Hash = 1,
500
500
  }
501
501
  /**
502
502
  */
@@ -767,13 +767,22 @@ function getArrayU64FromWasm0(ptr, len) {
767
767
  }
768
768
  /**
769
769
  */
770
- module.exports.MetadataJsonSchema = Object.freeze({ NoConversions:0,"0":"NoConversions",BasicConversions:1,"1":"BasicConversions",DetailedSchema:2,"2":"DetailedSchema", });
770
+ module.exports.DelegationDistributionKind = Object.freeze({ Weighted:0,"0":"Weighted",Legacy:1,"1":"Legacy", });
771
771
  /**
772
772
  */
773
- 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", });
773
+ module.exports.AuxiliaryDataKind = Object.freeze({ Shelley:0,"0":"Shelley",ShelleyMA:1,"1":"ShelleyMA",Conway:2,"2":"Conway", });
774
774
  /**
775
775
  */
776
- module.exports.CredentialKind = Object.freeze({ PubKey:0,"0":"PubKey",Script:1,"1":"Script", });
776
+ module.exports.ChunkableStringKind = Object.freeze({ Single:0,"0":"Single",Chunked:1,"1":"Chunked", });
777
+ /**
778
+ */
779
+ 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", });
780
+ /**
781
+ */
782
+ module.exports.ScriptKind = Object.freeze({ Native:0,"0":"Native",PlutusV1:1,"1":"PlutusV1",PlutusV2:2,"2":"PlutusV2",PlutusV3:3,"3":"PlutusV3", });
783
+ /**
784
+ */
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", });
777
786
  /**
778
787
  * Which version of the CIP25 spec to use. See CIP25 for details.
779
788
  * This will change how things are encoded but for the most part contains
@@ -790,19 +799,59 @@ V1:0,"0":"V1",
790
799
  V2:1,"1":"V2", });
791
800
  /**
792
801
  */
793
- 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", });
802
+ module.exports.DatumOptionKind = Object.freeze({ Hash:0,"0":"Hash",Datum:1,"1":"Datum", });
794
803
  /**
795
804
  */
796
- module.exports.ScriptKind = Object.freeze({ Native:0,"0":"Native",PlutusV1:1,"1":"PlutusV1",PlutusV2:2,"2":"PlutusV2",PlutusV3:3,"3":"PlutusV3", });
805
+ module.exports.TransactionOutputKind = Object.freeze({ AlonzoFormatTxOut:0,"0":"AlonzoFormatTxOut",ConwayFormatTxOut:1,"1":"ConwayFormatTxOut", });
797
806
  /**
798
807
  */
799
- module.exports.Vote = Object.freeze({ No:0,"0":"No",Yes:1,"1":"Yes",Abstain:2,"2":"Abstain", });
808
+ module.exports.MetadataJsonSchema = Object.freeze({ NoConversions:0,"0":"NoConversions",BasicConversions:1,"1":"BasicConversions",DetailedSchema:2,"2":"DetailedSchema", });
800
809
  /**
801
810
  */
802
- module.exports.NonceKind = Object.freeze({ Identity:0,"0":"Identity",Hash:1,"1":"Hash", });
811
+ module.exports.RelayKind = Object.freeze({ SingleHostAddr:0,"0":"SingleHostAddr",SingleHostName:1,"1":"SingleHostName",MultiHostName:2,"2":"MultiHostName", });
803
812
  /**
804
813
  */
805
- module.exports.RelayKind = Object.freeze({ SingleHostAddr:0,"0":"SingleHostAddr",SingleHostName:1,"1":"SingleHostName",MultiHostName:2,"2":"MultiHostName", });
814
+ module.exports.DRepKind = Object.freeze({ Key:0,"0":"Key",Script:1,"1":"Script",AlwaysAbstain:2,"2":"AlwaysAbstain",AlwaysNoConfidence:3,"3":"AlwaysNoConfidence", });
815
+ /**
816
+ */
817
+ module.exports.StakeDistributionKind = Object.freeze({ SingleKey:0,"0":"SingleKey",BootstrapEra:1,"1":"BootstrapEra", });
818
+ /**
819
+ */
820
+ module.exports.ChangeSelectionAlgo = Object.freeze({ Default:0,"0":"Default", });
821
+ /**
822
+ */
823
+ module.exports.CoinSelectionStrategyCIP2 = Object.freeze({
824
+ /**
825
+ * Performs CIP2's Largest First ada-only selection. Will error if outputs contain non-ADA assets.
826
+ */
827
+ LargestFirst:0,"0":"LargestFirst",
828
+ /**
829
+ * Performs CIP2's Random Improve ada-only selection. Will error if outputs contain non-ADA assets.
830
+ */
831
+ RandomImprove:1,"1":"RandomImprove",
832
+ /**
833
+ * Same as LargestFirst, but before adding ADA, will insert by largest-first for each asset type.
834
+ */
835
+ LargestFirstMultiAsset:2,"2":"LargestFirstMultiAsset",
836
+ /**
837
+ * Same as RandomImprove, but before adding ADA, will insert by random-improve for each asset type.
838
+ */
839
+ RandomImproveMultiAsset:3,"3":"RandomImproveMultiAsset", });
840
+ /**
841
+ */
842
+ module.exports.ByronAddrType = Object.freeze({ PublicKey:0,"0":"PublicKey",Script:1,"1":"Script",Redeem:2,"2":"Redeem", });
843
+ /**
844
+ */
845
+ 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", });
846
+ /**
847
+ */
848
+ 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", });
849
+ /**
850
+ */
851
+ module.exports.RedeemersKind = Object.freeze({ ArrLegacyRedeemer:0,"0":"ArrLegacyRedeemer",MapRedeemerKeyToRedeemerVal:1,"1":"MapRedeemerKeyToRedeemerVal", });
852
+ /**
853
+ */
854
+ module.exports.SpendingDataKind = Object.freeze({ SpendingDataPubKey:0,"0":"SpendingDataPubKey",SpendingDataScript:1,"1":"SpendingDataScript",SpendingDataRedeem:2,"2":"SpendingDataRedeem", });
806
855
  /**
807
856
  * JSON <-> PlutusData conversion schemas.
808
857
  * Follows ScriptDataJsonSchema in cardano-cli defined at:
@@ -856,63 +905,8 @@ BasicConversions:0,"0":"BasicConversions",
856
905
  DetailedSchema:1,"1":"DetailedSchema", });
857
906
  /**
858
907
  */
859
- 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", });
860
- /**
861
- */
862
- module.exports.CoinSelectionStrategyCIP2 = Object.freeze({
863
- /**
864
- * Performs CIP2's Largest First ada-only selection. Will error if outputs contain non-ADA assets.
865
- */
866
- LargestFirst:0,"0":"LargestFirst",
867
- /**
868
- * Performs CIP2's Random Improve ada-only selection. Will error if outputs contain non-ADA assets.
869
- */
870
- RandomImprove:1,"1":"RandomImprove",
871
- /**
872
- * Same as LargestFirst, but before adding ADA, will insert by largest-first for each asset type.
873
- */
874
- LargestFirstMultiAsset:2,"2":"LargestFirstMultiAsset",
875
- /**
876
- * Same as RandomImprove, but before adding ADA, will insert by random-improve for each asset type.
877
- */
878
- RandomImproveMultiAsset:3,"3":"RandomImproveMultiAsset", });
879
- /**
880
- */
881
- module.exports.DRepKind = Object.freeze({ Key:0,"0":"Key",Script:1,"1":"Script",AlwaysAbstain:2,"2":"AlwaysAbstain",AlwaysNoConfidence:3,"3":"AlwaysNoConfidence", });
882
- /**
883
- */
884
- 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", });
885
- /**
886
- */
887
- 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", });
888
- /**
889
- */
890
- module.exports.DelegationDistributionKind = Object.freeze({ Weighted:0,"0":"Weighted",Legacy:1,"1":"Legacy", });
891
- /**
892
- */
893
908
  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", });
894
909
  /**
895
- */
896
- module.exports.Language = Object.freeze({ PlutusV1:0,"0":"PlutusV1",PlutusV2:1,"1":"PlutusV2",PlutusV3:2,"2":"PlutusV3", });
897
- /**
898
- */
899
- module.exports.StakeDistributionKind = Object.freeze({ SingleKey:0,"0":"SingleKey",BootstrapEra:1,"1":"BootstrapEra", });
900
- /**
901
- */
902
- module.exports.ChunkableStringKind = Object.freeze({ Single:0,"0":"Single",Chunked:1,"1":"Chunked", });
903
- /**
904
- */
905
- 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", });
906
- /**
907
- */
908
- module.exports.DatumOptionKind = Object.freeze({ Hash:0,"0":"Hash",Datum:1,"1":"Datum", });
909
- /**
910
- */
911
- module.exports.SpendingDataKind = Object.freeze({ SpendingDataPubKey:0,"0":"SpendingDataPubKey",SpendingDataScript:1,"1":"SpendingDataScript",SpendingDataRedeem:2,"2":"SpendingDataRedeem", });
912
- /**
913
- */
914
- module.exports.RedeemersKind = Object.freeze({ ArrLegacyRedeemer:0,"0":"ArrLegacyRedeemer",MapRedeemerKeyToRedeemerVal:1,"1":"MapRedeemerKeyToRedeemerVal", });
915
- /**
916
910
  * Careful: this enum doesn't include the network ID part of the header
917
911
  * ex: base address isn't 0b0000_0000 but instead 0b0000
918
912
  * Use `header_matches_kind` if you don't want to implement the bitwise operators yourself
@@ -920,19 +914,25 @@ module.exports.RedeemersKind = Object.freeze({ ArrLegacyRedeemer:0,"0":"ArrLegac
920
914
  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", });
921
915
  /**
922
916
  */
923
- module.exports.TransactionOutputKind = Object.freeze({ AlonzoFormatTxOut:0,"0":"AlonzoFormatTxOut",ConwayFormatTxOut:1,"1":"ConwayFormatTxOut", });
917
+ 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", });
924
918
  /**
925
919
  */
926
- module.exports.ByronAddrType = Object.freeze({ PublicKey:0,"0":"PublicKey",Script:1,"1":"Script",Redeem:2,"2":"Redeem", });
920
+ module.exports.Language = Object.freeze({ PlutusV1:0,"0":"PlutusV1",PlutusV2:1,"1":"PlutusV2",PlutusV3:2,"2":"PlutusV3", });
927
921
  /**
928
922
  */
929
923
  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", });
930
924
  /**
931
925
  */
932
- module.exports.AuxiliaryDataKind = Object.freeze({ Shelley:0,"0":"Shelley",ShelleyMA:1,"1":"ShelleyMA",Conway:2,"2":"Conway", });
926
+ module.exports.CredentialKind = Object.freeze({ PubKey:0,"0":"PubKey",Script:1,"1":"Script", });
933
927
  /**
934
928
  */
935
- module.exports.ChangeSelectionAlgo = Object.freeze({ Default:0,"0":"Default", });
929
+ module.exports.Vote = Object.freeze({ No:0,"0":"No",Yes:1,"1":"Yes",Abstain:2,"2":"Abstain", });
930
+ /**
931
+ */
932
+ 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", });
933
+ /**
934
+ */
935
+ module.exports.NonceKind = Object.freeze({ Identity:0,"0":"Identity",Hash:1,"1":"Hash", });
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.1",
4
+ "version": "6.0.2-1",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",