@trustware/sdk-staging 1.1.9-staging.7 → 1.1.11-staging.1

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/wallet.d.cts CHANGED
@@ -1,6 +1,6 @@
1
- import { v as SolanaProviderLike, U as WalletMeta, h as DetectedWallet, N as WalletId, w as SolanaWalletInterface } from './manager-DWFNyouP.cjs';
2
- export { C as WagmiBridge, G as WagmiConnector, a2 as WalletSnapshot, a3 as useWalletConnectConnect, _ as useWalletExternalDisconnect, $ as useWalletInfo, a0 as useWireDetectionIntoManager, a1 as walletManager } from './manager-DWFNyouP.cjs';
3
- export { d as autoDetectWallet, e as buildDetectedWalletFromProvider, c as connectDetectedWallet, f as createWalletConnectEntry, t as toWalletInterfaceFromDetected, u as useEIP1193, g as useIsMobile, a as useWagmi, b as useWalletDetection } from './detect-DWL4uExV.cjs';
1
+ import { S as SolanaProviderLike, W as WalletMeta, D as DetectedWallet, a as WalletId, b as SolanaWalletInterface } from './manager-DT8enQbE.cjs';
2
+ export { c as WagmiBridge, d as WagmiConnector, e as WalletSnapshot, u as useWalletConnectConnect, f as useWalletExternalDisconnect, g as useWalletInfo, h as useWireDetectionIntoManager, w as walletManager } from './manager-DT8enQbE.cjs';
3
+ export { P as POPULAR_ORDER, W as WALLETS, a as autoDetectWallet, b as buildDetectedWalletFromProvider, c as connectDetectedWallet, d as createWalletConnectEntry, t as toWalletInterfaceFromDetected, u as useEIP1193, e as useIsMobile, f as useWagmi, g as useWalletDetection } from './metadata-DyxUcKHk.cjs';
4
4
  import './blockchain-BxAFzp0s.cjs';
5
5
 
