@anastasia-labs/cardano-multiplatform-lib-browser 6.0.0-4 → 6.0.0-6

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