-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package updates & Network Membership (#119)
* netx-dev companion * authority membership updates * augment api updates * demo updates to use the membership pallets. Author: Satish Mohan
- Loading branch information
Showing
63 changed files
with
4,229 additions
and
4,835 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
jsonabc.js | ||
jsonabc.d.ts | ||
dist | ||
lib | ||
*.json | ||
!package.json | ||
jest.* | ||
coverage | ||
**/augment-api/src/interfaces/**/*.ts | ||
**/augment-api/src/interfaces/**/*.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"types": "../lib/interfaces/extraDefs/index.d.ts", | ||
"//": [ | ||
"This is a fallback to support the extraDefs subpath export for module systems that do not support the package.json exports field.", | ||
"Inspired by https://github.com/andrewbranch/example-subpath-exports-ts-compat/blob/1ffe3425b0a7ad8ecdf3c373f76f431ee341366b/examples/node_modules/package-json-redirects/." | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// This package does not contain executable code. Index files are included only to allow api augmentation using `require('@cord.network/augment-api')`. | ||
|
||
module.exports = {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// This package does not contain executable code. Index files are included only to allow api augmentation using `require('@cord.network/augment-api')`. | ||
|
||
exports = {} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,48 +2,50 @@ | |
"name": "@cord.network/augment-api", | ||
"version": "0.8.0-3", | ||
"description": "", | ||
"main": "./lib/cjs/index.js", | ||
"module": "./lib/esm/index.js", | ||
"types": "./lib/cjs/index.d.ts", | ||
"types": "./lib/index.d.ts", | ||
"type": "module", | ||
"main": "./index.cjs", | ||
"exports": { | ||
".": { | ||
"types": "./lib/cjs/index.d.ts", | ||
"import": "./lib/esm/index.js", | ||
"require": "./lib/cjs/index.js" | ||
"types": "./lib/index.d.ts", | ||
"import": "./index.mjs", | ||
"require": "./index.cjs" | ||
}, | ||
"./extraDefs": { | ||
"types": "./lib/interfaces/extraDefs/index.d.ts" | ||
} | ||
}, | ||
"files": [ | ||
"lib/**/*" | ||
"lib/**/*", | ||
"index.mjs", | ||
"index.cjs", | ||
"extraDefs/*" | ||
], | ||
"scripts": { | ||
"clean": "rimraf ./lib", | ||
"build": "yarn clean && yarn build:ts", | ||
"build:types": "yarn generate:defs && yarn generate:meta && yarn build:fixes", | ||
"build:fixes": "node scripts/fixTypes.mjs", | ||
"build:ts": "yarn build:cjs && yarn build:esm", | ||
"build:cjs": "tsc --declaration -p tsconfig.build.json && echo '{\"type\":\"commonjs\"}' > ./lib/cjs/package.json", | ||
"build:esm": "tsc --declaration -p tsconfig.esm.json && echo '{\"type\":\"module\"}' > ./lib/esm/package.json", | ||
"generate:defs": "ts-node --skip-project ../../node_modules/.bin/polkadot-types-from-defs --package @cord.network/augment-api --input ./src/interfaces --endpoint ./metadata/cord.json", | ||
"generate:meta": "ts-node --skip-project ../../node_modules/.bin/polkadot-types-from-chain --package @cord.network/augment-api --endpoint ./metadata/cord.json --output ./src/interfaces --strict", | ||
"update-metadata": "node ./scripts/fetchMetadata.js -o './metadata/cord.json' -e 'wss://staging.cord.network/'" | ||
"build:ts": "tsc -p tsconfig.build.json", | ||
"generate:defs": "ts-node --esm -P tsconfig.build.json ../../node_modules/.bin/polkadot-types-from-defs --package @cord.network/augment-api --input ./src/interfaces --endpoint ./metadata/cord.json", | ||
"generate:meta": "ts-node --esm -P tsconfig.build.json ../../node_modules/.bin/polkadot-types-from-chain --package @cord.network/augment-api --endpoint ./metadata/cord.json --output ./src/interfaces --strict", | ||
"update-metadata": "node ./scripts/fetchMetadata.cjs -o './metadata/cord.json' -e 'wss://staging.cord.network/'" | ||
}, | ||
"repository": "github:dhiway/cord.js", | ||
"engines": { | ||
"node": ">=14.0" | ||
"node": ">=16.0" | ||
}, | ||
"author": "Dhiway <[email protected]>", | ||
"license": "Apache-2.0", | ||
"bugs": "https://github.com/dhiway/cord.js/issues", | ||
"homepage": "https://github.com/dhiway/cord.js#readme", | ||
"devDependencies": { | ||
"@polkadot/api": "^9.10.2", | ||
"@polkadot/typegen": "^9.10.2", | ||
"@types/websocket": "^1.0.5", | ||
"@polkadot/api": "^10.4.0", | ||
"@polkadot/typegen": "^10.4.0", | ||
"glob": "^7.1.1", | ||
"rimraf": "^3.0.2", | ||
"ts-node": "^10.9.0", | ||
"ts-node": "^10.4.0", | ||
"typescript": "^4.8.3", | ||
"websocket": "^1.0.34", | ||
"yargs": "^16.2.0" | ||
}, | ||
"dependencies": { | ||
|
File renamed without changes.
Oops, something went wrong.