6
6
  type SolanaEventHandlers = {
@@ -15,9 +15,6 @@ declare function detectSolanaWallets(wallets: WalletMeta[]): DetectedWallet[];
15
15
  declare function bindSolanaProviderEvents(provider: SolanaProviderLike, handlers: SolanaEventHandlers): () => void;
16
16
  declare function toSolanaWalletInterface(provider: SolanaProviderLike): SolanaWalletInterface;
17
17
 
18
- declare const POPULAR_ORDER: WalletId[];
19
- declare const WALLETS: WalletMeta[];
20
-
21
18
  declare function formatDeepLink(id: string, currentUrl: string): string | undefined;
22
19
  /**
23
20
  * Format a WalletConnect URI for mobile deep linking.
@@ -37,4 +34,4 @@ declare function formatWalletConnectDeepLink(wcUri: string): string;
37
34
  */
38
35
  declare function formatWalletConnectDeepLinkForWallet(walletId: string, wcUri: string): string;
39
36
 
40
- export { POPULAR_ORDER, WALLETS, bindSolanaProviderEvents, decodeBase64, detectSolanaWallets, encodeBase64, formatDeepLink, formatWalletConnectDeepLink, formatWalletConnectDeepLinkForWallet, getSolanaProviders, toSolanaWalletInterface };
37
+ export { bindSolanaProviderEvents, decodeBase64, detectSolanaWallets, encodeBase64, formatDeepLink, formatWalletConnectDeepLink, formatWalletConnectDeepLinkForWallet, getSolanaProviders, toSolanaWalletInterface };
package/dist/wallet.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { v as SolanaProviderLike, U as WalletMeta, h as DetectedWallet, N as WalletId, w as SolanaWalletInterface } from './manager-Dn4muk74.js';
2
- export { C as WagmiBridge, G as WagmiConnector, a2 as WalletSnapshot, a3 as useWalletConnectConnect, _ as useWalletExternalDisconnect, $ as useWalletInfo, a0 as useWireDetectionIntoManager, a1 as walletManager } from './manager-Dn4muk74.js';
3
- export { d as autoDetectWallet, e as buildDetectedWalletFromProvider, c as connectDetectedWallet, f as createWalletConnectEntry, t as toWalletInterfaceFromDetected, u as useEIP1193, g as useIsMobile, a as useWagmi, b as useWalletDetection } from './detect-Cprq6X9o.js';
1
+ import { S as SolanaProviderLike, W as WalletMeta, D as DetectedWallet, a as WalletId, b as SolanaWalletInterface } from './manager-BY3NHAks.js';
2
+ export { c as WagmiBridge, d as WagmiConnector, e as WalletSnapshot, u as useWalletConnectConnect, f as useWalletExternalDisconnect, g as useWalletInfo, h as useWireDetectionIntoManager, w as walletManager } from './manager-BY3NHAks.js';
3
+ export { P as POPULAR_ORDER, W as WALLETS, a as autoDetectWallet, b as buildDetectedWalletFromProvider, c as connectDetectedWallet, d as createWalletConnectEntry, t as toWalletInterfaceFromDetected, u as useEIP1193, e as useIsMobile, f as useWagmi, g as useWalletDetection } from './metadata-BPvFYMlc.js';
4
4
  import './blockchain-BxAFzp0s.js';
5
5
 
6
6
  type SolanaEventHandlers = {
@@ -15,9 +15,6 @@ declare function detectSolanaWallets(wallets: WalletMeta[]): DetectedWallet[];
15
15
  declare function bindSolanaProviderEvents(provider: SolanaProviderLike, handlers: SolanaEventHandlers): () => void;
16
16
  declare function toSolanaWalletInterface(provider: SolanaProviderLike): SolanaWalletInterface;
17
17
 
18
- declare const POPULAR_ORDER: WalletId[];
19
- declare const WALLETS: WalletMeta[];
20
-
21
18
  declare function formatDeepLink(id: string, currentUrl: string): string | undefined;
22
19
  /**
23
20
  * Format a WalletConnect URI for mobile deep linking.
@@ -37,4 +34,4 @@ declare function formatWalletConnectDeepLink(wcUri: string): string;
37
34
  */
38
35
  declare function formatWalletConnectDeepLinkForWallet(walletId: string, wcUri: string): string;
39
36
 
40
- export { POPULAR_ORDER, WALLETS, bindSolanaProviderEvents, decodeBase64, detectSolanaWallets, encodeBase64, formatDeepLink, formatWalletConnectDeepLink, formatWalletConnectDeepLinkForWallet, getSolanaProviders, toSolanaWalletInterface };
37
+ export { bindSolanaProviderEvents, decodeBase64, detectSolanaWallets, encodeBase64, formatDeepLink, formatWalletConnectDeepLink, formatWalletConnectDeepLinkForWallet, getSolanaProviders, toSolanaWalletInterface };
package/dist/wallet.mjs CHANGED
@@ -193,6 +193,20 @@ var init_eipWallets = __esm({
193
193
  "src/wallets/eipWallets.ts"() {
194
194
  "use strict";
195
195
  CHAIN_PARAMS = {
196
+ 1: {
197
+ chainIdHex: "0x1",
198
+ chainName: "Ethereum",
199
+ rpcUrls: ["https://eth.llamarpc.com"],
200
+ nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
201
+ blockExplorerUrls: ["https://etherscan.io"]
202
+ },
203
+ 137: {
204
+ chainIdHex: "0x89",
205
+ chainName: "Polygon",
206
+ rpcUrls: ["https://polygon-rpc.com"],
207
+ nativeCurrency: { name: "POL", symbol: "POL", decimals: 18 },
208
+ blockExplorerUrls: ["https://polygonscan.com"]
209
+ },
196
210
  8453: {
197
211
  chainIdHex: "0x2105",
198
212
  chainName: "Base",
@@ -224,7 +238,7 @@ var init_constants = __esm({
224
238
  "src/constants.ts"() {
225
239
  "use strict";
226
240
  SDK_NAME = "@trustware/sdk";
227
- SDK_VERSION = "1.1.9-staging.7";
241
+ SDK_VERSION = "1.1.11-staging.1";
228
242
  API_ROOT = "https://bv-staging-api.trustware.io";
229
243
  API_PREFIX = "/api";
230
244
  WALLETCONNECT_PROJECT_ID = "72ea74c400f5111d43aea638d7d83a24";