@vleap/warps 2.3.0-alpha.2 → 2.3.0-alpha.4
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/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +12 -35
- package/dist/index.mjs +12 -35
- package/package.json +4 -5
package/dist/index.d.mts
CHANGED
|
@@ -13,6 +13,7 @@ declare const CacheTtl: {
|
|
|
13
13
|
declare const CacheKey: {
|
|
14
14
|
Warp: (id: string) => string;
|
|
15
15
|
WarpAbi: (id: string) => string;
|
|
16
|
+
LastWarpExecutionInputs: (id: string, action: number) => string;
|
|
16
17
|
RegistryInfo: (id: string) => string;
|
|
17
18
|
Brand: (hash: string) => string;
|
|
18
19
|
ChainInfo: (chain: WarpChain) => string;
|
|
@@ -433,6 +434,7 @@ declare class WarpActionExecutor {
|
|
|
433
434
|
private url;
|
|
434
435
|
private serializer;
|
|
435
436
|
private contractLoader;
|
|
437
|
+
private cache;
|
|
436
438
|
constructor(config: WarpConfig);
|
|
437
439
|
createTransactionForExecute(warp: Warp, actionIndex: number, inputs: string[]): Promise<Transaction>;
|
|
438
440
|
getTransactionExecutionResults(warp: Warp, actionIndex: number, tx: TransactionOnNetwork): Promise<WarpExecution>;
|
package/dist/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ declare const CacheTtl: {
|
|
|
13
13
|
declare const CacheKey: {
|
|
14
14
|
Warp: (id: string) => string;
|
|
15
15
|
WarpAbi: (id: string) => string;
|
|
16
|
+
LastWarpExecutionInputs: (id: string, action: number) => string;
|
|
16
17
|
RegistryInfo: (id: string) => string;
|
|
17
18
|
Brand: (hash: string) => string;
|
|
18
19
|
ChainInfo: (chain: WarpChain) => string;
|
|
@@ -433,6 +434,7 @@ declare class WarpActionExecutor {
|
|
|
433
434
|
private url;
|
|
434
435
|
private serializer;
|
|
435
436
|
private contractLoader;
|
|
437
|
+
private cache;
|
|
436
438
|
constructor(config: WarpConfig);
|
|
437
439
|
createTransactionForExecute(warp: Warp, actionIndex: number, inputs: string[]): Promise<Transaction>;
|
|
438
440
|
getTransactionExecutionResults(warp: Warp, actionIndex: number, tx: TransactionOnNetwork): Promise<WarpExecution>;
|