diff --git a/package.json b/package.json index 840e197d..5b316f50 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "@imtbl/core-sdk", + "name": "@imtbl/core-sdk-1", "version": "2.2.0", "description": "Immutable Core SDK", "main": "dist/index.cjs.js", diff --git a/src/workflows/workflows.ts b/src/workflows/workflows.ts index b3fbc670..6c060421 100644 --- a/src/workflows/workflows.ts +++ b/src/workflows/workflows.ts @@ -103,7 +103,7 @@ export class Workflows { } private async validateChain(signer: Signer) { - const chainID = await signer.getChainId(); + const chainID = await signer.ChainId; if (!this.isChainValid(chainID)) throw new Error(