@anastasia-labs/cardano-multiplatform-lib-nodejs 5.3.1-5 → 5.3.1-7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -184,22 +184,49 @@ export function encode_json_str_to_plutus_datum(json: string, schema: CardanoNod
184
184
  export function decode_plutus_datum_to_json_str(datum: PlutusData, schema: CardanoNodePlutusDatumSchema): string;
185
185
  /**
186
186
  */
187
- export enum GovActionKind {
188
- ParameterChangeAction = 0,
189
- HardForkInitiationAction = 1,
190
- TreasuryWithdrawalsAction = 2,
191
- NoConfidence = 3,
192
- UpdateCommittee = 4,
193
- NewConstitution = 5,
194
- InfoAction = 6,
187
+ export enum MetadataJsonSchema {
188
+ NoConversions = 0,
189
+ BasicConversions = 1,
190
+ DetailedSchema = 2,
195
191
  }
196
192
  /**
197
193
  */
198
- export enum ScriptKind {
199
- Native = 0,
200
- PlutusV1 = 1,
201
- PlutusV2 = 2,
202
- PlutusV3 = 3,
194
+ export enum StakeDistributionKind {
195
+ SingleKey = 0,
196
+ BootstrapEra = 1,
197
+ }
198
+ /**
199
+ */
200
+ export enum ChunkableStringKind {
201
+ Single = 0,
202
+ Chunked = 1,
203
+ }
204
+ /**
205
+ */
206
+ export enum AuxiliaryDataKind {
207
+ Shelley = 0,
208
+ ShelleyMA = 1,
209
+ Conway = 2,
210
+ }
211
+ /**
212
+ */
213
+ export enum RelayKind {
214
+ SingleHostAddr = 0,
215
+ SingleHostName = 1,
216
+ MultiHostName = 2,
217
+ }
218
+ /**
219
+ */
220
+ export enum Vote {
221
+ No = 0,
222
+ Yes = 1,
223
+ Abstain = 2,
224
+ }
225
+ /**
226
+ */
227
+ export enum DatumOptionKind {
228
+ Hash = 0,
229
+ Datum = 1,
203
230
  }
204
231
  /**
205
232
  */
@@ -209,19 +236,17 @@ export enum NonceKind {
209
236
  }
210
237
  /**
211
238
  */
212
- export enum ByronAddrType {
213
- PublicKey = 0,
214
- Script = 1,
215
- Redeem = 2,
239
+ export enum ScriptKind {
240
+ Native = 0,
241
+ PlutusV1 = 1,
242
+ PlutusV2 = 2,
243
+ PlutusV3 = 3,
216
244
  }
217
245
  /**
218
246
  */
219
- export enum PlutusDataKind {
220
- ConstrPlutusData = 0,
221
- Map = 1,
222
- List = 2,
223
- Integer = 3,
224
- Bytes = 4,
247
+ export enum CredentialKind {
248
+ PubKey = 0,
249
+ Script = 1,
225
250
  }
226
251
  /**
227
252
  * Careful: this enum doesn't include the network ID part of the header
@@ -243,36 +268,51 @@ export enum AddressHeaderKind {
243
268
  }
244
269
  /**
245
270
  */
246
- export enum CredentialKind {
247
- PubKey = 0,
248
- Script = 1,
271
+ export enum TransactionOutputKind {
272
+ AlonzoFormatTxOut = 0,
273
+ ConwayFormatTxOut = 1,
249
274
  }
250
275
  /**
251
276
  */
252
- export enum ChunkableStringKind {
253
- Single = 0,
254
- Chunked = 1,
277
+ export enum Language {
278
+ PlutusV1 = 0,
279
+ PlutusV2 = 1,
280
+ PlutusV3 = 2,
255
281
  }
256
282
  /**
257
283
  */
258
- export enum DRepKind {
259
- Key = 0,
260
- Script = 1,
261
- AlwaysAbstain = 2,
262
- AlwaysNoConfidence = 3,
284
+ export enum PlutusDataKind {
285
+ ConstrPlutusData = 0,
286
+ Map = 1,
287
+ List = 2,
288
+ Integer = 3,
289
+ Bytes = 4,
263
290
  }
264
291
  /**
265
292
  */
266
- export enum RedeemersKind {
267
- ArrLegacyRedeemer = 0,
268
- MapRedeemerKeyToRedeemerVal = 1,
293
+ export enum SpendingDataKind {
294
+ SpendingDataPubKey = 0,
295
+ SpendingDataScript = 1,
296
+ SpendingDataRedeem = 2,
269
297
  }
270
298
  /**
271
299
  */
272
- export enum AuxiliaryDataKind {
273
- Shelley = 0,
274
- ShelleyMA = 1,
275
- Conway = 2,
300
+ export enum NativeScriptKind {
301
+ ScriptPubkey = 0,
302
+ ScriptAll = 1,
303
+ ScriptAny = 2,
304
+ ScriptNOfK = 3,
305
+ ScriptInvalidBefore = 4,
306
+ ScriptInvalidHereafter = 5,
307
+ }
308
+ /**
309
+ */
310
+ export enum AddressKind {
311
+ Base = 0,
312
+ Ptr = 1,
313
+ Enterprise = 2,
314
+ Reward = 3,
315
+ Byron = 4,
276
316
  }
277
317
  /**
278
318
  */
@@ -297,27 +337,23 @@ export enum CertificateKind {
297
337
  }
298
338
  /**
299
339
  */
300
- export enum SpendingDataKind {
301
- SpendingDataPubKey = 0,
302
- SpendingDataScript = 1,
303
- SpendingDataRedeem = 2,
304
- }
305
- /**
306
- */
307
- export enum RelayKind {
308
- SingleHostAddr = 0,
309
- SingleHostName = 1,
310
- MultiHostName = 2,
340
+ export enum GovActionKind {
341
+ ParameterChangeAction = 0,
342
+ HardForkInitiationAction = 1,
343
+ TreasuryWithdrawalsAction = 2,
344
+ NoConfidence = 3,
345
+ UpdateCommittee = 4,
346
+ NewConstitution = 5,
347
+ InfoAction = 6,
311
348
  }
312
349
  /**
313
350
  */
314
- export enum NativeScriptKind {
315
- ScriptPubkey = 0,
316
- ScriptAll = 1,
317
- ScriptAny = 2,
318
- ScriptNOfK = 3,
319
- ScriptInvalidBefore = 4,
320
- ScriptInvalidHereafter = 5,
351
+ export enum VoterKind {
352
+ ConstitutionalCommitteeHotKeyHash = 0,
353
+ ConstitutionalCommitteeHotScriptHash = 1,
354
+ DRepKeyHash = 2,
355
+ DRepScriptHash = 3,
356
+ StakingPoolKeyHash = 4,
321
357
  }
322
358
  /**
323
359
  */
@@ -329,6 +365,52 @@ export enum TransactionMetadatumKind {
329
365
  Text = 4,
330
366
  }
331
367
  /**
368
+ */
369
+ export enum ByronAddrType {
370
+ PublicKey = 0,
371
+ Script = 1,
372
+ Redeem = 2,
373
+ }
374
+ /**
375
+ */
376
+ export enum RedeemerTag {
377
+ Spend = 0,
378
+ Mint = 1,
379
+ Cert = 2,
380
+ Reward = 3,
381
+ Voting = 4,
382
+ Proposing = 5,
383
+ }
384
+ /**
385
+ */
386
+ export enum RedeemersKind {
387
+ ArrLegacyRedeemer = 0,
388
+ MapRedeemerKeyToRedeemerVal = 1,
389
+ }
390
+ /**
391
+ */
392
+ export enum DRepKind {
393
+ Key = 0,
394
+ Script = 1,
395
+ AlwaysAbstain = 2,
396
+ AlwaysNoConfidence = 3,
397
+ }
398
+ /**
399
+ * Which version of the CIP25 spec to use. See CIP25 for details.
400
+ * This will change how things are encoded but for the most part contains
401
+ * the same information.
402
+ */
403
+ export enum CIP25Version {
404
+ /**
405
+ * Initial version of CIP25 with only string (utf8) asset names allowed.
406
+ */
407
+ V1 = 0,
408
+ /**
409
+ * Second version of CIP25. Supports any type of asset names.
410
+ */
411
+ V2 = 1,
412
+ }
413
+ /**
332
414
  * JSON <-> PlutusData conversion schemas.
333
415
  * Follows ScriptDataJsonSchema in cardano-cli defined at:
334
416
  * https://github.com/input-output-hk/cardano-node/blob/master/cardano-api/src/Cardano/Api/ScriptData.hs#L254
@@ -382,66 +464,6 @@ export enum CardanoNodePlutusDatumSchema {
382
464
  }
383
465
  /**
384
466
  */
385
- export enum DatumOptionKind {
386
- Hash = 0,
387
- Datum = 1,
388
- }
389
- /**
390
- */
391
- export enum Vote {
392
- No = 0,
393
- Yes = 1,
394
- Abstain = 2,
395
- }
396
- /**
397
- */
398
- export enum VoterKind {
399
- ConstitutionalCommitteeHotKeyHash = 0,
400
- ConstitutionalCommitteeHotScriptHash = 1,
401
- DRepKeyHash = 2,
402
- DRepScriptHash = 3,
403
- StakingPoolKeyHash = 4,
404
- }
405
- /**
406
- */
407
- export enum RedeemerTag {
408
- Spend = 0,
409
- Mint = 1,
410
- Cert = 2,
411
- Reward = 3,
412
- Voting = 4,
413
- Proposing = 5,
414
- }
415
- /**
416
- * Which version of the CIP25 spec to use. See CIP25 for details.
417
- * This will change how things are encoded but for the most part contains
418
- * the same information.
419
- */
420
- export enum CIP25Version {
421
- /**
422
- * Initial version of CIP25 with only string (utf8) asset names allowed.
423
- */
424
- V1 = 0,
425
- /**
426
- * Second version of CIP25. Supports any type of asset names.
427
- */
428
- V2 = 1,
429
- }
430
- /**
431
- */
432
- export enum StakeDistributionKind {
433
- SingleKey = 0,
434
- BootstrapEra = 1,
435
- }
436
- /**
437
- */
438
- export enum MetadataJsonSchema {
439
- NoConversions = 0,
440
- BasicConversions = 1,
441
- DetailedSchema = 2,
442
- }
443
- /**
444
- */
445
467
  export enum CoinSelectionStrategyCIP2 {
446
468
  /**
447
469
  * Performs CIP2's Largest First ada-only selection. Will error if outputs contain non-ADA assets.
@@ -462,16 +484,8 @@ export enum CoinSelectionStrategyCIP2 {
462
484
  }
463
485
  /**
464
486
  */
465
- export enum TransactionOutputKind {
466
- AlonzoFormatTxOut = 0,
467
- ConwayFormatTxOut = 1,
468
- }
469
- /**
470
- */
471
- export enum Language {
472
- PlutusV1 = 0,
473
- PlutusV2 = 1,
474
- PlutusV3 = 2,
487
+ export enum ChangeSelectionAlgo {
488
+ Default = 0,
475
489
  }
476
490
  /**
477
491
  */
@@ -481,20 +495,6 @@ export enum DelegationDistributionKind {
481
495
  }
482
496
  /**
483
497
  */
484
- export enum ChangeSelectionAlgo {
485
- Default = 0,
486
- }
487
- /**
488
- */
489
- export enum AddressKind {
490
- Base = 0,
491
- Ptr = 1,
492
- Enterprise = 2,
493
- Reward = 3,
494
- Byron = 4,
495
- }
496
- /**
497
- */
498
498
  export class AddrAttributes {
499
499
  free(): void;
500
500
  /**
@@ -763,19 +763,34 @@ function getArrayU64FromWasm0(ptr, len) {
763
763
  }
764
764
  /**
765
765
  */
766
- 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", });
766
+ module.exports.MetadataJsonSchema = Object.freeze({ NoConversions:0,"0":"NoConversions",BasicConversions:1,"1":"BasicConversions",DetailedSchema:2,"2":"DetailedSchema", });
767
767
  /**
768
768
  */
769
- module.exports.ScriptKind = Object.freeze({ Native:0,"0":"Native",PlutusV1:1,"1":"PlutusV1",PlutusV2:2,"2":"PlutusV2",PlutusV3:3,"3":"PlutusV3", });
769
+ module.exports.StakeDistributionKind = Object.freeze({ SingleKey:0,"0":"SingleKey",BootstrapEra:1,"1":"BootstrapEra", });
770
+ /**
771
+ */
772
+ module.exports.ChunkableStringKind = Object.freeze({ Single:0,"0":"Single",Chunked:1,"1":"Chunked", });
773
+ /**
774
+ */
775
+ module.exports.AuxiliaryDataKind = Object.freeze({ Shelley:0,"0":"Shelley",ShelleyMA:1,"1":"ShelleyMA",Conway:2,"2":"Conway", });
776
+ /**
777
+ */
778
+ module.exports.RelayKind = Object.freeze({ SingleHostAddr:0,"0":"SingleHostAddr",SingleHostName:1,"1":"SingleHostName",MultiHostName:2,"2":"MultiHostName", });
779
+ /**
780
+ */
781
+ module.exports.Vote = Object.freeze({ No:0,"0":"No",Yes:1,"1":"Yes",Abstain:2,"2":"Abstain", });
782
+ /**
783
+ */
784
+ module.exports.DatumOptionKind = Object.freeze({ Hash:0,"0":"Hash",Datum:1,"1":"Datum", });
770
785
  /**
771
786
  */
772
787
  module.exports.NonceKind = Object.freeze({ Identity:0,"0":"Identity",Hash:1,"1":"Hash", });
773
788
  /**
774
789
  */
775
- module.exports.ByronAddrType = Object.freeze({ PublicKey:0,"0":"PublicKey",Script:1,"1":"Script",Redeem:2,"2":"Redeem", });
790
+ module.exports.ScriptKind = Object.freeze({ Native:0,"0":"Native",PlutusV1:1,"1":"PlutusV1",PlutusV2:2,"2":"PlutusV2",PlutusV3:3,"3":"PlutusV3", });
776
791
  /**
777
792
  */
778
- 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", });
793
+ module.exports.CredentialKind = Object.freeze({ PubKey:0,"0":"PubKey",Script:1,"1":"Script", });
779
794
  /**
780
795
  * Careful: this enum doesn't include the network ID part of the header
781
796
  * ex: base address isn't 0b0000_0000 but instead 0b0000
@@ -784,35 +799,61 @@ module.exports.PlutusDataKind = Object.freeze({ ConstrPlutusData:0,"0":"ConstrPl
784
799
  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", });
785
800
  /**
786
801
  */
787
- module.exports.CredentialKind = Object.freeze({ PubKey:0,"0":"PubKey",Script:1,"1":"Script", });
802
+ module.exports.TransactionOutputKind = Object.freeze({ AlonzoFormatTxOut:0,"0":"AlonzoFormatTxOut",ConwayFormatTxOut:1,"1":"ConwayFormatTxOut", });
788
803
  /**
789
804
  */
790
- module.exports.ChunkableStringKind = Object.freeze({ Single:0,"0":"Single",Chunked:1,"1":"Chunked", });
805
+ module.exports.Language = Object.freeze({ PlutusV1:0,"0":"PlutusV1",PlutusV2:1,"1":"PlutusV2",PlutusV3:2,"2":"PlutusV3", });
791
806
  /**
792
807
  */
793
- module.exports.DRepKind = Object.freeze({ Key:0,"0":"Key",Script:1,"1":"Script",AlwaysAbstain:2,"2":"AlwaysAbstain",AlwaysNoConfidence:3,"3":"AlwaysNoConfidence", });
808
+ 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", });
794
809
  /**
795
810
  */
796
- module.exports.RedeemersKind = Object.freeze({ ArrLegacyRedeemer:0,"0":"ArrLegacyRedeemer",MapRedeemerKeyToRedeemerVal:1,"1":"MapRedeemerKeyToRedeemerVal", });
811
+ module.exports.SpendingDataKind = Object.freeze({ SpendingDataPubKey:0,"0":"SpendingDataPubKey",SpendingDataScript:1,"1":"SpendingDataScript",SpendingDataRedeem:2,"2":"SpendingDataRedeem", });
797
812
  /**
798
813
  */
799
- module.exports.AuxiliaryDataKind = Object.freeze({ Shelley:0,"0":"Shelley",ShelleyMA:1,"1":"ShelleyMA",Conway:2,"2":"Conway", });
814
+ 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", });
800
815
  /**
801
816
  */
802
- 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", });
817
+ 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", });
803
818
  /**
804
819
  */
805
- module.exports.SpendingDataKind = Object.freeze({ SpendingDataPubKey:0,"0":"SpendingDataPubKey",SpendingDataScript:1,"1":"SpendingDataScript",SpendingDataRedeem:2,"2":"SpendingDataRedeem", });
820
+ 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", });
806
821
  /**
807
822
  */
808
- module.exports.RelayKind = Object.freeze({ SingleHostAddr:0,"0":"SingleHostAddr",SingleHostName:1,"1":"SingleHostName",MultiHostName:2,"2":"MultiHostName", });
823
+ 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", });
809
824
  /**
810
825
  */
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", });
826
+ 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", });
812
827
  /**
813
828
  */
814
829
  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", });
815
830
  /**
831
+ */
832
+ module.exports.ByronAddrType = Object.freeze({ PublicKey:0,"0":"PublicKey",Script:1,"1":"Script",Redeem:2,"2":"Redeem", });
833
+ /**
834
+ */
835
+ 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", });
836
+ /**
837
+ */
838
+ module.exports.RedeemersKind = Object.freeze({ ArrLegacyRedeemer:0,"0":"ArrLegacyRedeemer",MapRedeemerKeyToRedeemerVal:1,"1":"MapRedeemerKeyToRedeemerVal", });
839
+ /**
840
+ */
841
+ module.exports.DRepKind = Object.freeze({ Key:0,"0":"Key",Script:1,"1":"Script",AlwaysAbstain:2,"2":"AlwaysAbstain",AlwaysNoConfidence:3,"3":"AlwaysNoConfidence", });
842
+ /**
843
+ * Which version of the CIP25 spec to use. See CIP25 for details.
844
+ * This will change how things are encoded but for the most part contains
845
+ * the same information.
846
+ */
847
+ module.exports.CIP25Version = Object.freeze({
848
+ /**
849
+ * Initial version of CIP25 with only string (utf8) asset names allowed.
850
+ */
851
+ V1:0,"0":"V1",
852
+ /**
853
+ * Second version of CIP25. Supports any type of asset names.
854
+ */
855
+ V2:1,"1":"V2", });
856
+ /**
816
857
  * JSON <-> PlutusData conversion schemas.
817
858
  * Follows ScriptDataJsonSchema in cardano-cli defined at:
818
859
  * https://github.com/input-output-hk/cardano-node/blob/master/cardano-api/src/Cardano/Api/ScriptData.hs#L254
@@ -865,38 +906,6 @@ BasicConversions:0,"0":"BasicConversions",
865
906
  DetailedSchema:1,"1":"DetailedSchema", });
866
907
  /**
867
908
  */
868
- module.exports.DatumOptionKind = Object.freeze({ Hash:0,"0":"Hash",Datum:1,"1":"Datum", });
869
- /**
870
- */
871
- module.exports.Vote = Object.freeze({ No:0,"0":"No",Yes:1,"1":"Yes",Abstain:2,"2":"Abstain", });
872
- /**
873
- */
874
- 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", });
875
- /**
876
- */
877
- 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", });
878
- /**
879
- * Which version of the CIP25 spec to use. See CIP25 for details.
880
- * This will change how things are encoded but for the most part contains
881
- * the same information.
882
- */
883
- module.exports.CIP25Version = Object.freeze({
884
- /**
885
- * Initial version of CIP25 with only string (utf8) asset names allowed.
886
- */
887
- V1:0,"0":"V1",
888
- /**
889
- * Second version of CIP25. Supports any type of asset names.
890
- */
891
- V2:1,"1":"V2", });
892
- /**
893
- */
894
- module.exports.StakeDistributionKind = Object.freeze({ SingleKey:0,"0":"SingleKey",BootstrapEra:1,"1":"BootstrapEra", });
895
- /**
896
- */
897
- module.exports.MetadataJsonSchema = Object.freeze({ NoConversions:0,"0":"NoConversions",BasicConversions:1,"1":"BasicConversions",DetailedSchema:2,"2":"DetailedSchema", });
898
- /**
899
- */
900
909
  module.exports.CoinSelectionStrategyCIP2 = Object.freeze({
901
910
  /**
902
911
  * Performs CIP2's Largest First ada-only selection. Will error if outputs contain non-ADA assets.
@@ -916,19 +925,10 @@ LargestFirstMultiAsset:2,"2":"LargestFirstMultiAsset",
916
925
  RandomImproveMultiAsset:3,"3":"RandomImproveMultiAsset", });
917
926
  /**
918
927
  */
919
- module.exports.TransactionOutputKind = Object.freeze({ AlonzoFormatTxOut:0,"0":"AlonzoFormatTxOut",ConwayFormatTxOut:1,"1":"ConwayFormatTxOut", });
920
- /**
921
- */
922
- module.exports.Language = Object.freeze({ PlutusV1:0,"0":"PlutusV1",PlutusV2:1,"1":"PlutusV2",PlutusV3:2,"2":"PlutusV3", });
923
- /**
924
- */
925
- module.exports.DelegationDistributionKind = Object.freeze({ Weighted:0,"0":"Weighted",Legacy:1,"1":"Legacy", });
926
- /**
927
- */
928
928
  module.exports.ChangeSelectionAlgo = Object.freeze({ Default:0,"0":"Default", });
929
929
  /**
930
930
  */
931
- 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", });
931
+ module.exports.DelegationDistributionKind = Object.freeze({ Weighted:0,"0":"Weighted",Legacy:1,"1":"Legacy", });
932
932
 
933
933
  const AddrAttributesFinalization = (typeof FinalizationRegistry === 'undefined')
934
934
  ? { 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": "5.3.1-5",
4
+ "version": "5.3.1-7",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",