@onekeyfe/hd-core 1.0.9-alpha.3 → 1.0.9
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.
|
@@ -12,6 +12,10 @@ export default class BTCSignMessage extends BaseMethod<SignMessage> {
|
|
|
12
12
|
} | {
|
|
13
13
|
model_mini?: undefined;
|
|
14
14
|
model_touch?: undefined;
|
|
15
|
+
} | {
|
|
16
|
+
pro: {
|
|
17
|
+
min: string;
|
|
18
|
+
};
|
|
15
19
|
};
|
|
16
20
|
run(): Promise<import("@onekeyfe/hd-transport").MessageSignature>;
|
|
17
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BTCSignMessage.d.ts","sourceRoot":"","sources":["../../../src/api/btc/BTCSignMessage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAGrD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAM3C,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,UAAU,CAAC,WAAW,CAAC;IACjE,IAAI;IA2CJ,eAAe
|
|
1
|
+
{"version":3,"file":"BTCSignMessage.d.ts","sourceRoot":"","sources":["../../../src/api/btc/BTCSignMessage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAGrD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAM3C,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,UAAU,CAAC,WAAW,CAAC;IACjE,IAAI;IA2CJ,eAAe;;;;;;;;;;;;;;;IAWT,GAAG;CAOV"}
|
package/dist/index.js
CHANGED
|
@@ -27590,6 +27590,13 @@ class BTCSignMessage extends BaseMethod {
|
|
|
27590
27590
|
};
|
|
27591
27591
|
}
|
|
27592
27592
|
getVersionRange() {
|
|
27593
|
+
if (this.payload.dAppSignType) {
|
|
27594
|
+
return {
|
|
27595
|
+
pro: {
|
|
27596
|
+
min: '4.9.3',
|
|
27597
|
+
},
|
|
27598
|
+
};
|
|
27599
|
+
}
|
|
27593
27600
|
return getBitcoinForkVersionRange([this.params.coin_name]);
|
|
27594
27601
|
}
|
|
27595
27602
|
run() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onekeyfe/hd-core",
|
|
3
|
-
"version": "1.0.9
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"description": "> TODO: description",
|
|
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.0.9
|
|
29
|
-
"@onekeyfe/hd-transport": "^1.0.9
|
|
28
|
+
"@onekeyfe/hd-shared": "^1.0.9",
|
|
29
|
+
"@onekeyfe/hd-transport": "^1.0.9",
|
|
30
30
|
"axios": "^0.27.2",
|
|
31
31
|
"bignumber.js": "^9.0.2",
|
|
32
32
|
"bytebuffer": "^5.0.1",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"@types/semver": "^7.3.9",
|
|
45
45
|
"ripple-keypairs": "^1.1.4"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "4afb75a8d38639a40b0eae8a0242c590e0da0259"
|
|
48
48
|
}
|
|
@@ -52,6 +52,13 @@ export default class BTCSignMessage extends BaseMethod<SignMessage> {
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
getVersionRange() {
|
|
55
|
+
if (this.payload.dAppSignType) {
|
|
56
|
+
return {
|
|
57
|
+
pro: {
|
|
58
|
+
min: '4.9.3',
|
|
59
|
+
},
|
|
60
|
+
};
|
|
61
|
+
}
|
|
55
62
|
return getBitcoinForkVersionRange([this.params.coin_name]);
|
|
56
63
|
}
|
|
57
64
|
|