@anastasia-labs/cardano-multiplatform-lib-browser 6.0.0-2 → 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.
@@ -195,39 +195,17 @@ export enum StakeDistributionKind {
195
195
  }
196
196
  /**
197
197
  */
198
- export enum CredentialKind {
199
- PubKey = 0,
200
- Script = 1,
201
- }
202
- /**
203
- * Which version of the CIP25 spec to use. See CIP25 for details.
204
- * This will change how things are encoded but for the most part contains
205
- * the same information.
206
- */
207
- export enum CIP25Version {
208
- /**
209
- * Initial version of CIP25 with only string (utf8) asset names allowed.
210
- */
211
- V1 = 0,
212
- /**
213
- * Second version of CIP25. Supports any type of asset names.
214
- */
215
- V2 = 1,
216
- }
217
- /**
218
- */
219
- export enum RedeemerTag {
220
- Spend = 0,
221
- Mint = 1,
222
- Cert = 2,
223
- Reward = 3,
224
- Voting = 4,
225
- Proposing = 5,
198
+ export enum SpendingDataKind {
199
+ SpendingDataPubKey = 0,
200
+ SpendingDataScript = 1,
201
+ SpendingDataRedeem = 2,
226
202
  }
227
203
  /**
228
204
  */
229
- export enum ChangeSelectionAlgo {
230
- Default = 0,
205
+ export enum RelayKind {
206
+ SingleHostAddr = 0,
207
+ SingleHostName = 1,
208
+ MultiHostName = 2,
231
209
  }
232
210
  /**
233
211
  */
@@ -240,6 +218,20 @@ export enum TransactionMetadatumKind {
240
218
  }
241
219
  /**
242
220
  */
221
+ export enum ByronAddrType {
222
+ PublicKey = 0,
223
+ Script = 1,
224
+ Redeem = 2,
225
+ }
226
+ /**
227
+ */
228
+ export enum Language {
229
+ PlutusV1 = 0,
230
+ PlutusV2 = 1,
231
+ PlutusV3 = 2,
232
+ }
233
+ /**
234
+ */
243
235
  export enum AuxiliaryDataKind {
244
236
  Shelley = 0,
245
237
  ShelleyMA = 1,
@@ -255,71 +247,23 @@ export enum PlutusDataKind {
255
247
  Bytes = 4,
256
248
  }
257
249
  /**
258
- * Careful: this enum doesn't include the network ID part of the header
259
- * ex: base address isn't 0b0000_0000 but instead 0b0000
260
- * Use `header_matches_kind` if you don't want to implement the bitwise operators yourself
261
- */
262
- export enum AddressHeaderKind {
263
- BasePaymentKeyStakeKey = 0,
264
- BasePaymentScriptStakeKey = 1,
265
- BasePaymentKeyStakeScript = 2,
266
- BasePaymentScriptStakeScript = 3,
267
- PointerKey = 4,
268
- PointerScript = 5,
269
- EnterpriseKey = 6,
270
- EnterpriseScript = 7,
271
- Byron = 8,
272
- RewardKey = 14,
273
- RewardScript = 15,
274
- }
275
- /**
276
250
  */
277
- export enum NonceKind {
278
- Identity = 0,
279
- Hash = 1,
280
- }
281
- /**
282
- */
283
- export enum Language {
284
- PlutusV1 = 0,
285
- PlutusV2 = 1,
286
- PlutusV3 = 2,
287
- }
288
- /**
289
- */
290
- export enum ScriptKind {
291
- Native = 0,
292
- PlutusV1 = 1,
293
- PlutusV2 = 2,
294
- PlutusV3 = 3,
295
- }
296
- /**
297
- */
298
- export enum NativeScriptKind {
299
- ScriptPubkey = 0,
300
- ScriptAll = 1,
301
- ScriptAny = 2,
302
- ScriptNOfK = 3,
303
- ScriptInvalidBefore = 4,
304
- ScriptInvalidHereafter = 5,
251
+ export enum Vote {
252
+ No = 0,
253
+ Yes = 1,
254
+ Abstain = 2,
305
255
  }
306
256
  /**
307
257
  */
308
- export enum GovActionKind {
309
- ParameterChangeAction = 0,
310
- HardForkInitiationAction = 1,
311
- TreasuryWithdrawalsAction = 2,
312
- NoConfidence = 3,
313
- UpdateCommittee = 4,
314
- NewConstitution = 5,
315
- InfoAction = 6,
258
+ export enum TransactionOutputKind {
259
+ AlonzoFormatTxOut = 0,
260
+ ConwayFormatTxOut = 1,
316
261
  }
317
262
  /**
318
263
  */
319
- export enum ByronAddrType {
320
- PublicKey = 0,
264
+ export enum CredentialKind {
265
+ PubKey = 0,
321
266
  Script = 1,
322
- Redeem = 2,
323
267
  }
324
268
  /**
325
269
  */
@@ -350,36 +294,6 @@ export enum CertificateKind {
350
294
  UpdateDrepCert = 16,
351
295
  }
352
296
  /**
353
- */
354
- export enum VoterKind {
355
- ConstitutionalCommitteeHotKeyHash = 0,
356
- ConstitutionalCommitteeHotScriptHash = 1,
357
- DRepKeyHash = 2,
358
- DRepScriptHash = 3,
359
- StakingPoolKeyHash = 4,
360
- }
361
- /**
362
- */
363
- export enum ChunkableStringKind {
364
- Single = 0,
365
- Chunked = 1,
366
- }
367
- /**
368
- */
369
- export enum DatumOptionKind {
370
- Hash = 0,
371
- Datum = 1,
372
- }
373
- /**
374
- */
375
- export enum AddressKind {
376
- Base = 0,
377
- Ptr = 1,
378
- Enterprise = 2,
379
- Reward = 3,
380
- Byron = 4,
381
- }
382
- /**
383
297
  * JSON <-> PlutusData conversion schemas.
384
298
  * Follows ScriptDataJsonSchema in cardano-cli defined at:
385
299
  * https://github.com/input-output-hk/cardano-node/blob/master/cardano-api/src/Cardano/Api/ScriptData.hs#L254
@@ -433,18 +347,12 @@ export enum CardanoNodePlutusDatumSchema {
433
347
  }
434
348
  /**
435
349
  */
436
- export enum DRepKind {
437
- Key = 0,
438
- Script = 1,
439
- AlwaysAbstain = 2,
440
- AlwaysNoConfidence = 3,
441
- }
442
- /**
443
- */
444
- export enum RelayKind {
445
- SingleHostAddr = 0,
446
- SingleHostName = 1,
447
- MultiHostName = 2,
350
+ export enum VoterKind {
351
+ ConstitutionalCommitteeHotKeyHash = 0,
352
+ ConstitutionalCommitteeHotScriptHash = 1,
353
+ DRepKeyHash = 2,
354
+ DRepScriptHash = 3,
355
+ StakingPoolKeyHash = 4,
448
356
  }
449
357
  /**
450
358
  */
@@ -454,16 +362,71 @@ export enum RedeemersKind {
454
362
  }
455
363
  /**
456
364
  */
457
- export enum DelegationDistributionKind {
458
- Weighted = 0,
459
- Legacy = 1,
365
+ export enum DatumOptionKind {
366
+ Hash = 0,
367
+ Datum = 1,
460
368
  }
461
369
  /**
462
370
  */
463
- export enum Vote {
464
- No = 0,
465
- Yes = 1,
466
- Abstain = 2,
371
+ export enum NativeScriptKind {
372
+ ScriptPubkey = 0,
373
+ ScriptAll = 1,
374
+ ScriptAny = 2,
375
+ ScriptNOfK = 3,
376
+ ScriptInvalidBefore = 4,
377
+ ScriptInvalidHereafter = 5,
378
+ }
379
+ /**
380
+ * Careful: this enum doesn't include the network ID part of the header
381
+ * ex: base address isn't 0b0000_0000 but instead 0b0000
382
+ * Use `header_matches_kind` if you don't want to implement the bitwise operators yourself
383
+ */
384
+ export enum AddressHeaderKind {
385
+ BasePaymentKeyStakeKey = 0,
386
+ BasePaymentScriptStakeKey = 1,
387
+ BasePaymentKeyStakeScript = 2,
388
+ BasePaymentScriptStakeScript = 3,
389
+ PointerKey = 4,
390
+ PointerScript = 5,
391
+ EnterpriseKey = 6,
392
+ EnterpriseScript = 7,
393
+ Byron = 8,
394
+ RewardKey = 14,
395
+ RewardScript = 15,
396
+ }
397
+ /**
398
+ */
399
+ export enum AddressKind {
400
+ Base = 0,
401
+ Ptr = 1,
402
+ Enterprise = 2,
403
+ Reward = 3,
404
+ Byron = 4,
405
+ }
406
+ /**
407
+ */
408
+ export enum NonceKind {
409
+ Identity = 0,
410
+ Hash = 1,
411
+ }
412
+ /**
413
+ */
414
+ export enum ScriptKind {
415
+ Native = 0,
416
+ PlutusV1 = 1,
417
+ PlutusV2 = 2,
418
+ PlutusV3 = 3,
419
+ }
420
+ /**
421
+ */
422
+ export enum GovActionKind {
423
+ ParameterChangeAction = 0,
424
+ HardForkInitiationAction = 1,
425
+ TreasuryWithdrawalsAction = 2,
426
+ NoConfidence = 3,
427
+ UpdateCommittee = 4,
428
+ NewConstitution = 5,
429
+ InfoAction = 6,
467
430
  }
468
431
  /**
469
432
  */
@@ -487,16 +450,53 @@ export enum CoinSelectionStrategyCIP2 {
487
450
  }
488
451
  /**
489
452
  */
490
- export enum SpendingDataKind {
491
- SpendingDataPubKey = 0,
492
- SpendingDataScript = 1,
493
- SpendingDataRedeem = 2,
453
+ export enum ChangeSelectionAlgo {
454
+ Default = 0,
494
455
  }
495
456
  /**
496
457
  */
497
- export enum TransactionOutputKind {
498
- AlonzoFormatTxOut = 0,
499
- ConwayFormatTxOut = 1,
458
+ export enum DelegationDistributionKind {
459
+ Weighted = 0,
460
+ Legacy = 1,
461
+ }
462
+ /**
463
+ */
464
+ export enum DRepKind {
465
+ Key = 0,
466
+ Script = 1,
467
+ AlwaysAbstain = 2,
468
+ AlwaysNoConfidence = 3,
469
+ }
470
+ /**
471
+ */
472
+ export enum ChunkableStringKind {
473
+ Single = 0,
474
+ Chunked = 1,
475
+ }
476
+ /**
477
+ */
478
+ export enum RedeemerTag {
479
+ Spend = 0,
480
+ Mint = 1,
481
+ Cert = 2,
482
+ Reward = 3,
483
+ Voting = 4,
484
+ Proposing = 5,
485
+ }
486
+ /**
487
+ * Which version of the CIP25 spec to use. See CIP25 for details.
488
+ * This will change how things are encoded but for the most part contains
489
+ * the same information.
490
+ */
491
+ export enum CIP25Version {
492
+ /**
493
+ * Initial version of CIP25 with only string (utf8) asset names allowed.
494
+ */
495
+ V1 = 0,
496
+ /**
497
+ * Second version of CIP25. Supports any type of asset names.
498
+ */
499
+ V2 = 1,
500
500
  }
501
501
  /**
502
502
  */
@@ -774,30 +774,19 @@ function getArrayU64FromWasm0(ptr, len) {
774
774
  export const StakeDistributionKind = Object.freeze({ SingleKey:0,"0":"SingleKey",BootstrapEra:1,"1":"BootstrapEra", });
775
775
  /**
776
776
  */
777
- export const CredentialKind = Object.freeze({ PubKey:0,"0":"PubKey",Script:1,"1":"Script", });
778
- /**
779
- * Which version of the CIP25 spec to use. See CIP25 for details.
780
- * This will change how things are encoded but for the most part contains
781
- * the same information.
782
- */
783
- export const CIP25Version = Object.freeze({
784
- /**
785
- * Initial version of CIP25 with only string (utf8) asset names allowed.
786
- */
787
- V1:0,"0":"V1",
777
+ export const SpendingDataKind = Object.freeze({ SpendingDataPubKey:0,"0":"SpendingDataPubKey",SpendingDataScript:1,"1":"SpendingDataScript",SpendingDataRedeem:2,"2":"SpendingDataRedeem", });
788
778
  /**
789
- * Second version of CIP25. Supports any type of asset names.
790
779
  */
791
- V2:1,"1":"V2", });
780
+ export const RelayKind = Object.freeze({ SingleHostAddr:0,"0":"SingleHostAddr",SingleHostName:1,"1":"SingleHostName",MultiHostName:2,"2":"MultiHostName", });
792
781
  /**
793
782
  */
794
- export const 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
+ export const TransactionMetadatumKind = Object.freeze({ Map:0,"0":"Map",List:1,"1":"List",Int:2,"2":"Int",Bytes:3,"3":"Bytes",Text:4,"4":"Text", });
795
784
  /**
796
785
  */
797
- export const ChangeSelectionAlgo = Object.freeze({ Default:0,"0":"Default", });
786
+ export const ByronAddrType = Object.freeze({ PublicKey:0,"0":"PublicKey",Script:1,"1":"Script",Redeem:2,"2":"Redeem", });
798
787
  /**
799
788
  */
800
- export const TransactionMetadatumKind = Object.freeze({ Map:0,"0":"Map",List:1,"1":"List",Int:2,"2":"Int",Bytes:3,"3":"Bytes",Text:4,"4":"Text", });
789
+ export const Language = Object.freeze({ PlutusV1:0,"0":"PlutusV1",PlutusV2:1,"1":"PlutusV2",PlutusV3:2,"2":"PlutusV3", });
801
790
  /**
802
791
  */
803
792
  export const AuxiliaryDataKind = Object.freeze({ Shelley:0,"0":"Shelley",ShelleyMA:1,"1":"ShelleyMA",Conway:2,"2":"Conway", });
@@ -805,29 +794,14 @@ export const AuxiliaryDataKind = Object.freeze({ Shelley:0,"0":"Shelley",Shelley
805
794
  */
806
795
  export const PlutusDataKind = Object.freeze({ ConstrPlutusData:0,"0":"ConstrPlutusData",Map:1,"1":"Map",List:2,"2":"List",Integer:3,"3":"Integer",Bytes:4,"4":"Bytes", });
807
796
  /**
808
- * Careful: this enum doesn't include the network ID part of the header
809
- * ex: base address isn't 0b0000_0000 but instead 0b0000
810
- * Use `header_matches_kind` if you don't want to implement the bitwise operators yourself
811
- */
812
- export const 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", });
813
- /**
814
797
  */
815
- export const NonceKind = Object.freeze({ Identity:0,"0":"Identity",Hash:1,"1":"Hash", });
816
- /**
817
- */
818
- export const Language = Object.freeze({ PlutusV1:0,"0":"PlutusV1",PlutusV2:1,"1":"PlutusV2",PlutusV3:2,"2":"PlutusV3", });
819
- /**
820
- */
821
- export const ScriptKind = Object.freeze({ Native:0,"0":"Native",PlutusV1:1,"1":"PlutusV1",PlutusV2:2,"2":"PlutusV2",PlutusV3:3,"3":"PlutusV3", });
822
- /**
823
- */
824
- export const 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", });
798
+ export const Vote = Object.freeze({ No:0,"0":"No",Yes:1,"1":"Yes",Abstain:2,"2":"Abstain", });
825
799
  /**
826
800
  */
827
- export const 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", });
801
+ export const TransactionOutputKind = Object.freeze({ AlonzoFormatTxOut:0,"0":"AlonzoFormatTxOut",ConwayFormatTxOut:1,"1":"ConwayFormatTxOut", });
828
802
  /**
829
803
  */
830
- export const ByronAddrType = Object.freeze({ PublicKey:0,"0":"PublicKey",Script:1,"1":"Script",Redeem:2,"2":"Redeem", });
804
+ export const CredentialKind = Object.freeze({ PubKey:0,"0":"PubKey",Script:1,"1":"Script", });
831
805
  /**
832
806
  */
833
807
  export const MetadataJsonSchema = Object.freeze({ NoConversions:0,"0":"NoConversions",BasicConversions:1,"1":"BasicConversions",DetailedSchema:2,"2":"DetailedSchema", });
@@ -835,18 +809,6 @@ export const MetadataJsonSchema = Object.freeze({ NoConversions:0,"0":"NoConvers
835
809
  */
836
810
  export const 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", });
837
811
  /**
838
- */
839
- export const VoterKind = Object.freeze({ ConstitutionalCommitteeHotKeyHash:0,"0":"ConstitutionalCommitteeHotKeyHash",ConstitutionalCommitteeHotScriptHash:1,"1":"ConstitutionalCommitteeHotScriptHash",DRepKeyHash:2,"2":"DRepKeyHash",DRepScriptHash:3,"3":"DRepScriptHash",StakingPoolKeyHash:4,"4":"StakingPoolKeyHash", });
840
- /**
841
- */
842
- export const ChunkableStringKind = Object.freeze({ Single:0,"0":"Single",Chunked:1,"1":"Chunked", });
843
- /**
844
- */
845
- export const DatumOptionKind = Object.freeze({ Hash:0,"0":"Hash",Datum:1,"1":"Datum", });
846
- /**
847
- */
848
- export const AddressKind = Object.freeze({ Base:0,"0":"Base",Ptr:1,"1":"Ptr",Enterprise:2,"2":"Enterprise",Reward:3,"3":"Reward",Byron:4,"4":"Byron", });
849
- /**
850
812
  * JSON <-> PlutusData conversion schemas.
851
813
  * Follows ScriptDataJsonSchema in cardano-cli defined at:
852
814
  * https://github.com/input-output-hk/cardano-node/blob/master/cardano-api/src/Cardano/Api/ScriptData.hs#L254
@@ -899,19 +861,34 @@ BasicConversions:0,"0":"BasicConversions",
899
861
  DetailedSchema:1,"1":"DetailedSchema", });
900
862
  /**
901
863
  */
902
- export const DRepKind = Object.freeze({ Key:0,"0":"Key",Script:1,"1":"Script",AlwaysAbstain:2,"2":"AlwaysAbstain",AlwaysNoConfidence:3,"3":"AlwaysNoConfidence", });
864
+ export const VoterKind = Object.freeze({ ConstitutionalCommitteeHotKeyHash:0,"0":"ConstitutionalCommitteeHotKeyHash",ConstitutionalCommitteeHotScriptHash:1,"1":"ConstitutionalCommitteeHotScriptHash",DRepKeyHash:2,"2":"DRepKeyHash",DRepScriptHash:3,"3":"DRepScriptHash",StakingPoolKeyHash:4,"4":"StakingPoolKeyHash", });
903
865
  /**
904
866
  */
905
- export const RelayKind = Object.freeze({ SingleHostAddr:0,"0":"SingleHostAddr",SingleHostName:1,"1":"SingleHostName",MultiHostName:2,"2":"MultiHostName", });
867
+ export const RedeemersKind = Object.freeze({ ArrLegacyRedeemer:0,"0":"ArrLegacyRedeemer",MapRedeemerKeyToRedeemerVal:1,"1":"MapRedeemerKeyToRedeemerVal", });
906
868
  /**
907
869
  */
908
- export const RedeemersKind = Object.freeze({ ArrLegacyRedeemer:0,"0":"ArrLegacyRedeemer",MapRedeemerKeyToRedeemerVal:1,"1":"MapRedeemerKeyToRedeemerVal", });
870
+ export const DatumOptionKind = Object.freeze({ Hash:0,"0":"Hash",Datum:1,"1":"Datum", });
909
871
  /**
910
872
  */
911
- export const DelegationDistributionKind = Object.freeze({ Weighted:0,"0":"Weighted",Legacy:1,"1":"Legacy", });
873
+ export const 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", });
912
874
  /**
875
+ * Careful: this enum doesn't include the network ID part of the header
876
+ * ex: base address isn't 0b0000_0000 but instead 0b0000
877
+ * Use `header_matches_kind` if you don't want to implement the bitwise operators yourself
913
878
  */
914
- export const Vote = Object.freeze({ No:0,"0":"No",Yes:1,"1":"Yes",Abstain:2,"2":"Abstain", });
879
+ export const 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", });
880
+ /**
881
+ */
882
+ export const AddressKind = Object.freeze({ Base:0,"0":"Base",Ptr:1,"1":"Ptr",Enterprise:2,"2":"Enterprise",Reward:3,"3":"Reward",Byron:4,"4":"Byron", });
883
+ /**
884
+ */
885
+ export const NonceKind = Object.freeze({ Identity:0,"0":"Identity",Hash:1,"1":"Hash", });
886
+ /**
887
+ */
888
+ export const ScriptKind = Object.freeze({ Native:0,"0":"Native",PlutusV1:1,"1":"PlutusV1",PlutusV2:2,"2":"PlutusV2",PlutusV3:3,"3":"PlutusV3", });
889
+ /**
890
+ */
891
+ export const 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", });
915
892
  /**
916
893
  */
917
894
  export const CoinSelectionStrategyCIP2 = Object.freeze({
@@ -933,10 +910,33 @@ LargestFirstMultiAsset:2,"2":"LargestFirstMultiAsset",
933
910
  RandomImproveMultiAsset:3,"3":"RandomImproveMultiAsset", });
934
911
  /**
935
912
  */
936
- export const SpendingDataKind = Object.freeze({ SpendingDataPubKey:0,"0":"SpendingDataPubKey",SpendingDataScript:1,"1":"SpendingDataScript",SpendingDataRedeem:2,"2":"SpendingDataRedeem", });
913
+ export const ChangeSelectionAlgo = Object.freeze({ Default:0,"0":"Default", });
937
914
  /**
938
915
  */
939
- export const TransactionOutputKind = Object.freeze({ AlonzoFormatTxOut:0,"0":"AlonzoFormatTxOut",ConwayFormatTxOut:1,"1":"ConwayFormatTxOut", });
916
+ export const DelegationDistributionKind = Object.freeze({ Weighted:0,"0":"Weighted",Legacy:1,"1":"Legacy", });
917
+ /**
918
+ */
919
+ export const DRepKind = Object.freeze({ Key:0,"0":"Key",Script:1,"1":"Script",AlwaysAbstain:2,"2":"AlwaysAbstain",AlwaysNoConfidence:3,"3":"AlwaysNoConfidence", });
920
+ /**
921
+ */
922
+ export const ChunkableStringKind = Object.freeze({ Single:0,"0":"Single",Chunked:1,"1":"Chunked", });
923
+ /**
924
+ */
925
+ export const 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", });
926
+ /**
927
+ * Which version of the CIP25 spec to use. See CIP25 for details.
928
+ * This will change how things are encoded but for the most part contains
929
+ * the same information.
930
+ */
931
+ export const CIP25Version = Object.freeze({
932
+ /**
933
+ * Initial version of CIP25 with only string (utf8) asset names allowed.
934
+ */
935
+ V1:0,"0":"V1",
936
+ /**
937
+ * Second version of CIP25. Supports any type of asset names.
938
+ */
939
+ V2:1,"1":"V2", });
940
940
 
941
941
  const AddrAttributesFinalization = (typeof FinalizationRegistry === 'undefined')
942
942
  ? { register: () => {}, unregister: () => {} }
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@anastasia-labs/cardano-multiplatform-lib-browser",
3
3
  "description": "Multiplatform WASM SDK containing the most common CML crates for Cardano blockchain functionality",
4
- "version": "6.0.0-2",
4
+ "version": "6.0.0-4",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",