@trustware/sdk-staging 1.0.17-staging.17 → 1.1.3-staging.31

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/README.md CHANGED
@@ -14,6 +14,8 @@ The refactored widget keeps the same behavior, but the configuration surface is
14
14
 
15
15
  ## Installation
16
16
 
17
+ Supports React `18.2+` and `19`.
18
+
17
19
  ```bash
18
20
  npm install @trustware/sdk
19
21
  # or
@@ -309,5 +311,6 @@ If retries are exhausted, the SDK throws `RateLimitError`.
309
311
 
310
312
  - [Integration Guide](docs/intergrationGuide.md)
311
313
  - [Core Guide](docs/coreGuide.md)
314
+ - [Backend RPC Offload PDR](docs/backend-rpc-offload-pdr.md)
312
315
  - [Widget Architecture Boundaries](docs/widget-architecture-boundaries.md)
313
316
  - [Widget Refactor Baseline](docs/widget-refactor-baseline.md)
@@ -23,14 +23,16 @@ __export(constants_exports, {
23
23
  API_PREFIX: () => API_PREFIX,
24
24
  API_ROOT: () => API_ROOT,
25
25
  ASSETS_BASE_URL: () => ASSETS_BASE_URL,
26
+ GTM_ID: () => GTM_ID,
26
27
  SDK_NAME: () => SDK_NAME,
27
28
  SDK_VERSION: () => SDK_VERSION,
28
29
  WALLETCONNECT_PROJECT_ID: () => WALLETCONNECT_PROJECT_ID
29
30
  });
30
31
  module.exports = __toCommonJS(constants_exports);
31
32
  var SDK_NAME = "@trustware/sdk";
32
- var SDK_VERSION = "1.0.17-staging.17";
33
+ var SDK_VERSION = "1.1.3-staging.31";
33
34
  var API_ROOT = "https://bv-staging-api.trustware.io";
35
+ var GTM_ID = "";
34
36
  var API_PREFIX = "/api";
35
37
  var ASSETS_BASE_URL = "https://app.trustware.io";
36
38
  var WALLETCONNECT_PROJECT_ID = "4ead125c-63be-4b1a-a835-cef2dce67b84";
@@ -39,6 +41,7 @@ var WALLETCONNECT_PROJECT_ID = "4ead125c-63be-4b1a-a835-cef2dce67b84";
39
41
  API_PREFIX,
40
42
  API_ROOT,
41
43
  ASSETS_BASE_URL,
44
+ GTM_ID,
42
45
  SDK_NAME,
43
46
  SDK_VERSION,
44
47
  WALLETCONNECT_PROJECT_ID
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/constants.ts"],"sourcesContent":["// constants.ts\ndeclare const __SDK_VERSION__: string;\ndeclare const __API_ROOT__: string;\n\nexport const SDK_NAME = \"@trustware/sdk\";\nexport const SDK_VERSION: string = __SDK_VERSION__;\nexport const API_ROOT: string = __API_ROOT__;\nexport const API_PREFIX = \"/api\";\n\n// Assets base URL for wallet logos and other static assets\nexport const ASSETS_BASE_URL = \"https://app.trustware.io\";\n\n// WalletConnect Cloud project ID - built into the SDK for seamless wallet connections\n// This is a public identifier (not a secret) registered with WalletConnect Cloud\nexport const WALLETCONNECT_PROJECT_ID = \"4ead125c-63be-4b1a-a835-cef2dce67b84\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAIO,IAAM,WAAW;AACjB,IAAM,cAAsB;AAC5B,IAAM,WAAmB;AACzB,IAAM,aAAa;AAGnB,IAAM,kBAAkB;AAIxB,IAAM,2BAA2B;","names":[]}
1
+ {"version":3,"sources":["../src/constants.ts"],"sourcesContent":["// constants.ts\ndeclare const __SDK_VERSION__: string;\ndeclare const __API_ROOT__: string;\ndeclare const __GTM_ID__: string;\n\nexport const SDK_NAME = \"@trustware/sdk\";\nexport const SDK_VERSION: string = __SDK_VERSION__;\nexport const API_ROOT: string = __API_ROOT__;\nexport const GTM_ID: string = __GTM_ID__;\nexport const API_PREFIX = \"/api\";\n\n// Assets base URL for wallet logos and other static assets\nexport const ASSETS_BASE_URL = \"https://app.trustware.io\";\n\n// WalletConnect Cloud project ID - built into the SDK for seamless wallet connections\n// This is a public identifier (not a secret) registered with WalletConnect Cloud\nexport const WALLETCONNECT_PROJECT_ID = \"4ead125c-63be-4b1a-a835-cef2dce67b84\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAKO,IAAM,WAAW;AACjB,IAAM,cAAsB;AAC5B,IAAM,WAAmB;AACzB,IAAM,SAAiB;AACvB,IAAM,aAAa;AAGnB,IAAM,kBAAkB;AAIxB,IAAM,2BAA2B;","names":[]}
@@ -1,8 +1,9 @@
1
1
  declare const SDK_NAME = "@trustware/sdk";
2
2
  declare const SDK_VERSION: string;
3
3
  declare const API_ROOT: string;
4
+ declare const GTM_ID: string;
4
5
  declare const API_PREFIX = "/api";
5
6
  declare const ASSETS_BASE_URL = "https://app.trustware.io";
6
7
  declare const WALLETCONNECT_PROJECT_ID = "4ead125c-63be-4b1a-a835-cef2dce67b84";
7
8
 
8
- export { API_PREFIX, API_ROOT, ASSETS_BASE_URL, SDK_NAME, SDK_VERSION, WALLETCONNECT_PROJECT_ID };
9
+ export { API_PREFIX, API_ROOT, ASSETS_BASE_URL, GTM_ID, SDK_NAME, SDK_VERSION, WALLETCONNECT_PROJECT_ID };
@@ -1,8 +1,9 @@
1
1
  declare const SDK_NAME = "@trustware/sdk";
2
2
  declare const SDK_VERSION: string;
3
3
  declare const API_ROOT: string;
4
+ declare const GTM_ID: string;
4
5
  declare const API_PREFIX = "/api";
5
6
  declare const ASSETS_BASE_URL = "https://app.trustware.io";
6
7
  declare const WALLETCONNECT_PROJECT_ID = "4ead125c-63be-4b1a-a835-cef2dce67b84";
7
8
 
8
- export { API_PREFIX, API_ROOT, ASSETS_BASE_URL, SDK_NAME, SDK_VERSION, WALLETCONNECT_PROJECT_ID };
9
+ export { API_PREFIX, API_ROOT, ASSETS_BASE_URL, GTM_ID, SDK_NAME, SDK_VERSION, WALLETCONNECT_PROJECT_ID };
@@ -1,7 +1,8 @@
1
1
  // src/constants.ts
2
2
  var SDK_NAME = "@trustware/sdk";
3
- var SDK_VERSION = "1.0.17-staging.17";
3
+ var SDK_VERSION = "1.1.3-staging.31";
4
4
  var API_ROOT = "https://bv-staging-api.trustware.io";
5
+ var GTM_ID = "";
5
6
  var API_PREFIX = "/api";
6
7
  var ASSETS_BASE_URL = "https://app.trustware.io";
7
8
  var WALLETCONNECT_PROJECT_ID = "4ead125c-63be-4b1a-a835-cef2dce67b84";
@@ -9,6 +10,7 @@ export {
9
10
  API_PREFIX,
10
11
  API_ROOT,
11
12
  ASSETS_BASE_URL,
13
+ GTM_ID,
12
14
  SDK_NAME,
13
15
  SDK_VERSION,
14
16
  WALLETCONNECT_PROJECT_ID
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/constants.ts"],"sourcesContent":["// constants.ts\ndeclare const __SDK_VERSION__: string;\ndeclare const __API_ROOT__: string;\n\nexport const SDK_NAME = \"@trustware/sdk\";\nexport const SDK_VERSION: string = __SDK_VERSION__;\nexport const API_ROOT: string = __API_ROOT__;\nexport const API_PREFIX = \"/api\";\n\n// Assets base URL for wallet logos and other static assets\nexport const ASSETS_BASE_URL = \"https://app.trustware.io\";\n\n// WalletConnect Cloud project ID - built into the SDK for seamless wallet connections\n// This is a public identifier (not a secret) registered with WalletConnect Cloud\nexport const WALLETCONNECT_PROJECT_ID = \"4ead125c-63be-4b1a-a835-cef2dce67b84\";\n"],"mappings":";AAIO,IAAM,WAAW;AACjB,IAAM,cAAsB;AAC5B,IAAM,WAAmB;AACzB,IAAM,aAAa;AAGnB,IAAM,kBAAkB;AAIxB,IAAM,2BAA2B;","names":[]}
1
+ {"version":3,"sources":["../src/constants.ts"],"sourcesContent":["// constants.ts\ndeclare const __SDK_VERSION__: string;\ndeclare const __API_ROOT__: string;\ndeclare const __GTM_ID__: string;\n\nexport const SDK_NAME = \"@trustware/sdk\";\nexport const SDK_VERSION: string = __SDK_VERSION__;\nexport const API_ROOT: string = __API_ROOT__;\nexport const GTM_ID: string = __GTM_ID__;\nexport const API_PREFIX = \"/api\";\n\n// Assets base URL for wallet logos and other static assets\nexport const ASSETS_BASE_URL = \"https://app.trustware.io\";\n\n// WalletConnect Cloud project ID - built into the SDK for seamless wallet connections\n// This is a public identifier (not a secret) registered with WalletConnect Cloud\nexport const WALLETCONNECT_PROJECT_ID = \"4ead125c-63be-4b1a-a835-cef2dce67b84\";\n"],"mappings":";AAKO,IAAM,WAAW;AACjB,IAAM,cAAsB;AAC5B,IAAM,WAAmB;AACzB,IAAM,SAAiB;AACvB,IAAM,aAAa;AAGnB,IAAM,kBAAkB;AAIxB,IAAM,2BAA2B;","names":[]}
@@ -1,4 +1,4 @@
1
- import { p as ChainDef, o as ChainType, B as BalanceRow, n as WalletAddressBalanceWrapper, W as WalletInterFaceAPI, x as WalletIdentity, A as walletManager, y as WalletAddressResolution } from './manager-CgpuAzqn.cjs';
1
+ import { v as ChainDef, t as ChainType, B as BalanceRow, s as BalanceStreamOptions, n as WalletAddressBalanceWrapper, W as WalletInterFaceAPI, F as WalletIdentity, J as walletManager, G as WalletAddressResolution } from './manager-BPgytsNL.cjs';
2
2
  import { T as Token } from './types-BrVfNxND.cjs';
3
3
 
4
4
  declare enum TrustwareErrorCode {
@@ -199,6 +199,27 @@ type TrustwareEvent = {
199
199
  } | {
200
200
  type: "wallet_connected";
201
201
  address: string;
202
+ } | {
203
+ type: "token_page_loaded";
204
+ chainRef: string;
205
+ query?: string;
206
+ count: number;
207
+ hasNextPage: boolean;
208
+ cursor?: string;
209
+ } | {
210
+ type: "token_page_error";
211
+ chainRef: string;
212
+ query?: string;
213
+ cursor?: string;
214
+ message: string;
215
+ } | {
216
+ type: "balance_stream_chunk";
217
+ address: string;
218
+ chunkSize: number;
219
+ } | {
220
+ type: "balance_stream_fallback";
221
+ address: string;
222
+ message: string;
202
223
  };
203
224
 
204
225
  /** WalletConnect configuration options (all optional - SDK has built-in defaults) */
@@ -259,6 +280,7 @@ type TrustwareConfigOptions = {
259
280
  messages?: Partial<TrustwareWidgetMessages>;
260
281
  retry?: RetryConfig;
261
282
  walletConnect?: WalletConnectConfig;
283
+ features?: FeatureFlags;
262
284
  onError?: (error: TrustwareError) => void;
263
285
  onSuccess?: (transaction: Transaction) => void;
264
286
  onEvent?: (event: TrustwareEvent) => void;
@@ -285,10 +307,21 @@ type ResolvedTrustwareConfig = {
285
307
  messages: TrustwareWidgetMessages;
286
308
  retry: ResolvedRetryConfig;
287
309
  walletConnect?: ResolvedWalletConnectConfig;
310
+ features: ResolvedFeatureFlags;
288
311
  onError?: (error: TrustwareError) => void;
289
312
  onSuccess?: (transaction: Transaction) => void;
290
313
  onEvent?: (event: TrustwareEvent) => void;
291
314
  };
315
+ type FeatureFlags = {
316
+ tokensPagination?: boolean;
317
+ balanceStreaming?: boolean;
318
+ shouldAllowGA4?: boolean;
319
+ };
320
+ type ResolvedFeatureFlags = {
321
+ tokensPagination: boolean;
322
+ balanceStreaming: boolean;
323
+ shouldAllowGA4: boolean;
324
+ };
292
325
  declare const DEFAULT_SLIPPAGE = 1;
293
326
  declare const DEFAULT_AUTO_DETECT_PROVIDER = false;
294
327
  type RateLimitInfo = {
@@ -327,6 +360,7 @@ type ResolvedRetryConfig = {
327
360
  onRateLimitApproaching?: (info: RateLimitInfo, threshold: number) => void;
328
361
  };
329
362
  declare const DEFAULT_RETRY_CONFIG: ResolvedRetryConfig;
363
+ declare const DEFAULT_FEATURE_FLAGS: ResolvedFeatureFlags;
330
364
 
331
365
  type AddressValidationResult = {
332
366
  isValid: boolean;
@@ -348,7 +382,8 @@ declare function validateRouteAddresses(params: {
348
382
 
349
383
  /** Map chain reference -> backend chain_key and return enriched balances */
350
384
  declare function getBalances(chainRef: string | number, address: string): Promise<BalanceRow[]>;
351
- declare function getBalancesByAddress(address: string): Promise<WalletAddressBalanceWrapper[]>;
385
+ declare function getBalancesByAddress(address: string, opts?: BalanceStreamOptions): Promise<WalletAddressBalanceWrapper[]>;
386
+ declare function getBalancesByAddressStream(address: string, opts?: BalanceStreamOptions): AsyncGenerator<WalletAddressBalanceWrapper[], void, void>;
352
387
 
353
388
  declare function sendRouteTransaction(b: BuildRouteResult, fallbackChainId?: number | string): Promise<string>;
354
389
  declare function runTopUp(params: {
@@ -392,12 +427,14 @@ interface UseTokensResult {
392
427
  searchQuery: string;
393
428
  /** Set the search query to filter tokens */
394
429
  setSearchQuery: (query: string) => void;
430
+ /** Whether more tokens can be loaded for the active query */
431
+ hasNextPage: boolean;
432
+ /** Load the next token page when pagination is enabled */
433
+ loadMore: () => Promise<void>;
434
+ /** Whether an additional page request is in flight */
435
+ isLoadingMore: boolean;
395
436
  }
396
- /**
397
- * Hook to load available tokens for a selected chain from the registry.
398
- * Supports filtering tokens by name or symbol.
399
- */
400
- declare function useTokens(chainId: number | null | undefined): UseTokensResult;
437
+ declare function useTokens(chainId: string | number | null | undefined): UseTokensResult;
401
438
 
402
439
  declare const Trustware: {
403
440
  /** Initialize config */
@@ -409,6 +446,8 @@ declare const Trustware: {
409
446
  /** Read resolved config */
410
447
  getConfig(): ResolvedTrustwareConfig;
411
448
  setDestinationAddress(address?: string | null): /*elided*/ any;
449
+ setDestinationChain(chain: string): /*elided*/ any;
450
+ setDestinationToken(token: string): /*elided*/ any;
412
451
  /** Read active wallet */
413
452
  getWallet(): WalletInterFaceAPI | null;
414
453
  getIdentity(): WalletIdentity;
@@ -423,6 +462,7 @@ declare const Trustware: {
423
462
  pollStatus: typeof pollStatus;
424
463
  getBalances: typeof getBalances;
425
464
  getBalancesByAddress: typeof getBalancesByAddress;
465
+ getBalancesByAddressStream: typeof getBalancesByAddressStream;
426
466
  useChains: typeof useChains;
427
467
  useTokens: typeof useTokens;
428
468
  validateAddressForChain: typeof validateAddressForChain;
@@ -432,4 +472,4 @@ declare const Trustware: {
432
472
  };
433
473
  type TrustwareCore = typeof Trustware;
434
474
 
435
- export { type BuildRouteResult as B, DEFAULT_SLIPPAGE as D, type RateLimitInfo as R, type TrustwareConfigOptions as T, type WalletConnectConfig as W, Trustware as a, TrustwareError as b, type Transaction as c, type TrustwareEvent as d, type TrustwareCore as e, validateSeiAddress as f, validateSolanaAddress as g, validateBtcAddress as h, validateAddressForChain as i, validateRouteAddresses as j, type ResolvedWalletConnectConfig as k, type ResolvedTrustwareConfig as l, DEFAULT_AUTO_DETECT_PROVIDER as m, type RetryConfig as n, type ResolvedRetryConfig as o, DEFAULT_RETRY_CONFIG as p, type RouteParams as q, type RouteIntent as r, type RouteEstimate as s, type RoutePlan as t, type TrustwareWidgetTheme as u, validateEvmAddress as v, type TrustwareWidgetMessages as w, DEFAULT_THEME as x, DEFAULT_MESSAGES as y };
475
+ export { DEFAULT_MESSAGES as A, type BuildRouteResult as B, DEFAULT_SLIPPAGE as D, type FeatureFlags as F, type RateLimitInfo as R, type TrustwareConfigOptions as T, type WalletConnectConfig as W, Trustware as a, TrustwareError as b, type Transaction as c, type TrustwareEvent as d, type TrustwareCore as e, validateSeiAddress as f, validateSolanaAddress as g, validateBtcAddress as h, validateAddressForChain as i, validateRouteAddresses as j, type ResolvedWalletConnectConfig as k, type ResolvedTrustwareConfig as l, type ResolvedFeatureFlags as m, DEFAULT_AUTO_DETECT_PROVIDER as n, type RetryConfig as o, type ResolvedRetryConfig as p, DEFAULT_RETRY_CONFIG as q, DEFAULT_FEATURE_FLAGS as r, type RouteParams as s, type RouteIntent as t, type RouteEstimate as u, validateEvmAddress as v, type RoutePlan as w, type TrustwareWidgetTheme as x, type TrustwareWidgetMessages as y, DEFAULT_THEME as z };
@@ -1,4 +1,4 @@
1
- import { p as ChainDef, o as ChainType, B as BalanceRow, n as WalletAddressBalanceWrapper, W as WalletInterFaceAPI, x as WalletIdentity, A as walletManager, y as WalletAddressResolution } from './manager-CgpuAzqn.js';
1
+ import { v as ChainDef, t as ChainType, B as BalanceRow, s as BalanceStreamOptions, n as WalletAddressBalanceWrapper, W as WalletInterFaceAPI, F as WalletIdentity, J as walletManager, G as WalletAddressResolution } from './manager-BPgytsNL.js';
2
2
  import { T as Token } from './types-BrVfNxND.js';
3
3
 
4
4
  declare enum TrustwareErrorCode {
@@ -199,6 +199,27 @@ type TrustwareEvent = {
199
199
  } | {
200
200
  type: "wallet_connected";
201
201
  address: string;
202
+ } | {
203
+ type: "token_page_loaded";
204
+ chainRef: string;
205
+ query?: string;
206
+ count: number;
207
+ hasNextPage: boolean;
208
+ cursor?: string;
209
+ } | {
210
+ type: "token_page_error";
211
+ chainRef: string;
212
+ query?: string;
213
+ cursor?: string;
214
+ message: string;
215
+ } | {
216
+ type: "balance_stream_chunk";
217
+ address: string;
218
+ chunkSize: number;
219
+ } | {
220
+ type: "balance_stream_fallback";
221
+ address: string;
222
+ message: string;
202
223
  };
203
224
 
204
225
  /** WalletConnect configuration options (all optional - SDK has built-in defaults) */
@@ -259,6 +280,7 @@ type TrustwareConfigOptions = {
259
280
  messages?: Partial<TrustwareWidgetMessages>;
260
281
  retry?: RetryConfig;
261
282
  walletConnect?: WalletConnectConfig;
283
+ features?: FeatureFlags;
262
284
  onError?: (error: TrustwareError) => void;
263
285
  onSuccess?: (transaction: Transaction) => void;
264
286
  onEvent?: (event: TrustwareEvent) => void;
@@ -285,10 +307,21 @@ type ResolvedTrustwareConfig = {
285
307
  messages: TrustwareWidgetMessages;
286
308
  retry: ResolvedRetryConfig;
287
309
  walletConnect?: ResolvedWalletConnectConfig;
310
+ features: ResolvedFeatureFlags;
288
311
  onError?: (error: TrustwareError) => void;
289
312
  onSuccess?: (transaction: Transaction) => void;
290
313
  onEvent?: (event: TrustwareEvent) => void;
291
314
  };
315
+ type FeatureFlags = {
316
+ tokensPagination?: boolean;
317
+ balanceStreaming?: boolean;
318
+ shouldAllowGA4?: boolean;
319
+ };
320
+ type ResolvedFeatureFlags = {
321
+ tokensPagination: boolean;
322
+ balanceStreaming: boolean;
323
+ shouldAllowGA4: boolean;
324
+ };
292
325
  declare const DEFAULT_SLIPPAGE = 1;
293
326
  declare const DEFAULT_AUTO_DETECT_PROVIDER = false;
294
327
  type RateLimitInfo = {
@@ -327,6 +360,7 @@ type ResolvedRetryConfig = {
327
360
  onRateLimitApproaching?: (info: RateLimitInfo, threshold: number) => void;
328
361
  };
329
362
  declare const DEFAULT_RETRY_CONFIG: ResolvedRetryConfig;
363
+ declare const DEFAULT_FEATURE_FLAGS: ResolvedFeatureFlags;
330
364
 
331
365
  type AddressValidationResult = {
332
366
  isValid: boolean;
@@ -348,7 +382,8 @@ declare function validateRouteAddresses(params: {
348
382
 
349
383
  /** Map chain reference -> backend chain_key and return enriched balances */
350
384
  declare function getBalances(chainRef: string | number, address: string): Promise<BalanceRow[]>;
351
- declare function getBalancesByAddress(address: string): Promise<WalletAddressBalanceWrapper[]>;
385
+ declare function getBalancesByAddress(address: string, opts?: BalanceStreamOptions): Promise<WalletAddressBalanceWrapper[]>;
386
+ declare function getBalancesByAddressStream(address: string, opts?: BalanceStreamOptions): AsyncGenerator<WalletAddressBalanceWrapper[], void, void>;
352
387
 
353
388
  declare function sendRouteTransaction(b: BuildRouteResult, fallbackChainId?: number | string): Promise<string>;
354
389
  declare function runTopUp(params: {
@@ -392,12 +427,14 @@ interface UseTokensResult {
392
427
  searchQuery: string;
393
428
  /** Set the search query to filter tokens */
394
429
  setSearchQuery: (query: string) => void;
430
+ /** Whether more tokens can be loaded for the active query */
431
+ hasNextPage: boolean;
432
+ /** Load the next token page when pagination is enabled */
433
+ loadMore: () => Promise<void>;
434
+ /** Whether an additional page request is in flight */
435
+ isLoadingMore: boolean;
395
436
  }
396
- /**
397
- * Hook to load available tokens for a selected chain from the registry.
398
- * Supports filtering tokens by name or symbol.
399
- */
400
- declare function useTokens(chainId: number | null | undefined): UseTokensResult;
437
+ declare function useTokens(chainId: string | number | null | undefined): UseTokensResult;
401
438
 
402
439
  declare const Trustware: {
403
440
  /** Initialize config */
@@ -409,6 +446,8 @@ declare const Trustware: {
409
446
  /** Read resolved config */
410
447
  getConfig(): ResolvedTrustwareConfig;
411
448
  setDestinationAddress(address?: string | null): /*elided*/ any;
449
+ setDestinationChain(chain: string): /*elided*/ any;
450
+ setDestinationToken(token: string): /*elided*/ any;
412
451
  /** Read active wallet */
413
452
  getWallet(): WalletInterFaceAPI | null;
414
453
  getIdentity(): WalletIdentity;
@@ -423,6 +462,7 @@ declare const Trustware: {
423
462
  pollStatus: typeof pollStatus;
424
463
  getBalances: typeof getBalances;
425
464
  getBalancesByAddress: typeof getBalancesByAddress;
465
+ getBalancesByAddressStream: typeof getBalancesByAddressStream;
426
466
  useChains: typeof useChains;
427
467
  useTokens: typeof useTokens;
428
468
  validateAddressForChain: typeof validateAddressForChain;
@@ -432,4 +472,4 @@ declare const Trustware: {
432
472
  };
433
473
  type TrustwareCore = typeof Trustware;
434
474
 
435
- export { type BuildRouteResult as B, DEFAULT_SLIPPAGE as D, type RateLimitInfo as R, type TrustwareConfigOptions as T, type WalletConnectConfig as W, Trustware as a, TrustwareError as b, type Transaction as c, type TrustwareEvent as d, type TrustwareCore as e, validateSeiAddress as f, validateSolanaAddress as g, validateBtcAddress as h, validateAddressForChain as i, validateRouteAddresses as j, type ResolvedWalletConnectConfig as k, type ResolvedTrustwareConfig as l, DEFAULT_AUTO_DETECT_PROVIDER as m, type RetryConfig as n, type ResolvedRetryConfig as o, DEFAULT_RETRY_CONFIG as p, type RouteParams as q, type RouteIntent as r, type RouteEstimate as s, type RoutePlan as t, type TrustwareWidgetTheme as u, validateEvmAddress as v, type TrustwareWidgetMessages as w, DEFAULT_THEME as x, DEFAULT_MESSAGES as y };
475
+ export { DEFAULT_MESSAGES as A, type BuildRouteResult as B, DEFAULT_SLIPPAGE as D, type FeatureFlags as F, type RateLimitInfo as R, type TrustwareConfigOptions as T, type WalletConnectConfig as W, Trustware as a, TrustwareError as b, type Transaction as c, type TrustwareEvent as d, type TrustwareCore as e, validateSeiAddress as f, validateSolanaAddress as g, validateBtcAddress as h, validateAddressForChain as i, validateRouteAddresses as j, type ResolvedWalletConnectConfig as k, type ResolvedTrustwareConfig as l, type ResolvedFeatureFlags as m, DEFAULT_AUTO_DETECT_PROVIDER as n, type RetryConfig as o, type ResolvedRetryConfig as p, DEFAULT_RETRY_CONFIG as q, DEFAULT_FEATURE_FLAGS as r, type RouteParams as s, type RouteIntent as t, type RouteEstimate as u, validateEvmAddress as v, type RoutePlan as w, type TrustwareWidgetTheme as x, type TrustwareWidgetMessages as y, DEFAULT_THEME as z };