@msafe/sui-app-store 0.0.338 → 0.0.340

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.d.mts CHANGED
@@ -3,7 +3,7 @@ import { SuiAddress, TransactionType, CreateStreamIntentionData, SetAutoClaimInt
3
3
  import { NumStr } from '@firefly-exchange/library-sui';
4
4
  import { Pool, NFT, Trade } from 'turbos-clmm-sdk';
5
5
  import { Transaction } from '@mysten/sui/transactions';
6
- import { SuiSignTransactionBlockInput, WalletAccount, IdentifierString } from '@mysten/wallet-standard';
6
+ import { IdentifierString, WalletAccount, SuiSignTransactionBlockInput } from '@mysten/wallet-standard';
7
7
  import { SuiJsonRpcClient } from '@mysten/sui/jsonRpc';
8
8
  import { SuiGrpcClient } from '@mysten/sui/grpc';
9
9
  import { SuiClient } from '@mysten/sui.js/client';
@@ -216,31 +216,6 @@ declare enum TransactionSubType {
216
216
  Unbond = "Unbond"
217
217
  }
218
218
 
219
- interface IAppHelperInternalLegacy<T> {
220
- application: string;
221
- supportSDK: '@mysten/sui.js';
222
- deserialize(input: SuiSignTransactionBlockInput & {
223
- network: SuiNetworks;
224
- suiClient: SuiClient;
225
- account: WalletAccount;
226
- appContext?: any;
227
- }): Promise<{
228
- txType: TransactionType;
229
- txSubType: string;
230
- intentionData: T;
231
- }>;
232
- build(input: {
233
- network: SuiNetworks;
234
- txType: TransactionType;
235
- txSubType: string;
236
- intentionData: T;
237
- suiClient: SuiClient;
238
- account: WalletAccount;
239
- }): Promise<TransactionBlock>;
240
- }
241
-
242
- type MPayIntentionData = CreateStreamIntentionData | SetAutoClaimIntentionData | ClaimStreamIntentionData | ClaimByProxyStreamIntentionData | CancelStreamIntentionData;
243
-
244
219
  interface IAppHelperInternalGrpc<T> {
245
220
  application: string;
246
221
  supportSDK: '@mysten/sui-v2';
@@ -266,6 +241,8 @@ interface IAppHelperInternalGrpc<T> {
266
241
  }): Promise<Transaction>;
267
242
  }
268
243
 
244
+ type MPayIntentionData = CreateStreamIntentionData | SetAutoClaimIntentionData | ClaimStreamIntentionData | ClaimByProxyStreamIntentionData | CancelStreamIntentionData;
245
+
269
246
  interface CoinTransferIntentionData {
270
247
  recipient: string;
271
248
  coinType: string;
@@ -658,6 +635,29 @@ interface SwapExactQuoteForBaseIntentionData {
658
635
  amountIn: number;
659
636
  }
660
637
 
638
+ interface IAppHelperInternalLegacy<T> {
639
+ application: string;
640
+ supportSDK: '@mysten/sui.js';
641
+ deserialize(input: SuiSignTransactionBlockInput & {
642
+ network: SuiNetworks;
643
+ suiClient: SuiClient;
644
+ account: WalletAccount;
645
+ appContext?: any;
646
+ }): Promise<{
647
+ txType: TransactionType;
648
+ txSubType: string;
649
+ intentionData: T;
650
+ }>;
651
+ build(input: {
652
+ network: SuiNetworks;
653
+ txType: TransactionType;
654
+ txSubType: string;
655
+ intentionData: T;
656
+ suiClient: SuiClient;
657
+ account: WalletAccount;
658
+ }): Promise<TransactionBlock>;
659
+ }
660
+
661
661
  interface ClaimTicketIntentionData {
662
662
  ticketId: string;
663
663
  }
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ import { SuiAddress, TransactionType, CreateStreamIntentionData, SetAutoClaimInt
3
3
  import { NumStr } from '@firefly-exchange/library-sui';
4
4
  import { Pool, NFT, Trade } from 'turbos-clmm-sdk';
5
5
  import { Transaction } from '@mysten/sui/transactions';
6
- import { SuiSignTransactionBlockInput, WalletAccount, IdentifierString } from '@mysten/wallet-standard';
6
+ import { IdentifierString, WalletAccount, SuiSignTransactionBlockInput } from '@mysten/wallet-standard';
7
7
  import { SuiJsonRpcClient } from '@mysten/sui/jsonRpc';
8
8
  import { SuiGrpcClient } from '@mysten/sui/grpc';
9
9
  import { SuiClient } from '@mysten/sui.js/client';
@@ -216,31 +216,6 @@ declare enum TransactionSubType {
216
216
  Unbond = "Unbond"
217
217
  }
218
218
 
219
- interface IAppHelperInternalLegacy<T> {
220
- application: string;
221
- supportSDK: '@mysten/sui.js';
222
- deserialize(input: SuiSignTransactionBlockInput & {
223
- network: SuiNetworks;
224
- suiClient: SuiClient;
225
- account: WalletAccount;
226
- appContext?: any;
227
- }): Promise<{
228
- txType: TransactionType;
229
- txSubType: string;
230
- intentionData: T;
231
- }>;
232
- build(input: {
233
- network: SuiNetworks;
234
- txType: TransactionType;
235
- txSubType: string;
236
- intentionData: T;
237
- suiClient: SuiClient;
238
- account: WalletAccount;
239
- }): Promise<TransactionBlock>;
240
- }
241
-
242
- type MPayIntentionData = CreateStreamIntentionData | SetAutoClaimIntentionData | ClaimStreamIntentionData | ClaimByProxyStreamIntentionData | CancelStreamIntentionData;
243
-
244
219
  interface IAppHelperInternalGrpc<T> {
245
220
  application: string;
246
221
  supportSDK: '@mysten/sui-v2';
@@ -266,6 +241,8 @@ interface IAppHelperInternalGrpc<T> {
266
241
  }): Promise<Transaction>;
267
242
  }
268
243
 
244
+ type MPayIntentionData = CreateStreamIntentionData | SetAutoClaimIntentionData | ClaimStreamIntentionData | ClaimByProxyStreamIntentionData | CancelStreamIntentionData;
245
+
269
246
  interface CoinTransferIntentionData {
270
247
  recipient: string;
271
248
  coinType: string;
@@ -658,6 +635,29 @@ interface SwapExactQuoteForBaseIntentionData {
658
635
  amountIn: number;
659
636
  }
660
637
 
638
+ interface IAppHelperInternalLegacy<T> {
639
+ application: string;
640
+ supportSDK: '@mysten/sui.js';
641
+ deserialize(input: SuiSignTransactionBlockInput & {
642
+ network: SuiNetworks;
643
+ suiClient: SuiClient;
644
+ account: WalletAccount;
645
+ appContext?: any;
646
+ }): Promise<{
647
+ txType: TransactionType;
648
+ txSubType: string;
649
+ intentionData: T;
650
+ }>;
651
+ build(input: {
652
+ network: SuiNetworks;
653
+ txType: TransactionType;
654
+ txSubType: string;
655
+ intentionData: T;
656
+ suiClient: SuiClient;
657
+ account: WalletAccount;
658
+ }): Promise<TransactionBlock>;
659
+ }
660
+
661
661
  interface ClaimTicketIntentionData {
662
662
  ticketId: string;
663
663
  }