Skip to content

Commit 2e8cdd7

Browse files
authored
fix: upgrade sdk 1.1.13 & fix security issue (#89)
* fix: upgrade sdk 1.1.13 & fix security issue * fix: fixed sdk version
1 parent 21dcdef commit 2e8cdd7

File tree

3 files changed

+434
-112
lines changed

3 files changed

+434
-112
lines changed

package.json

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
"@headlessui/react": "^1.7.2",
1010
"@heroicons/react": "^2.0.11",
1111
"@noble/hashes": "^1.1.3",
12-
"@onekeyfe/hd-core": "1.1.11",
13-
"@onekeyfe/hd-shared": "1.1.11",
14-
"@onekeyfe/hd-web-sdk": "1.1.11",
12+
"@onekeyfe/hd-core": "1.1.13",
13+
"@onekeyfe/hd-shared": "1.1.13",
14+
"@onekeyfe/hd-web-sdk": "1.1.13",
1515
"@onekeyfe/ui-components": "^1.0.0",
1616
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
1717
"@reduxjs/toolkit": "^1.8.5",
@@ -30,7 +30,7 @@
3030
"@typescript-eslint/eslint-plugin": "^5.38.0",
3131
"@typescript-eslint/parser": "^5.38.0",
3232
"autoprefixer": "^10.4.12",
33-
"axios": "^0.27.2",
33+
"axios": "1.12.2",
3434
"babel-jest": "^27.4.2",
3535
"babel-loader": "^8.2.3",
3636
"babel-plugin-named-asset-import": "^0.3.8",
@@ -178,5 +178,15 @@
178178
},
179179
"eslintConfig": {
180180
"extends": "react-app"
181+
},
182+
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e",
183+
"resolutions": {
184+
"protobufjs": "6.11.4",
185+
"sha.js": "2.4.12",
186+
"cipher-base": "1.0.6",
187+
"@babel/traverse": "7.28.4",
188+
"base-x":"3.0.11",
189+
"cross-spawn": "7.0.6",
190+
"webpack-dev-middleware":"5.3.4"
181191
}
182192
}

src/hardware/instance.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const getHardwareSDKInstance = memoizee(
1717
}
1818
const settings: Partial<ConnectSettings> = {
1919
debug: true,
20-
connectSrc: 'https://jssdk.onekey.so/1.1.11/',
20+
connectSrc: 'https://jssdk.onekey.so/1.1.13/',
2121
preRelease: false,
2222
fetchConfig: true,
2323
};

0 commit comments

Comments
 (0)