@steerprotocol/app-loader 3.0.5 → 3.1.0
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/README.md +86 -0
- package/lib/browser.d.ts +5 -2
- package/lib/browser.mjs +253 -73
- package/lib/browser.mjs.map +1 -1
- package/lib/index.cjs +3693 -108
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.ts +5 -2
- package/lib/index.mjs +3693 -108
- package/lib/index.mjs.map +1 -1
- package/lib/internal/asyncHostCalls.d.ts +37 -0
- package/lib/internal/instantiate.d.ts +3 -4
- package/lib/internal/loadOptions.d.ts +1 -0
- package/lib/internal/panoptic/deps.d.ts +24 -0
- package/lib/internal/panoptic/dynamicJobs/fragments.d.ts +10 -0
- package/lib/internal/panoptic/dynamicJobs/renderExecuteJob.d.ts +8 -0
- package/lib/internal/panoptic/fragments/collateral.d.ts +5 -0
- package/lib/internal/panoptic/fragments/erc20.d.ts +3 -0
- package/lib/internal/panoptic/fragments/hypovault.d.ts +12 -0
- package/lib/internal/panoptic/fragments/merkle.d.ts +22 -0
- package/lib/internal/panoptic/fragments/panoptic.d.ts +17 -0
- package/lib/internal/panoptic/fragments/permit2.d.ts +3 -0
- package/lib/internal/panoptic/fragments/support.d.ts +16 -0
- package/lib/internal/panoptic/fragments/uniswap.d.ts +10 -0
- package/lib/internal/panoptic/fragments/weth.d.ts +19 -0
- package/lib/internal/panoptic/handlers.d.ts +27 -0
- package/lib/internal/panoptic/protocol.d.ts +29 -0
- package/lib/internal/panoptic/reads/account.d.ts +11 -0
- package/lib/internal/panoptic/reads/greeks.d.ts +5 -0
- package/lib/internal/panoptic/reads/hypovault.d.ts +7 -0
- package/lib/internal/panoptic/reads/pool.d.ts +10 -0
- package/lib/internal/panoptic/reads/uniswap.d.ts +6 -0
- package/lib/internal/panoptic/support.d.ts +20 -0
- package/lib/internal/panopticBrowserRuntime.d.ts +6 -0
- package/lib/internal/panopticDtos.d.ts +72 -0
- package/lib/internal/panopticHostEnvelope.d.ts +2 -0
- package/lib/internal/panopticHostImport.d.ts +17 -0
- package/lib/internal/panopticJsonArgs.d.ts +26 -0
- package/lib/internal/panopticRuntime.d.ts +12 -0
- package/lib/internal/panopticScalars.d.ts +10 -0
- package/lib/internal/panopticSerialization.d.ts +19 -0
- package/lib/internal/panopticSources.d.ts +22 -0
- package/lib/loadOptions.d.ts +5 -0
- package/lib/node.cjs +3640 -73
- package/lib/node.cjs.map +1 -1
- package/lib/node.d.ts +5 -2
- package/lib/node.mjs +3640 -73
- package/lib/node.mjs.map +1 -1
- package/lib/panoptic.cjs +19 -0
- package/lib/panoptic.cjs.map +1 -0
- package/lib/panoptic.d.ts +56 -0
- package/lib/panoptic.mjs +1 -0
- package/lib/panoptic.mjs.map +1 -0
- package/package.json +44 -3
package/lib/node.d.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Node-only entrypoints for loading Steer wasm bundles.
|
|
3
3
|
*/
|
|
4
4
|
import { Candle, RawTradeData } from './internal/instantiate';
|
|
5
|
+
import type { LoadWasmOptions } from './loadOptions';
|
|
5
6
|
import type { WasmModule } from './WasmModule';
|
|
6
7
|
/**
|
|
7
8
|
* Load a wasm bundle synchronously. Only accepts the actual binary data.
|
|
@@ -9,13 +10,15 @@ import type { WasmModule } from './WasmModule';
|
|
|
9
10
|
* @param imports - Imports
|
|
10
11
|
* @returns
|
|
11
12
|
*/
|
|
12
|
-
declare function loadWasmSync(input: ArrayBuffer, imports?: {}): WasmModule;
|
|
13
|
+
declare function loadWasmSync(input: ArrayBuffer, imports?: {}, options?: LoadWasmOptions): WasmModule;
|
|
13
14
|
/**
|
|
14
15
|
* Load a wasm bundle asynchronously. Accepts the actual binary data or a file path/URL.
|
|
15
16
|
* @param input - Wasm bundle data, file path, or URL
|
|
16
17
|
* @param imports - Imports
|
|
17
18
|
* @returns
|
|
18
19
|
*/
|
|
19
|
-
declare function loadWasm(input: string | ArrayBuffer, imports?: {}): Promise<WasmModule>;
|
|
20
|
+
declare function loadWasm(input: string | ArrayBuffer, imports?: {}, options?: LoadWasmOptions): Promise<WasmModule>;
|
|
21
|
+
export type { LoadWasmOptions } from './loadOptions';
|
|
22
|
+
export type { PanopticAuditEvent, PanopticClientCacheOptions, PanopticJsonValue, PanopticOperationOptions, PanopticRpcSource, PanopticRuntimeOptions, PanopticSourceRegistry, PanopticSubgraphSource, SourceMeta, } from './panoptic';
|
|
20
23
|
export type { WasmModule } from './WasmModule';
|
|
21
24
|
export { loadWasm, loadWasmSync, Candle, RawTradeData };
|