@msafe/sui3-sdk 0.0.45 → 0.0.46

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.cts CHANGED
@@ -69,6 +69,7 @@ interface MSafeConfig {
69
69
  url: string;
70
70
  };
71
71
  syncingURL: string;
72
+ network: 'sui:mainnet' | 'sui:testnet';
72
73
  }
73
74
  interface MSafeConfigOptions {
74
75
  suiClient?: {
@@ -78,8 +79,8 @@ interface MSafeConfigOptions {
78
79
  url?: string;
79
80
  };
80
81
  }
81
- declare const TESTNET_RPC_URL = "https://sui-testnet.blockvision.org/v1/2Sgk89ivT64MnKdcGzjmyjY2ndD";
82
- declare const MAINNET_RPC_URL = "https://sui-mainnet.blockvision.org/v1/2Sgk7NPvqkd7mESYkxF01yX15l7";
82
+ declare const TESTNET_RPC_URL = "https://fullnode.testnet.sui.io";
83
+ declare const MAINNET_RPC_URL = "https://fullnode.mainnet.sui.io";
83
84
  declare const LOCAL_API_URL = "http://127.0.0.1:3000";
84
85
  declare const LOCAL_SYNCING_URL = "http://127.0.0.1:3001";
85
86
  declare const DEV_API_URL = "https://sui-dev.m-safe.link";
@@ -300,7 +301,7 @@ declare class MSafeAccount {
300
301
  nextSequenceNumber(): Promise<number>;
301
302
  simulateIntention(request: Omit<IProposeIntentionRequest, 'msafeAddress' | 'signature'>): Promise<SimulationResult>;
302
303
  proposeIntention(input: Omit<IProposeIntentionRequest, 'signature' | 'msafeAddress'>): Promise<void>;
303
- proposeIntentionAndBuildVote(input: Omit<IProposeIntentionAndBuildAndVoteRequest, 'signature' | 'msafeAddress'>): Promise<void>;
304
+ proposeIntentionAndBuildVote(input: Omit<IProposeIntentionAndBuildAndVoteRequest, 'signature' | 'msafeAddress' | 'payload' | 'digest'>): Promise<void>;
304
305
  simulateCoinTransferIntention(intention: CoinTransferIntention): Promise<SimulationResult>;
305
306
  proposeCoinTransferIntention(intention: CoinTransferIntention): Promise<void>;
306
307
  simulateObjectTransferIntention(intention: ObjectTransferIntention): Promise<SimulationResult>;
package/dist/index.d.ts CHANGED
@@ -69,6 +69,7 @@ interface MSafeConfig {
69
69
  url: string;
70
70
  };
71
71
  syncingURL: string;
72
+ network: 'sui:mainnet' | 'sui:testnet';
72
73
  }
73
74
  interface MSafeConfigOptions {
74
75
  suiClient?: {
@@ -78,8 +79,8 @@ interface MSafeConfigOptions {
78
79
  url?: string;
79
80
  };
80
81
  }
81
- declare const TESTNET_RPC_URL = "https://sui-testnet.blockvision.org/v1/2Sgk89ivT64MnKdcGzjmyjY2ndD";
82
- declare const MAINNET_RPC_URL = "https://sui-mainnet.blockvision.org/v1/2Sgk7NPvqkd7mESYkxF01yX15l7";
82
+ declare const TESTNET_RPC_URL = "https://fullnode.testnet.sui.io";
83
+ declare const MAINNET_RPC_URL = "https://fullnode.mainnet.sui.io";
83
84
  declare const LOCAL_API_URL = "http://127.0.0.1:3000";
84
85
  declare const LOCAL_SYNCING_URL = "http://127.0.0.1:3001";
85
86
  declare const DEV_API_URL = "https://sui-dev.m-safe.link";
@@ -300,7 +301,7 @@ declare class MSafeAccount {
300
301
  nextSequenceNumber(): Promise<number>;
301
302
  simulateIntention(request: Omit<IProposeIntentionRequest, 'msafeAddress' | 'signature'>): Promise<SimulationResult>;
302
303
  proposeIntention(input: Omit<IProposeIntentionRequest, 'signature' | 'msafeAddress'>): Promise<void>;
303
- proposeIntentionAndBuildVote(input: Omit<IProposeIntentionAndBuildAndVoteRequest, 'signature' | 'msafeAddress'>): Promise<void>;
304
+ proposeIntentionAndBuildVote(input: Omit<IProposeIntentionAndBuildAndVoteRequest, 'signature' | 'msafeAddress' | 'payload' | 'digest'>): Promise<void>;
304
305
  simulateCoinTransferIntention(intention: CoinTransferIntention): Promise<SimulationResult>;
305
306
  proposeCoinTransferIntention(intention: CoinTransferIntention): Promise<void>;
306
307
  simulateObjectTransferIntention(intention: ObjectTransferIntention): Promise<SimulationResult>;