Bump common, detectPackage with callback

This commit is contained in:
Jaco Greeff
2020-12-17 12:49:05 +01:00
parent d0f9eb7d03
commit aae4671db5
16 changed files with 120 additions and 111 deletions
+4 -3
View File
@@ -3,6 +3,7 @@
"version": "3.0.2-6",
"description": "Implementation of the Parity codec",
"main": "index.js",
"module": "index.mjs",
"sideEffects": false,
"author": "Jaco Greeff <jacogr@gmail.com>",
"maintainers": [],
@@ -14,13 +15,13 @@
"dependencies": {
"@babel/runtime": "^7.12.5",
"@polkadot/metadata": "3.0.2-6",
"@polkadot/util": "^5.0.1",
"@polkadot/util-crypto": "^5.0.1",
"@polkadot/util": "^5.0.2-5",
"@polkadot/util-crypto": "^5.0.2-5",
"@polkadot/x-rxjs": "3.0.2-6",
"@types/bn.js": "^4.11.6",
"bn.js": "^4.11.9"
},
"devDependencies": {
"@polkadot/keyring": "^5.0.1"
"@polkadot/keyring": "^5.0.2-5"
}
}
+1 -1
View File
@@ -5,6 +5,6 @@ const util = require('@polkadot/util');
const packageInfo = require('./package-info.json');
util.detectPackage(packageInfo, typeof __dirname !== 'undefined' && __dirname);
util.detectPackage(packageInfo, () => __dirname);
exports.packageInfo = packageInfo;
+1 -1
View File
@@ -5,6 +5,6 @@ import { detectPackage } from '@polkadot/util';
import packageInfo from './package-info.json';
detectPackage(packageInfo, import.meta.url);
detectPackage(packageInfo, () => import.meta.url);
export { packageInfo };