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
+2 -1
View File
@@ -3,6 +3,7 @@
"version": "3.0.2-6",
"description": "Interfaces for interacting with contracts and contract ABIs",
"main": "index.js",
"module": "index.mjs",
"sideEffects": false,
"author": "Jaco Greeff <jacogr@gmail.com>",
"maintainers": [],
@@ -15,7 +16,7 @@
"@babel/runtime": "^7.12.5",
"@polkadot/api": "3.0.2-6",
"@polkadot/types": "3.0.2-6",
"@polkadot/util": "^5.0.1",
"@polkadot/util": "^5.0.2-5",
"@polkadot/x-rxjs": "3.0.2-6",
"bn.js": "^4.11.9"
}
+4 -3
View File
@@ -3,6 +3,7 @@
"version": "3.0.2-6",
"description": "Common functions used across Polkadot, derived from RPC calls and storage queries.",
"main": "index.js",
"module": "index.mjs",
"sideEffects": false,
"author": "Jaco Greeff <jacogr@gmail.com>",
"maintainers": [],
@@ -16,13 +17,13 @@
"@polkadot/api": "3.0.2-6",
"@polkadot/rpc-core": "3.0.2-6",
"@polkadot/types": "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",
"bn.js": "^4.11.9"
},
"devDependencies": {
"@polkadot/keyring": "^5.0.1",
"@polkadot/keyring": "^5.0.2-5",
"@polkadot/rpc-provider": "3.0.2-6"
}
}
+4 -3
View File
@@ -3,6 +3,7 @@
"version": "3.0.2-6",
"description": "Promise and RxJS wrappers around the Polkadot JS RPC",
"main": "index.js",
"module": "index.mjs",
"sideEffects": false,
"author": "Jaco Greeff <jacogr@gmail.com>",
"maintainers": [],
@@ -14,14 +15,14 @@
"dependencies": {
"@babel/runtime": "^7.12.5",
"@polkadot/api-derive": "3.0.2-6",
"@polkadot/keyring": "^5.0.1",
"@polkadot/keyring": "^5.0.2-5",
"@polkadot/metadata": "3.0.2-6",
"@polkadot/rpc-core": "3.0.2-6",
"@polkadot/rpc-provider": "3.0.2-6",
"@polkadot/types": "3.0.2-6",
"@polkadot/types-known": "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",
"bn.js": "^4.11.9",
"eventemitter3": "^4.0.7"
+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 };
+4 -3
View File
@@ -3,6 +3,7 @@
"version": "3.0.2-6",
"description": "Helpers to extract information from runtime metadata",
"main": "index.js",
"module": "index.mjs",
"sideEffects": false,
"repository": "github:polkadot-js/api",
"author": "Jaco Greeff <jacogr@gmail.com>",
@@ -15,11 +16,11 @@
"@babel/runtime": "^7.12.5",
"@polkadot/types": "3.0.2-6",
"@polkadot/types-known": "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",
"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 };
+3 -2
View File
@@ -3,6 +3,7 @@
"version": "3.0.2-6",
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
"main": "index.js",
"module": "index.mjs",
"sideEffects": false,
"author": "Jaco Greeff <jacogr@gmail.com>",
"maintainers": [],
@@ -16,10 +17,10 @@
"@polkadot/metadata": "3.0.2-6",
"@polkadot/rpc-provider": "3.0.2-6",
"@polkadot/types": "3.0.2-6",
"@polkadot/util": "^5.0.1",
"@polkadot/util": "^5.0.2-5",
"@polkadot/x-rxjs": "3.0.2-6"
},
"devDependencies": {
"@polkadot/keyring": "^5.0.1"
"@polkadot/keyring": "^5.0.2-5"
}
}
+6 -5
View File
@@ -3,6 +3,7 @@
"version": "3.0.2-6",
"description": "Transport providers for the API",
"main": "index.js",
"module": "index.mjs",
"sideEffects": false,
"author": "Jaco Greeff <jacogr@gmail.com>",
"maintainers": [],
@@ -14,15 +15,15 @@
"dependencies": {
"@babel/runtime": "^7.12.5",
"@polkadot/types": "3.0.2-6",
"@polkadot/util": "^5.0.1",
"@polkadot/util-crypto": "^5.0.1",
"@polkadot/x-fetch": "^5.0.1",
"@polkadot/x-ws": "^5.0.1",
"@polkadot/util": "^5.0.2-5",
"@polkadot/util-crypto": "^5.0.2-5",
"@polkadot/x-fetch": "^5.0.2-5",
"@polkadot/x-ws": "^5.0.2-5",
"bn.js": "^4.11.9",
"eventemitter3": "^4.0.7"
},
"devDependencies": {
"@polkadot/keyring": "^5.0.1",
"@polkadot/keyring": "^5.0.2-5",
"@polkadot/metadata": "3.0.2-6",
"mock-socket": "^9.0.3",
"nock": "^13.0.5"
+2 -1
View File
@@ -3,6 +3,7 @@
"version": "3.0.2-6",
"description": "Type generation scripts",
"main": "index.js",
"module": "index.mjs",
"sideEffects": false,
"bin": {
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.js",
@@ -26,7 +27,7 @@
"@polkadot/metadata": "3.0.2-6",
"@polkadot/rpc-provider": "3.0.2-6",
"@polkadot/types": "3.0.2-6",
"@polkadot/util": "^5.0.1",
"@polkadot/util": "^5.0.2-5",
"handlebars": "^4.7.6",
"websocket": "^1.0.33",
"yargs": "^16.2.0"
+2 -1
View File
@@ -3,6 +3,7 @@
"version": "3.0.2-6",
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
"main": "index.js",
"module": "index.mjs",
"sideEffects": false,
"author": "Jaco Greeff <jacogr@gmail.com>",
"maintainers": [],
@@ -14,7 +15,7 @@
"dependencies": {
"@babel/runtime": "^7.12.5",
"@polkadot/types": "3.0.2-6",
"@polkadot/util": "^5.0.1",
"@polkadot/util": "^5.0.2-5",
"bn.js": "^4.11.9"
},
"devDependencies": {
+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 };