@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
@@ -1,3 +1,7 @@
1
+ # 9.1.3
2
+
3
+ - fix(connect): correct import of internal connect dependency (https://github.com/trezor/trezor-suite/issues/9389)
4
+
1
5
  # 9.1.2
2
6
 
3
7
  - feat(connect): analytics method name and method param names (23df6d8)
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @trezor/connect
2
2
 
3
- API version 9.1.2
3
+ API version 9.1.3
4
4
 
5
5
  [![Build Status](https://github.com/trezor/trezor-suite/actions/workflows/connect-test.yml/badge.svg)](https://github.com/trezor/trezor-suite/actions/workflows/connect-test.yml)
6
6
  [![NPM](https://img.shields.io/npm/v/@trezor/connect.svg)](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: 'get-public-key-no-backup',
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.model === types_1.DeviceModelInternal.T1B1) {
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' },
@@ -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: 'get-public-key-no-backup',
87
+ view: 'no-backup',
88
88
  }));
89
89
  const uiResp = await uiPromise.promise;
90
90
  return uiResp.payload;
@@ -1,3 +1,3 @@
1
- export declare const VERSION = "9.1.2";
1
+ export declare const VERSION = "9.1.3";
2
2
  export declare const DEFAULT_DOMAIN: string;
3
3
  //# sourceMappingURL=version.d.ts.map
@@ -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.2';
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.2",
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.5",
55
- "@trezor/connect-common": "0.0.19",
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",