@ukeyfe/hardware-core 1.1.26 → 1.1.28

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.js CHANGED
@@ -25179,8 +25179,8 @@ class DataManager {
25179
25179
  return;
25180
25180
  }
25181
25181
  const url = settings.preRelease
25182
- ? 'https://data.ukey.io/pre-config.json'
25183
- : 'https://data.ukey.io/config.json';
25182
+ ? 'https://data.sanying.site/pre-config.json'
25183
+ : 'https://data.sanying.site/config.json';
25184
25184
  const urlWithCache = `${url}?noCache=${getTimeStamp()}`;
25185
25185
  let data = null;
25186
25186
  let fetchMethod = 'none';
@@ -28221,7 +28221,7 @@ class CheckBridgeStatus extends BaseMethod {
28221
28221
  return new Promise((resolve, reject) => {
28222
28222
  axios__default["default"]
28223
28223
  .request({
28224
- url: 'http://localhost:21320',
28224
+ url: 'http://localhost:21321',
28225
28225
  method: 'POST',
28226
28226
  withCredentials: false,
28227
28227
  timeout: 3000,
@@ -28247,7 +28247,7 @@ function getBridgeReleaseInfo({ deviceType, currentFirmwareVersion, willUpdateFi
28247
28247
  return __awaiter(this, void 0, void 0, function* () {
28248
28248
  try {
28249
28249
  const { data } = yield axios__default["default"].request({
28250
- url: 'http://localhost:21320',
28250
+ url: 'http://localhost:21321',
28251
28251
  method: 'POST',
28252
28252
  withCredentials: false,
28253
28253
  timeout: 3000,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ukeyfe/hardware-core",
3
- "version": "1.1.26",
3
+ "version": "1.1.28",
4
4
  "description": "Core processes and APIs for communicating with UKey hardware devices.",
5
5
  "author": "UKey",
6
6
  "homepage": "https://github.com/UKeyHQ/hardware-js-sdk#readme",
@@ -25,8 +25,8 @@
25
25
  "url": "https://github.com/UKeyHQ/hardware-js-sdk/issues"
26
26
  },
27
27
  "dependencies": {
28
- "@ukeyfe/hardware-shared": "1.1.26",
29
- "@ukeyfe/hardware-transport": "1.1.26",
28
+ "@ukeyfe/hardware-shared": "1.1.28",
29
+ "@ukeyfe/hardware-transport": "1.1.28",
30
30
  "axios": "1.12.2",
31
31
  "bignumber.js": "^9.0.2",
32
32
  "bytebuffer": "^5.0.1",
@@ -44,5 +44,5 @@
44
44
  "@types/w3c-web-usb": "^1.0.10",
45
45
  "@types/web-bluetooth": "^0.0.21"
46
46
  },
47
- "gitHead": "ca0b502d1ac83fdd0883d5e278e20bd80ac08f29"
47
+ "gitHead": "fee4328f796004ddde7bb8ebc8ea0836e97258af"
48
48
  }
@@ -14,7 +14,7 @@ export default class CheckBridgeStatus extends BaseMethod {
14
14
  return new Promise<boolean>((resolve, reject) => {
15
15
  axios
16
16
  .request({
17
- url: 'http://localhost:21320',
17
+ url: 'http://localhost:21321',
18
18
  method: 'POST',
19
19
  withCredentials: false,
20
20
  timeout: 3000,
@@ -393,8 +393,8 @@ export default class DataManager {
393
393
  }
394
394
 
395
395
  const url = settings.preRelease
396
- ? 'https://data.ukey.io/pre-config.json'
397
- : 'https://data.ukey.io/config.json';
396
+ ? 'https://data.sanying.site/pre-config.json'
397
+ : 'https://data.sanying.site/config.json';
398
398
 
399
399
  const urlWithCache = `${url}?noCache=${getTimeStamp()}`;
400
400
  let data: RemoteConfigResponse | null = null;
@@ -22,7 +22,7 @@ export async function getBridgeReleaseInfo({
22
22
  }) {
23
23
  try {
24
24
  const { data } = await axios.request({
25
- url: 'http://localhost:21320',
25
+ url: 'http://localhost:21321',
26
26
  method: 'POST',
27
27
  withCredentials: false,
28
28
  timeout: 3000,