diff --git a/examples/util.ts b/examples/util.ts index 5fa30e5c..bc82f651 100644 --- a/examples/util.ts +++ b/examples/util.ts @@ -7,6 +7,7 @@ */ /** */ import { TRANSACTION_VERSION } from '@polkadot/types/extrinsic/v4/Extrinsic'; +import fetch from 'node-fetch'; import { KeyringPair, OptionsWithMeta } from '../src'; import { createMetadata } from '../src/util'; diff --git a/package.json b/package.json index 3dd61633..1be2a0af 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "test": "jest" }, "dependencies": { - "@polkadot/api": "^1.31.2", + "@polkadot/api": "^1.34.1", "@types/memoizee": "^0.4.3", "acorn": ">=7.4.0" }, diff --git a/yarn.lock b/yarn.lock index 56e3d6e8..a2d28bb8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -507,7 +507,7 @@ memoizee "^0.4.14" rxjs "^6.6.3" -"@polkadot/api@1.34.1", "@polkadot/api@^1.31.2": +"@polkadot/api@1.34.1", "@polkadot/api@^1.34.1": version "1.34.1" resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-1.34.1.tgz#c222ac743a427e36dda20a72d95a3a7d83cea094" integrity sha512-3gCibNRchH+XbEdULS1bwiV1RgarZW1PDw1Y1mAQBVqPrUpkYqntp1D52SQOpAbRzldkwk296Sj+mx9/IeDRXA==