diff --git a/packages/connect-examples/electron-example/package.json b/packages/connect-examples/electron-example/package.json index 576b673ad..0c9aa3a0c 100644 --- a/packages/connect-examples/electron-example/package.json +++ b/packages/connect-examples/electron-example/package.json @@ -2,7 +2,7 @@ "name": "hardware-example", "productName": "HardwareExample", "executableName": "onekey-hardware-example", - "version": "1.0.12-alpha.1", + "version": "1.0.12-alpha.2", "author": "OneKey", "description": "End-to-end encrypted workspaces for teams", "main": "dist/index.js", diff --git a/packages/connect-examples/expo-example/package.json b/packages/connect-examples/expo-example/package.json index 777006c45..df4d47382 100644 --- a/packages/connect-examples/expo-example/package.json +++ b/packages/connect-examples/expo-example/package.json @@ -1,6 +1,6 @@ { "name": "expo-example", - "version": "1.0.12-alpha.1", + "version": "1.0.12-alpha.2", "scripts": { "start": "CONNECT_SRC=https://localhost:8087/ yarn expo start --dev-client", "android": "yarn expo run:android", @@ -19,10 +19,10 @@ "@noble/ed25519": "^2.1.0", "@noble/hashes": "^1.3.3", "@noble/secp256k1": "^1.7.1", - "@onekeyfe/hd-ble-sdk": "^1.0.12-alpha.1", - "@onekeyfe/hd-common-connect-sdk": "^1.0.12-alpha.1", - "@onekeyfe/hd-core": "^1.0.12-alpha.1", - "@onekeyfe/hd-web-sdk": "^1.0.12-alpha.1", + "@onekeyfe/hd-ble-sdk": "^1.0.12-alpha.2", + "@onekeyfe/hd-common-connect-sdk": "^1.0.12-alpha.2", + "@onekeyfe/hd-core": "^1.0.12-alpha.2", + "@onekeyfe/hd-web-sdk": "^1.0.12-alpha.2", "@onekeyfe/react-native-ble-plx": "3.0.0", "@polkadot/util-crypto": "13.1.1", "@react-native-async-storage/async-storage": "1.21.0", diff --git a/packages/connect-examples/expo-example/src/constants/connect.ts b/packages/connect-examples/expo-example/src/constants/connect.ts index 78c8d756d..68a37160c 100644 --- a/packages/connect-examples/expo-example/src/constants/connect.ts +++ b/packages/connect-examples/expo-example/src/constants/connect.ts @@ -1,3 +1,3 @@ import { version } from '../../package.json'; -export const CONNECT_SRC = process.env.CONNECT_SRC || `https://jssdk.onekey.so/${version}`; +export const CONNECT_SRC = process.env.CONNECT_SRC || `https://jssdk.onekey.so/${version}/`; diff --git a/packages/connect-examples/expo-example/src/data/alephium.ts b/packages/connect-examples/expo-example/src/data/alephium.ts index 84f72dab9..d58247e49 100644 --- a/packages/connect-examples/expo-example/src/data/alephium.ts +++ b/packages/connect-examples/expo-example/src/data/alephium.ts @@ -9,6 +9,7 @@ const api: PlaygroundProps[] = [ title: 'Get address', value: { path: "m/44'/1234'/0'/0/0", + includePublicKey: true, showOnOneKey: false, group: 0, }, @@ -19,11 +20,13 @@ const api: PlaygroundProps[] = [ bundle: [ { path: "m/44'/1234'/0'/0/0", + includePublicKey: true, showOnOneKey: false, group: 0, }, { path: "m/44'/1234'/0'/0/1", + includePublicKey: true, showOnOneKey: false, group: 0, }, diff --git a/packages/connect-examples/expo-example/src/data/allnetwork.ts b/packages/connect-examples/expo-example/src/data/allnetwork.ts index 6b7ea38b3..40aa776a7 100644 --- a/packages/connect-examples/expo-example/src/data/allnetwork.ts +++ b/packages/connect-examples/expo-example/src/data/allnetwork.ts @@ -208,7 +208,9 @@ const api: PlaygroundProps[] = [ { network: 'alph', path: "m/44'/1234'/0'/0/0", + includePublicKey: true, showOnOneKey: false, + group: 0, }, { network: 'nostr', diff --git a/packages/core/package.json b/packages/core/package.json index 8f209c381..153b05188 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/hd-core", - "version": "1.0.12-alpha.1", + "version": "1.0.12-alpha.2", "description": "> TODO: description", "author": "OneKey", "homepage": "https://github.com/OneKeyHQ/hardware-js-sdk#readme", @@ -25,8 +25,8 @@ "url": "https://github.com/OneKeyHQ/hardware-js-sdk/issues" }, "dependencies": { - "@onekeyfe/hd-shared": "^1.0.12-alpha.1", - "@onekeyfe/hd-transport": "^1.0.12-alpha.1", + "@onekeyfe/hd-shared": "^1.0.12-alpha.2", + "@onekeyfe/hd-transport": "^1.0.12-alpha.2", "axios": "^0.27.2", "bignumber.js": "^9.0.2", "bytebuffer": "^5.0.1", diff --git a/packages/core/src/api/alephium/AlephiumGetAddress.ts b/packages/core/src/api/alephium/AlephiumGetAddress.ts index 58901b04d..937101eae 100644 --- a/packages/core/src/api/alephium/AlephiumGetAddress.ts +++ b/packages/core/src/api/alephium/AlephiumGetAddress.ts @@ -36,7 +36,8 @@ export default class AlephiumGetAddress extends BaseMethod TODO: description", "author": "OneKey", "homepage": "https://github.com/OneKeyHQ/hardware-js-sdk#readme", diff --git a/packages/hd-web-sdk/package.json b/packages/hd-web-sdk/package.json index 7264e00fa..4d360a284 100644 --- a/packages/hd-web-sdk/package.json +++ b/packages/hd-web-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/hd-web-sdk", - "version": "1.0.12-alpha.1", + "version": "1.0.12-alpha.2", "author": "OneKey", "homepage": "https://github.com/OneKeyHQ/hardware-js-sdk#readme", "license": "ISC", @@ -21,10 +21,10 @@ }, "dependencies": { "@onekeyfe/cross-inpage-provider-core": "^0.0.17", - "@onekeyfe/hd-core": "^1.0.12-alpha.1", - "@onekeyfe/hd-shared": "^1.0.12-alpha.1", - "@onekeyfe/hd-transport-http": "^1.0.12-alpha.1", - "@onekeyfe/hd-transport-webusb": "^1.0.12-alpha.1" + "@onekeyfe/hd-core": "^1.0.12-alpha.2", + "@onekeyfe/hd-shared": "^1.0.12-alpha.2", + "@onekeyfe/hd-transport-http": "^1.0.12-alpha.2", + "@onekeyfe/hd-transport-webusb": "^1.0.12-alpha.2" }, "devDependencies": { "@babel/plugin-proposal-optional-chaining": "^7.17.12", diff --git a/packages/hd-web-sdk/src/iframe/builder.ts b/packages/hd-web-sdk/src/iframe/builder.ts index 7c94cd060..1ba6206c0 100644 --- a/packages/hd-web-sdk/src/iframe/builder.ts +++ b/packages/hd-web-sdk/src/iframe/builder.ts @@ -29,8 +29,8 @@ export const init = async (settings: any) => { } } - const manifest = `version=${settings.version as string}`; - const src = `${settings.iframeSrc as string}?${manifest}`; + // const manifest = `version=${settings.version as string}`; + const src = `${settings.iframeSrc as string}`; instance.setAttribute('src', src); diff --git a/packages/shared/package.json b/packages/shared/package.json index 3101ff954..dd426c917 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/hd-shared", - "version": "1.0.12-alpha.1", + "version": "1.0.12-alpha.2", "description": "Hardware SDK's shared tool library", "keywords": [ "Hardware-SDK",