@trustware/sdk-staging 1.1.11-staging.2 → 1.1.12-staging.2
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 +124 -29
- 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 +124 -29
- 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 +26 -5
- 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 +26 -5
- 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 +124 -29
- 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 +124 -29
- package/dist/widget.mjs.map +1 -1
- package/package.json +2 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DetectedWallet, c as WagmiBridge, i as WalletInterFaceAPI, E as EIP1193, a as WalletId, t as EIP6963ProviderDetail, W as WalletMeta } from './manager-
|
|
1
|
+
import { D as DetectedWallet, c as WagmiBridge, i as WalletInterFaceAPI, E as EIP1193, a as WalletId, t as EIP6963ProviderDetail, W as WalletMeta } from './manager-BZ8gyHGT.cjs';
|
|
2
2
|
|
|
3
3
|
/** Try wagmi bridge first (if provided), otherwise return EIP-1193 adapter. */
|
|
4
4
|
declare function connectDetectedWallet(dw: DetectedWallet, opts?: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DetectedWallet, c as WagmiBridge, i as WalletInterFaceAPI, E as EIP1193, a as WalletId, t as EIP6963ProviderDetail, W as WalletMeta } from './manager-
|
|
1
|
+
import { D as DetectedWallet, c as WagmiBridge, i as WalletInterFaceAPI, E as EIP1193, a as WalletId, t as EIP6963ProviderDetail, W as WalletMeta } from './manager-D8nQsod2.js';
|
|
2
2
|
|
|
3
3
|
/** Try wagmi bridge first (if provided), otherwise return EIP-1193 adapter. */
|
|
4
4
|
declare function connectDetectedWallet(dw: DetectedWallet, opts?: {
|
package/dist/smart-account.cjs
CHANGED
|
@@ -2009,7 +2009,7 @@ var VERSION;
|
|
|
2009
2009
|
var init_version = __esm({
|
|
2010
2010
|
"node_modules/@aa-sdk/core/dist/esm/version.js"() {
|
|
2011
2011
|
"use strict";
|
|
2012
|
-
VERSION = "4.88.
|
|
2012
|
+
VERSION = "4.88.5";
|
|
2013
2013
|
}
|
|
2014
2014
|
});
|
|
2015
2015
|
|
|
@@ -10528,7 +10528,7 @@ var VERSION2;
|
|
|
10528
10528
|
var init_version2 = __esm({
|
|
10529
10529
|
"node_modules/@account-kit/infra/dist/esm/version.js"() {
|
|
10530
10530
|
"use strict";
|
|
10531
|
-
VERSION2 = "4.88.
|
|
10531
|
+
VERSION2 = "4.88.5";
|
|
10532
10532
|
}
|
|
10533
10533
|
});
|
|
10534
10534
|
|
|
@@ -12265,7 +12265,7 @@ var init_constants = __esm({
|
|
|
12265
12265
|
"src/constants.ts"() {
|
|
12266
12266
|
"use strict";
|
|
12267
12267
|
SDK_NAME = "@trustware/sdk";
|
|
12268
|
-
SDK_VERSION = "1.1.
|
|
12268
|
+
SDK_VERSION = "1.1.12-staging.2";
|
|
12269
12269
|
API_ROOT = "https://bv-staging-api.trustware.io";
|
|
12270
12270
|
API_PREFIX = "/api";
|
|
12271
12271
|
}
|
|
@@ -12296,7 +12296,17 @@ var init_config = __esm({
|
|
|
12296
12296
|
RATE_LIMIT_WAIT_BUDGET_MS = 1e4;
|
|
12297
12297
|
DEFAULT_FEATURE_FLAGS = {
|
|
12298
12298
|
tokensPagination: true,
|
|
12299
|
-
|
|
12299
|
+
// On by default: an address scan covers every configured chain and takes
|
|
12300
|
+
// seconds end to end, so streaming turns one long wait into a wallet that
|
|
12301
|
+
// fills in as results land — first chunk in ~200ms against a ~2.3s buffered
|
|
12302
|
+
// response, measured on a live backend.
|
|
12303
|
+
//
|
|
12304
|
+
// Safe to default because the path degrades on its own: a backend with
|
|
12305
|
+
// BALANCE_STREAM_ENABLED off refuses the stream, and the SDK falls back to
|
|
12306
|
+
// the buffered endpoint (emitting balance_stream_fallback), as does any
|
|
12307
|
+
// runtime whose fetch has no readable body — React Native, most notably.
|
|
12308
|
+
// The cost of defaulting ahead of a backend is one refused request per scan.
|
|
12309
|
+
balanceStreaming: true,
|
|
12300
12310
|
shouldAllowGA4: true,
|
|
12301
12311
|
swapMode: false,
|
|
12302
12312
|
swapDefaultDestToken: null,
|
|
@@ -14724,7 +14734,18 @@ async function sendRouteAsUserOperation(params) {
|
|
|
14724
14734
|
);
|
|
14725
14735
|
}
|
|
14726
14736
|
console.debug("[send] UserOp included", { userOpHash, txHash });
|
|
14727
|
-
|
|
14737
|
+
try {
|
|
14738
|
+
void submitReceipt(
|
|
14739
|
+
intentId,
|
|
14740
|
+
txHash,
|
|
14741
|
+
getSponsorshipRequestId(),
|
|
14742
|
+
eoaAddress
|
|
14743
|
+
).catch((err) => {
|
|
14744
|
+
console.debug("[send] receipt submission failed (non-fatal)", err);
|
|
14745
|
+
});
|
|
14746
|
+
} catch (err) {
|
|
14747
|
+
console.debug("[send] receipt submission failed (non-fatal)", err);
|
|
14748
|
+
}
|
|
14728
14749
|
return { userOpHash, txHash, intentId };
|
|
14729
14750
|
}
|
|
14730
14751
|
var NATIVE_ADDRS;
|