@bounded-sh/core 0.0.100-performance.0 → 0.0.100-performance.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/{index-CCNYuuC0.js → index-B8PpRj6x.js} +9 -5
- package/dist/{index-CCNYuuC0.js.map → index-B8PpRj6x.js.map} +1 -1
- package/dist/{index-DfouPmSK.mjs → index-DW5yMQwV.mjs} +9 -5
- package/dist/{index-DfouPmSK.mjs.map → index-DW5yMQwV.mjs.map} +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{realtime-store-BEFzGTed.mjs → realtime-store-CeDT7vJF.mjs} +2 -2
- package/dist/{realtime-store-BEFzGTed.mjs.map → realtime-store-CeDT7vJF.mjs.map} +1 -1
- package/dist/{realtime-store-BnqZFlqE.js → realtime-store-D7mJ7rTj.js} +2 -2
- package/dist/{realtime-store-BnqZFlqE.js.map → realtime-store-D7mJ7rTj.js.map} +1 -1
- package/dist/{solana-message-C_MdiJey.mjs → solana-message-BGkYFU3C.mjs} +2 -2
- package/dist/{solana-message-C_MdiJey.mjs.map → solana-message-BGkYFU3C.mjs.map} +1 -1
- package/dist/{solana-message-DYksNbG2.js → solana-message-w2FxOkFA.js} +2 -2
- package/dist/{solana-message-DYksNbG2.js.map → solana-message-w2FxOkFA.js.map} +1 -1
- package/dist/{solana-operations-D9cDNqCi.mjs → solana-operations-CHgW7Pue.mjs} +4 -4
- package/dist/{solana-operations-D9cDNqCi.mjs.map → solana-operations-CHgW7Pue.mjs.map} +1 -1
- package/dist/{solana-operations-qmgqBB4d.js → solana-operations-DJQDYdrk.js} +3 -3
- package/dist/{solana-operations-qmgqBB4d.js.map → solana-operations-DJQDYdrk.js.map} +1 -1
- package/dist/{solana-v1-operations-DMDGgh_5.js → solana-v1-operations-BF2rjG23.js} +3 -3
- package/dist/{solana-v1-operations-DMDGgh_5.js.map → solana-v1-operations-BF2rjG23.js.map} +1 -1
- package/dist/{solana-v1-operations-Zc85sD4C.mjs → solana-v1-operations-BPn-poee.mjs} +3 -3
- package/dist/{solana-v1-operations-Zc85sD4C.mjs.map → solana-v1-operations-BPn-poee.mjs.map} +1 -1
- package/package.json +1 -1
|
@@ -4188,7 +4188,7 @@ class ServerSessionManager {
|
|
|
4188
4188
|
const sessionConfig = (_a = this.sessionConfig) !== null && _a !== void 0 ? _a : undefined;
|
|
4189
4189
|
/* fetch nonce from auth API (bound to the snapshotted app+issuer) */
|
|
4190
4190
|
const nonce = await genAuthNonce(sessionConfig);
|
|
4191
|
-
const { genSolanaMessage } = await import('./solana-message-
|
|
4191
|
+
const { genSolanaMessage } = await import('./solana-message-BGkYFU3C.mjs');
|
|
4192
4192
|
const message = await genSolanaMessage(address, nonce, sessionConfig === null || sessionConfig === void 0 ? void 0 : sessionConfig.appId);
|
|
4193
4193
|
/* sign the message */
|
|
4194
4194
|
const sigBytes = nacl.sign.detached(new TextEncoder().encode(message), kp.secretKey);
|
|
@@ -5912,6 +5912,10 @@ async function getOrCreateConnectionOnce(appId, isServer, routePath, authTokenPr
|
|
|
5912
5912
|
break;
|
|
5913
5913
|
const authError = normalizeAuthExpiredError(error, 'Authentication expired and refresh failed');
|
|
5914
5914
|
failConnectionAuth(connection, authError);
|
|
5915
|
+
// An error callback may synchronously tear down or replace this
|
|
5916
|
+
// connection. Do not install a retry after its cleanup completed.
|
|
5917
|
+
if (connections.get(connKey) !== connection)
|
|
5918
|
+
break;
|
|
5915
5919
|
await new Promise((resolve) => {
|
|
5916
5920
|
const wake = () => {
|
|
5917
5921
|
clearTimeout(timer);
|
|
@@ -6962,7 +6966,7 @@ async function doReconnectWithNewAuth() {
|
|
|
6962
6966
|
console.warn('[WS v2] Failed to clear HTTP read cache on auth change:', error);
|
|
6963
6967
|
}
|
|
6964
6968
|
try {
|
|
6965
|
-
const { reconnectRealtimeStoreWithNewAuth } = await import('./realtime-store-
|
|
6969
|
+
const { reconnectRealtimeStoreWithNewAuth } = await import('./realtime-store-CeDT7vJF.mjs');
|
|
6966
6970
|
await reconnectRealtimeStoreWithNewAuth();
|
|
6967
6971
|
}
|
|
6968
6972
|
catch (error) {
|
|
@@ -8413,7 +8417,7 @@ async function setMany(many, options) {
|
|
|
8413
8417
|
'Nothing was signed or submitted.');
|
|
8414
8418
|
}
|
|
8415
8419
|
const solanaChain = workerChain;
|
|
8416
|
-
const { handlePreBuiltTransaction, buildExpectedWriteIntent } = await import('./solana-operations-
|
|
8420
|
+
const { handlePreBuiltTransaction, buildExpectedWriteIntent } = await import('./solana-operations-CHgW7Pue.mjs');
|
|
8417
8421
|
// OA-0001: derive the expected intent from OUR OWN request (the one
|
|
8418
8422
|
// ground truth a tampered builder response cannot change) so the
|
|
8419
8423
|
// validator can reject any transaction whose operation semantics
|
|
@@ -9898,7 +9902,7 @@ function toMillis(seconds) {
|
|
|
9898
9902
|
|
|
9899
9903
|
/** SIWS message creation is async already, so its onchain module can be lazy. */
|
|
9900
9904
|
async function genSolanaMessage(address, nonce) {
|
|
9901
|
-
const implementation = await import('./solana-message-
|
|
9905
|
+
const implementation = await import('./solana-message-BGkYFU3C.mjs');
|
|
9902
9906
|
return implementation.genSolanaMessage(address, nonce);
|
|
9903
9907
|
}
|
|
9904
9908
|
|
|
@@ -10448,4 +10452,4 @@ function defineLiveModule(mod) {
|
|
|
10448
10452
|
}
|
|
10449
10453
|
|
|
10450
10454
|
export { getIdToken as $, subscribe as A, closeAllSubscriptions as B, clearCache as C, getCachedData as D, reconnectWithNewAuth as E, createClient as F, ScopedClientReadOnlyError as G, subscribeQuery as H, InsufficientBalanceError as I, closeAllQuerySubscriptions as J, canonicalizeArgs as K, canonicalizeResult as L, DEFAULT_QUERY_POLL_INTERVAL_MS as M, MIN_QUERY_POLL_INTERVAL_MS as N, BoundedDeclineError as O, deriveDecline as P, dispatchDeclineEvent as Q, DECLINE_EVENT_NAME as R, SOLANA_MAX_SUPPORTED_TRANSACTION_VERSION as S, dispatchRateLimitEvent as T, RATE_LIMIT_EVENT_NAME as U, hasActiveConnection as V, increment as W, serverTimestamp as X, now as Y, toSeconds as Z, toMillis as _, getTransactionJson as a, deriveUserIdentityFromIdToken as a0, getSessionGeneration as a1, WebSessionManager as a2, ReactNativeSessionManager as a3, getActiveSessionManager as a4, onSessionCleared as a5, SessionEnvironmentError as a6, UNSUPPORTED_ENVIRONMENT_CODE as a7, AUTH_CHANGED_CODE as a8, AUTH_EXPIRED_CODE as a9, withEffects as aA, isEffectResult as aB, defineLiveModule as aC, EFFECT_INTENT_ADDRESS as aD, isAuthExpiredError as aa, getFreshAuthToken as ab, ServerSessionManager as ac, createSessionWithSignature as ad, refreshSession as ae, revokeSession as af, signSessionCreateMessage as ag, genAuthNonce as ah, genSolanaMessage as ai, createSolanaSignInRequest as aj, createSolanaSignInMessageText as ak, genSolanaSignInRequest as al, genSolanaSignInMessage as am, browserSignInDomain as an, SOLANA_SIGN_IN_STATEMENT as ao, genSiweMessage as ap, normalizeEvmAddress as aq, toLowerEvmAddress as ar, functions as as, invoke as at, FunctionInvokeError as au, live as av, intent as aw, status as ax, subscribeView as ay, LiveIntentError as az, bufferExports as b, getWebhookKeysUrl as c, getConfiguredAppId as d, get as e, getMany as f, getConfig as g, docId as h, init as i, setMany as j, setFile as k, getFiles as l, search as m, runQueryMany as n, runExpression as o, runExpressionMany as p, queryAggregate as q, runQuery as r, set as s, signMessage as t, signTransaction as u, signAndSubmitTransaction as v, count as w, aggregate as x, reconcileSetResult as y, waitForSetResult as z };
|
|
10451
|
-
//# sourceMappingURL=index-
|
|
10455
|
+
//# sourceMappingURL=index-DW5yMQwV.mjs.map
|