diff --git a/package.json b/package.json index 8c501879..99debf64 100644 --- a/package.json +++ b/package.json @@ -74,6 +74,7 @@ "@ledgerhq/hw-transport-node-hid": "^6.27.6", "@ledgerhq/hw-transport-webusb": "^6.27.6", "@polkadot/extension-dapp": "^0.44.6", + "@polkadot/extension-inject": "^0.44.6", "@polkadot/keyring": "^7.7.1", "@polkadot/util": "^7.7.1", "@polkadot/util-crypto": "^7.7.1", diff --git a/src/accounts/substrate.ts b/src/accounts/substrate.ts index a0efe487..62f65f83 100644 --- a/src/accounts/substrate.ts +++ b/src/accounts/substrate.ts @@ -1,9 +1,9 @@ import { Account } from "./account"; +import "@polkadot/api-augment"; + import { BaseMessage, Chain } from "../messages/message"; import { GetVerificationBuffer } from "../messages"; - import { InjectedExtension } from "@polkadot/extension-inject/types"; - import { Keyring } from "@polkadot/keyring"; import { KeyringPair } from "@polkadot/keyring/types"; import { cryptoWaitReady, signatureVerify } from "@polkadot/util-crypto";