@trustware/sdk-staging 1.1.11-staging.2 → 1.1.12-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/{blockchain-BxAFzp0s.d.cts → blockchain-DmCPxnxr.d.cts} +25 -1
- package/dist/{blockchain-BxAFzp0s.d.ts → blockchain-DmCPxnxr.d.ts} +25 -1
- package/dist/constants.cjs +1 -1
- package/dist/constants.mjs +1 -1
- package/dist/{core-B1WCJfDI.d.ts → core-B4YDGtJT.d.ts} +3 -3
- package/dist/{core-CeNTuqPz.d.cts → core-Ck7dinYj.d.cts} +3 -3
- package/dist/core.cjs +57 -10
- package/dist/core.cjs.map +1 -1
- package/dist/core.d.cts +4 -4
- package/dist/core.d.ts +4 -4
- package/dist/core.mjs +57 -10
- package/dist/core.mjs.map +1 -1
- package/dist/index.cjs +60 -21
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.mjs +60 -21
- package/dist/index.mjs.map +1 -1
- package/dist/{manager-DNGk1YkR.d.cts → manager-BZ8gyHGT.d.cts} +1 -1
- package/dist/{manager-Bw8b1wSD.d.ts → manager-D8nQsod2.d.ts} +1 -1
- package/dist/{metadata-Dk4R8_-T.d.cts → metadata-B23D0oO9.d.cts} +1 -1
- package/dist/{metadata-C__KMeuz.d.ts → metadata-BOjEF7oo.d.ts} +1 -1
- package/dist/smart-account.cjs +14 -4
- package/dist/smart-account.cjs.map +1 -1
- package/dist/smart-account.d.cts +1 -0
- package/dist/smart-account.d.ts +1 -0
- package/dist/smart-account.mjs +14 -4
- package/dist/smart-account.mjs.map +1 -1
- package/dist/{types-BJY9r-mz.d.ts → types-CMmx0S4U.d.ts} +1 -1
- package/dist/{types-DX3HtFcn.d.cts → types-DEUb5IZA.d.cts} +1 -1
- package/dist/wallet.cjs +12 -2
- package/dist/wallet.cjs.map +1 -1
- package/dist/wallet.d.cts +4 -4
- package/dist/wallet.d.ts +4 -4
- package/dist/wallet.mjs +12 -2
- package/dist/wallet.mjs.map +1 -1
- package/dist/widget.cjs +60 -21
- package/dist/widget.cjs.map +1 -1
- package/dist/widget.d.cts +2 -2
- package/dist/widget.d.ts +2 -2
- package/dist/widget.mjs +60 -21
- package/dist/widget.mjs.map +1 -1
- package/package.json +2 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { T as Trustware } from './core-
|
|
2
|
-
export { a as TrustwareCore, v as validateAddressForChain, b as validateBtcAddress, c as validateCosmosAddress, d as validateEvmAddress, e as validateRouteAddresses, f as validateSeiAddress, g as validateSolanaAddress } from './core-
|
|
3
|
-
import { R as RateLimitInfo, T as TrustwareConfigOptions, i as WalletInterFaceAPI, j as TrustwareError, k as Transaction, l as TrustwareEvent } from './manager-
|
|
4
|
-
export { B as BuildRouteBody, m as BuildRouteResponse, n as BuildRouteResult, o as DEFAULT_AUTO_DETECT_PROVIDER, p as DEFAULT_FEATURE_FLAGS, q as DEFAULT_MESSAGES, r as DEFAULT_RETRY_CONFIG, s as DEFAULT_SLIPPAGE, D as DetectedWallet, E as EIP1193, t as EIP6963ProviderDetail, v as EvmWalletInterface, F as FeatureFlags, I as IdentityStore, P as PostHookRequest, x as RATE_LIMIT_WAIT_BUDGET_MS, y as ResolvedFeatureFlags, z as ResolvedRetryConfig, A as ResolvedTrustwareConfig, C as ResolvedWalletConnectConfig, G as RetryConfig, H as RouteApproval, J as RouteEstimate, K as RouteIntent, L as RouteParams, M as RoutePlan, N as RouteSponsorship, O as RoutesConfig, Q as SimpleWalletInterface, S as SolanaProviderLike, b as SolanaWalletInterface, U as SponsorshipApproval, V as SwapTokenRef, X as TrustwareTheme, Y as TrustwareWidgetMessages, c as WagmiBridge, d as WagmiConnector, Z as WalletAddressResolution, _ as WalletAddressSource, $ as WalletCategory, a0 as WalletConnectConfig, a1 as WalletEcosystem, a as WalletId, a2 as WalletIdentity, a3 as WalletIdentityAddress, a4 as WalletIdentityChainLike, W as WalletMeta, a5 as assertValidPostHook, a6 as buildWalletIdentityAddress, a7 as createWalletIdentity, a8 as resolveWalletAddressForChain, a9 as upsertWalletIdentityAddress, f as useWalletExternalDisconnect, g as useWalletInfo, h as useWireDetectionIntoManager, w as walletManager } from './manager-
|
|
1
|
+
import { T as Trustware } from './core-Ck7dinYj.cjs';
|
|
2
|
+
export { a as TrustwareCore, v as validateAddressForChain, b as validateBtcAddress, c as validateCosmosAddress, d as validateEvmAddress, e as validateRouteAddresses, f as validateSeiAddress, g as validateSolanaAddress } from './core-Ck7dinYj.cjs';
|
|
3
|
+
import { R as RateLimitInfo, T as TrustwareConfigOptions, i as WalletInterFaceAPI, j as TrustwareError, k as Transaction, l as TrustwareEvent } from './manager-BZ8gyHGT.cjs';
|
|
4
|
+
export { B as BuildRouteBody, m as BuildRouteResponse, n as BuildRouteResult, o as DEFAULT_AUTO_DETECT_PROVIDER, p as DEFAULT_FEATURE_FLAGS, q as DEFAULT_MESSAGES, r as DEFAULT_RETRY_CONFIG, s as DEFAULT_SLIPPAGE, D as DetectedWallet, E as EIP1193, t as EIP6963ProviderDetail, v as EvmWalletInterface, F as FeatureFlags, I as IdentityStore, P as PostHookRequest, x as RATE_LIMIT_WAIT_BUDGET_MS, y as ResolvedFeatureFlags, z as ResolvedRetryConfig, A as ResolvedTrustwareConfig, C as ResolvedWalletConnectConfig, G as RetryConfig, H as RouteApproval, J as RouteEstimate, K as RouteIntent, L as RouteParams, M as RoutePlan, N as RouteSponsorship, O as RoutesConfig, Q as SimpleWalletInterface, S as SolanaProviderLike, b as SolanaWalletInterface, U as SponsorshipApproval, V as SwapTokenRef, X as TrustwareTheme, Y as TrustwareWidgetMessages, c as WagmiBridge, d as WagmiConnector, Z as WalletAddressResolution, _ as WalletAddressSource, $ as WalletCategory, a0 as WalletConnectConfig, a1 as WalletEcosystem, a as WalletId, a2 as WalletIdentity, a3 as WalletIdentityAddress, a4 as WalletIdentityChainLike, W as WalletMeta, a5 as assertValidPostHook, a6 as buildWalletIdentityAddress, a7 as createWalletIdentity, a8 as resolveWalletAddressForChain, a9 as upsertWalletIdentityAddress, f as useWalletExternalDisconnect, g as useWalletInfo, h as useWireDetectionIntoManager, w as walletManager } from './manager-BZ8gyHGT.cjs';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import React__default from 'react';
|
|
7
|
-
import { C as ChainDef } from './blockchain-
|
|
8
|
-
export { B as BalanceRow, a as BalanceStreamOptions, b as
|
|
9
|
-
import { T as Token, Y as YourTokenData } from './types-
|
|
10
|
-
export { P as POPULAR_ORDER, W as WALLETS, c as connectDetectedWallet, t as toWalletInterfaceFromDetected, u as useEIP1193, f as useWagmi, g as useWalletDetection } from './metadata-
|
|
7
|
+
import { C as ChainDef } from './blockchain-DmCPxnxr.cjs';
|
|
8
|
+
export { B as BalanceRow, a as BalanceStreamOptions, b as BalanceStreamSummary, c as ChainMeta, d as ChainType, G as GetBalancesOptions, N as NativeCurrency, T as TokenDef, e as TokenMeta, f as TokenPageInfo, g as TokenPageOptions, h as TokenPageResult, i as TokenType, j as TokenWithBalance, W as WalletAddressBalanceWrapper } from './blockchain-DmCPxnxr.cjs';
|
|
9
|
+
import { T as Token, Y as YourTokenData } from './types-DEUb5IZA.cjs';
|
|
10
|
+
export { P as POPULAR_ORDER, W as WALLETS, c as connectDetectedWallet, t as toWalletInterfaceFromDetected, u as useEIP1193, f as useWagmi, g as useWalletDetection } from './metadata-B23D0oO9.cjs';
|
|
11
11
|
export { TrustwareWidget } from './widget.cjs';
|
|
12
12
|
export { API_PREFIX, API_ROOT, ASSETS_BASE_URL, GTM_ID, SDK_NAME, SDK_VERSION, WALLETCONNECT_PROJECT_ID } from './constants.cjs';
|
|
13
13
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { T as Trustware } from './core-
|
|
2
|
-
export { a as TrustwareCore, v as validateAddressForChain, b as validateBtcAddress, c as validateCosmosAddress, d as validateEvmAddress, e as validateRouteAddresses, f as validateSeiAddress, g as validateSolanaAddress } from './core-
|
|
3
|
-
import { R as RateLimitInfo, T as TrustwareConfigOptions, i as WalletInterFaceAPI, j as TrustwareError, k as Transaction, l as TrustwareEvent } from './manager-
|
|
4
|
-
export { B as BuildRouteBody, m as BuildRouteResponse, n as BuildRouteResult, o as DEFAULT_AUTO_DETECT_PROVIDER, p as DEFAULT_FEATURE_FLAGS, q as DEFAULT_MESSAGES, r as DEFAULT_RETRY_CONFIG, s as DEFAULT_SLIPPAGE, D as DetectedWallet, E as EIP1193, t as EIP6963ProviderDetail, v as EvmWalletInterface, F as FeatureFlags, I as IdentityStore, P as PostHookRequest, x as RATE_LIMIT_WAIT_BUDGET_MS, y as ResolvedFeatureFlags, z as ResolvedRetryConfig, A as ResolvedTrustwareConfig, C as ResolvedWalletConnectConfig, G as RetryConfig, H as RouteApproval, J as RouteEstimate, K as RouteIntent, L as RouteParams, M as RoutePlan, N as RouteSponsorship, O as RoutesConfig, Q as SimpleWalletInterface, S as SolanaProviderLike, b as SolanaWalletInterface, U as SponsorshipApproval, V as SwapTokenRef, X as TrustwareTheme, Y as TrustwareWidgetMessages, c as WagmiBridge, d as WagmiConnector, Z as WalletAddressResolution, _ as WalletAddressSource, $ as WalletCategory, a0 as WalletConnectConfig, a1 as WalletEcosystem, a as WalletId, a2 as WalletIdentity, a3 as WalletIdentityAddress, a4 as WalletIdentityChainLike, W as WalletMeta, a5 as assertValidPostHook, a6 as buildWalletIdentityAddress, a7 as createWalletIdentity, a8 as resolveWalletAddressForChain, a9 as upsertWalletIdentityAddress, f as useWalletExternalDisconnect, g as useWalletInfo, h as useWireDetectionIntoManager, w as walletManager } from './manager-
|
|
1
|
+
import { T as Trustware } from './core-B4YDGtJT.js';
|
|
2
|
+
export { a as TrustwareCore, v as validateAddressForChain, b as validateBtcAddress, c as validateCosmosAddress, d as validateEvmAddress, e as validateRouteAddresses, f as validateSeiAddress, g as validateSolanaAddress } from './core-B4YDGtJT.js';
|
|
3
|
+
import { R as RateLimitInfo, T as TrustwareConfigOptions, i as WalletInterFaceAPI, j as TrustwareError, k as Transaction, l as TrustwareEvent } from './manager-D8nQsod2.js';
|
|
4
|
+
export { B as BuildRouteBody, m as BuildRouteResponse, n as BuildRouteResult, o as DEFAULT_AUTO_DETECT_PROVIDER, p as DEFAULT_FEATURE_FLAGS, q as DEFAULT_MESSAGES, r as DEFAULT_RETRY_CONFIG, s as DEFAULT_SLIPPAGE, D as DetectedWallet, E as EIP1193, t as EIP6963ProviderDetail, v as EvmWalletInterface, F as FeatureFlags, I as IdentityStore, P as PostHookRequest, x as RATE_LIMIT_WAIT_BUDGET_MS, y as ResolvedFeatureFlags, z as ResolvedRetryConfig, A as ResolvedTrustwareConfig, C as ResolvedWalletConnectConfig, G as RetryConfig, H as RouteApproval, J as RouteEstimate, K as RouteIntent, L as RouteParams, M as RoutePlan, N as RouteSponsorship, O as RoutesConfig, Q as SimpleWalletInterface, S as SolanaProviderLike, b as SolanaWalletInterface, U as SponsorshipApproval, V as SwapTokenRef, X as TrustwareTheme, Y as TrustwareWidgetMessages, c as WagmiBridge, d as WagmiConnector, Z as WalletAddressResolution, _ as WalletAddressSource, $ as WalletCategory, a0 as WalletConnectConfig, a1 as WalletEcosystem, a as WalletId, a2 as WalletIdentity, a3 as WalletIdentityAddress, a4 as WalletIdentityChainLike, W as WalletMeta, a5 as assertValidPostHook, a6 as buildWalletIdentityAddress, a7 as createWalletIdentity, a8 as resolveWalletAddressForChain, a9 as upsertWalletIdentityAddress, f as useWalletExternalDisconnect, g as useWalletInfo, h as useWireDetectionIntoManager, w as walletManager } from './manager-D8nQsod2.js';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import React__default from 'react';
|
|
7
|
-
import { C as ChainDef } from './blockchain-
|
|
8
|
-
export { B as BalanceRow, a as BalanceStreamOptions, b as
|
|
9
|
-
import { T as Token, Y as YourTokenData } from './types-
|
|
10
|
-
export { P as POPULAR_ORDER, W as WALLETS, c as connectDetectedWallet, t as toWalletInterfaceFromDetected, u as useEIP1193, f as useWagmi, g as useWalletDetection } from './metadata-
|
|
7
|
+
import { C as ChainDef } from './blockchain-DmCPxnxr.js';
|
|
8
|
+
export { B as BalanceRow, a as BalanceStreamOptions, b as BalanceStreamSummary, c as ChainMeta, d as ChainType, G as GetBalancesOptions, N as NativeCurrency, T as TokenDef, e as TokenMeta, f as TokenPageInfo, g as TokenPageOptions, h as TokenPageResult, i as TokenType, j as TokenWithBalance, W as WalletAddressBalanceWrapper } from './blockchain-DmCPxnxr.js';
|
|
9
|
+
import { T as Token, Y as YourTokenData } from './types-CMmx0S4U.js';
|
|
10
|
+
export { P as POPULAR_ORDER, W as WALLETS, c as connectDetectedWallet, t as toWalletInterfaceFromDetected, u as useEIP1193, f as useWagmi, g as useWalletDetection } from './metadata-BOjEF7oo.js';
|
|
11
11
|
export { TrustwareWidget } from './widget.js';
|
|
12
12
|
export { API_PREFIX, API_ROOT, ASSETS_BASE_URL, GTM_ID, SDK_NAME, SDK_VERSION, WALLETCONNECT_PROJECT_ID } from './constants.js';
|
|
13
13
|
|
package/dist/index.mjs
CHANGED
|
@@ -37,7 +37,17 @@ var init_config = __esm({
|
|
|
37
37
|
RATE_LIMIT_WAIT_BUDGET_MS = 1e4;
|
|
38
38
|
DEFAULT_FEATURE_FLAGS = {
|
|
39
39
|
tokensPagination: true,
|
|
40
|
-
|
|
40
|
+
// On by default: an address scan covers every configured chain and takes
|
|
41
|
+
// seconds end to end, so streaming turns one long wait into a wallet that
|
|
42
|
+
// fills in as results land — first chunk in ~200ms against a ~2.3s buffered
|
|
43
|
+
// response, measured on a live backend.
|
|
44
|
+
//
|
|
45
|
+
// Safe to default because the path degrades on its own: a backend with
|
|
46
|
+
// BALANCE_STREAM_ENABLED off refuses the stream, and the SDK falls back to
|
|
47
|
+
// the buffered endpoint (emitting balance_stream_fallback), as does any
|
|
48
|
+
// runtime whose fetch has no readable body — React Native, most notably.
|
|
49
|
+
// The cost of defaulting ahead of a backend is one refused request per scan.
|
|
50
|
+
balanceStreaming: true,
|
|
41
51
|
shouldAllowGA4: true,
|
|
42
52
|
swapMode: false,
|
|
43
53
|
swapDefaultDestToken: null,
|
|
@@ -482,7 +492,7 @@ var init_constants = __esm({
|
|
|
482
492
|
"src/constants.ts"() {
|
|
483
493
|
"use strict";
|
|
484
494
|
SDK_NAME = "@trustware/sdk";
|
|
485
|
-
SDK_VERSION = "1.1.
|
|
495
|
+
SDK_VERSION = "1.1.12-staging.1";
|
|
486
496
|
API_ROOT = "https://bv-staging-api.trustware.io";
|
|
487
497
|
GTM_ID = "GTM-TZDGNCXB";
|
|
488
498
|
API_PREFIX = "/api";
|
|
@@ -530,7 +540,7 @@ function isNotFoundError(err) {
|
|
|
530
540
|
return err instanceof Error && err.message.startsWith("HTTP 404");
|
|
531
541
|
}
|
|
532
542
|
async function validateSdkAccess() {
|
|
533
|
-
const r = await fetch(`${apiBase()}/sdk/validate`, {
|
|
543
|
+
const r = await fetch(`${apiBase()}/v1/sdk/validate`, {
|
|
534
544
|
method: "GET",
|
|
535
545
|
headers: jsonHeaders()
|
|
536
546
|
});
|
|
@@ -5085,6 +5095,16 @@ function mergeBalanceWrappers(current, incoming) {
|
|
|
5085
5095
|
}
|
|
5086
5096
|
return Array.from(merged.values());
|
|
5087
5097
|
}
|
|
5098
|
+
function toSummary(frame, address) {
|
|
5099
|
+
const total = toNumberOrUndefined(frame.total) ?? 0;
|
|
5100
|
+
return {
|
|
5101
|
+
address: toStringOrUndefined(frame.address) ?? address,
|
|
5102
|
+
partial: Boolean(frame.partial),
|
|
5103
|
+
completed: toNumberOrUndefined(frame.completed) ?? 0,
|
|
5104
|
+
total,
|
|
5105
|
+
elapsedMs: toNumberOrUndefined(frame.elapsed)
|
|
5106
|
+
};
|
|
5107
|
+
}
|
|
5088
5108
|
async function parseStreamingBalances(response, address, options = {}) {
|
|
5089
5109
|
if (!response.body) {
|
|
5090
5110
|
throw new Error("balances stream: empty response body");
|
|
@@ -5105,7 +5125,12 @@ async function parseStreamingBalances(response, address, options = {}) {
|
|
|
5105
5125
|
if (!trimmed) continue;
|
|
5106
5126
|
try {
|
|
5107
5127
|
const parsed = JSON.parse(trimmed);
|
|
5108
|
-
if (!parsed.chain_id)
|
|
5128
|
+
if (!parsed.chain_id) {
|
|
5129
|
+
if (parsed.type === "summary") {
|
|
5130
|
+
options.onSummary?.(toSummary(parsed, address));
|
|
5131
|
+
}
|
|
5132
|
+
continue;
|
|
5133
|
+
}
|
|
5109
5134
|
const chunk = normalizeStreamChunk(parsed);
|
|
5110
5135
|
emitBalanceStreamChunk(address, chunk.length);
|
|
5111
5136
|
yield chunk;
|
|
@@ -5124,6 +5149,8 @@ async function parseStreamingBalances(response, address, options = {}) {
|
|
|
5124
5149
|
const chunk = normalizeStreamChunk(parsed);
|
|
5125
5150
|
emitBalanceStreamChunk(address, chunk.length);
|
|
5126
5151
|
yield chunk;
|
|
5152
|
+
} else if (parsed.type === "summary") {
|
|
5153
|
+
options.onSummary?.(toSummary(parsed, address));
|
|
5127
5154
|
}
|
|
5128
5155
|
} catch (error) {
|
|
5129
5156
|
if (options.strict) {
|
|
@@ -5178,7 +5205,7 @@ async function getBalancesByAddress(address, opts) {
|
|
|
5178
5205
|
}
|
|
5179
5206
|
return merged;
|
|
5180
5207
|
}
|
|
5181
|
-
const url = `${apiBase()}/data/balances/${address}`;
|
|
5208
|
+
const url = `${apiBase()}/v1/data/balances/${address}`;
|
|
5182
5209
|
const r = await rateLimitedFetch(url, {
|
|
5183
5210
|
method: "GET",
|
|
5184
5211
|
credentials: "omit",
|
|
@@ -5186,14 +5213,27 @@ async function getBalancesByAddress(address, opts) {
|
|
|
5186
5213
|
});
|
|
5187
5214
|
if (!r.ok) throw new Error(`balances: HTTP ${r.status}`);
|
|
5188
5215
|
const j = await r.json();
|
|
5189
|
-
|
|
5216
|
+
const results = Array.isArray(j) ? j : j.results ?? [];
|
|
5217
|
+
if (opts?.onSummary) {
|
|
5218
|
+
const completed = results.length;
|
|
5219
|
+
opts.onSummary({
|
|
5220
|
+
address,
|
|
5221
|
+
partial: Array.isArray(j) ? false : Boolean(j.partial),
|
|
5222
|
+
completed,
|
|
5223
|
+
total: completed
|
|
5224
|
+
});
|
|
5225
|
+
}
|
|
5226
|
+
return results;
|
|
5227
|
+
}
|
|
5228
|
+
function bufferedOptions(opts) {
|
|
5229
|
+
return { ...opts, stream: false };
|
|
5190
5230
|
}
|
|
5191
5231
|
async function* getBalancesByAddressStream(address, opts = {}) {
|
|
5192
5232
|
if (!TrustwareConfigStore.get().features.balanceStreaming) {
|
|
5193
|
-
yield await getBalancesByAddress(address);
|
|
5233
|
+
yield await getBalancesByAddress(address, bufferedOptions(opts));
|
|
5194
5234
|
return;
|
|
5195
5235
|
}
|
|
5196
|
-
const url = `${apiBase()}/data/balances/${address}?stream=1`;
|
|
5236
|
+
const url = `${apiBase()}/v1/data/balances/${address}?stream=1`;
|
|
5197
5237
|
try {
|
|
5198
5238
|
const response = await rateLimitedFetch(url, {
|
|
5199
5239
|
method: "GET",
|
|
@@ -5209,7 +5249,14 @@ async function* getBalancesByAddressStream(address, opts = {}) {
|
|
|
5209
5249
|
const contentType = response.headers.get("content-type") ?? "";
|
|
5210
5250
|
if (contentType.includes("application/json")) {
|
|
5211
5251
|
const payload = await response.json();
|
|
5212
|
-
|
|
5252
|
+
const results = Array.isArray(payload) ? payload : payload.results ?? [];
|
|
5253
|
+
opts.onSummary?.({
|
|
5254
|
+
address,
|
|
5255
|
+
partial: Array.isArray(payload) ? false : Boolean(payload.partial),
|
|
5256
|
+
completed: results.length,
|
|
5257
|
+
total: results.length
|
|
5258
|
+
});
|
|
5259
|
+
yield results;
|
|
5213
5260
|
return;
|
|
5214
5261
|
}
|
|
5215
5262
|
const stream = await parseStreamingBalances(response, address, opts);
|
|
@@ -5218,7 +5265,7 @@ async function* getBalancesByAddressStream(address, opts = {}) {
|
|
|
5218
5265
|
}
|
|
5219
5266
|
} catch (error) {
|
|
5220
5267
|
emitBalanceStreamFallback(address, error);
|
|
5221
|
-
yield await getBalancesByAddress(address);
|
|
5268
|
+
yield await getBalancesByAddress(address, bufferedOptions(opts));
|
|
5222
5269
|
}
|
|
5223
5270
|
}
|
|
5224
5271
|
async function ensureRegistry() {
|
|
@@ -8272,15 +8319,7 @@ function useTrustwareConfig() {
|
|
|
8272
8319
|
// Shared with the resolver rather than restated, so this placeholder
|
|
8273
8320
|
// can't drift from the real defaults.
|
|
8274
8321
|
retry: { ...DEFAULT_RETRY_CONFIG },
|
|
8275
|
-
features: {
|
|
8276
|
-
tokensPagination: true,
|
|
8277
|
-
balanceStreaming: false,
|
|
8278
|
-
shouldAllowGA4: true,
|
|
8279
|
-
swapMode: false,
|
|
8280
|
-
swapDefaultDestToken: null,
|
|
8281
|
-
swapLockDestToken: false,
|
|
8282
|
-
swapAllowedDestTokens: null
|
|
8283
|
-
}
|
|
8322
|
+
features: { ...DEFAULT_FEATURE_FLAGS }
|
|
8284
8323
|
};
|
|
8285
8324
|
}
|
|
8286
8325
|
});
|
|
@@ -20562,7 +20601,7 @@ var VERSION;
|
|
|
20562
20601
|
var init_version = __esm({
|
|
20563
20602
|
"node_modules/@aa-sdk/core/dist/esm/version.js"() {
|
|
20564
20603
|
"use strict";
|
|
20565
|
-
VERSION = "4.88.
|
|
20604
|
+
VERSION = "4.88.5";
|
|
20566
20605
|
}
|
|
20567
20606
|
});
|
|
20568
20607
|
|
|
@@ -29071,7 +29110,7 @@ var VERSION2;
|
|
|
29071
29110
|
var init_version2 = __esm({
|
|
29072
29111
|
"node_modules/@account-kit/infra/dist/esm/version.js"() {
|
|
29073
29112
|
"use strict";
|
|
29074
|
-
VERSION2 = "4.88.
|
|
29113
|
+
VERSION2 = "4.88.5";
|
|
29075
29114
|
}
|
|
29076
29115
|
});
|
|
29077
29116
|
|