-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* switch to yarn v3 * remove unused deps and run prettier * support metadata and remove scheme * create new class for GenericApp * create new class for GenericApp * fix: tests * feat: add chain ticker, and fix txMetadata fetch process * feat: add tests for generic app --------- Co-authored-by: Carlo Sala <[email protected]>
- Loading branch information
1 parent
6b1479e
commit 38b931f
Showing
17 changed files
with
8,797 additions
and
4,324 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,7 @@ | |
/output/ | ||
/dist/ | ||
|
||
.gitignore | ||
node_modules | ||
.yarn/* | ||
!.yarn/releases | ||
!.yarn/plugins |
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 |
---|---|---|
|
@@ -3,3 +3,4 @@ package.json | |
package-lock.json | ||
dist | ||
node_modules | ||
.yarn |
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,3 +1,4 @@ | ||
{ | ||
"printWidth": 120 | ||
"printWidth": 120, | ||
"proseWrap": "always" | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
logFilters: | ||
- code: YN0013 | ||
level: discard | ||
|
||
nodeLinker: node-modules | ||
|
||
plugins: | ||
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs | ||
spec: "@yarnpkg/plugin-interactive-tools" | ||
|
||
yarnPath: .yarn/releases/yarn-3.6.3.cjs |
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 |
---|---|---|
|
@@ -4,7 +4,6 @@ | |
"license": "Apache-2.0", | ||
"version": "0.35.2", | ||
"description": "TS / Node API for Substrate based apps running on Ledger Nano S/S+/X", | ||
"bin": "./dist/cmd/cli.js", | ||
"main": "./dist/index.js", | ||
"typings": "./dist/index.d.ts", | ||
"types": "./dist/index.d.ts", | ||
|
@@ -23,37 +22,40 @@ | |
"url": "https://github.com/Zondax/ledger-substrate-js/issues" | ||
}, | ||
"homepage": "https://github.com/Zondax/ledger-substrate-js", | ||
"dependencies": { | ||
"@ledgerhq/hw-transport": "^6.27.1", | ||
"scripts": { | ||
"build": "tsc", | ||
"test:integration": "yarn build && jest -t 'Integration'", | ||
"test:key-derivation": "yarn build && jest -t 'KeyDerivation'", | ||
"linter": "eslint --max-warnings 0 src/**/*", | ||
"linter:fix": "yarn run linter --fix", | ||
"format": "prettier --write ." | ||
}, | ||
"devDependencies": { | ||
"@ledgerhq/hw-transport": "^6.28.8", | ||
"@ledgerhq/hw-transport-node-hid": "^6.27.21", | ||
"@swc/core": "^1.3.85", | ||
"@types/jest": "^29.5.4", | ||
"@types/node": "^20.6.1", | ||
"@typescript-eslint/eslint-plugin": "^6.7.0", | ||
"@typescript-eslint/parser": "^6.7.0", | ||
"bip32": "^4.0.0", | ||
"bip32-ed25519": "https://github.com/Zondax/bip32-ed25519", | ||
"bip39": "^3.0.4", | ||
"bip39": "^3.1.0", | ||
"blakejs": "^1.2.1", | ||
"bs58": "^5.0.0", | ||
"hash.js": "^1.1.7" | ||
}, | ||
"devDependencies": { | ||
"@ledgerhq/hw-transport-node-hid": "^6.27.13", | ||
"@swc/core": "^1.2.237", | ||
"@types/jest": "^29.5.2", | ||
"@types/node": "^18.7.6", | ||
"@typescript-eslint/eslint-plugin": "^5.33.1", | ||
"@typescript-eslint/parser": "^5.33.1", | ||
"copyfiles": "^2.4.1", | ||
"ed25519-supercop": "^2.0.1", | ||
"eslint": "^8.22.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-config-standard-with-typescript": "^34.0.1", | ||
"eslint-plugin-import": "^2.26.0", | ||
"eslint-plugin-n": "^15.6.0", | ||
"eslint": "^8.49.0", | ||
"eslint-config-prettier": "^9.0.0", | ||
"eslint-config-standard-with-typescript": "^39.0.0", | ||
"eslint-plugin-import": "^2.28.1", | ||
"eslint-plugin-n": "^16.1.0", | ||
"eslint-plugin-promise": "^6.1.1", | ||
"jest": "^29.5.0", | ||
"jest-runner": "^29.5.0", | ||
"jest-serial-runner": "^1.2.0", | ||
"prettier": "^2.7.1", | ||
"ts-jest": "29.1.0", | ||
"ts-node": "^10.8.1", | ||
"typescript": "5.0.4" | ||
"jest": "^29.7.0", | ||
"jest-runner": "^29.7.0", | ||
"jest-serial-runner": "^1.2.1", | ||
"prettier": "^3.0.3", | ||
"ts-jest": "29.1.1", | ||
"ts-node": "^10.9.1", | ||
"typescript": "5.2.2" | ||
}, | ||
"moduleDirectories": [ | ||
"node_modules", | ||
|
@@ -67,14 +69,8 @@ | |
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"scripts": { | ||
"build": "tsc && yarn copy-files", | ||
"copy-files": "copyfiles -u 0 src/**/*.proto dist/", | ||
"test:integration": "yarn build && jest -t 'Integration'", | ||
"test:key-derivation": "yarn build && jest -t 'KeyDerivation'", | ||
"supported": "ts-node src/cmd/cli.ts supported", | ||
"linter": "eslint . --max-warnings 0", | ||
"linter:fix": "yarn linter --fix", | ||
"format": "prettier --write ." | ||
"packageManager": "[email protected]", | ||
"dependencies": { | ||
"axios": "^1.6.8" | ||
} | ||
} |
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
Oops, something went wrong.