Skip to content

Commit c9e04c3

Browse files
authored
Merge pull request #1735 from dynst/fetch-node-fetch
Use native fetch directly
2 parents e6e9923 + d586e58 commit c9e04c3

13 files changed

+1
-159
lines changed

.pnp.cjs

Lines changed: 0 additions & 84 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.yarn/cache/cross-fetch-npm-4.1.0-6116134545-628b134ea2.zip

Lines changed: 0 additions & 3 deletions
This file was deleted.

.yarn/cache/fsevents-patch-19706e7e35-10c0.zip

Lines changed: 0 additions & 3 deletions
This file was deleted.

.yarn/cache/node-fetch-npm-2.7.0-587d57004e-b55786b602.zip

Lines changed: 0 additions & 3 deletions
This file was deleted.

.yarn/cache/tr46-npm-0.0.3-de53018915-047cb209a6.zip

Lines changed: 0 additions & 3 deletions
This file was deleted.

.yarn/cache/webidl-conversions-npm-3.0.1-60310f6a2b-5612d5f3e5.zip

Lines changed: 0 additions & 3 deletions
This file was deleted.

.yarn/cache/whatwg-url-npm-5.0.0-374fb45e60-1588bed84d.zip

Lines changed: 0 additions & 3 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ and this project adheres to
2020
- @cosmjs/tendermint-rpc: Make constructor functions
2121
`Tendermint34Client.create`, `Tendermint37Client.create` and
2222
`Comet38Client.create` non-async. ([#1597])
23+
- @cosmjs/tendermint-rpc, @cosmjs/faucet-client: Remove cross-fetch polyfilling.
2324
- @cosmjs/stargate: Make constructor functions `{Signing,}StargateClient.create`
2425
and `SigningStargateClient.createWithSigner` non-async. ([#1597])
2526
- @cosmjs/cosmwasm: Make constructor functions `{Signing,}CosmWasmClient.create`

packages/faucet-client/package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@
3737
"build-or-skip": "[ -n \"$SKIP_BUILD\" ] || yarn build",
3838
"pack-web": "yarn build-or-skip && webpack --mode development --config webpack.web.config.cjs"
3939
},
40-
"dependencies": {
41-
"cross-fetch": "^4.1.0"
42-
},
4340
"devDependencies": {
4441
"@istanbuljs/nyc-config-typescript": "^1.0.1",
4542
"@types/jasmine": "^4",

packages/faucet-client/src/faucetclient.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import fetch from "cross-fetch";
2-
31
/**
42
* Strip trailing `/`s
53
*/

0 commit comments

Comments
 (0)