diff --git a/package.json b/package.json index b348f002..c7fa985b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "warp-contracts", - "version": "1.4.36-ao.11", + "version": "1.4.36-ao.12", "description": "An implementation of the SmartWeave smart contract protocol.", "types": "./lib/types/index.d.ts", "main": "./lib/cjs/index.js", diff --git a/src/core/modules/impl/HandlerExecutorFactory.ts b/src/core/modules/impl/HandlerExecutorFactory.ts index 5f6c94f2..36c00834 100644 --- a/src/core/modules/impl/HandlerExecutorFactory.ts +++ b/src/core/modules/impl/HandlerExecutorFactory.ts @@ -376,3 +376,22 @@ export interface QuickJsOptions { interruptCycles?: number; timeout?: number; } + +export interface QuickJsPluginMessage { + Cron: boolean; + Data: string | Buffer; + Epoch: number; + From: string; + Id: string | undefined; + Nonce: number; + Owner: string; + Signature: string | undefined; + Tags: { + [key: string]: string | undefined; + }; + Target: string; + Timestamp: string; + ['Block-Height']: string; + ['Forwarded-By']: string; + ['Hash-Chain']: string; +}