@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.
Files changed (23) hide show
  1. package/dist/{index-CCNYuuC0.js → index-B8PpRj6x.js} +9 -5
  2. package/dist/{index-CCNYuuC0.js.map → index-B8PpRj6x.js.map} +1 -1
  3. package/dist/{index-DfouPmSK.mjs → index-DW5yMQwV.mjs} +9 -5
  4. package/dist/{index-DfouPmSK.mjs.map → index-DW5yMQwV.mjs.map} +1 -1
  5. package/dist/index.js +1 -1
  6. package/dist/index.mjs +1 -1
  7. package/dist/{realtime-store-BEFzGTed.mjs → realtime-store-CeDT7vJF.mjs} +2 -2
  8. package/dist/{realtime-store-BEFzGTed.mjs.map → realtime-store-CeDT7vJF.mjs.map} +1 -1
  9. package/dist/{realtime-store-BnqZFlqE.js → realtime-store-D7mJ7rTj.js} +2 -2
  10. package/dist/{realtime-store-BnqZFlqE.js.map → realtime-store-D7mJ7rTj.js.map} +1 -1
  11. package/dist/{solana-message-C_MdiJey.mjs → solana-message-BGkYFU3C.mjs} +2 -2
  12. package/dist/{solana-message-C_MdiJey.mjs.map → solana-message-BGkYFU3C.mjs.map} +1 -1
  13. package/dist/{solana-message-DYksNbG2.js → solana-message-w2FxOkFA.js} +2 -2
  14. package/dist/{solana-message-DYksNbG2.js.map → solana-message-w2FxOkFA.js.map} +1 -1
  15. package/dist/{solana-operations-D9cDNqCi.mjs → solana-operations-CHgW7Pue.mjs} +4 -4
  16. package/dist/{solana-operations-D9cDNqCi.mjs.map → solana-operations-CHgW7Pue.mjs.map} +1 -1
  17. package/dist/{solana-operations-qmgqBB4d.js → solana-operations-DJQDYdrk.js} +3 -3
  18. package/dist/{solana-operations-qmgqBB4d.js.map → solana-operations-DJQDYdrk.js.map} +1 -1
  19. package/dist/{solana-v1-operations-DMDGgh_5.js → solana-v1-operations-BF2rjG23.js} +3 -3
  20. package/dist/{solana-v1-operations-DMDGgh_5.js.map → solana-v1-operations-BF2rjG23.js.map} +1 -1
  21. package/dist/{solana-v1-operations-Zc85sD4C.mjs → solana-v1-operations-BPn-poee.mjs} +3 -3
  22. package/dist/{solana-v1-operations-Zc85sD4C.mjs.map → solana-v1-operations-BPn-poee.mjs.map} +1 -1
  23. package/package.json +1 -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-DYksNbG2.js'); });
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-BnqZFlqE.js'); });
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-qmgqBB4d.js'); });
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-DYksNbG2.js'); });
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-CCNYuuC0.js.map
10550
+ //# sourceMappingURL=index-B8PpRj6x.js.map