@bounded-sh/core 0.0.118-openapps.0 → 0.0.118

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 (39) hide show
  1. package/dist/client/reconcile.d.ts +2 -2
  2. package/dist/client/solana-confirm.d.ts +49 -0
  3. package/dist/client/solana-operations.d.ts +7 -1
  4. package/dist/{index-C6ZW5Gt2.mjs → index-BXfRRAUZ.mjs} +84 -28
  5. package/dist/index-BXfRRAUZ.mjs.map +1 -0
  6. package/dist/{index-DQ0FXeI8.js → index-l9LI3y1q.js} +84 -27
  7. package/dist/index-l9LI3y1q.js.map +1 -0
  8. package/dist/index.d.ts +2 -0
  9. package/dist/index.js +2 -1
  10. package/dist/index.js.map +1 -1
  11. package/dist/index.mjs +1 -1
  12. package/dist/{mirror-sync-ChzMq7bH.js → mirror-sync-DJVm0KKu.js} +2 -2
  13. package/dist/{mirror-sync-ChzMq7bH.js.map → mirror-sync-DJVm0KKu.js.map} +1 -1
  14. package/dist/{mirror-sync-kt9PzQen.mjs → mirror-sync-DoH9ewTo.mjs} +2 -2
  15. package/dist/{mirror-sync-kt9PzQen.mjs.map → mirror-sync-DoH9ewTo.mjs.map} +1 -1
  16. package/dist/{realtime-store-FUjGL_Z8.mjs → realtime-store-BreUReSo.mjs} +2 -2
  17. package/dist/{realtime-store-FUjGL_Z8.mjs.map → realtime-store-BreUReSo.mjs.map} +1 -1
  18. package/dist/{realtime-store-CURbZ68v.js → realtime-store-kZMPgwVB.js} +2 -2
  19. package/dist/{realtime-store-CURbZ68v.js.map → realtime-store-kZMPgwVB.js.map} +1 -1
  20. package/dist/{solana-message-CEjXjnaG.mjs → solana-message-CjI0h27k.mjs} +2 -2
  21. package/dist/{solana-message-CEjXjnaG.mjs.map → solana-message-CjI0h27k.mjs.map} +1 -1
  22. package/dist/{solana-message-F1e5wPKF.js → solana-message-HkOoUz8z.js} +2 -2
  23. package/dist/{solana-message-F1e5wPKF.js.map → solana-message-HkOoUz8z.js.map} +1 -1
  24. package/dist/{solana-operations-5WjFwhnt.mjs → solana-operations-CD6pks4-.mjs} +32 -30
  25. package/dist/solana-operations-CD6pks4-.mjs.map +1 -0
  26. package/dist/{solana-operations-CI0sREvl.js → solana-operations-DFohVGz6.js} +32 -29
  27. package/dist/solana-operations-DFohVGz6.js.map +1 -0
  28. package/dist/{solana-v1-operations-oot2R63I.js → solana-v1-operations-bhDjo-5U.js} +10 -24
  29. package/dist/solana-v1-operations-bhDjo-5U.js.map +1 -0
  30. package/dist/{solana-v1-operations-DB9pih7o.mjs → solana-v1-operations-ewIzFDeY.mjs} +10 -24
  31. package/dist/solana-v1-operations-ewIzFDeY.mjs.map +1 -0
  32. package/dist/types.d.ts +8 -15
  33. package/package.json +1 -1
  34. package/dist/index-C6ZW5Gt2.mjs.map +0 -1
  35. package/dist/index-DQ0FXeI8.js.map +0 -1
  36. package/dist/solana-operations-5WjFwhnt.mjs.map +0 -1
  37. package/dist/solana-operations-CI0sREvl.js.map +0 -1
  38. package/dist/solana-v1-operations-DB9pih7o.mjs.map +0 -1
  39. package/dist/solana-v1-operations-oot2R63I.js.map +0 -1
