@msafe/sui3-sdk 0.0.40-pre-66cfd8e.0 → 0.0.41

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.
@@ -32,7 +32,11 @@ export const LOCAL_API_URL = 'http://127.0.0.1:3000';
32
32
  export const LOCAL_SYNCING_URL = 'http://127.0.0.1:3001';
33
33
 
34
34
  export const DEV_API_URL = 'https://sui-dev.m-safe.link';
35
- export const DEV_SYNCING_URL = 'http://52.53.228.20';
35
+ export const DEV_SYNCING_URL = 'http://13.56.226.148:81';
36
+
37
+ export const PREV_API_URL = 'https://sui-preview.m-safe.link';
38
+
39
+ export const PROD_API_URL = 'https://sui.m-safe.link';
36
40
 
37
41
  export const ENV_CONFIGS = new Map<MSafeEnv, MSafeConfig>([
38
42
  [
@@ -71,6 +75,30 @@ export const ENV_CONFIGS = new Map<MSafeEnv, MSafeConfig>([
71
75
  syncingURL: DEV_SYNCING_URL,
72
76
  },
73
77
  ],
78
+ [
79
+ MSafeEnv.prev,
80
+ {
81
+ suiClient: {
82
+ url: MAINNET_RPC_URL,
83
+ },
84
+ backend: {
85
+ url: PREV_API_URL,
86
+ },
87
+ syncingURL: '',
88
+ },
89
+ ],
90
+ [
91
+ MSafeEnv.prod,
92
+ {
93
+ suiClient: {
94
+ url: MAINNET_RPC_URL,
95
+ },
96
+ backend: {
97
+ url: PROD_API_URL,
98
+ },
99
+ syncingURL: '',
100
+ },
101
+ ],
74
102
  ]);
75
103
 
76
104
  export function getMSafeConfig(env: MSafeEnv, options?: MSafeConfigOptions) {
@@ -3,7 +3,7 @@ import {
3
3
  SuiTransactionBlockResponseOptions,
4
4
  SuiTransactionBlockResponse,
5
5
  } from '@mysten/sui.js/client';
6
- import { SignatureWithBytes } from '@mysten/sui.js/cryptography';
6
+ import { SignatureWithBytes } from '@mysten/sui.js/src/cryptography/keypair';
7
7
  import { TransactionBlock } from '@mysten/sui.js/transactions';
8
8
 
9
9
  export interface IWallet {