@exodus/hardware-wallets 2.0.2 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/LICENSE +7 -0
- package/lib/module/hardware-wallets.js +3 -3
- package/package.json +8 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [2.0.4](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/hardware-wallets@2.0.3...@exodus/hardware-wallets@2.0.4) (2025-03-05)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- fix: bump bip32 (#11415)
|
|
11
|
+
|
|
12
|
+
## [2.0.3](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/hardware-wallets@2.0.2...@exodus/hardware-wallets@2.0.3) (2024-12-20)
|
|
13
|
+
|
|
14
|
+
### License
|
|
15
|
+
|
|
16
|
+
- license: re-license under MIT license (#10599)
|
|
17
|
+
|
|
6
18
|
## [2.0.2](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/hardware-wallets@2.0.1...@exodus/hardware-wallets@2.0.2) (2024-12-05)
|
|
7
19
|
|
|
8
20
|
### Bug Fixes
|
package/LICENSE
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
Copyright (c) 2024 Exodus Movement, Inc.
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
4
|
+
|
|
5
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
6
|
+
|
|
7
|
+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -52,10 +52,10 @@ export class HardwareWallets {
|
|
|
52
52
|
};
|
|
53
53
|
const result = await Promise.race([approvePromise, runSign()]);
|
|
54
54
|
if (typeof result === 'object' && result.tryAgain === false) {
|
|
55
|
-
device.cancelAction();
|
|
55
|
+
void device.cancelAction();
|
|
56
56
|
throw new UserRefusedError(false);
|
|
57
57
|
}
|
|
58
|
-
this.#requestUserAction({ scenario: 'completed' });
|
|
58
|
+
void this.#requestUserAction({ scenario: 'completed' });
|
|
59
59
|
return result;
|
|
60
60
|
}
|
|
61
61
|
catch (error) {
|
|
@@ -88,7 +88,7 @@ export class HardwareWallets {
|
|
|
88
88
|
await delay(200);
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
|
-
this.#requestUserAction({ scenario: 'completed' });
|
|
91
|
+
void this.#requestUserAction({ scenario: 'completed' });
|
|
92
92
|
throw new UserRefusedError(false);
|
|
93
93
|
};
|
|
94
94
|
signTransaction = async ({ baseAssetName, unsignedTx, walletAccount, multisigData, }) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/hardware-wallets",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"description": "An Exodus SDK feature that provides a high level abstraction for interacting with hardware wallet devices",
|
|
5
5
|
"author": "Exodus Movement, Inc.",
|
|
6
6
|
"repository": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"url": "git+https://github.com/ExodusMovement/exodus-hydra.git"
|
|
9
9
|
},
|
|
10
10
|
"homepage": "https://github.com/ExodusMovement/exodus-hydra/tree/master/features/hardware-wallets",
|
|
11
|
-
"license": "
|
|
11
|
+
"license": "MIT",
|
|
12
12
|
"bugs": {
|
|
13
13
|
"url": "https://github.com/ExodusMovement/exodus-hydra/issues?q=is%3Aissue+is%3Aopen+label%3Ahardware-wallets"
|
|
14
14
|
},
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@exodus/atoms": "^9.0.0",
|
|
32
32
|
"@exodus/basic-utils": "^3.2.0",
|
|
33
|
-
"@exodus/bip32": "^
|
|
33
|
+
"@exodus/bip32": "^4.0.2",
|
|
34
34
|
"@exodus/crypto": "^1.0.0-rc.14",
|
|
35
35
|
"@exodus/hw-common": "^3.1.0",
|
|
36
36
|
"@exodus/models": "^12.0.1",
|
|
@@ -44,9 +44,12 @@
|
|
|
44
44
|
"@exodus/dependency-types": "^2.1.1",
|
|
45
45
|
"@exodus/key-identifier": "^1.3.0",
|
|
46
46
|
"@exodus/logger": "^1.2.3",
|
|
47
|
-
"@exodus/public-key-provider": "^4.
|
|
47
|
+
"@exodus/public-key-provider": "^4.1.1",
|
|
48
48
|
"p-defer": "^4.0.1",
|
|
49
49
|
"redux": "^4.2.1"
|
|
50
50
|
},
|
|
51
|
-
"
|
|
51
|
+
"publishConfig": {
|
|
52
|
+
"access": "public"
|
|
53
|
+
},
|
|
54
|
+
"gitHead": "b61af952787a6542f0629986b784d2e19c2df662"
|
|
52
55
|
}
|