@meshsdk/contract 1.6.2 → 1.6.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.
- package/dist/index.cjs +1801 -28
- package/dist/index.d.cts +22 -23
- package/dist/index.d.ts +22 -23
- package/dist/index.js +1823 -28
- package/package.json +9 -8
package/dist/index.d.cts
CHANGED
|
@@ -206,6 +206,10 @@ declare const MeshVestingBlueprint: {
|
|
|
206
206
|
ByteArray: {
|
|
207
207
|
dataType: string;
|
|
208
208
|
};
|
|
209
|
+
Data: {
|
|
210
|
+
title: string;
|
|
211
|
+
description: string;
|
|
212
|
+
};
|
|
209
213
|
Int: {
|
|
210
214
|
dataType: string;
|
|
211
215
|
};
|
|
@@ -504,7 +508,6 @@ declare class MeshGiftCardContract extends MeshTxInitiator {
|
|
|
504
508
|
createGiftCard: (tokenName: string, giftValue: Asset[]) => Promise<string>;
|
|
505
509
|
redeemGiftCard: (giftCardUtxo: UTxO) => Promise<string>;
|
|
506
510
|
getUtxoByTxHash: (txHash: string) => Promise<UTxO | undefined>;
|
|
507
|
-
private getScripts;
|
|
508
511
|
}
|
|
509
512
|
|
|
510
513
|
declare const MeshPaymentSplitterBlueprint: {
|
|
@@ -623,6 +626,24 @@ declare const MeshSwapBlueprint: {
|
|
|
623
626
|
Int: {
|
|
624
627
|
dataType: string;
|
|
625
628
|
};
|
|
629
|
+
List$Pair$ByteArray_Int: {
|
|
630
|
+
dataType: string;
|
|
631
|
+
keys: {
|
|
632
|
+
$ref: string;
|
|
633
|
+
};
|
|
634
|
+
values: {
|
|
635
|
+
$ref: string;
|
|
636
|
+
};
|
|
637
|
+
};
|
|
638
|
+
List$Pair$ByteArray_List$Pair$ByteArray_Int: {
|
|
639
|
+
dataType: string;
|
|
640
|
+
keys: {
|
|
641
|
+
$ref: string;
|
|
642
|
+
};
|
|
643
|
+
values: {
|
|
644
|
+
$ref: string;
|
|
645
|
+
};
|
|
646
|
+
};
|
|
626
647
|
"Option$aiken/transaction/credential/Referenced$aiken/transaction/credential/Credential": {
|
|
627
648
|
title: string;
|
|
628
649
|
anyOf: {
|
|
@@ -635,17 +656,6 @@ declare const MeshSwapBlueprint: {
|
|
|
635
656
|
}[];
|
|
636
657
|
}[];
|
|
637
658
|
};
|
|
638
|
-
"aiken/dict/Dict$ByteArray_Int": {
|
|
639
|
-
title: string;
|
|
640
|
-
description: string;
|
|
641
|
-
dataType: string;
|
|
642
|
-
keys: {
|
|
643
|
-
$ref: string;
|
|
644
|
-
};
|
|
645
|
-
values: {
|
|
646
|
-
$ref: string;
|
|
647
|
-
};
|
|
648
|
-
};
|
|
649
659
|
"aiken/transaction/credential/Address": {
|
|
650
660
|
title: string;
|
|
651
661
|
description: string;
|
|
@@ -691,17 +701,6 @@ declare const MeshSwapBlueprint: {
|
|
|
691
701
|
}[];
|
|
692
702
|
})[];
|
|
693
703
|
};
|
|
694
|
-
"aiken/transaction/value/Value": {
|
|
695
|
-
title: string;
|
|
696
|
-
description: string;
|
|
697
|
-
dataType: string;
|
|
698
|
-
keys: {
|
|
699
|
-
$ref: string;
|
|
700
|
-
};
|
|
701
|
-
values: {
|
|
702
|
-
$ref: string;
|
|
703
|
-
};
|
|
704
|
-
};
|
|
705
704
|
"swap/SwapDatum": {
|
|
706
705
|
title: string;
|
|
707
706
|
anyOf: {
|
package/dist/index.d.ts
CHANGED
|
@@ -206,6 +206,10 @@ declare const MeshVestingBlueprint: {
|
|
|
206
206
|
ByteArray: {
|
|
207
207
|
dataType: string;
|
|
208
208
|
};
|
|
209
|
+
Data: {
|
|
210
|
+
title: string;
|
|
211
|
+
description: string;
|
|
212
|
+
};
|
|
209
213
|
Int: {
|
|
210
214
|
dataType: string;
|
|
211
215
|
};
|
|
@@ -504,7 +508,6 @@ declare class MeshGiftCardContract extends MeshTxInitiator {
|
|
|
504
508
|
createGiftCard: (tokenName: string, giftValue: Asset[]) => Promise<string>;
|
|
505
509
|
redeemGiftCard: (giftCardUtxo: UTxO) => Promise<string>;
|
|
506
510
|
getUtxoByTxHash: (txHash: string) => Promise<UTxO | undefined>;
|
|
507
|
-
private getScripts;
|
|
508
511
|
}
|
|
509
512
|
|
|
510
513
|
declare const MeshPaymentSplitterBlueprint: {
|
|
@@ -623,6 +626,24 @@ declare const MeshSwapBlueprint: {
|
|
|
623
626
|
Int: {
|
|
624
627
|
dataType: string;
|
|
625
628
|
};
|
|
629
|
+
List$Pair$ByteArray_Int: {
|
|
630
|
+
dataType: string;
|
|
631
|
+
keys: {
|
|
632
|
+
$ref: string;
|
|
633
|
+
};
|
|
634
|
+
values: {
|
|
635
|
+
$ref: string;
|
|
636
|
+
};
|
|
637
|
+
};
|
|
638
|
+
List$Pair$ByteArray_List$Pair$ByteArray_Int: {
|
|
639
|
+
dataType: string;
|
|
640
|
+
keys: {
|
|
641
|
+
$ref: string;
|
|
642
|
+
};
|
|
643
|
+
values: {
|
|
644
|
+
$ref: string;
|
|
645
|
+
};
|
|
646
|
+
};
|
|
626
647
|
"Option$aiken/transaction/credential/Referenced$aiken/transaction/credential/Credential": {
|
|
627
648
|
title: string;
|
|
628
649
|
anyOf: {
|
|
@@ -635,17 +656,6 @@ declare const MeshSwapBlueprint: {
|
|
|
635
656
|
}[];
|
|
636
657
|
}[];
|
|
637
658
|
};
|
|
638
|
-
"aiken/dict/Dict$ByteArray_Int": {
|
|
639
|
-
title: string;
|
|
640
|
-
description: string;
|
|
641
|
-
dataType: string;
|
|
642
|
-
keys: {
|
|
643
|
-
$ref: string;
|
|
644
|
-
};
|
|
645
|
-
values: {
|
|
646
|
-
$ref: string;
|
|
647
|
-
};
|
|
648
|
-
};
|
|
649
659
|
"aiken/transaction/credential/Address": {
|
|
650
660
|
title: string;
|
|
651
661
|
description: string;
|
|
@@ -691,17 +701,6 @@ declare const MeshSwapBlueprint: {
|
|
|
691
701
|
}[];
|
|
692
702
|
})[];
|
|
693
703
|
};
|
|
694
|
-
"aiken/transaction/value/Value": {
|
|
695
|
-
title: string;
|
|
696
|
-
description: string;
|
|
697
|
-
dataType: string;
|
|
698
|
-
keys: {
|
|
699
|
-
$ref: string;
|
|
700
|
-
};
|
|
701
|
-
values: {
|
|
702
|
-
$ref: string;
|
|
703
|
-
};
|
|
704
|
-
};
|
|
705
704
|
"swap/SwapDatum": {
|
|
706
705
|
title: string;
|
|
707
706
|
anyOf: {
|