@msafe/sui-app-store 0.0.22 → 0.0.23
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.global.js +2 -2
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -2683,14 +2683,14 @@ var MPayAppHelper = class {
|
|
|
2683
2683
|
const result = decoder.decode();
|
|
2684
2684
|
if (result.type === "CreateStream" /* CREATE_STREAM */) {
|
|
2685
2685
|
return {
|
|
2686
|
-
txType: import_sui3_utils.TransactionType.
|
|
2686
|
+
txType: import_sui3_utils.TransactionType.Stream,
|
|
2687
2687
|
txSubType: result.type,
|
|
2688
2688
|
intentionData: result.info
|
|
2689
2689
|
};
|
|
2690
2690
|
}
|
|
2691
2691
|
if (result.type === "Claim" /* CLAIM */) {
|
|
2692
2692
|
return {
|
|
2693
|
-
txType: import_sui3_utils.TransactionType.
|
|
2693
|
+
txType: import_sui3_utils.TransactionType.Stream,
|
|
2694
2694
|
txSubType: result.type,
|
|
2695
2695
|
intentionData: {
|
|
2696
2696
|
streamId: result.streamId
|
|
@@ -2699,7 +2699,7 @@ var MPayAppHelper = class {
|
|
|
2699
2699
|
}
|
|
2700
2700
|
if (result.type === "ClaimByProxy" /* CLAIM_BY_PROXY */) {
|
|
2701
2701
|
return {
|
|
2702
|
-
txType: import_sui3_utils.TransactionType.
|
|
2702
|
+
txType: import_sui3_utils.TransactionType.Stream,
|
|
2703
2703
|
txSubType: result.type,
|
|
2704
2704
|
intentionData: {
|
|
2705
2705
|
streamId: result.streamId
|
|
@@ -2708,7 +2708,7 @@ var MPayAppHelper = class {
|
|
|
2708
2708
|
}
|
|
2709
2709
|
if (result.type === "SetAutoClaim" /* SET_AUTO_CLAIM */) {
|
|
2710
2710
|
return {
|
|
2711
|
-
txType: import_sui3_utils.TransactionType.
|
|
2711
|
+
txType: import_sui3_utils.TransactionType.Stream,
|
|
2712
2712
|
txSubType: result.type,
|
|
2713
2713
|
intentionData: {
|
|
2714
2714
|
streamId: result.streamId,
|
|
@@ -2718,7 +2718,7 @@ var MPayAppHelper = class {
|
|
|
2718
2718
|
}
|
|
2719
2719
|
if (result.type === "Cancel" /* CANCEL */) {
|
|
2720
2720
|
return {
|
|
2721
|
-
txType: import_sui3_utils.TransactionType.
|
|
2721
|
+
txType: import_sui3_utils.TransactionType.Stream,
|
|
2722
2722
|
txSubType: result.type,
|
|
2723
2723
|
intentionData: {
|
|
2724
2724
|
streamId: result.streamId
|