This commit is contained in:
Jaco
2021-10-25 14:44:47 +03:00
committed by GitHub
parent ea38dedcc1
commit cac2ef30a1
11 changed files with 269 additions and 165 deletions
+22 -11
View File
@@ -1,40 +1,51 @@
{
"repository": "https://github.com/polkadot-js/api",
"author": "Jaco Greeff <jacogr@gmail.com>",
"bugs": "https://github.com/polkadot-js/api/issues",
"engines": {},
"homepage": "https://github.com/polkadot-js/api#readme",
"license": "Apache-2",
"packageManager": "yarn@3.0.1",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/polkadot-js/api.git"
},
"sideEffects": false,
"type": "commonjs",
"version": "6.5.2-0",
"workspaces": [
"packages/*"
],
"resolutions": {
"typescript": "^4.4.4"
},
"bin": {},
"scripts": {
"build": "yarn build:interfaces && polkadot-dev-build-ts",
"build:extra": "(cd packages/typegen && copyfiles scripts/* build)",
"build:interfaces": "polkadot-types-internal-interfaces",
"build:release": "polkadot-ci-ghact-build",
"build:rollup": "polkadot-exec-rollup --config",
"docs:metadata": "polkadot-types-internal-metadata",
"chain:info": "polkadot-types-chain-info",
"lint": "polkadot-dev-run-lint",
"clean": "polkadot-dev-clean-build",
"docs:metadata": "polkadot-types-internal-metadata",
"lint": "polkadot-dev-run-lint",
"postinstall": "polkadot-dev-yarn-only",
"test": "polkadot-dev-run-test --coverage --forceExit --runInBand --testPathIgnorePatterns e2e",
"test:one": "polkadot-dev-run-test --detectOpenHandles --forceExit",
"test:watch": "polkadot-dev-run-test --watch"
},
"dependencies": {},
"devDependencies": {
"@babel/core": "^7.15.8",
"@babel/register": "^7.15.3",
"@babel/runtime": "^7.15.4",
"@polkadot/dev": "^0.63.6",
"@polkadot/ts": "^0.4.10",
"@polkadot/dev": "^0.63.8",
"@polkadot/ts": "^0.4.12",
"@polkadot/typegen": "workspace:packages/typegen",
"@types/jest": "^27.0.2",
"copyfiles": "^2.4.1"
},
"version": "6.5.2-0",
"packageManager": "yarn@3.0.1"
}
"optionalDependencies": {},
"peerDependencies": {},
"resolutions": {
"typescript": "^4.4.4"
}
}
+27 -16
View File
@@ -1,28 +1,39 @@
{
"name": "@polkadot/api-contract",
"version": "6.5.2-0",
"type": "module",
"author": "Jaco Greeff <jacogr@gmail.com>",
"bugs": "https://github.com/polkadot-js/api/issues",
"contributors": [],
"description": "Interfaces for interacting with contracts and contract ABIs",
"main": "index.js",
"engines": {
"node": ">=14.0.0"
},
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme",
"license": "Apache-2.0",
"maintainers": [],
"name": "@polkadot/api-contract",
"private": false,
"repository": {
"directory": "packages/api-contract",
"type": "git",
"url": "https://github.com/polkadot-js/api.git"
},
"sideEffects": [
"./detectPackage.js",
"./detectPackage.cjs"
],
"engines": {
"node": ">=14.0.0"
},
"author": "Jaco Greeff <jacogr@gmail.com>",
"maintainers": [],
"contributors": [],
"license": "Apache-2.0",
"repository": "github:polkadot-js/api",
"bugs": "https://github.com/polkadot-js/api/issues",
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme",
"type": "module",
"version": "6.5.2-0",
"main": "index.js",
"bin": {},
"scripts": {},
"dependencies": {
"@babel/runtime": "^7.15.4",
"@polkadot/api": "6.5.2-0",
"@polkadot/types": "6.5.2-0",
"@polkadot/util": "^7.6.1",
"rxjs": "^7.4.0"
}
}
},
"devDependencies": {},
"optionalDependencies": {},
"peerDependencies": {},
"resolutions": {}
}
+26 -16
View File
@@ -1,23 +1,30 @@
{
"name": "@polkadot/api-derive",
"version": "6.5.2-0",
"type": "module",
"author": "Jaco Greeff <jacogr@gmail.com>",
"bugs": "https://github.com/polkadot-js/api/issues",
"contributors": [],
"description": "Common functions used across Polkadot, derived from RPC calls and storage queries.",
"main": "index.js",
"engines": {
"node": ">=14.0.0"
},
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme",
"license": "Apache-2.0",
"maintainers": [],
"name": "@polkadot/api-derive",
"private": false,
"repository": {
"directory": "packages/api-derive",
"type": "git",
"url": "https://github.com/polkadot-js/api.git"
},
"sideEffects": [
"./detectPackage.js",
"./detectPackage.cjs"
],
"engines": {
"node": ">=14.0.0"
},
"author": "Jaco Greeff <jacogr@gmail.com>",
"maintainers": [],
"contributors": [],
"license": "Apache-2.0",
"repository": "github:polkadot-js/api",
"bugs": "https://github.com/polkadot-js/api/issues",
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme",
"type": "module",
"version": "6.5.2-0",
"main": "index.js",
"bin": {},
"scripts": {},
"dependencies": {
"@babel/runtime": "^7.15.4",
"@polkadot/api": "6.5.2-0",
@@ -30,5 +37,8 @@
"devDependencies": {
"@polkadot/keyring": "^7.6.1",
"@polkadot/rpc-provider": "6.5.2-0"
}
}
},
"optionalDependencies": {},
"peerDependencies": {},
"resolutions": {}
}
+27 -16
View File
@@ -1,23 +1,30 @@
{
"name": "@polkadot/api",
"version": "6.5.2-0",
"type": "module",
"author": "Jaco Greeff <jacogr@gmail.com>",
"bugs": "https://github.com/polkadot-js/api/issues",
"contributors": [],
"description": "Promise and RxJS wrappers around the Polkadot JS RPC",
"main": "index.js",
"engines": {
"node": ">=14.0.0"
},
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme",
"license": "Apache-2.0",
"maintainers": [],
"name": "@polkadot/api",
"private": false,
"repository": {
"directory": "packages/api",
"type": "git",
"url": "https://github.com/polkadot-js/api.git"
},
"sideEffects": [
"./detectPackage.js",
"./detectPackage.cjs"
],
"engines": {
"node": ">=14.0.0"
},
"author": "Jaco Greeff <jacogr@gmail.com>",
"maintainers": [],
"contributors": [],
"license": "Apache-2.0",
"repository": "github:polkadot-js/api",
"bugs": "https://github.com/polkadot-js/api/issues",
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme",
"type": "module",
"version": "6.5.2-0",
"main": "index.js",
"bin": {},
"scripts": {},
"dependencies": {
"@babel/runtime": "^7.15.4",
"@polkadot/api-derive": "6.5.2-0",
@@ -30,5 +37,9 @@
"@polkadot/util-crypto": "^7.6.1",
"eventemitter3": "^4.0.7",
"rxjs": "^7.4.0"
}
}
},
"devDependencies": {},
"optionalDependencies": {},
"peerDependencies": {},
"resolutions": {}
}
+26 -16
View File
@@ -1,23 +1,30 @@
{
"name": "@polkadot/rpc-core",
"version": "6.5.2-0",
"type": "module",
"author": "Jaco Greeff <jacogr@gmail.com>",
"bugs": "https://github.com/polkadot-js/api/issues",
"contributors": [],
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
"main": "index.js",
"engines": {
"node": ">=14.0.0"
},
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme",
"license": "Apache-2.0",
"maintainers": [],
"name": "@polkadot/rpc-core",
"private": false,
"repository": {
"directory": "packages/rpc-core",
"type": "git",
"url": "https://github.com/polkadot-js/api.git"
},
"sideEffects": [
"./detectPackage.js",
"./detectPackage.cjs"
],
"engines": {
"node": ">=14.0.0"
},
"author": "Jaco Greeff <jacogr@gmail.com>",
"maintainers": [],
"contributors": [],
"license": "Apache-2.0",
"repository": "github:polkadot-js/api",
"bugs": "https://github.com/polkadot-js/api/issues",
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme",
"type": "module",
"version": "6.5.2-0",
"main": "index.js",
"bin": {},
"scripts": {},
"dependencies": {
"@babel/runtime": "^7.15.4",
"@polkadot/rpc-provider": "6.5.2-0",
@@ -27,5 +34,8 @@
},
"devDependencies": {
"@polkadot/keyring": "^7.6.1"
}
}
},
"optionalDependencies": {},
"peerDependencies": {},
"resolutions": {}
}
+26 -16
View File
@@ -1,23 +1,30 @@
{
"name": "@polkadot/rpc-provider",
"version": "6.5.2-0",
"type": "module",
"author": "Jaco Greeff <jacogr@gmail.com>",
"bugs": "https://github.com/polkadot-js/api/issues",
"contributors": [],
"description": "Transport providers for the API",
"main": "index.js",
"engines": {
"node": ">=14.0.0"
},
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme",
"license": "Apache-2.0",
"maintainers": [],
"name": "@polkadot/rpc-provider",
"private": false,
"repository": {
"directory": "packages/rpc-provider",
"type": "git",
"url": "https://github.com/polkadot-js/api.git"
},
"sideEffects": [
"./detectPackage.js",
"./detectPackage.cjs"
],
"engines": {
"node": ">=14.0.0"
},
"author": "Jaco Greeff <jacogr@gmail.com>",
"maintainers": [],
"contributors": [],
"license": "Apache-2.0",
"repository": "github:polkadot-js/api",
"bugs": "https://github.com/polkadot-js/api/issues",
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme",
"type": "module",
"version": "6.5.2-0",
"main": "index.js",
"bin": {},
"scripts": {},
"dependencies": {
"@babel/runtime": "^7.15.4",
"@polkadot/types": "6.5.2-0",
@@ -33,5 +40,8 @@
"@polkadot/types": "6.5.2-0",
"mock-socket": "^9.0.6",
"nock": "^13.1.4"
}
}
},
"optionalDependencies": {},
"peerDependencies": {},
"resolutions": {}
}
+25 -16
View File
@@ -1,16 +1,28 @@
{
"name": "@polkadot/typegen",
"version": "6.5.2-0",
"type": "module",
"author": "Jaco Greeff <jacogr@gmail.com>",
"bugs": "https://github.com/polkadot-js/api/issues",
"contributors": [],
"description": "Type generation scripts",
"main": "index.js",
"engines": {
"node": ">=14.0.0"
},
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/typegen#readme",
"license": "Apache-2.0",
"maintainers": [],
"name": "@polkadot/typegen",
"private": false,
"repository": {
"directory": "packages/typegen",
"type": "git",
"url": "https://github.com/polkadot-js/api.git"
},
"sideEffects": [
"./detectPackage.js",
"./detectPackage.cjs"
],
"engines": {
"node": ">=14.0.0"
},
"type": "module",
"version": "6.5.2-0",
"main": "index.js",
"bin": {
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.cjs",
"polkadot-types-from-chain": "./scripts/polkadot-types-from-chain.cjs",
@@ -18,13 +30,7 @@
"polkadot-types-internal-interfaces": "./scripts/polkadot-types-internal-interfaces.cjs",
"polkadot-types-internal-metadata": "./scripts/polkadot-types-internal-metadata.cjs"
},
"repository": "github:polkadot-js/api",
"author": "Jaco Greeff <jacogr@gmail.com>",
"maintainers": [],
"contributors": [],
"license": "Apache-2.0",
"bugs": "https://github.com/polkadot-js/api/issues",
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/typegen#readme",
"scripts": {},
"dependencies": {
"@babel/core": "^7.15.8",
"@babel/register": "^7.15.3",
@@ -41,5 +47,8 @@
"devDependencies": {
"@types/websocket": "^1.0.4",
"@types/yargs": "^17.0.4"
}
}
},
"optionalDependencies": {},
"peerDependencies": {},
"resolutions": {}
}
+27 -16
View File
@@ -1,27 +1,38 @@
{
"name": "@polkadot/types-known",
"version": "6.5.2-0",
"type": "module",
"author": "Jaco Greeff <jacogr@gmail.com>",
"bugs": "https://github.com/polkadot-js/api/issues",
"contributors": [],
"description": "Known type definitions",
"main": "index.js",
"engines": {
"node": ">=14.0.0"
},
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types-known#readme",
"license": "Apache-2.0",
"maintainers": [],
"name": "@polkadot/types-known",
"private": false,
"repository": {
"directory": "packages/types-known",
"type": "git",
"url": "https://github.com/polkadot-js/api.git"
},
"sideEffects": [
"./detectPackage.js",
"./detectPackage.cjs"
],
"engines": {
"node": ">=14.0.0"
},
"author": "Jaco Greeff <jacogr@gmail.com>",
"maintainers": [],
"contributors": [],
"license": "Apache-2.0",
"repository": "github:polkadot-js/api",
"bugs": "https://github.com/polkadot-js/api/issues",
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types-known#readme",
"type": "module",
"version": "6.5.2-0",
"main": "index.js",
"bin": {},
"scripts": {},
"dependencies": {
"@babel/runtime": "^7.15.4",
"@polkadot/networks": "^7.6.1",
"@polkadot/types": "6.5.2-0",
"@polkadot/util": "^7.6.1"
}
}
},
"devDependencies": {},
"optionalDependencies": {},
"peerDependencies": {},
"resolutions": {}
}
+27 -16
View File
@@ -1,25 +1,36 @@
{
"name": "@polkadot/types-support",
"version": "6.5.2-0",
"type": "module",
"author": "Jaco Greeff <jacogr@gmail.com>",
"bugs": "https://github.com/polkadot-js/api/issues",
"contributors": [],
"description": "Supporting files for types, mostly for testing",
"main": "index.js",
"engines": {
"node": ">=14.0.0"
},
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types-support#readme",
"license": "Apache-2.0",
"maintainers": [],
"name": "@polkadot/types-support",
"private": false,
"repository": {
"directory": "packages/types-support",
"type": "git",
"url": "https://github.com/polkadot-js/api.git"
},
"sideEffects": [
"./detectPackage.js",
"./detectPackage.cjs"
],
"engines": {
"node": ">=14.0.0"
},
"author": "Jaco Greeff <jacogr@gmail.com>",
"maintainers": [],
"contributors": [],
"license": "Apache-2.0",
"repository": "github:polkadot-js/api",
"bugs": "https://github.com/polkadot-js/api/issues",
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types-support#readme",
"type": "module",
"version": "6.5.2-0",
"main": "index.js",
"bin": {},
"scripts": {},
"dependencies": {
"@babel/runtime": "^7.15.4",
"@polkadot/util": "^7.6.1"
}
}
},
"devDependencies": {},
"optionalDependencies": {},
"peerDependencies": {},
"resolutions": {}
}
+26 -16
View File
@@ -1,23 +1,30 @@
{
"name": "@polkadot/types",
"version": "6.5.2-0",
"type": "module",
"author": "Jaco Greeff <jacogr@gmail.com>",
"bugs": "https://github.com/polkadot-js/api/issues",
"contributors": [],
"description": "Implementation of the Parity codec",
"main": "index.js",
"engines": {
"node": ">=14.0.0"
},
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types#readme",
"license": "Apache-2.0",
"maintainers": [],
"name": "@polkadot/types",
"private": false,
"repository": {
"directory": "packages/types",
"type": "git",
"url": "https://github.com/polkadot-js/api.git"
},
"sideEffects": [
"./detectPackage.js",
"./detectPackage.cjs"
],
"engines": {
"node": ">=14.0.0"
},
"author": "Jaco Greeff <jacogr@gmail.com>",
"maintainers": [],
"contributors": [],
"license": "Apache-2.0",
"repository": "github:polkadot-js/api",
"bugs": "https://github.com/polkadot-js/api/issues",
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types#readme",
"type": "module",
"version": "6.5.2-0",
"main": "index.js",
"bin": {},
"scripts": {},
"dependencies": {
"@babel/runtime": "^7.15.4",
"@polkadot/util": "^7.6.1",
@@ -29,5 +36,8 @@
"@polkadot/types-support": "6.5.2-0",
"@types/bn.js": "^4.11.6",
"bn.js": "^4.12.0"
}
}
},
"optionalDependencies": {},
"peerDependencies": {},
"resolutions": {}
}
+10 -10
View File
@@ -1874,9 +1874,9 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/dev@npm:^0.63.6":
version: 0.63.6
resolution: "@polkadot/dev@npm:0.63.6"
"@polkadot/dev@npm:^0.63.8":
version: 0.63.8
resolution: "@polkadot/dev@npm:0.63.8"
dependencies:
"@babel/cli": ^7.15.7
"@babel/core": ^7.15.8
@@ -1964,7 +1964,7 @@ __metadata:
polkadot-exec-rollup: scripts/polkadot-exec-rollup.cjs
polkadot-exec-tsc: scripts/polkadot-exec-tsc.cjs
polkadot-exec-webpack: scripts/polkadot-exec-webpack.cjs
checksum: dfe6364421fdff1b1bc464137b2a39e8a1323d020741dee7480fca073819a3d945114d4a3929807eb23d3a3dfeede90c2ab61c3b9b589a59822d2eb0d1fdfa5f
checksum: fffded848488ff49fb9955db25b9a1c2a30bfc94ecedf37d614a6b6c82d6a8314753226c02067c76ec4aadba0c75c83c3c1202ba1a5820f5cef92a74c58e2df7
languageName: node
linkType: hard
@@ -2022,12 +2022,12 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/ts@npm:^0.4.10":
version: 0.4.10
resolution: "@polkadot/ts@npm:0.4.10"
"@polkadot/ts@npm:^0.4.12":
version: 0.4.12
resolution: "@polkadot/ts@npm:0.4.12"
dependencies:
"@types/chrome": ^0.0.159
checksum: ec2d5d2070354368d533067c62b2f75ebeea937205a54ae53e0d21e22926a28db0d6b952ff4a0cdae712a026bcb08664f855d727e68d594628b06928847f0fe3
checksum: 9000d625a52bcbd473c090e35989394706104fb8bfdd52f13e8dd0b81bd5061a132f89b0e3f7a04cf449eab34b944be222aa78340b2e381e3773a4466caea172
languageName: node
linkType: hard
@@ -8952,8 +8952,8 @@ resolve@^2.0.0-next.3:
"@babel/core": ^7.15.8
"@babel/register": ^7.15.3
"@babel/runtime": ^7.15.4
"@polkadot/dev": ^0.63.6
"@polkadot/ts": ^0.4.10
"@polkadot/dev": ^0.63.8
"@polkadot/ts": ^0.4.12
"@polkadot/typegen": "workspace:packages/typegen"
"@types/jest": ^27.0.2
copyfiles: ^2.4.1