diff --git a/package.json b/package.json index 9bf60d8..0fde0bb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@openzeppelin/defender-as-code", - "version": "2.5.0", + "version": "2.6.0", "description": "Configure your Defender environment via code", "main": "./lib/index.js", "types": "./lib/index.d.ts", diff --git a/src/cmd/deploy.ts b/src/cmd/deploy.ts index 7da3fcf..139d35f 100644 --- a/src/cmd/deploy.ts +++ b/src/cmd/deploy.ts @@ -1244,7 +1244,7 @@ export default class DefenderDeploy { async (forkedNetwork: ForkedNetworkRequest, stackResourceId: string) => { const createdForkedNetwork = await client.createForkedNetwork({ name: forkedNetwork.name, - supportedNetwork: forkedNetwork['supported-network'], + supportedNetwork: forkedNetwork['supported-network'] as any, // cast to prevent typing errors in deploy when networks in SDK are not aligned, rpcUrl: forkedNetwork['rpc-url'], blockExplorerUrl: forkedNetwork['block-explorer-url'] ?? undefined, apiKey: forkedNetwork['api-key'] ?? undefined,