@trezor/connect 9.1.2 → 9.1.3
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
CHANGED
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @trezor/connect
|
|
2
2
|
|
|
3
|
-
API version 9.1.
|
|
3
|
+
API version 9.1.3
|
|
4
4
|
|
|
5
5
|
[](https://github.com/trezor/trezor-suite/actions/workflows/connect-test.yml)
|
|
6
6
|
[](https://www.npmjs.org/package/@trezor/connect)
|
|
@@ -58,7 +58,7 @@ class CardanoGetPublicKey extends AbstractMethod_1.AbstractMethod {
|
|
|
58
58
|
await this.getPopupPromise().promise;
|
|
59
59
|
const uiPromise = this.createUiPromise(events_1.UI.RECEIVE_CONFIRMATION);
|
|
60
60
|
this.postMessage((0, events_1.createUiMessage)(events_1.UI.REQUEST_CONFIRMATION, {
|
|
61
|
-
view: '
|
|
61
|
+
view: 'no-backup',
|
|
62
62
|
}));
|
|
63
63
|
const uiResp = await uiPromise.promise;
|
|
64
64
|
return uiResp.payload;
|
|
@@ -67,7 +67,7 @@ class EthereumSignTypedData extends AbstractMethod_1.AbstractMethod {
|
|
|
67
67
|
async run() {
|
|
68
68
|
const cmd = this.device.getCommands();
|
|
69
69
|
const { address_n, definitions } = this.params;
|
|
70
|
-
if (this.device.features.
|
|
70
|
+
if (this.device.features.internal_model === types_1.DeviceModelInternal.T1B1) {
|
|
71
71
|
(0, paramsValidator_1.validateParams)(this.params, [
|
|
72
72
|
{ name: 'domain_separator_hash', type: 'string', required: true },
|
|
73
73
|
{ name: 'message_hash', type: 'string' },
|
package/lib/api/getPublicKey.js
CHANGED
|
@@ -84,7 +84,7 @@ class GetPublicKey extends AbstractMethod_1.AbstractMethod {
|
|
|
84
84
|
await this.getPopupPromise().promise;
|
|
85
85
|
const uiPromise = this.createUiPromise(events_1.UI.RECEIVE_CONFIRMATION);
|
|
86
86
|
this.postMessage((0, events_1.createUiMessage)(events_1.UI.REQUEST_CONFIRMATION, {
|
|
87
|
-
view: '
|
|
87
|
+
view: 'no-backup',
|
|
88
88
|
}));
|
|
89
89
|
const uiResp = await uiPromise.promise;
|
|
90
90
|
return uiResp.payload;
|
package/lib/data/version.d.ts
CHANGED
package/lib/data/version.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DEFAULT_DOMAIN = exports.VERSION = void 0;
|
|
4
|
-
exports.VERSION = '9.1.
|
|
4
|
+
exports.VERSION = '9.1.3';
|
|
5
5
|
const versionN = exports.VERSION.split('.').map(s => parseInt(s, 10));
|
|
6
6
|
exports.DEFAULT_DOMAIN = `https://connect.trezor.io/${versionN[0]}/`;
|
|
7
7
|
//# sourceMappingURL=version.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trezor/connect",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.3",
|
|
4
4
|
"author": "Trezor <info@trezor.io>",
|
|
5
5
|
"homepage": "https://github.com/trezor/trezor-suite/tree/develop/packages/connect",
|
|
6
6
|
"description": "High-level javascript interface for Trezor hardware wallet.",
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@trezor/blockchain-link": "2.1.16",
|
|
53
53
|
"@trezor/blockchain-link-types": "1.0.5",
|
|
54
|
-
"@trezor/connect-analytics": "1.0.
|
|
55
|
-
"@trezor/connect-common": "0.0.
|
|
54
|
+
"@trezor/connect-analytics": "1.0.6",
|
|
55
|
+
"@trezor/connect-common": "0.0.20",
|
|
56
56
|
"@trezor/protobuf": "1.0.0",
|
|
57
57
|
"@trezor/protocol": "1.0.0",
|
|
58
58
|
"@trezor/transport": "1.1.15",
|