Skip to content

Commit

Permalink
Fix/example-url (#377)
Browse files Browse the repository at this point in the history
* fix: fix example url

* fix: update version to 1.0.12-alpha.2

* fix: revert yarn.lock
  • Loading branch information
wabicai authored Oct 11, 2024
1 parent 902fcec commit 237c606
Show file tree
Hide file tree
Showing 13 changed files with 39 additions and 39 deletions.
2 changes: 1 addition & 1 deletion packages/connect-examples/electron-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
10 changes: 5 additions & 5 deletions packages/connect-examples/expo-example/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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",
Expand Down
Original file line number Diff line number Diff line change
@@ -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}/`;
6 changes: 3 additions & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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",
Expand Down
8 changes: 4 additions & 4 deletions packages/hd-ble-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@onekeyfe/hd-ble-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",
Expand All @@ -20,8 +20,8 @@
"lint:fix": "eslint . --fix"
},
"dependencies": {
"@onekeyfe/hd-core": "^1.0.12-alpha.1",
"@onekeyfe/hd-shared": "^1.0.12-alpha.1",
"@onekeyfe/hd-transport-react-native": "^1.0.12-alpha.1"
"@onekeyfe/hd-core": "^1.0.12-alpha.2",
"@onekeyfe/hd-shared": "^1.0.12-alpha.2",
"@onekeyfe/hd-transport-react-native": "^1.0.12-alpha.2"
}
}
12 changes: 6 additions & 6 deletions packages/hd-common-connect-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@onekeyfe/hd-common-connect-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",
Expand All @@ -20,10 +20,10 @@
"lint:fix": "eslint . --fix"
},
"dependencies": {
"@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-lowlevel": "^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-lowlevel": "^1.0.12-alpha.2",
"@onekeyfe/hd-transport-webusb": "^1.0.12-alpha.2"
}
}
6 changes: 3 additions & 3 deletions packages/hd-transport-http/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@onekeyfe/hd-transport-http",
"version": "1.0.12-alpha.1",
"version": "1.0.12-alpha.2",
"description": "hardware http transport",
"author": "OneKey",
"homepage": "https://github.com/OneKeyHQ/hardware-js-sdk#readme",
Expand All @@ -24,8 +24,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"
}
}
6 changes: 3 additions & 3 deletions packages/hd-transport-lowlevel/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@onekeyfe/hd-transport-lowlevel",
"version": "1.0.12-alpha.1",
"version": "1.0.12-alpha.2",
"homepage": "https://github.com/OneKeyHQ/hardware-js-sdk#readme",
"license": "MIT",
"main": "dist/index.js",
Expand All @@ -19,7 +19,7 @@
"lint:fix": "eslint . --fix"
},
"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"
}
}
6 changes: 3 additions & 3 deletions packages/hd-transport-react-native/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@onekeyfe/hd-transport-react-native",
"version": "1.0.12-alpha.1",
"version": "1.0.12-alpha.2",
"homepage": "https://github.com/OneKeyHQ/hardware-js-sdk#readme",
"license": "MIT",
"main": "dist/index.js",
Expand All @@ -19,8 +19,8 @@
"lint:fix": "eslint . --fix"
},
"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",
"@onekeyfe/react-native-ble-plx": "3.0.1",
"react-native-ble-manager": "^8.1.0"
}
Expand Down
6 changes: 3 additions & 3 deletions packages/hd-transport-webusb/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@onekeyfe/hd-transport-webusb",
"version": "1.0.12-alpha.1",
"version": "1.0.12-alpha.2",
"author": "OneKey",
"homepage": "https://github.com/OneKeyHQ/hardware-js-sdk#readme",
"license": "MIT",
Expand All @@ -20,8 +20,8 @@
"lint:fix": "eslint . --fix"
},
"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"
},
"devDependencies": {
"@types/w3c-web-usb": "^1.0.6"
Expand Down
2 changes: 1 addition & 1 deletion packages/hd-transport/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@onekeyfe/hd-transport",
"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",
Expand Down
10 changes: 5 additions & 5 deletions packages/hd-web-sdk/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 237c606

Please sign in to comment.