@onekeyfe/hd-core
Advanced tools
Comparing version 1.0.10-alpha.9 to 1.0.10-alpha.10
@@ -1,9 +0,11 @@ | ||
import { AlephiumAddress as HardwareAlephiumAddress } from '@onekeyfe/hd-transport'; | ||
import type { CommonParams, Response } from '../params'; | ||
export type AlephiumAddress = { | ||
path: string; | ||
} & HardwareAlephiumAddress; | ||
publicKey?: string; | ||
address: string; | ||
}; | ||
export type AlephiumGetAddressParams = { | ||
path: string | number[]; | ||
showOnOneKey?: boolean; | ||
includePublicKey?: boolean; | ||
}; | ||
@@ -10,0 +12,0 @@ export declare function alephiumGetAddress(connectId: string, deviceId: string, params: CommonParams & AlephiumGetAddressParams): Response<AlephiumAddress>; |
{ | ||
"name": "@onekeyfe/hd-core", | ||
"version": "1.0.10-alpha.9", | ||
"version": "1.0.10-alpha.10", | ||
"description": "> TODO: description", | ||
@@ -28,4 +28,4 @@ "author": "OneKey", | ||
"dependencies": { | ||
"@onekeyfe/hd-shared": "^1.0.10-alpha.9", | ||
"@onekeyfe/hd-transport": "^1.0.10-alpha.9", | ||
"@onekeyfe/hd-shared": "^1.0.10-alpha.10", | ||
"@onekeyfe/hd-transport": "^1.0.10-alpha.10", | ||
"axios": "^0.27.2", | ||
@@ -48,3 +48,3 @@ "bignumber.js": "^9.0.2", | ||
}, | ||
"gitHead": "822d59c4ccdec23b672535a5f746df7bbda43eb0" | ||
"gitHead": "95f8e429a7c21efb3712fb9062f2256e8f43b847" | ||
} |
@@ -29,2 +29,3 @@ import { AlephiumGetAddress as HardwareAlephiumGetAddress } from '@onekeyfe/hd-transport'; | ||
{ name: 'showOnOneKey', type: 'boolean' }, | ||
{ name: 'includePublicKey', type: 'boolean' }, | ||
]); | ||
@@ -37,2 +38,3 @@ | ||
show_display: showOnOneKey, | ||
include_public_key: batch.includePublicKey ?? false, | ||
}); | ||
@@ -68,2 +70,3 @@ }); | ||
address, | ||
publicKey: param.include_public_key ? res.message.public_key : undefined, | ||
}; | ||
@@ -70,0 +73,0 @@ responses.push(result); |
@@ -1,2 +0,1 @@ | ||
import { AlephiumAddress as HardwareAlephiumAddress } from '@onekeyfe/hd-transport'; | ||
import type { CommonParams, Response } from '../params'; | ||
@@ -6,3 +5,5 @@ | ||
path: string; | ||
} & HardwareAlephiumAddress; | ||
publicKey?: string; | ||
address: string; | ||
}; | ||
@@ -12,2 +13,3 @@ export type AlephiumGetAddressParams = { | ||
showOnOneKey?: boolean; | ||
includePublicKey?: boolean; | ||
}; | ||
@@ -14,0 +16,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2887989
86879