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

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