@bounded-sh/core 0.0.116 → 0.0.117
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/client/mirror-sync.d.ts +11 -0
- package/dist/client/operations.d.ts +4 -8
- package/dist/{index-Db4lrwO6.mjs → index-C6ZW5Gt2.mjs} +38 -98
- package/dist/index-C6ZW5Gt2.mjs.map +1 -0
- package/dist/{index-CjiaT9AT.js → index-DQ0FXeI8.js} +38 -97
- package/dist/index-DQ0FXeI8.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/mirror-sync-ChzMq7bH.js +89 -0
- package/dist/mirror-sync-ChzMq7bH.js.map +1 -0
- package/dist/mirror-sync-kt9PzQen.mjs +86 -0
- package/dist/mirror-sync-kt9PzQen.mjs.map +1 -0
- package/dist/{realtime-store-IPPwUhJc.js → realtime-store-CURbZ68v.js} +2 -2
- package/dist/{realtime-store-IPPwUhJc.js.map → realtime-store-CURbZ68v.js.map} +1 -1
- package/dist/{realtime-store-CNs5zURZ.mjs → realtime-store-FUjGL_Z8.mjs} +2 -2
- package/dist/{realtime-store-CNs5zURZ.mjs.map → realtime-store-FUjGL_Z8.mjs.map} +1 -1
- package/dist/{solana-message-BO6Dtgbv.mjs → solana-message-CEjXjnaG.mjs} +2 -2
- package/dist/{solana-message-BO6Dtgbv.mjs.map → solana-message-CEjXjnaG.mjs.map} +1 -1
- package/dist/{solana-message-CXuLc7NX.js → solana-message-F1e5wPKF.js} +2 -2
- package/dist/{solana-message-CXuLc7NX.js.map → solana-message-F1e5wPKF.js.map} +1 -1
- package/dist/{solana-operations-DDt4CzRR.mjs → solana-operations-5WjFwhnt.mjs} +3 -3
- package/dist/{solana-operations-DDt4CzRR.mjs.map → solana-operations-5WjFwhnt.mjs.map} +1 -1
- package/dist/{solana-operations-CghJe0_7.js → solana-operations-CI0sREvl.js} +3 -3
- package/dist/{solana-operations-CghJe0_7.js.map → solana-operations-CI0sREvl.js.map} +1 -1
- package/dist/{solana-v1-operations-TH-HUzbT.mjs → solana-v1-operations-DB9pih7o.mjs} +3 -3
- package/dist/{solana-v1-operations-TH-HUzbT.mjs.map → solana-v1-operations-DB9pih7o.mjs.map} +1 -1
- package/dist/{solana-v1-operations-BY2DTfbR.js → solana-v1-operations-oot2R63I.js} +3 -3
- package/dist/{solana-v1-operations-BY2DTfbR.js.map → solana-v1-operations-oot2R63I.js.map} +1 -1
- package/package.json +1 -1
- package/dist/index-CjiaT9AT.js.map +0 -1
- package/dist/index-Db4lrwO6.mjs.map +0 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { SetOptions } from './operations';
|
|
2
|
+
import type { MirrorSync } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* Best-effort chain synchronization. A confirmed transaction must NEVER be lost to a
|
|
5
|
+
* synchronization failure, so this reports its outcome in `mirrorSync` and
|
|
6
|
+
* never rejects. The signature lets the server index the exact transaction,
|
|
7
|
+
* including hook-mutated documents beyond the requested destination paths.
|
|
8
|
+
*/
|
|
9
|
+
export declare function attemptMirrorSync(paths: string[], options?: SetOptions, transactionSignature?: string): Promise<MirrorSync>;
|
|
10
|
+
/** Refresh concrete paths, or index a confirmed transaction and read its requested paths. */
|
|
11
|
+
export declare function syncItems(paths: string[], options?: SetOptions, transactionSignature?: string): Promise<any>;
|
|
@@ -282,13 +282,8 @@ export declare function runExpressionMany(many: {
|
|
|
282
282
|
returnType?: 'Bool' | 'String' | 'Int' | 'UInt';
|
|
283
283
|
_overrides?: RequestOverrides;
|
|
284
284
|
}[]): Promise<RunExpressionResult[]>;
|
|
285
|
-
/**
|
|
286
|
-
|
|
287
|
-
* synchronization failure, so this reports its outcome in `mirrorSync` and
|
|
288
|
-
* never rejects. It reads the CONCRETE destination paths, so a collection
|
|
289
|
-
* insert with a generated id syncs the path that actually exists.
|
|
290
|
-
*/
|
|
291
|
-
export declare function attemptMirrorSync(paths: string[], options?: SetOptions, settleMs?: number): Promise<MirrorSync>;
|
|
285
|
+
/** Best-effort readback, including a failure to load its lazy implementation. */
|
|
286
|
+
export declare function attemptMirrorSync(paths: string[], options?: SetOptions, transactionSignature?: string): Promise<MirrorSync>;
|
|
292
287
|
/**
|
|
293
288
|
* Write a document at `path`. Sugar for a one-element {@link setMany}.
|
|
294
289
|
*
|
|
@@ -395,4 +390,5 @@ export declare function setFile(path: string, file: File | null, options?: {
|
|
|
395
390
|
export declare function signMessage(message: string): Promise<string>;
|
|
396
391
|
export declare function signTransaction(transaction: Transaction | VersionedTransaction): Promise<Transaction | VersionedTransaction>;
|
|
397
392
|
export declare function signAndSubmitTransaction(transaction: Transaction | VersionedTransaction, feePayer?: PublicKey): Promise<string>;
|
|
398
|
-
|
|
393
|
+
/** Refresh concrete paths, or index a confirmed transaction and read its requested paths. */
|
|
394
|
+
export declare function syncItems(paths: string[], options?: SetOptions, transactionSignature?: string): Promise<any>;
|
|
@@ -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-
|
|
4308
|
+
const { genSolanaMessage } = await import('./solana-message-CEjXjnaG.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);
|
|
@@ -5051,6 +5051,7 @@ class BoundedDeclineError extends Error {
|
|
|
5051
5051
|
|
|
5052
5052
|
const apiClient = axios.create();
|
|
5053
5053
|
const TRANSIENT_GET_STATUSES = new Set([500, 502, 503, 504]);
|
|
5054
|
+
const TRANSIENT_SYNC_STATUSES = new Set([502, 503, 504]);
|
|
5054
5055
|
const RATE_LIMIT_RETRY_BASE_DELAY_MS = 100;
|
|
5055
5056
|
/** The window event emitted when the API responds with HTTP 429. */
|
|
5056
5057
|
const RATE_LIMIT_EVENT_NAME = 'bounded:ratelimit';
|
|
@@ -5099,7 +5100,7 @@ function getRateLimitAttempt(error) {
|
|
|
5099
5100
|
axiosRetry(apiClient, {
|
|
5100
5101
|
retries: 2,
|
|
5101
5102
|
retryCondition: (error) => {
|
|
5102
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
5103
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
5103
5104
|
// A caller cancellation is final. In particular, never turn a route
|
|
5104
5105
|
// unmount into a fresh GET after its AbortSignal has fired.
|
|
5105
5106
|
const canceled = axios.isCancel(error)
|
|
@@ -5115,15 +5116,27 @@ axiosRetry(apiClient, {
|
|
|
5115
5116
|
// safe for every method, including POST requests to the queries API.
|
|
5116
5117
|
if (((_d = error.response) === null || _d === void 0 ? void 0 : _d.status) === 429)
|
|
5117
5118
|
return true;
|
|
5118
|
-
//
|
|
5119
|
-
//
|
|
5120
|
-
//
|
|
5121
|
-
|
|
5122
|
-
|
|
5123
|
-
if (
|
|
5119
|
+
// Sync only indexes existing chain state, so repeating it cannot submit
|
|
5120
|
+
// a second transaction. Keep its retries in this same bounded transport
|
|
5121
|
+
// loop instead of multiplying them with another SDK retry loop.
|
|
5122
|
+
const method = (_f = (_e = error.config) === null || _e === void 0 ? void 0 : _e.method) === null || _f === void 0 ? void 0 : _f.toLowerCase();
|
|
5123
|
+
let isSync = false;
|
|
5124
|
+
if (method === 'put') {
|
|
5125
|
+
try {
|
|
5126
|
+
isSync = new URL(String((_g = error.config) === null || _g === void 0 ? void 0 : _g.url)).pathname === '/items/sync';
|
|
5127
|
+
}
|
|
5128
|
+
catch ( /* An unrecognized URL is never safe to retry. */_m) { /* An unrecognized URL is never safe to retry. */ }
|
|
5129
|
+
}
|
|
5130
|
+
if (isSync) {
|
|
5131
|
+
return axiosRetry.isNetworkError(error)
|
|
5132
|
+
|| TRANSIENT_SYNC_STATUSES.has((_j = (_h = error.response) === null || _h === void 0 ? void 0 : _h.status) !== null && _j !== void 0 ? _j : 0);
|
|
5133
|
+
}
|
|
5134
|
+
// Ordinary writes are never retried: a lost response may follow commit.
|
|
5135
|
+
// GET network and selected gateway/runtime failures are safe to repeat.
|
|
5136
|
+
if (method !== 'get')
|
|
5124
5137
|
return false;
|
|
5125
5138
|
return axiosRetry.isNetworkError(error)
|
|
5126
|
-
|| TRANSIENT_GET_STATUSES.has((
|
|
5139
|
+
|| TRANSIENT_GET_STATUSES.has((_l = (_k = error.response) === null || _k === void 0 ? void 0 : _k.status) !== null && _l !== void 0 ? _l : 0);
|
|
5127
5140
|
},
|
|
5128
5141
|
retryDelay: (retryCount, error) => {
|
|
5129
5142
|
var _a;
|
|
@@ -7664,7 +7677,7 @@ async function doReconnectWithNewAuth() {
|
|
|
7664
7677
|
console.warn('[WS v2] Failed to clear HTTP read cache on auth change:', error);
|
|
7665
7678
|
}
|
|
7666
7679
|
try {
|
|
7667
|
-
const { reconnectRealtimeStoreWithNewAuth } = await import('./realtime-store-
|
|
7680
|
+
const { reconnectRealtimeStoreWithNewAuth } = await import('./realtime-store-FUjGL_Z8.mjs');
|
|
7668
7681
|
await reconnectRealtimeStoreWithNewAuth();
|
|
7669
7682
|
}
|
|
7670
7683
|
catch (error) {
|
|
@@ -8850,12 +8863,6 @@ async function runExpressionMany(many) {
|
|
|
8850
8863
|
}
|
|
8851
8864
|
}
|
|
8852
8865
|
/* ===================== WRITE RECEIPT HELPERS (W4) ======================== */
|
|
8853
|
-
/**
|
|
8854
|
-
* Settle delay before the best-effort mirror read on an on-chain write. It is
|
|
8855
|
-
* an optimization, not a correctness guarantee: the receipt is captured first
|
|
8856
|
-
* and returned regardless of what the mirror read reports.
|
|
8857
|
-
*/
|
|
8858
|
-
const MIRROR_SYNC_SETTLE_MS = 1500;
|
|
8859
8866
|
const SOLANA_CHAIN_TAGS = new Set(['solana_devnet', 'solana_mainnet']);
|
|
8860
8867
|
/**
|
|
8861
8868
|
* Read the execution-lane tag the WORKER reported. The SDK never infers it: a
|
|
@@ -8886,66 +8893,11 @@ function buildRequestedDocuments(documents) {
|
|
|
8886
8893
|
});
|
|
8887
8894
|
});
|
|
8888
8895
|
}
|
|
8889
|
-
/**
|
|
8890
|
-
function
|
|
8891
|
-
if (Object.prototype.hasOwnProperty.call(source, path))
|
|
8892
|
-
return source[path];
|
|
8893
|
-
const withSlash = path.startsWith('/') ? path : `/${path}`;
|
|
8894
|
-
if (Object.prototype.hasOwnProperty.call(source, withSlash))
|
|
8895
|
-
return source[withSlash];
|
|
8896
|
-
const withoutSlash = path.startsWith('/') ? path.slice(1) : path;
|
|
8897
|
-
if (Object.prototype.hasOwnProperty.call(source, withoutSlash))
|
|
8898
|
-
return source[withoutSlash];
|
|
8899
|
-
return undefined;
|
|
8900
|
-
}
|
|
8901
|
-
/**
|
|
8902
|
-
* `observed: true` only when EVERY requested concrete path was read back as a
|
|
8903
|
-
* real document. The sync endpoint answers `null` for a document that is
|
|
8904
|
-
* absent, lagging, or read-denied, and a deleted path reads back as `null` too
|
|
8905
|
-
* — none of those are evidence of synchronization.
|
|
8906
|
-
*/
|
|
8907
|
-
function validatePathKeyedDocuments(paths, source) {
|
|
8908
|
-
if (!source || typeof source !== 'object' || Array.isArray(source)) {
|
|
8909
|
-
return { observed: false, reason: 'the synchronization response was not a path-keyed document map' };
|
|
8910
|
-
}
|
|
8911
|
-
const map = source;
|
|
8912
|
-
const documents = [];
|
|
8913
|
-
const unobserved = [];
|
|
8914
|
-
for (const path of paths) {
|
|
8915
|
-
const document = pickPathDocument(map, path);
|
|
8916
|
-
if (document == null || typeof document !== 'object' || Array.isArray(document)) {
|
|
8917
|
-
unobserved.push(path);
|
|
8918
|
-
documents.push({ path, document: null });
|
|
8919
|
-
continue;
|
|
8920
|
-
}
|
|
8921
|
-
documents.push({ path, document: document });
|
|
8922
|
-
}
|
|
8923
|
-
if (unobserved.length > 0) {
|
|
8924
|
-
return {
|
|
8925
|
-
observed: false,
|
|
8926
|
-
reason: `no readable document was returned for ${unobserved.join(', ')} ` +
|
|
8927
|
-
'(absent, deleted, lagging, read-denied, or a passthrough write)',
|
|
8928
|
-
};
|
|
8929
|
-
}
|
|
8930
|
-
return { observed: true, documents };
|
|
8931
|
-
}
|
|
8932
|
-
/**
|
|
8933
|
-
* Best-effort mirror read. A confirmed transaction must NEVER be lost to a
|
|
8934
|
-
* synchronization failure, so this reports its outcome in `mirrorSync` and
|
|
8935
|
-
* never rejects. It reads the CONCRETE destination paths, so a collection
|
|
8936
|
-
* insert with a generated id syncs the path that actually exists.
|
|
8937
|
-
*/
|
|
8938
|
-
async function attemptMirrorSync(paths, options, settleMs = MIRROR_SYNC_SETTLE_MS) {
|
|
8896
|
+
/** Best-effort readback, including a failure to load its lazy implementation. */
|
|
8897
|
+
async function attemptMirrorSync(paths, options, transactionSignature) {
|
|
8939
8898
|
try {
|
|
8940
|
-
|
|
8941
|
-
|
|
8942
|
-
const synced = await syncItems(paths, options);
|
|
8943
|
-
// The sync endpoint answers `{ data: <path-keyed map>, status }`; a document
|
|
8944
|
-
// path always contains a `/`, so a top-level `data` key is never one.
|
|
8945
|
-
const map = (synced && typeof synced === 'object' && !Array.isArray(synced) && 'data' in synced)
|
|
8946
|
-
? synced.data
|
|
8947
|
-
: synced;
|
|
8948
|
-
return validatePathKeyedDocuments(paths, map);
|
|
8899
|
+
const mirror = await import('./mirror-sync-kt9PzQen.mjs');
|
|
8900
|
+
return await mirror.attemptMirrorSync(paths, options, transactionSignature);
|
|
8949
8901
|
}
|
|
8950
8902
|
catch (error) {
|
|
8951
8903
|
const message = typeof (error === null || error === void 0 ? void 0 : error.message) === 'string' ? error.message : String(error);
|
|
@@ -9164,7 +9116,7 @@ async function setMany(many, options) {
|
|
|
9164
9116
|
if (typeof curTx.serializedTransaction !== 'string' || typeof curTx.poofnetIntentId !== 'string') {
|
|
9165
9117
|
throw new Error('Unsupported 202 transaction shape: a poofnet write needs serializedTransaction and poofnetIntentId');
|
|
9166
9118
|
}
|
|
9167
|
-
const { signPoofnetTransaction, buildExpectedWriteIntent } = await import('./solana-operations-
|
|
9119
|
+
const { signPoofnetTransaction, buildExpectedWriteIntent } = await import('./solana-operations-5WjFwhnt.mjs');
|
|
9168
9120
|
const signedTransaction = await signPoofnetTransaction(curTx.serializedTransaction, authProvider, options, buildExpectedWriteIntent(documents));
|
|
9169
9121
|
// Signing-only, exactly as on a real chain: signed and NOT committed.
|
|
9170
9122
|
if ((options === null || options === void 0 ? void 0 : options.shouldSubmitTx) === false) {
|
|
@@ -9202,7 +9154,7 @@ async function setMany(many, options) {
|
|
|
9202
9154
|
'Nothing was signed or submitted.');
|
|
9203
9155
|
}
|
|
9204
9156
|
const solanaChain = workerChain;
|
|
9205
|
-
const { handlePreBuiltTransaction, buildExpectedWriteIntent } = await import('./solana-operations-
|
|
9157
|
+
const { handlePreBuiltTransaction, buildExpectedWriteIntent } = await import('./solana-operations-5WjFwhnt.mjs');
|
|
9206
9158
|
// OA-0001: derive the expected intent from OUR OWN request (the one
|
|
9207
9159
|
// ground truth a tampered builder response cannot change) so the
|
|
9208
9160
|
// validator can reject any transaction whose operation semantics
|
|
@@ -9243,7 +9195,7 @@ async function setMany(many, options) {
|
|
|
9243
9195
|
// best-effort enrichment reported in `mirrorSync`, never a rejection.
|
|
9244
9196
|
const mirrorSync = grantLane
|
|
9245
9197
|
? { observed: false, reason: 'not attempted: a venue grant authorizes only the write' }
|
|
9246
|
-
: await attemptMirrorSync(requestedPaths, options);
|
|
9198
|
+
: await attemptMirrorSync(requestedPaths, Object.assign(Object.assign({}, options), { _overrides: Object.assign(Object.assign({}, options === null || options === void 0 ? void 0 : options._overrides), { _config: config }) }), solanaOutcome.transactionSignature);
|
|
9247
9199
|
return {
|
|
9248
9200
|
status: 'confirmed', appId, requestedDocuments, chain: solanaChain,
|
|
9249
9201
|
transactionId: solanaOutcome.transactionSignature,
|
|
@@ -9515,15 +9467,6 @@ async function signAndSubmitTransaction(transaction, feePayer) {
|
|
|
9515
9467
|
}
|
|
9516
9468
|
return config.authProvider.signAndSubmitTransaction(transaction, feePayer);
|
|
9517
9469
|
}
|
|
9518
|
-
async function syncItems(paths, options) {
|
|
9519
|
-
try {
|
|
9520
|
-
const response = await makeApiRequest('PUT', 'items/sync', { paths }, options === null || options === void 0 ? void 0 : options._overrides);
|
|
9521
|
-
return response.data;
|
|
9522
|
-
}
|
|
9523
|
-
catch (error) {
|
|
9524
|
-
throw error;
|
|
9525
|
-
}
|
|
9526
|
-
}
|
|
9527
9470
|
|
|
9528
9471
|
var operations = /*#__PURE__*/Object.freeze({
|
|
9529
9472
|
__proto__: null,
|
|
@@ -9548,15 +9491,12 @@ var operations = /*#__PURE__*/Object.freeze({
|
|
|
9548
9491
|
setMany: setMany,
|
|
9549
9492
|
signAndSubmitTransaction: signAndSubmitTransaction,
|
|
9550
9493
|
signMessage: signMessage,
|
|
9551
|
-
signTransaction: signTransaction
|
|
9552
|
-
syncItems: syncItems
|
|
9494
|
+
signTransaction: signTransaction
|
|
9553
9495
|
});
|
|
9554
9496
|
|
|
9555
9497
|
const DEFAULT_TIMEOUT_MS = 60000;
|
|
9556
9498
|
const DEFAULT_MAX_ATTEMPTS$1 = 20;
|
|
9557
9499
|
const DEFAULT_POLL_INTERVAL_MS = 3000;
|
|
9558
|
-
/** Mirror read after a late confirmation. No settle delay: the tx already landed. */
|
|
9559
|
-
const RECONCILE_MIRROR_SETTLE_MS = 0;
|
|
9560
9500
|
function errorText(error) {
|
|
9561
9501
|
const message = error === null || error === void 0 ? void 0 : error.message;
|
|
9562
9502
|
return typeof message === 'string' && message.length > 0 ? message : String(error);
|
|
@@ -9605,12 +9545,12 @@ function assertReceiptMatchesContext(receipt, config) {
|
|
|
9605
9545
|
function stillSubmitted(receipt, reason) {
|
|
9606
9546
|
return Object.assign(Object.assign({}, receipt), { confirmation: Object.assign(Object.assign({}, receipt.confirmation), { reason }) });
|
|
9607
9547
|
}
|
|
9608
|
-
async function mirrorFor(receipt, options) {
|
|
9548
|
+
async function mirrorFor(receipt, config, options) {
|
|
9609
9549
|
const paths = receipt.requestedDocuments.map(entry => entry.path);
|
|
9610
9550
|
if (paths.length === 0)
|
|
9611
9551
|
return { observed: false, reason: 'the receipt carried no requested paths' };
|
|
9612
|
-
const setOptions = (options === null || options === void 0 ? void 0 : options._overrides)
|
|
9613
|
-
return attemptMirrorSync(paths, setOptions,
|
|
9552
|
+
const setOptions = { _overrides: Object.assign(Object.assign({}, options === null || options === void 0 ? void 0 : options._overrides), { _config: config }) };
|
|
9553
|
+
return attemptMirrorSync(paths, setOptions, receipt.transactionId);
|
|
9614
9554
|
}
|
|
9615
9555
|
async function resolveSolanaRpc(config, options) {
|
|
9616
9556
|
var _a, _b;
|
|
@@ -9692,7 +9632,7 @@ async function reconcileSolana(receipt, config, options) {
|
|
|
9692
9632
|
signedTransaction: receipt.signedTransaction,
|
|
9693
9633
|
fence: receipt.fence,
|
|
9694
9634
|
confirmationContextSlot: typeof statusValue.slot === 'number' ? statusValue.slot : (contextSlot !== null && contextSlot !== void 0 ? contextSlot : 0),
|
|
9695
|
-
mirrorSync: await mirrorFor(receipt, options),
|
|
9635
|
+
mirrorSync: await mirrorFor(receipt, config, options),
|
|
9696
9636
|
};
|
|
9697
9637
|
return confirmed;
|
|
9698
9638
|
}
|
|
@@ -11046,7 +10986,7 @@ function toMillis(seconds) {
|
|
|
11046
10986
|
|
|
11047
10987
|
/** SIWS message creation is async already, so its onchain module can be lazy. */
|
|
11048
10988
|
async function genSolanaMessage(address, nonce) {
|
|
11049
|
-
const implementation = await import('./solana-message-
|
|
10989
|
+
const implementation = await import('./solana-message-CEjXjnaG.mjs');
|
|
11050
10990
|
return implementation.genSolanaMessage(address, nonce);
|
|
11051
10991
|
}
|
|
11052
10992
|
|
|
@@ -11595,5 +11535,5 @@ function defineLiveModule(mod) {
|
|
|
11595
11535
|
return mod;
|
|
11596
11536
|
}
|
|
11597
11537
|
|
|
11598
|
-
export {
|
|
11599
|
-
//# sourceMappingURL=index-
|
|
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
|