@bounded-sh/core 0.0.64 → 0.0.65
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/functions.d.ts +8 -0
- package/dist/client/solana-operations.d.ts +0 -1
- package/dist/{index-BQ6e4MeP.mjs → index-BNOU00XY.mjs} +3243 -3262
- package/dist/index-BNOU00XY.mjs.map +1 -0
- package/dist/{index-BIdD2yUB.js → index-C8ocsC_W.js} +3242 -3263
- package/dist/index-C8ocsC_W.js.map +1 -0
- package/dist/index.d.ts +2 -3
- package/dist/index.js +1 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -2
- package/dist/index.mjs.map +1 -1
- package/dist/{realtime-store-Bz4Ob6K6.js → realtime-store-I_bcryPz.js} +2 -3
- package/dist/{realtime-store-Bz4Ob6K6.js.map → realtime-store-I_bcryPz.js.map} +1 -1
- package/dist/{realtime-store-DKngqviG.mjs → realtime-store-mzFJ8bHE.mjs} +2 -3
- package/dist/{realtime-store-DKngqviG.mjs.map → realtime-store-mzFJ8bHE.mjs.map} +1 -1
- package/dist/{solana-message-B0NoE4nC.js → solana-message-D_CN0H6r.js} +10 -8
- package/dist/solana-message-D_CN0H6r.js.map +1 -0
- package/dist/{solana-message-QUfJi1Qm.mjs → solana-message-VZBGvV0S.mjs} +10 -8
- package/dist/solana-message-VZBGvV0S.mjs.map +1 -0
- package/dist/{solana-operations-B2Oy9T7D.mjs → solana-operations-BlCYbdiN.mjs} +11 -75
- package/dist/solana-operations-BlCYbdiN.mjs.map +1 -0
- package/dist/{solana-operations-ngqIkN9W.js → solana-operations-CYpu6EU8.js} +10 -75
- package/dist/solana-operations-CYpu6EU8.js.map +1 -0
- package/dist/utils/auth-api.d.ts +15 -2
- package/dist/utils/rn-session-manager.d.ts +57 -7
- package/dist/utils/server-session-manager.d.ts +6 -1
- package/dist/utils/sol/sol-accessors.d.ts +0 -27
- package/dist/utils/sol/solana-message.d.ts +1 -1
- package/package.json +2 -2
- package/dist/index-BIdD2yUB.js.map +0 -1
- package/dist/index-BQ6e4MeP.mjs.map +0 -1
- package/dist/sol-utils-Cwxyl2h6.js +0 -232
- package/dist/sol-utils-Cwxyl2h6.js.map +0 -1
- package/dist/sol-utils-DVjPeoMy.mjs +0 -229
- package/dist/sol-utils-DVjPeoMy.mjs.map +0 -1
- package/dist/solana-message-B0NoE4nC.js.map +0 -1
- package/dist/solana-message-QUfJi1Qm.mjs.map +0 -1
- package/dist/solana-operations-B2Oy9T7D.mjs.map +0 -1
- package/dist/solana-operations-ngqIkN9W.js.map +0 -1
- package/dist/utils/sol/openTv7fbpYSseNHYmCZFZ1CZgj4r8D9fKNgEz1qo6FDevnet-program.d.ts +0 -2906
- package/dist/utils/sol/openTv7fbpYSseNHYmCZFZ1CZgj4r8D9fKNgEz1qo6FMainnet-program.d.ts +0 -2906
- package/dist/utils/sol/sol-utils.d.ts +0 -34
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type ClientConfig } from './config';
|
|
1
2
|
export type InvokeOptions = {
|
|
2
3
|
/** Per-call timeout (ms) for the HTTP request to the dispatcher. */
|
|
3
4
|
timeoutMs?: number;
|
|
@@ -10,6 +11,13 @@ export type InvokeOptions = {
|
|
|
10
11
|
*/
|
|
11
12
|
_overrides?: {
|
|
12
13
|
_getAuthHeaders?: () => Promise<Record<string, string>>;
|
|
14
|
+
/**
|
|
15
|
+
* @internal Fully-resolved config snapshot for a server `WalletClient`. When
|
|
16
|
+
* present, the invoke targets THIS config's dispatcher (functionsUrl) + appId
|
|
17
|
+
* instead of the mutable process-global `init()` config - so a later global
|
|
18
|
+
* init() can never retarget the wallet client's function calls (CTA-05).
|
|
19
|
+
*/
|
|
20
|
+
_config?: ClientConfig;
|
|
13
21
|
};
|
|
14
22
|
};
|
|
15
23
|
export declare class FunctionInvokeError extends Error {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { AuthProvider, TransactionResult } from '../types';
|
|
2
2
|
import type { SetOptions } from './operations';
|
|
3
|
-
export declare function handleSolanaTransaction(tx: any, authProvider: AuthProvider, options: SetOptions | undefined, expectedWritePaths: string[]): Promise<TransactionResult>;
|
|
4
3
|
export declare function handlePreBuiltTransaction(tx: {
|
|
5
4
|
serializedTransaction: string;
|
|
6
5
|
blockhash: string;
|