defender-autotask-utils
Advanced tools
Comparing version 1.37.0 to 1.38.0
export declare type SentinelConfirmation = number | 'safe' | 'finalized'; | ||
export interface PreviousAutotaskRunInfo { | ||
trigger: 'schedule' | 'webhook' | 'sentinel' | 'manual' | 'manual-api'; | ||
status: 'pending' | 'throttled' | 'error' | 'success'; | ||
createdAt: string; | ||
autotaskId: string; | ||
message?: string; | ||
autotaskRunId: 'string'; | ||
} | ||
/** | ||
@@ -26,2 +34,18 @@ * Event information injected by Defender when invoking an Autotask | ||
request?: AutotaskRequestData; | ||
/** | ||
* autotaskId is the unique identifier of the Autotask | ||
*/ | ||
autotaskId: string; | ||
/** | ||
* Name assigned to the Autotask | ||
*/ | ||
autotaskName: string; | ||
/** | ||
* Id of the the current Autotask run | ||
*/ | ||
autotaskRunId: string; | ||
/** | ||
* Previous Autotask run information | ||
*/ | ||
previousRun?: PreviousAutotaskRunInfo; | ||
} | ||
@@ -28,0 +52,0 @@ /** |
{ | ||
"name": "defender-autotask-utils", | ||
"version": "1.37.0", | ||
"version": "1.38.0", | ||
"description": "Utils library for writing Defender Autotasks", | ||
@@ -23,3 +23,3 @@ "main": "./lib/index.js", | ||
"license": "MIT", | ||
"gitHead": "4b153fb8b16facd6713921faa4499af0b55c9e6e" | ||
"gitHead": "b0af2e95b86c888501e3bd6d3acaeebd9a3de99f" | ||
} |
# Defender Autotask Utils | ||
The [Defender Autotasks](https://docs.openzeppelin.com/defender/autotasks) service allows you to run small code snippets on a regular basis or via webhooks that can make calls to the Ethereum network or to external APIs. Thanks to tight integration to Defender Relayers, you can use Autotasks to automate regular actions on your contracts. | ||
The [Defender Autotasks](https://docs.openzeppelin.com/defender/autotasks) service allows you to run small code snippets on a regular basis, via webhooks or from Sentinels that can make calls to the Ethereum network or to external APIs. Thanks to tight integration to Defender Relayers, you can use Autotasks to automate regular actions on your contracts. | ||
@@ -5,0 +5,0 @@ This library provides typings for simplifying the writing of Autotask code when using Typescript. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
105011
322