Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Commit

Permalink
feat: ledger v2 backwards compatible support (#288)
Browse files Browse the repository at this point in the history
* build: lock deps to upstream dev branches

* fix: gitignore vscode

* fix: correct cointype for testnet tests

* feat: ledger v2 test suite (#287)

* fix: some build system fixes

* feat: add tests for ledger address and policy checks

* fix: update fixture api for consistent policies

* feat: ledger v2 signing support in test suite

* chore: some housekeeping

* fix: linting errors

* fix: ledger package dependencies and linting errors

* feat: update args for ledgerv2 signing (#289)

* feat: update args for legerv2 signing

* chore: git commit hash into build + footer

* fix: cleanup for changes to ledger api

* fix: signing real transactions with ledgerv2

* fix: lint errors

* fix: catch capitalization for unknown paths

* chore: update unchained dependencies

* fix: updates to trezor test suite tests

* fix: requiredSigners not serialized correctly

* fix: pass requestSignaturesArray for signing test

* build: update travis build environments

* build: bump uc dependencies

* chore: properly handle masked derivation

* build: cleanup package-lock and travis.yml
  • Loading branch information
bucko13 authored Feb 28, 2023
1 parent 1eac7d2 commit 4d22cfc
Show file tree
Hide file tree
Showing 47 changed files with 3,668 additions and 6,899 deletions.
10 changes: 5 additions & 5 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"presets": [
"react",
"es2015"
"@babel/preset-react",
"@babel/preset-env"
],
"plugins": [
"@babel/plugin-proposal-class-properties"
]
"plugins": [
"@babel/plugin-proposal-class-properties"
]
}
8 changes: 6 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
"node": true,
"jest": true
},
"plugins": ["prettier"],
"plugins": [
"prettier"
],
"extends": [
"airbnb",
"prettier",
Expand All @@ -19,6 +21,8 @@
"react/jsx-props-no-spreading": "off"
},
"settings": {
"import/core-modules": ["test-utils"]
"import/core-modules": [
"test-utils"
]
}
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ build/
# misc
.DS_Store
junit.xml
.vscode
4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"tabWidth": 2,
"useTabs": false
}
17 changes: 6 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,21 @@ language: node_js
notifications:
email:
recipients:
- [email protected]
- [email protected]
on_success: change
on_failure: always

jobs:
include:
- stage: "Tests"
node_js: 8
name: "Node JS 8"
node_js: 16
name: "Node JS 16"
script: npm run test
- node_js: 10
name: "Node JS 10"
script: npm run test
- node_js: 12
name: "Node JS 12"
- node_js: 16
name: "Node JS 16"
script: npm run ci
- stage: build
node_js: 10
script: npm run build:ci
node_js: 12
node_js: 16
script: npm run build:ci
before_deploy:
- git remote set-url origin https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
Expand Down
8 changes: 8 additions & 0 deletions config-overrides.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = function override(webpackConfig) {
// eslint-disable-next-line no-param-reassign
webpackConfig.resolve.alias = {
...webpackConfig.resolve.alias,
"@ledgerhq/devices/hid-framing": "@ledgerhq/devices/lib/hid-framing",
};
return webpackConfig;
};
Loading

0 comments on commit 4d22cfc

Please sign in to comment.