@anastasia-labs/cardano-multiplatform-lib-nodejs 6.0.0-1 → 6.0.0-2

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.
@@ -196,107 +196,29 @@ export enum RelayKind {
196
196
  }
197
197
  /**
198
198
  */
199
- export enum ScriptKind {
200
- Native = 0,
201
- PlutusV1 = 1,
202
- PlutusV2 = 2,
203
- PlutusV3 = 3,
204
- }
205
- /**
206
- */
207
- export enum GovActionKind {
208
- ParameterChangeAction = 0,
209
- HardForkInitiationAction = 1,
210
- TreasuryWithdrawalsAction = 2,
211
- NoConfidence = 3,
212
- UpdateCommittee = 4,
213
- NewConstitution = 5,
214
- InfoAction = 6,
215
- }
216
- /**
217
- */
218
- export enum Language {
219
- PlutusV1 = 0,
220
- PlutusV2 = 1,
221
- PlutusV3 = 2,
222
- }
223
- /**
224
- */
225
- export enum AddressKind {
226
- Base = 0,
227
- Ptr = 1,
228
- Enterprise = 2,
229
- Reward = 3,
230
- Byron = 4,
231
- }
232
- /**
233
- * Which version of the CIP25 spec to use. See CIP25 for details.
234
- * This will change how things are encoded but for the most part contains
235
- * the same information.
236
- */
237
- export enum CIP25Version {
238
- /**
239
- * Initial version of CIP25 with only string (utf8) asset names allowed.
240
- */
241
- V1 = 0,
242
- /**
243
- * Second version of CIP25. Supports any type of asset names.
244
- */
245
- V2 = 1,
246
- }
247
- /**
248
- */
249
- export enum SpendingDataKind {
250
- SpendingDataPubKey = 0,
251
- SpendingDataScript = 1,
252
- SpendingDataRedeem = 2,
253
- }
254
- /**
255
- */
256
- export enum RedeemerTag {
257
- Spend = 0,
258
- Mint = 1,
259
- Cert = 2,
260
- Reward = 3,
261
- Voting = 4,
262
- Proposing = 5,
199
+ export enum RedeemersKind {
200
+ ArrLegacyRedeemer = 0,
201
+ MapRedeemerKeyToRedeemerVal = 1,
263
202
  }
264
203
  /**
265
204
  */
266
- export enum CertificateKind {
267
- StakeRegistration = 0,
268
- StakeDeregistration = 1,
269
- StakeDelegation = 2,
270
- PoolRegistration = 3,
271
- PoolRetirement = 4,
272
- RegCert = 5,
273
- UnregCert = 6,
274
- VoteDelegCert = 7,
275
- StakeVoteDelegCert = 8,
276
- StakeRegDelegCert = 9,
277
- VoteRegDelegCert = 10,
278
- StakeVoteRegDelegCert = 11,
279
- AuthCommitteeHotCert = 12,
280
- ResignCommitteeColdCert = 13,
281
- RegDrepCert = 14,
282
- UnregDrepCert = 15,
283
- UpdateDrepCert = 16,
205
+ export enum Vote {
206
+ No = 0,
207
+ Yes = 1,
208
+ Abstain = 2,
284
209
  }
285
210
  /**
286
211
  */
287
- export enum DelegationDistributionKind {
288
- Weighted = 0,
289
- Legacy = 1,
212
+ export enum AuxiliaryDataKind {
213
+ Shelley = 0,
214
+ ShelleyMA = 1,
215
+ Conway = 2,
290
216
  }
291
217
  /**
292
218
  */
293
- export enum NativeScriptKind {
294
- ScriptPubkey = 0,
295
- ScriptAll = 1,
296
- ScriptAny = 2,
297
- ScriptNOfK = 3,
298
- ScriptInvalidBefore = 4,
299
- ScriptInvalidHereafter = 5,
219
+ export enum NonceKind {
220
+ Identity = 0,
221
+ Hash = 1,
300
222
  }
301
223
  /**
302
224
  * Careful: this enum doesn't include the network ID part of the header
@@ -318,25 +240,6 @@ export enum AddressHeaderKind {
318
240
  }
319
241
  /**
320
242
  */
321
- export enum StakeDistributionKind {
322
- SingleKey = 0,
323
- BootstrapEra = 1,
324
- }
325
- /**
326
- */
327
- export enum AuxiliaryDataKind {
328
- Shelley = 0,
329
- ShelleyMA = 1,
330
- Conway = 2,
331
- }
332
- /**
333
- */
334
- export enum ChunkableStringKind {
335
- Single = 0,
336
- Chunked = 1,
337
- }
338
- /**
339
- */
340
243
  export enum VoterKind {
341
244
  ConstitutionalCommitteeHotKeyHash = 0,
342
245
  ConstitutionalCommitteeHotScriptHash = 1,
@@ -346,16 +249,19 @@ export enum VoterKind {
346
249
  }
347
250
  /**
348
251
  */
349
- export enum Vote {
350
- No = 0,
351
- Yes = 1,
352
- Abstain = 2,
252
+ export enum RedeemerTag {
253
+ Spend = 0,
254
+ Mint = 1,
255
+ Cert = 2,
256
+ Reward = 3,
257
+ Voting = 4,
258
+ Proposing = 5,
353
259
  }
354
260
  /**
355
261
  */
356
- export enum NonceKind {
357
- Identity = 0,
358
- Hash = 1,
262
+ export enum DatumOptionKind {
263
+ Hash = 0,
264
+ Datum = 1,
359
265
  }
360
266
  /**
361
267
  */
@@ -379,18 +285,13 @@ export enum CoinSelectionStrategyCIP2 {
379
285
  }
380
286
  /**
381
287
  */
382
- export enum RedeemersKind {
383
- ArrLegacyRedeemer = 0,
384
- MapRedeemerKeyToRedeemerVal = 1,
385
- }
386
- /**
387
- */
388
- export enum TransactionMetadatumKind {
389
- Map = 0,
390
- List = 1,
391
- Int = 2,
392
- Bytes = 3,
393
- Text = 4,
288
+ export enum NativeScriptKind {
289
+ ScriptPubkey = 0,
290
+ ScriptAll = 1,
291
+ ScriptAny = 2,
292
+ ScriptNOfK = 3,
293
+ ScriptInvalidBefore = 4,
294
+ ScriptInvalidHereafter = 5,
394
295
  }
395
296
  /**
396
297
  */
@@ -403,9 +304,9 @@ export enum PlutusDataKind {
403
304
  }
404
305
  /**
405
306
  */
406
- export enum CredentialKind {
407
- PubKey = 0,
408
- Script = 1,
307
+ export enum StakeDistributionKind {
308
+ SingleKey = 0,
309
+ BootstrapEra = 1,
409
310
  }
410
311
  /**
411
312
  */
@@ -417,10 +318,29 @@ export enum DRepKind {
417
318
  }
418
319
  /**
419
320
  */
420
- export enum MetadataJsonSchema {
421
- NoConversions = 0,
422
- BasicConversions = 1,
423
- DetailedSchema = 2,
321
+ export enum GovActionKind {
322
+ ParameterChangeAction = 0,
323
+ HardForkInitiationAction = 1,
324
+ TreasuryWithdrawalsAction = 2,
325
+ NoConfidence = 3,
326
+ UpdateCommittee = 4,
327
+ NewConstitution = 5,
328
+ InfoAction = 6,
329
+ }
330
+ /**
331
+ */
332
+ export enum ChunkableStringKind {
333
+ Single = 0,
334
+ Chunked = 1,
335
+ }
336
+ /**
337
+ */
338
+ export enum AddressKind {
339
+ Base = 0,
340
+ Ptr = 1,
341
+ Enterprise = 2,
342
+ Reward = 3,
343
+ Byron = 4,
424
344
  }
425
345
  /**
426
346
  * JSON <-> PlutusData conversion schemas.
@@ -476,14 +396,100 @@ export enum CardanoNodePlutusDatumSchema {
476
396
  }
477
397
  /**
478
398
  */
399
+ export enum TransactionMetadatumKind {
400
+ Map = 0,
401
+ List = 1,
402
+ Int = 2,
403
+ Bytes = 3,
404
+ Text = 4,
405
+ }
406
+ /**
407
+ */
408
+ export enum Language {
409
+ PlutusV1 = 0,
410
+ PlutusV2 = 1,
411
+ PlutusV3 = 2,
412
+ }
413
+ /**
414
+ */
415
+ export enum TransactionOutputKind {
416
+ AlonzoFormatTxOut = 0,
417
+ ConwayFormatTxOut = 1,
418
+ }
419
+ /**
420
+ */
421
+ export enum CertificateKind {
422
+ StakeRegistration = 0,
423
+ StakeDeregistration = 1,
424
+ StakeDelegation = 2,
425
+ PoolRegistration = 3,
426
+ PoolRetirement = 4,
427
+ RegCert = 5,
428
+ UnregCert = 6,
429
+ VoteDelegCert = 7,
430
+ StakeVoteDelegCert = 8,
431
+ StakeRegDelegCert = 9,
432
+ VoteRegDelegCert = 10,
433
+ StakeVoteRegDelegCert = 11,
434
+ AuthCommitteeHotCert = 12,
435
+ ResignCommitteeColdCert = 13,
436
+ RegDrepCert = 14,
437
+ UnregDrepCert = 15,
438
+ UpdateDrepCert = 16,
439
+ }
440
+ /**
441
+ */
442
+ export enum MetadataJsonSchema {
443
+ NoConversions = 0,
444
+ BasicConversions = 1,
445
+ DetailedSchema = 2,
446
+ }
447
+ /**
448
+ * Which version of the CIP25 spec to use. See CIP25 for details.
449
+ * This will change how things are encoded but for the most part contains
450
+ * the same information.
451
+ */
452
+ export enum CIP25Version {
453
+ /**
454
+ * Initial version of CIP25 with only string (utf8) asset names allowed.
455
+ */
456
+ V1 = 0,
457
+ /**
458
+ * Second version of CIP25. Supports any type of asset names.
459
+ */
460
+ V2 = 1,
461
+ }
462
+ /**
463
+ */
464
+ export enum SpendingDataKind {
465
+ SpendingDataPubKey = 0,
466
+ SpendingDataScript = 1,
467
+ SpendingDataRedeem = 2,
468
+ }
469
+ /**
470
+ */
471
+ export enum CredentialKind {
472
+ PubKey = 0,
473
+ Script = 1,
474
+ }
475
+ /**
476
+ */
477
+ export enum ScriptKind {
478
+ Native = 0,
479
+ PlutusV1 = 1,
480
+ PlutusV2 = 2,
481
+ PlutusV3 = 3,
482
+ }
483
+ /**
484
+ */
479
485
  export enum ChangeSelectionAlgo {
480
486
  Default = 0,
481
487
  }
482
488
  /**
483
489
  */
484
- export enum DatumOptionKind {
485
- Hash = 0,
486
- Datum = 1,
490
+ export enum DelegationDistributionKind {
491
+ Weighted = 0,
492
+ Legacy = 1,
487
493
  }
488
494
  /**
489
495
  */
@@ -494,12 +500,6 @@ export enum ByronAddrType {
494
500
  }
495
501
  /**
496
502
  */
497
- export enum TransactionOutputKind {
498
- AlonzoFormatTxOut = 0,
499
- ConwayFormatTxOut = 1,
500
- }
501
- /**
502
- */
503
503
  export class AddrAttributes {
504
504
  free(): void;
505
505
  /**
@@ -770,45 +770,16 @@ function getArrayU64FromWasm0(ptr, len) {
770
770
  module.exports.RelayKind = Object.freeze({ SingleHostAddr:0,"0":"SingleHostAddr",SingleHostName:1,"1":"SingleHostName",MultiHostName:2,"2":"MultiHostName", });
771
771
  /**
772
772
  */
773
- module.exports.ScriptKind = Object.freeze({ Native:0,"0":"Native",PlutusV1:1,"1":"PlutusV1",PlutusV2:2,"2":"PlutusV2",PlutusV3:3,"3":"PlutusV3", });
774
- /**
775
- */
776
- 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", });
777
- /**
778
- */
779
- module.exports.Language = Object.freeze({ PlutusV1:0,"0":"PlutusV1",PlutusV2:1,"1":"PlutusV2",PlutusV3:2,"2":"PlutusV3", });
780
- /**
781
- */
782
- 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", });
783
- /**
784
- * Which version of the CIP25 spec to use. See CIP25 for details.
785
- * This will change how things are encoded but for the most part contains
786
- * the same information.
787
- */
788
- module.exports.CIP25Version = Object.freeze({
789
- /**
790
- * Initial version of CIP25 with only string (utf8) asset names allowed.
791
- */
792
- V1:0,"0":"V1",
793
- /**
794
- * Second version of CIP25. Supports any type of asset names.
795
- */
796
- V2:1,"1":"V2", });
797
- /**
798
- */
799
- module.exports.SpendingDataKind = Object.freeze({ SpendingDataPubKey:0,"0":"SpendingDataPubKey",SpendingDataScript:1,"1":"SpendingDataScript",SpendingDataRedeem:2,"2":"SpendingDataRedeem", });
800
- /**
801
- */
802
- 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", });
773
+ module.exports.RedeemersKind = Object.freeze({ ArrLegacyRedeemer:0,"0":"ArrLegacyRedeemer",MapRedeemerKeyToRedeemerVal:1,"1":"MapRedeemerKeyToRedeemerVal", });
803
774
  /**
804
775
  */
805
- 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", });
776
+ module.exports.Vote = Object.freeze({ No:0,"0":"No",Yes:1,"1":"Yes",Abstain:2,"2":"Abstain", });
806
777
  /**
807
778
  */
808
- module.exports.DelegationDistributionKind = Object.freeze({ Weighted:0,"0":"Weighted",Legacy:1,"1":"Legacy", });
779
+ module.exports.AuxiliaryDataKind = Object.freeze({ Shelley:0,"0":"Shelley",ShelleyMA:1,"1":"ShelleyMA",Conway:2,"2":"Conway", });
809
780
  /**
810
781
  */
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", });
782
+ module.exports.NonceKind = Object.freeze({ Identity:0,"0":"Identity",Hash:1,"1":"Hash", });
812
783
  /**
813
784
  * Careful: this enum doesn't include the network ID part of the header
814
785
  * ex: base address isn't 0b0000_0000 but instead 0b0000
@@ -817,22 +788,13 @@ module.exports.NativeScriptKind = Object.freeze({ ScriptPubkey:0,"0":"ScriptPubk
817
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", });
818
789
  /**
819
790
  */
820
- module.exports.StakeDistributionKind = Object.freeze({ SingleKey:0,"0":"SingleKey",BootstrapEra:1,"1":"BootstrapEra", });
821
- /**
822
- */
823
- module.exports.AuxiliaryDataKind = Object.freeze({ Shelley:0,"0":"Shelley",ShelleyMA:1,"1":"ShelleyMA",Conway:2,"2":"Conway", });
824
- /**
825
- */
826
- module.exports.ChunkableStringKind = Object.freeze({ Single:0,"0":"Single",Chunked:1,"1":"Chunked", });
827
- /**
828
- */
829
791
  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", });
830
792
  /**
831
793
  */
832
- module.exports.Vote = Object.freeze({ No:0,"0":"No",Yes:1,"1":"Yes",Abstain:2,"2":"Abstain", });
794
+ 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", });
833
795
  /**
834
796
  */
835
- module.exports.NonceKind = Object.freeze({ Identity:0,"0":"Identity",Hash:1,"1":"Hash", });
797
+ module.exports.DatumOptionKind = Object.freeze({ Hash:0,"0":"Hash",Datum:1,"1":"Datum", });
836
798
  /**
837
799
  */
838
800
  module.exports.CoinSelectionStrategyCIP2 = Object.freeze({
@@ -854,22 +816,25 @@ LargestFirstMultiAsset:2,"2":"LargestFirstMultiAsset",
854
816
  RandomImproveMultiAsset:3,"3":"RandomImproveMultiAsset", });
855
817
  /**
856
818
  */
857
- module.exports.RedeemersKind = Object.freeze({ ArrLegacyRedeemer:0,"0":"ArrLegacyRedeemer",MapRedeemerKeyToRedeemerVal:1,"1":"MapRedeemerKeyToRedeemerVal", });
858
- /**
859
- */
860
- 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", });
819
+ 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", });
861
820
  /**
862
821
  */
863
822
  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", });
864
823
  /**
865
824
  */
866
- module.exports.CredentialKind = Object.freeze({ PubKey:0,"0":"PubKey",Script:1,"1":"Script", });
825
+ module.exports.StakeDistributionKind = Object.freeze({ SingleKey:0,"0":"SingleKey",BootstrapEra:1,"1":"BootstrapEra", });
867
826
  /**
868
827
  */
869
828
  module.exports.DRepKind = Object.freeze({ Key:0,"0":"Key",Script:1,"1":"Script",AlwaysAbstain:2,"2":"AlwaysAbstain",AlwaysNoConfidence:3,"3":"AlwaysNoConfidence", });
870
829
  /**
871
830
  */
872
- module.exports.MetadataJsonSchema = Object.freeze({ NoConversions:0,"0":"NoConversions",BasicConversions:1,"1":"BasicConversions",DetailedSchema:2,"2":"DetailedSchema", });
831
+ 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", });
832
+ /**
833
+ */
834
+ module.exports.ChunkableStringKind = Object.freeze({ Single:0,"0":"Single",Chunked:1,"1":"Chunked", });
835
+ /**
836
+ */
837
+ 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", });
873
838
  /**
874
839
  * JSON <-> PlutusData conversion schemas.
875
840
  * Follows ScriptDataJsonSchema in cardano-cli defined at:
@@ -923,16 +888,51 @@ BasicConversions:0,"0":"BasicConversions",
923
888
  DetailedSchema:1,"1":"DetailedSchema", });
924
889
  /**
925
890
  */
926
- module.exports.ChangeSelectionAlgo = Object.freeze({ Default:0,"0":"Default", });
891
+ 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", });
927
892
  /**
928
893
  */
929
- module.exports.DatumOptionKind = Object.freeze({ Hash:0,"0":"Hash",Datum:1,"1":"Datum", });
894
+ module.exports.Language = Object.freeze({ PlutusV1:0,"0":"PlutusV1",PlutusV2:1,"1":"PlutusV2",PlutusV3:2,"2":"PlutusV3", });
930
895
  /**
931
896
  */
932
- module.exports.ByronAddrType = Object.freeze({ PublicKey:0,"0":"PublicKey",Script:1,"1":"Script",Redeem:2,"2":"Redeem", });
897
+ module.exports.TransactionOutputKind = Object.freeze({ AlonzoFormatTxOut:0,"0":"AlonzoFormatTxOut",ConwayFormatTxOut:1,"1":"ConwayFormatTxOut", });
933
898
  /**
934
899
  */
935
- module.exports.TransactionOutputKind = Object.freeze({ AlonzoFormatTxOut:0,"0":"AlonzoFormatTxOut",ConwayFormatTxOut:1,"1":"ConwayFormatTxOut", });
900
+ 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", });
901
+ /**
902
+ */
903
+ module.exports.MetadataJsonSchema = Object.freeze({ NoConversions:0,"0":"NoConversions",BasicConversions:1,"1":"BasicConversions",DetailedSchema:2,"2":"DetailedSchema", });
904
+ /**
905
+ * Which version of the CIP25 spec to use. See CIP25 for details.
906
+ * This will change how things are encoded but for the most part contains
907
+ * the same information.
908
+ */
909
+ module.exports.CIP25Version = Object.freeze({
910
+ /**
911
+ * Initial version of CIP25 with only string (utf8) asset names allowed.
912
+ */
913
+ V1:0,"0":"V1",
914
+ /**
915
+ * Second version of CIP25. Supports any type of asset names.
916
+ */
917
+ V2:1,"1":"V2", });
918
+ /**
919
+ */
920
+ module.exports.SpendingDataKind = Object.freeze({ SpendingDataPubKey:0,"0":"SpendingDataPubKey",SpendingDataScript:1,"1":"SpendingDataScript",SpendingDataRedeem:2,"2":"SpendingDataRedeem", });
921
+ /**
922
+ */
923
+ module.exports.CredentialKind = Object.freeze({ PubKey:0,"0":"PubKey",Script:1,"1":"Script", });
924
+ /**
925
+ */
926
+ module.exports.ScriptKind = Object.freeze({ Native:0,"0":"Native",PlutusV1:1,"1":"PlutusV1",PlutusV2:2,"2":"PlutusV2",PlutusV3:3,"3":"PlutusV3", });
927
+ /**
928
+ */
929
+ module.exports.ChangeSelectionAlgo = Object.freeze({ Default:0,"0":"Default", });
930
+ /**
931
+ */
932
+ module.exports.DelegationDistributionKind = Object.freeze({ Weighted:0,"0":"Weighted",Legacy:1,"1":"Legacy", });
933
+ /**
934
+ */
935
+ module.exports.ByronAddrType = Object.freeze({ PublicKey:0,"0":"PublicKey",Script:1,"1":"Script",Redeem:2,"2":"Redeem", });
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-1",
4
+ "version": "6.0.0-2",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",