Build common as esm (#33)

This commit is contained in:
Jaco Greeff
2020-12-11 18:43:35 +01:00
committed by GitHub
parent 12ad706ee6
commit b1dbd70557
5 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -13,7 +13,7 @@
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/phishing#readme",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@polkadot/x-fetch": "^4.2.2-12"
"@polkadot/x-fetch": "^4.2.2-14"
},
"devDependencies": {
"@types/js-yaml": "^3.12.5",
+1 -1
View File
@@ -4,7 +4,7 @@
import fs from 'fs';
import { safeLoad } from 'js-yaml';
import fetch from '@polkadot/x-fetch';
import { fetch } from '@polkadot/x-fetch';
import { retrieveHostList } from '.';
+1 -1
View File
@@ -3,7 +3,7 @@
import type { HostList } from './types';
import fetch from '@polkadot/x-fetch';
import { fetch } from '@polkadot/x-fetch';
// Equivalent to https://raw.githubusercontent.com/polkadot-js/phishing/master/all.json
const ALL_JSON = 'https://polkadot.js.org/phishing/all.json';