diff --git a/shovel-config-ts/jsr.json b/shovel-config-ts/jsr.json index ee9a50a..4b57636 100644 --- a/shovel-config-ts/jsr.json +++ b/shovel-config-ts/jsr.json @@ -1,6 +1,6 @@ { "name": "@indexsupply/shovel-config", "description": "Types and functions for building a Shovel config file.", - "version": "0.0.16", + "version": "0.0.17", "exports": "./src/index.ts" } diff --git a/shovel-config-ts/package.json b/shovel-config-ts/package.json index 119e7e0..be57305 100644 --- a/shovel-config-ts/package.json +++ b/shovel-config-ts/package.json @@ -3,7 +3,7 @@ "publishConfig": { "access": "public" }, - "version": "0.0.16", + "version": "0.0.17", "main": "dist/index.js", "types": "dist/index.d.ts", "description": "Types and functions for building a Shovel config file.", diff --git a/shovel-config-ts/src/index.ts b/shovel-config-ts/src/index.ts index e3b7539..f2b2b8c 100644 --- a/shovel-config-ts/src/index.ts +++ b/shovel-config-ts/src/index.ts @@ -120,9 +120,19 @@ export type Event = { readonly inputs: readonly EventInput[]; }; +/** + * Source represents an Ethereum HTTP JSON RPC API Provider. + */ export type Source = { name: string; url: string; + /** + * Shovel will round-robin requests to these urls. + * This may be helpful for reducing downtime. + * + * url is added to urls + */ + urls: string[]; chain_id: EnvRef | number; poll_duration?: EnvRef | string; concurrency?: EnvRef | number;