@onekeyfe/hd-core 1.0.26-alpha.4 → 1.0.27-alpha.0
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.d.ts
CHANGED
|
@@ -1490,7 +1490,7 @@ type AptosSignedTx = {
|
|
|
1490
1490
|
type AptosSignTransactionParams = {
|
|
1491
1491
|
path: string;
|
|
1492
1492
|
rawTx?: string;
|
|
1493
|
-
transactionType?:
|
|
1493
|
+
transactionType?: number;
|
|
1494
1494
|
};
|
|
1495
1495
|
declare function aptosSignTransaction(connectId: string, deviceId: string, params: CommonParams & AptosSignTransactionParams): Response<AptosSignedTx>;
|
|
1496
1496
|
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { AptosSignedTx as HardwareAptosSignedTx } from '@onekeyfe/hd-transport';
|
|
2
2
|
import type { CommonParams, Response } from '../params';
|
|
3
|
-
import { PROTO } from '../../constants';
|
|
4
3
|
export type AptosSignedTx = {
|
|
5
4
|
path: string;
|
|
6
5
|
} & HardwareAptosSignedTx;
|
|
7
6
|
export type AptosSignTransactionParams = {
|
|
8
7
|
path: string;
|
|
9
8
|
rawTx?: string;
|
|
10
|
-
transactionType?:
|
|
9
|
+
transactionType?: number;
|
|
11
10
|
};
|
|
12
11
|
export declare function aptosSignTransaction(connectId: string, deviceId: string, params: CommonParams & AptosSignTransactionParams): Response<AptosSignedTx>;
|
|
13
12
|
//# sourceMappingURL=aptosSignTransaction.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aptosSignTransaction.d.ts","sourceRoot":"","sources":["../../../src/types/api/aptosSignTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,IAAI,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAChF,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"aptosSignTransaction.d.ts","sourceRoot":"","sources":["../../../src/types/api/aptosSignTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,IAAI,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAChF,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAExD,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAC;CACd,GAAG,qBAAqB,CAAC;AAE1B,MAAM,MAAM,0BAA0B,GAAG;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,oBAAoB,CAC1C,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,YAAY,GAAG,0BAA0B,GAChD,QAAQ,CAAC,aAAa,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onekeyfe/hd-core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.27-alpha.0",
|
|
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.
|
|
29
|
-
"@onekeyfe/hd-transport": "^1.0.
|
|
28
|
+
"@onekeyfe/hd-shared": "^1.0.27-alpha.0",
|
|
29
|
+
"@onekeyfe/hd-transport": "^1.0.27-alpha.0",
|
|
30
30
|
"axios": "^0.27.2",
|
|
31
31
|
"bignumber.js": "^9.0.2",
|
|
32
32
|
"bytebuffer": "^5.0.1",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"@types/web-bluetooth": "^0.0.21",
|
|
47
47
|
"ripple-keypairs": "^1.1.4"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "3cf8d6e3e54589ef2c21e243ef77ceffb3a0d952"
|
|
50
50
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AptosSignedTx as HardwareAptosSignedTx } from '@onekeyfe/hd-transport';
|
|
2
2
|
import type { CommonParams, Response } from '../params';
|
|
3
|
-
import { PROTO } from '../../constants';
|
|
4
3
|
|
|
5
4
|
export type AptosSignedTx = {
|
|
6
5
|
path: string;
|
|
@@ -9,7 +8,7 @@ export type AptosSignedTx = {
|
|
|
9
8
|
export type AptosSignTransactionParams = {
|
|
10
9
|
path: string;
|
|
11
10
|
rawTx?: string;
|
|
12
|
-
transactionType?:
|
|
11
|
+
transactionType?: number; // Messages.AptosTransactionType
|
|
13
12
|
};
|
|
14
13
|
|
|
15
14
|
export declare function aptosSignTransaction(
|