@onekeyfe/hd-core 1.1.29-alpha.3 → 1.1.29

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/dist/index.js CHANGED
@@ -37423,7 +37423,7 @@ class CardanoSignTransaction extends BaseMethod {
37423
37423
  var _a;
37424
37424
  this.checkDeviceId = true;
37425
37425
  this.allowDeviceMode = [...this.allowDeviceMode, UI_REQUEST.NOT_INITIALIZE];
37426
- this.allowUsePreInitialize = true;
37426
+ this.allowUsePreInitialize = false;
37427
37427
  this.hasBundle = !!((_a = this.payload) === null || _a === void 0 ? void 0 : _a.bundle);
37428
37428
  const { payload } = this;
37429
37429
  if (payload.auxiliaryData && payload.auxiliaryData.governanceRegistrationParameters) {
@@ -37659,7 +37659,7 @@ class CardanoSignMessage extends BaseMethod {
37659
37659
  init() {
37660
37660
  this.checkDeviceId = true;
37661
37661
  this.allowDeviceMode = [...this.allowDeviceMode, UI_REQUEST.NOT_INITIALIZE];
37662
- this.allowUsePreInitialize = true;
37662
+ this.allowUsePreInitialize = false;
37663
37663
  const { payload } = this;
37664
37664
  validateParams(payload, [
37665
37665
  { name: 'path', type: 'string', required: true },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/hd-core",
3
- "version": "1.1.29-alpha.3",
3
+ "version": "1.1.29",
4
4
  "description": "Core processes and APIs for communicating with OneKey hardware devices.",
5
5
  "author": "OneKey",
6
6
  "homepage": "https://github.com/OneKeyHQ/hardware-js-sdk#readme",
@@ -25,8 +25,8 @@
25
25
  "url": "https://github.com/OneKeyHQ/hardware-js-sdk/issues"
26
26
  },
27
27
  "dependencies": {
28
- "@onekeyfe/hd-shared": "1.1.29-alpha.3",
29
- "@onekeyfe/hd-transport": "1.1.29-alpha.3",
28
+ "@onekeyfe/hd-shared": "1.1.29",
29
+ "@onekeyfe/hd-transport": "1.1.29",
30
30
  "axios": "1.15.2",
31
31
  "bignumber.js": "^9.0.2",
32
32
  "bytebuffer": "^5.0.1",
@@ -44,5 +44,5 @@
44
44
  "@types/w3c-web-usb": "^1.0.10",
45
45
  "@types/web-bluetooth": "^0.0.21"
46
46
  },
47
- "gitHead": "8bfaafd955401948065a944a4e3b92f7a72c6571"
47
+ "gitHead": "fb02cb13e741b51de2db7acf402cb27c35feed2d"
48
48
  }
@@ -14,7 +14,7 @@ export default class CardanoSignMessage extends BaseMethod<CardanoSignMessagePar
14
14
  init() {
15
15
  this.checkDeviceId = true;
16
16
  this.allowDeviceMode = [...this.allowDeviceMode, UI_REQUEST.NOT_INITIALIZE];
17
- this.allowUsePreInitialize = true;
17
+ this.allowUsePreInitialize = false;
18
18
 
19
19
  const { payload } = this;
20
20
  validateParams(payload, [
@@ -49,7 +49,7 @@ export default class CardanoSignTransaction extends BaseMethod<any> {
49
49
  init() {
50
50
  this.checkDeviceId = true;
51
51
  this.allowDeviceMode = [...this.allowDeviceMode, UI_REQUEST.NOT_INITIALIZE];
52
- this.allowUsePreInitialize = true;
52
+ this.allowUsePreInitialize = false;
53
53
 
54
54
  this.hasBundle = !!this.payload?.bundle;
55
55