@@ -23,9 +23,9 @@ export type ReconcileSetResultOptions = {
23
23
  export type WaitForSetResultOptions = ReconcileSetResultOptions & {
24
24
  /** Total wall-clock bound. Default 60s. */
25
25
  timeoutMs?: number;
26
- /** Maximum reconciliation attempts. Default 20. */
26
+ /** Maximum reconciliation attempts. Default 60. */
27
27
  maxAttempts?: number;
28
- /** Delay between attempts. Default 3s. */
28
+ /** Delay between attempts. Default 1s. */
29
29
  pollIntervalMs?: number;
30
30
  /** Cancels the wait. The latest `submitted` receipt is returned, never discarded. */
31
31
  signal?: AbortSignal;
@@ -0,0 +1,49 @@
1
+ import type { SolanaWriteRpc } from '../types';
2
+ /** A signature status as `getSignatureStatuses` reports it. */
3
+ export interface SolanaSignatureStatus {
4
+ slot?: number;
5
+ err?: unknown;
6
+ confirmationStatus?: string | null;
7
+ confirmations?: number | null;
8
+ }
9
+ export type SolanaConfirmation =
10
+ /** Seen at `confirmed` or better; `status.err` says whether it succeeded. */
11
+ {
12
+ landed: true;
13
+ status: SolanaSignatureStatus;
14
+ contextSlot?: number;
15
+ }
16
+ /** Not seen at `confirmed` before the fence closed, or the RPC never answered usefully. */
17
+ | {
18
+ landed: false;
19
+ reason: string;
20
+ };
21
+ export interface ConfirmSignatureOptions {
22
+ /** Delay between status reads. Default 1s. */
23
+ pollIntervalMs?: number;
24
+ /**
25
+ * Wall-clock ceiling. A healthy RPC always ends the wait at the blockhash expiry (about
26
+ * a minute); this bounds one whose block height never advances or that fails every read.
27
+ * Default 120s.
28
+ */
29
+ maxWaitMs?: number;
30
+ }
31
+ /**
32
+ * Whether a status is final enough to decide on. `processed` can still belong to a fork
33
+ * that is dropped, so only `confirmed` or `finalized` settle a write; an RPC that omits
34
+ * `confirmationStatus` reports a rooted transaction as `confirmations: null`.
35
+ */
36
+ export declare function settledSignatureStatus(status: SolanaSignatureStatus | null | undefined): status is SolanaSignatureStatus;
37
+ /**
38
+ * Poll the SAME signature until it is seen at `confirmed` or the blockhash fence closes.
39
+ * Never broadcasts. A `processed` status, even one carrying an error, is not a verdict and
40
+ * keeps the loop going. Once the confirmed block height passes `lastValidBlockHeight`, one
41
+ * history-searching read decides whether the transaction landed anyway; if not, the answer
42
+ * is "not seen" or "seen only below confirmed", never "never landed": only a finalized
43
+ * expiry proves that, which is `reconcileSetResult`'s job. Transient RPC failures retry the
44
+ * same signature.
45
+ */
46
+ export declare function confirmSignature(rpc: SolanaWriteRpc, fence: {
47
+ signature: string;
48
+ lastValidBlockHeight: number;
49
+ }, options?: ConfirmSignatureOptions): Promise<SolanaConfirmation>;
@@ -1,6 +1,6 @@
1
1
  export { getTransactionJson, SOLANA_MAX_SUPPORTED_TRANSACTION_VERSION } from './solana-transaction-read';
2
2
  import type { VersionedTransaction } from '@solana/web3.js';
3
- import type { AuthProvider, SolanaFence, SolanaTransactionResult } from '../types';
3
+ import type { AuthProvider, SolanaFence, SolanaTransactionResult, SolanaWriteRpc } from '../types';
4
4
  import type { SetOptions } from './operations';
5
5
  /**
6
6
  * Minimal base58 encoder, used ONLY to derive a Solana transaction signature
@@ -43,6 +43,12 @@ export declare class BoundedOnchainRuleRejection extends Error {
43
43
  constructor(cause: unknown, extraLogs?: unknown);
44
44
  }
45
45
  export declare function errorText(error: unknown): string;
46
+ /**
47
+ * The tagged failure for a transaction that LANDED and failed on-chain: a Bounded
48
+ * rule/invariant rejection when the logs say so, otherwise the raw error, with the
49
+ * program logs attached whenever the RPC can still read them.
50
+ */
51
+ export declare function landedTransactionFailure(rpc: SolanaWriteRpc, signature: string, err: unknown): Promise<Error>;
46
52
  /**
47
53
  * One expected field operation, derived from the caller's request document.
48
54
  * `value`/`delta` are the JSON-round-tripped request values (what the server
@@ -4305,7 +4305,7 @@ class ServerSessionManager {
4305
4305
  const sessionConfig = (_a = this.sessionConfig) !== null && _a !== void 0 ? _a : undefined;
4306
4306
  /* fetch nonce from auth API (bound to the snapshotted app+issuer) */
4307
4307
  const nonce = await genAuthNonce(sessionConfig);
4308
- const { genSolanaMessage } = await import('./solana-message-CEjXjnaG.mjs');
4308
+ const { genSolanaMessage } = await import('./solana-message-CjI0h27k.mjs');
4309
4309
  const message = await genSolanaMessage(address, nonce, sessionConfig === null || sessionConfig === void 0 ? void 0 : sessionConfig.appId);
4310
4310
  /* sign the message */
4311
4311
  const sigBytes = nacl.sign.detached(new TextEncoder().encode(message), kp.secretKey);
@@ -7677,7 +7677,7 @@ async function doReconnectWithNewAuth() {
7677
7677
  console.warn('[WS v2] Failed to clear HTTP read cache on auth change:', error);
7678
7678
  }
7679
7679
  try {
7680
- const { reconnectRealtimeStoreWithNewAuth } = await import('./realtime-store-FUjGL_Z8.mjs');
7680
+ const { reconnectRealtimeStoreWithNewAuth } = await import('./realtime-store-BreUReSo.mjs');
7681
7681
  await reconnectRealtimeStoreWithNewAuth();
7682
7682
  }
7683
7683
  catch (error) {
@@ -8896,7 +8896,7 @@ function buildRequestedDocuments(documents) {
8896
8896
  /** Best-effort readback, including a failure to load its lazy implementation. */
8897
8897
  async function attemptMirrorSync(paths, options, transactionSignature) {
8898
8898
  try {
8899
- const mirror = await import('./mirror-sync-kt9PzQen.mjs');
8899
+ const mirror = await import('./mirror-sync-DoH9ewTo.mjs');
8900
8900
  return await mirror.attemptMirrorSync(paths, options, transactionSignature);
8901
8901
  }
8902
8902
  catch (error) {
@@ -9116,7 +9116,7 @@ async function setMany(many, options) {
9116
9116
  if (typeof curTx.serializedTransaction !== 'string' || typeof curTx.poofnetIntentId !== 'string') {
9117
9117
  throw new Error('Unsupported 202 transaction shape: a poofnet write needs serializedTransaction and poofnetIntentId');
9118
9118
  }
9119
- const { signPoofnetTransaction, buildExpectedWriteIntent } = await import('./solana-operations-5WjFwhnt.mjs');
9119
+ const { signPoofnetTransaction, buildExpectedWriteIntent } = await import('./solana-operations-CD6pks4-.mjs');
9120
9120
  const signedTransaction = await signPoofnetTransaction(curTx.serializedTransaction, authProvider, options, buildExpectedWriteIntent(documents));
9121
9121
  // Signing-only, exactly as on a real chain: signed and NOT committed.
9122
9122
  if ((options === null || options === void 0 ? void 0 : options.shouldSubmitTx) === false) {
@@ -9154,7 +9154,7 @@ async function setMany(many, options) {
9154
9154
  'Nothing was signed or submitted.');
9155
9155
  }
9156
9156
  const solanaChain = workerChain;
9157
- const { handlePreBuiltTransaction, buildExpectedWriteIntent } = await import('./solana-operations-5WjFwhnt.mjs');
9157
+ const { handlePreBuiltTransaction, buildExpectedWriteIntent } = await import('./solana-operations-CD6pks4-.mjs');
9158
9158
  // OA-0001: derive the expected intent from OUR OWN request (the one
9159
9159
  // ground truth a tampered builder response cannot change) so the
9160
9160
  // validator can reject any transaction whose operation semantics
@@ -9494,9 +9494,81 @@ var operations = /*#__PURE__*/Object.freeze({
9494
9494
  signTransaction: signTransaction
9495
9495
  });
9496
9496
 
9497
+ const DEFAULT_POLL_INTERVAL_MS$1 = 1000;
9498
+ const DEFAULT_MAX_WAIT_MS = 120000;
9499
+ /**
9500
+ * Whether a status is final enough to decide on. `processed` can still belong to a fork
9501
+ * that is dropped, so only `confirmed` or `finalized` settle a write; an RPC that omits
9502
+ * `confirmationStatus` reports a rooted transaction as `confirmations: null`.
9503
+ */
9504
+ function settledSignatureStatus(status) {
9505
+ if (!status)
9506
+ return false;
9507
+ if (status.confirmationStatus === 'confirmed' || status.confirmationStatus === 'finalized')
9508
+ return true;
9509
+ return status.confirmationStatus == null && status.confirmations === null;
9510
+ }
9511
+ /**
9512
+ * Poll the SAME signature until it is seen at `confirmed` or the blockhash fence closes.
9513
+ * Never broadcasts. A `processed` status, even one carrying an error, is not a verdict and
9514
+ * keeps the loop going. Once the confirmed block height passes `lastValidBlockHeight`, one
9515
+ * history-searching read decides whether the transaction landed anyway; if not, the answer
9516
+ * is "not seen" or "seen only below confirmed", never "never landed": only a finalized
9517
+ * expiry proves that, which is `reconcileSetResult`'s job. Transient RPC failures retry the
9518
+ * same signature.
9519
+ */
9520
+ async function confirmSignature(rpc, fence, options = {}) {
9521
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
9522
+ if (typeof rpc.getSignatureStatuses !== 'function' || typeof rpc.getBlockHeight !== 'function') {
9523
+ // An injected RPC that cannot answer is reported at once, not retried for two minutes.
9524
+ return { landed: false, reason: 'the configured Solana RPC cannot report signature statuses and block height' };
9525
+ }
9526
+ const pollIntervalMs = (_a = options.pollIntervalMs) !== null && _a !== void 0 ? _a : DEFAULT_POLL_INTERVAL_MS$1;
9527
+ const maxWaitMs = (_b = options.maxWaitMs) !== null && _b !== void 0 ? _b : DEFAULT_MAX_WAIT_MS;
9528
+ const startedAt = Date.now();
9529
+ let lastFailure = null;
9530
+ for (;;) {
9531
+ try {
9532
+ // Status first: a settled status decides on its own, and the height is read only
9533
+ // while the transaction is still unseen, so a failing height read never discards
9534
+ // a confirmation this tick already has.
9535
+ const statuses = await rpc.getSignatureStatuses([fence.signature]);
9536
+ const status = (_d = (_c = statuses === null || statuses === void 0 ? void 0 : statuses.value) === null || _c === void 0 ? void 0 : _c[0]) !== null && _d !== void 0 ? _d : null;
9537
+ if (settledSignatureStatus(status))
9538
+ return { landed: true, status, contextSlot: (_e = statuses === null || statuses === void 0 ? void 0 : statuses.context) === null || _e === void 0 ? void 0 : _e.slot };
9539
+ const blockHeight = await rpc.getBlockHeight('confirmed');
9540
+ if (blockHeight > fence.lastValidBlockHeight) {
9541
+ const history = await rpc.getSignatureStatuses([fence.signature], { searchTransactionHistory: true });
9542
+ const late = (_g = (_f = history === null || history === void 0 ? void 0 : history.value) === null || _f === void 0 ? void 0 : _f[0]) !== null && _g !== void 0 ? _g : null;
9543
+ if (settledSignatureStatus(late))
9544
+ return { landed: true, status: late, contextSlot: (_h = history === null || history === void 0 ? void 0 : history.context) === null || _h === void 0 ? void 0 : _h.slot };
9545
+ const seen = late ? `seen only at ${String((_j = late.confirmationStatus) !== null && _j !== void 0 ? _j : 'an unconfirmed')} commitment` : 'not seen at confirmed';
9546
+ return {
9547
+ landed: false,
9548
+ reason: `${seen} before the blockhash expired (block height ${blockHeight} is past ${fence.lastValidBlockHeight})`,
9549
+ };
9550
+ }
9551
+ lastFailure = null;
9552
+ }
9553
+ catch (error) {
9554
+ // Transient: keep polling the same signature. The ceiling below bounds a dead RPC.
9555
+ lastFailure = error instanceof Error ? error.message : String(error);
9556
+ }
9557
+ if (Date.now() - startedAt >= maxWaitMs) {
9558
+ return {
9559
+ landed: false,
9560
+ reason: lastFailure
9561
+ ? `the RPC kept failing while the transaction was awaited: ${lastFailure}`
9562
+ : `not seen at confirmed within ${Math.round(maxWaitMs / 1000)}s and the block height never passed the blockhash fence`,
9563
+ };
9564
+ }
9565
+ await new Promise((resolve) => setTimeout(resolve, pollIntervalMs));
9566
+ }
9567
+ }
9568
+
9497
9569
  const DEFAULT_TIMEOUT_MS = 60000;
9498
- const DEFAULT_MAX_ATTEMPTS$1 = 20;
9499
- const DEFAULT_POLL_INTERVAL_MS = 3000;
9570
+ const DEFAULT_MAX_ATTEMPTS$1 = 60;
9571
+ const DEFAULT_POLL_INTERVAL_MS = 1000;
9500
9572
  function errorText(error) {
9501
9573
  const message = error === null || error === void 0 ? void 0 : error.message;
9502
9574
  return typeof message === 'string' && message.length > 0 ? message : String(error);
@@ -9564,18 +9636,6 @@ async function resolveSolanaRpc(config, options) {
9564
9636
  const { Connection } = await import('@solana/web3.js');
9565
9637
  return new Connection(rpcUrl, 'confirmed');
9566
9638
  }
9567
- /**
9568
- * Whether a signature status is final enough to decide on. `processed` can still belong to a fork
9569
- * that is dropped, so only `confirmed` or `finalized` settle a write; an RPC that omits
9570
- * `confirmationStatus` reports a rooted transaction as `confirmations: null`.
9571
- */
9572
- function settledStatus(status) {
9573
- if (!status)
9574
- return false;
9575
- if (status.confirmationStatus === 'confirmed' || status.confirmationStatus === 'finalized')
9576
- return true;
9577
- return status.confirmationStatus == null && status.confirmations === null;
9578
- }
9579
9639
  /**
9580
9640
  * Solana reconciliation NEVER broadcasts. It settles on a `confirmed` or `finalized` status only,
9581
9641
  * and reaches `expired_not_landed` only from the chain's own blockhash expiry: the FINALIZED block
@@ -9587,17 +9647,13 @@ function settledStatus(status) {
9587
9647
  async function reconcileSolana(receipt, config, options) {
9588
9648
  var _a, _b, _c, _d;
9589
9649
  const rpc = await resolveSolanaRpc(config, options);
9590
- if (typeof rpc.getSignatureStatuses !== 'function') {
9591
- return stillSubmitted(receipt, 'the configured Solana RPC cannot report signature statuses');
9592
- }
9593
9650
  // Expiry is read BEFORE the status, so an absence observed afterwards is an absence after the
9594
9651
  // fence closed for good. A finalized height past lastValidBlockHeight is final: the blockhash
9595
9652
  // can never become valid again.
9596
9653
  let finalizedHeight;
9597
9654
  let finalizedSlot;
9598
9655
  try {
9599
- if (typeof rpc.getBlockHeight === 'function')
9600
- finalizedHeight = await rpc.getBlockHeight('finalized');
9656
+ finalizedHeight = await rpc.getBlockHeight('finalized');
9601
9657
  if (typeof rpc.getSlot === 'function')
9602
9658
  finalizedSlot = await rpc.getSlot('finalized');
9603
9659
  }
@@ -9616,7 +9672,7 @@ async function reconcileSolana(receipt, config, options) {
9616
9672
  return stillSubmitted(receipt, `signature status lookup failed: ${errorText(error)}`);
9617
9673
  }
9618
9674
  if (statusValue) {
9619
- if (!settledStatus(statusValue)) {
9675
+ if (!settledSignatureStatus(statusValue)) {
9620
9676
  return stillSubmitted(receipt, `seen at ${String((_d = statusValue.confirmationStatus) !== null && _d !== void 0 ? _d : 'an unconfirmed')} commitment; waiting for confirmed`);
9621
9677
  }
9622
9678
  // Landed. A landed-but-failed transaction is a genuine failure, not `submitted`.
@@ -10986,7 +11042,7 @@ function toMillis(seconds) {
10986
11042
 
10987
11043
  /** SIWS message creation is async already, so its onchain module can be lazy. */
10988
11044
  async function genSolanaMessage(address, nonce) {
10989
- const implementation = await import('./solana-message-CEjXjnaG.mjs');
11045
+ const implementation = await import('./solana-message-CjI0h27k.mjs');
10990
11046
  return implementation.genSolanaMessage(address, nonce);
10991
11047
  }
10992
11048
 
@@ -11535,5 +11591,5 @@ function defineLiveModule(mod) {
11535
11591
  return mod;
11536
11592
  }
11537
11593
 
11538
- export { dispatchRateLimitEvent as $, waitForSetResult as A, isWriteNotApplied as B, writeNotAppliedPhase as C, subscribe as D, closeAllSubscriptions as E, clearCache as F, getCachedData as G, reconnectWithNewAuth as H, InsufficientBalanceError as I, createClient as J, exchangeAppToken as K, clearAppTokenCache as L, createAppTokenAuthHeaders as M, AppTokenExchangeError as N, setWithVenueGrant as O, resolveVenueRpcUrl as P, subscribeQuery as Q, closeAllQuerySubscriptions as R, ScopedClientReadOnlyError as S, canonicalizeArgs as T, canonicalizeResult as U, DEFAULT_QUERY_POLL_INTERVAL_MS as V, MIN_QUERY_POLL_INTERVAL_MS as W, BoundedDeclineError as X, deriveDecline as Y, dispatchDeclineEvent as Z, DECLINE_EVENT_NAME as _, markWriteNotApplied as a, RATE_LIMIT_EVENT_NAME as a0, hasActiveConnection as a1, increment as a2, serverTimestamp as a3, now as a4, toSeconds as a5, toMillis as a6, getIdToken as a7, deriveUserIdentityFromIdToken as a8, getSessionGeneration as a9, genSiweMessage as aA, normalizeEvmAddress as aB, toLowerEvmAddress as aC, functions as aD, invoke as aE, FunctionInvokeError as aF, live as aG, intent as aH, status as aI, subscribeView as aJ, LiveIntentError as aK, withEffects as aL, isEffectResult as aM, defineLiveModule as aN, EFFECT_INTENT_ADDRESS as aO, WebSessionManager as aa, ReactNativeSessionManager as ab, getActiveSessionManager as ac, onSessionCleared as ad, announceSessionChange as ae, onSessionChange as af, SESSION_SIGNAL_CHANNEL as ag, SessionEnvironmentError as ah, UNSUPPORTED_ENVIRONMENT_CODE as ai, AUTH_CHANGED_CODE as aj, AUTH_EXPIRED_CODE as ak, isAuthExpiredError as al, getFreshAuthToken as am, ServerSessionManager as an, createSessionWithSignature as ao, refreshSession as ap, revokeSession as aq, signSessionCreateMessage as ar, genAuthNonce as as, genSolanaMessage as at, createSolanaSignInRequest as au, createSolanaSignInMessageText as av, genSolanaSignInRequest as aw, genSolanaSignInMessage as ax, browserSignInDomain as ay, SOLANA_SIGN_IN_STATEMENT 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, makeApiRequest as m, search as n, runQueryMany as o, runExpression as p, queryAggregate as q, runQuery as r, set as s, runExpressionMany as t, signMessage as u, signTransaction as v, signAndSubmitTransaction as w, count as x, aggregate as y, reconcileSetResult as z };
11539
- //# sourceMappingURL=index-C6ZW5Gt2.mjs.map
11594
+ export { DECLINE_EVENT_NAME as $, reconcileSetResult as A, waitForSetResult as B, isWriteNotApplied as C, writeNotAppliedPhase as D, subscribe as E, closeAllSubscriptions as F, clearCache as G, getCachedData as H, InsufficientBalanceError as I, reconnectWithNewAuth as J, createClient as K, exchangeAppToken as L, clearAppTokenCache as M, createAppTokenAuthHeaders as N, AppTokenExchangeError as O, setWithVenueGrant as P, resolveVenueRpcUrl as Q, subscribeQuery as R, ScopedClientReadOnlyError as S, closeAllQuerySubscriptions as T, canonicalizeArgs as U, canonicalizeResult as V, DEFAULT_QUERY_POLL_INTERVAL_MS as W, MIN_QUERY_POLL_INTERVAL_MS as X, BoundedDeclineError as Y, deriveDecline as Z, dispatchDeclineEvent as _, markWriteNotApplied as a, dispatchRateLimitEvent as a0, RATE_LIMIT_EVENT_NAME as a1, hasActiveConnection as a2, increment as a3, serverTimestamp as a4, now as a5, toSeconds as a6, toMillis as a7, getIdToken as a8, deriveUserIdentityFromIdToken as a9, SOLANA_SIGN_IN_STATEMENT as aA, genSiweMessage as aB, normalizeEvmAddress as aC, toLowerEvmAddress as aD, functions as aE, invoke as aF, FunctionInvokeError as aG, live as aH, intent as aI, status as aJ, subscribeView as aK, LiveIntentError as aL, withEffects as aM, isEffectResult as aN, defineLiveModule as aO, EFFECT_INTENT_ADDRESS as aP, getSessionGeneration as aa, WebSessionManager as ab, ReactNativeSessionManager as ac, getActiveSessionManager as ad, onSessionCleared as ae, announceSessionChange as af, onSessionChange as ag, SESSION_SIGNAL_CHANNEL as ah, SessionEnvironmentError as ai, UNSUPPORTED_ENVIRONMENT_CODE as aj, AUTH_CHANGED_CODE as ak, AUTH_EXPIRED_CODE as al, isAuthExpiredError as am, getFreshAuthToken as an, ServerSessionManager as ao, createSessionWithSignature as ap, refreshSession as aq, revokeSession as ar, signSessionCreateMessage as as, genAuthNonce as at, genSolanaMessage as au, createSolanaSignInRequest as av, createSolanaSignInMessageText as aw, genSolanaSignInRequest as ax, genSolanaSignInMessage as ay, browserSignInDomain as az, bufferExports as b, confirmSignature as c, getWebhookKeysUrl as d, getConfiguredAppId as e, get as f, getConfig as g, getMany as h, init as i, docId as j, setMany as k, setFile as l, makeApiRequest as m, getFiles as n, search as o, runQueryMany as p, queryAggregate as q, runQuery as r, set as s, runExpression as t, runExpressionMany as u, signMessage as v, signTransaction as w, signAndSubmitTransaction as x, count as y, aggregate as z };
11595
+ //# sourceMappingURL=index-BXfRRAUZ.mjs.map