@bounded-sh/core 0.0.100-performance.0 → 0.0.100
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-B8PpRj6x.js.map +1 -0
- package/dist/{index-DfouPmSK.mjs → index-DW5yMQwV.mjs} +9 -5
- package/dist/index-DW5yMQwV.mjs.map +1 -0
- 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
- package/dist/index-CCNYuuC0.js.map +0 -1
- package/dist/index-DfouPmSK.mjs.map +0 -1
|
@@ -4190,7 +4190,7 @@ class ServerSessionManager {
|
|
|
4190
4190
|
const sessionConfig = (_a = this.sessionConfig) !== null && _a !== void 0 ? _a : undefined;
|
|
4191
4191
|
/* fetch nonce from auth API (bound to the snapshotted app+issuer) */
|
|
4192
4192
|
const nonce = await genAuthNonce(sessionConfig);
|
|
4193
|
-
const { genSolanaMessage } = await Promise.resolve().then(function () { return require('./solana-message-
|
|
4193
|
+
const { genSolanaMessage } = await Promise.resolve().then(function () { return require('./solana-message-w2FxOkFA.js'); });
|
|
4194
4194
|
const message = await genSolanaMessage(address, nonce, sessionConfig === null || sessionConfig === void 0 ? void 0 : sessionConfig.appId);
|
|
4195
4195
|
/* sign the message */
|
|
4196
4196
|
const sigBytes = nacl.sign.detached(new TextEncoder().encode(message), kp.secretKey);
|
|
@@ -5914,6 +5914,10 @@ async function getOrCreateConnectionOnce(appId, isServer, routePath, authTokenPr
|
|
|
5914
5914
|
break;
|
|
5915
5915
|
const authError = normalizeAuthExpiredError(error, 'Authentication expired and refresh failed');
|
|
5916
5916
|
failConnectionAuth(connection, authError);
|
|
5917
|
+
// An error callback may synchronously tear down or replace this
|
|
5918
|
+
// connection. Do not install a retry after its cleanup completed.
|
|
5919
|
+
if (connections.get(connKey) !== connection)
|
|
5920
|
+
break;
|
|
5917
5921
|
await new Promise((resolve) => {
|
|
5918
5922
|
const wake = () => {
|
|
5919
5923
|
clearTimeout(timer);
|
|
@@ -6964,7 +6968,7 @@ async function doReconnectWithNewAuth() {
|
|
|
6964
6968
|
console.warn('[WS v2] Failed to clear HTTP read cache on auth change:', error);
|
|
6965
6969
|
}
|
|
6966
6970
|
try {
|
|
6967
|
-
const { reconnectRealtimeStoreWithNewAuth } = await Promise.resolve().then(function () { return require('./realtime-store-
|
|
6971
|
+
const { reconnectRealtimeStoreWithNewAuth } = await Promise.resolve().then(function () { return require('./realtime-store-D7mJ7rTj.js'); });
|
|
6968
6972
|
await reconnectRealtimeStoreWithNewAuth();
|
|
6969
6973
|
}
|
|
6970
6974
|
catch (error) {
|
|
@@ -8415,7 +8419,7 @@ async function setMany(many, options) {
|
|
|
8415
8419
|
'Nothing was signed or submitted.');
|
|
8416
8420
|
}
|
|
8417
8421
|
const solanaChain = workerChain;
|
|
8418
|
-
const { handlePreBuiltTransaction, buildExpectedWriteIntent } = await Promise.resolve().then(function () { return require('./solana-operations-
|
|
8422
|
+
const { handlePreBuiltTransaction, buildExpectedWriteIntent } = await Promise.resolve().then(function () { return require('./solana-operations-DJQDYdrk.js'); });
|
|
8419
8423
|
// OA-0001: derive the expected intent from OUR OWN request (the one
|
|
8420
8424
|
// ground truth a tampered builder response cannot change) so the
|
|
8421
8425
|
// validator can reject any transaction whose operation semantics
|
|
@@ -9900,7 +9904,7 @@ function toMillis(seconds) {
|
|
|
9900
9904
|
|
|
9901
9905
|
/** SIWS message creation is async already, so its onchain module can be lazy. */
|
|
9902
9906
|
async function genSolanaMessage(address, nonce) {
|
|
9903
|
-
const implementation = await Promise.resolve().then(function () { return require('./solana-message-
|
|
9907
|
+
const implementation = await Promise.resolve().then(function () { return require('./solana-message-w2FxOkFA.js'); });
|
|
9904
9908
|
return implementation.genSolanaMessage(address, nonce);
|
|
9905
9909
|
}
|
|
9906
9910
|
|
|
@@ -10543,4 +10547,4 @@ exports.toMillis = toMillis;
|
|
|
10543
10547
|
exports.toSeconds = toSeconds;
|
|
10544
10548
|
exports.waitForSetResult = waitForSetResult;
|
|
10545
10549
|
exports.withEffects = withEffects;
|
|
10546
|
-
//# sourceMappingURL=index-
|
|
10550
|
+
//# sourceMappingURL=index-B8PpRj6x.js.map
|