@msafe/sui-app-store 0.0.335 → 0.0.336

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
@@ -1,9 +1,9 @@
1
1
  import { TransactionType } from '@msafe/sui3-utils';
2
2
  import { Transaction } from '@mysten/sui/transactions';
3
3
  import { SuiSignTransactionBlockInput, WalletAccount, IdentifierString } from '@mysten/wallet-standard';
4
- import { SuiClient } from '@mysten/sui/client';
4
+ import { SuiJsonRpcClient } from '@mysten/sui/jsonRpc';
5
5
  import { SuiGrpcClient } from '@mysten/sui/grpc';
6
- import { SuiClient as SuiClient$1 } from '@mysten/sui.js/client';
6
+ import { SuiClient } from '@mysten/sui.js/client';
7
7
  import { TransactionBlock } from '@mysten/sui.js/transactions';
8
8
 
9
9
  type SuiNetworks = 'sui:devnet' | 'sui:testnet' | 'sui:localnet' | 'sui:mainnet';
@@ -36,7 +36,7 @@ interface IAppHelperInternal<T> {
36
36
  transaction: Transaction;
37
37
  chain: IdentifierString;
38
38
  network: SuiNetworks;
39
- suiClient: SuiClient;
39
+ suiClient: SuiJsonRpcClient;
40
40
  account: WalletAccount;
41
41
  appContext?: any;
42
42
  }): Promise<{
@@ -49,7 +49,7 @@ interface IAppHelperInternal<T> {
49
49
  txType: TransactionType;
50
50
  txSubType: string;
51
51
  intentionData: T;
52
- suiClient: SuiClient;
52
+ suiClient: SuiJsonRpcClient;
53
53
  account: WalletAccount;
54
54
  }): Promise<Transaction>;
55
55
  }
@@ -84,7 +84,7 @@ interface IAppHelperInternalLegacy<T> {
84
84
  supportSDK: '@mysten/sui.js';
85
85
  deserialize(input: SuiSignTransactionBlockInput & {
86
86
  network: SuiNetworks;
87
- suiClient: SuiClient$1;
87
+ suiClient: SuiClient;
88
88
  account: WalletAccount;
89
89
  appContext?: any;
90
90
  }): Promise<{
@@ -97,7 +97,7 @@ interface IAppHelperInternalLegacy<T> {
97
97
  txType: TransactionType;
98
98
  txSubType: string;
99
99
  intentionData: T;
100
- suiClient: SuiClient$1;
100
+ suiClient: SuiClient;
101
101
  account: WalletAccount;
102
102
  }): Promise<TransactionBlock>;
103
103
  }
package/dist/index.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import { TransactionType } from '@msafe/sui3-utils';
2
2
  import { Transaction } from '@mysten/sui/transactions';
3
3
  import { SuiSignTransactionBlockInput, WalletAccount, IdentifierString } from '@mysten/wallet-standard';
4
- import { SuiClient } from '@mysten/sui/client';
4
+ import { SuiJsonRpcClient } from '@mysten/sui/jsonRpc';
5
5
  import { SuiGrpcClient } from '@mysten/sui/grpc';
6
- import { SuiClient as SuiClient$1 } from '@mysten/sui.js/client';
6
+ import { SuiClient } from '@mysten/sui.js/client';
7
7
  import { TransactionBlock } from '@mysten/sui.js/transactions';
8
8
 
9
9
  type SuiNetworks = 'sui:devnet' | 'sui:testnet' | 'sui:localnet' | 'sui:mainnet';
@@ -36,7 +36,7 @@ interface IAppHelperInternal<T> {
36
36
  transaction: Transaction;
37
37
  chain: IdentifierString;
38
38
  network: SuiNetworks;
39
- suiClient: SuiClient;
39
+ suiClient: SuiJsonRpcClient;
40
40
  account: WalletAccount;
41
41
  appContext?: any;
42
42
  }): Promise<{
@@ -49,7 +49,7 @@ interface IAppHelperInternal<T> {
49
49
  txType: TransactionType;
50
50
  txSubType: string;
51
51
  intentionData: T;
52
- suiClient: SuiClient;
52
+ suiClient: SuiJsonRpcClient;
53
53
  account: WalletAccount;
54
54
  }): Promise<Transaction>;
55
55
  }
@@ -84,7 +84,7 @@ interface IAppHelperInternalLegacy<T> {
84
84
  supportSDK: '@mysten/sui.js';
85
85
  deserialize(input: SuiSignTransactionBlockInput & {
86
86
  network: SuiNetworks;
87
- suiClient: SuiClient$1;
87
+ suiClient: SuiClient;
88
88
  account: WalletAccount;
89
89
  appContext?: any;
90
90
  }): Promise<{
@@ -97,7 +97,7 @@ interface IAppHelperInternalLegacy<T> {
97
97
  txType: TransactionType;
98
98
  txSubType: string;
99
99
  intentionData: T;
100
- suiClient: SuiClient$1;
100
+ suiClient: SuiClient;
101
101
  account: WalletAccount;
102
102
  }): Promise<TransactionBlock>;
103
103
  }