@blocklet/js-sdk 1.16.36 → 1.16.37-beta-20241225-042616-74a39677

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.
Files changed (2) hide show
  1. package/dist/index.mjs +2 -2
  2. package/package.json +4 -4
package/dist/index.mjs CHANGED
@@ -194,7 +194,7 @@ class UserSessionService {
194
194
  * 获取个人的所有登录会话
195
195
  */
196
196
  async getMyLoginSessions({ appUrl } = {}) {
197
- const baseURL = this.getBaseUrl(appUrl) || "/";
197
+ const baseURL = this.getBaseUrl(appUrl);
198
198
  const { data } = await this.api.get("/api/user-session/myself", { baseURL });
199
199
  return data;
200
200
  }
@@ -355,7 +355,7 @@ class FederatedService {
355
355
  }
356
356
  }
357
357
 
358
- const version = "1.16.33";
358
+ const version = "1.16.36";
359
359
 
360
360
  const sleep = (time = 0) => {
361
361
  return new Promise((resolve) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/js-sdk",
3
- "version": "1.16.36",
3
+ "version": "1.16.37-beta-20241225-042616-74a39677",
4
4
  "main": "dist/index.mjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -38,9 +38,9 @@
38
38
  "watch": "nodemon -w src -e ts -x 'npm run build'"
39
39
  },
40
40
  "dependencies": {
41
- "@abtnode/constant": "1.16.36",
41
+ "@abtnode/constant": "1.16.37-beta-20241225-042616-74a39677",
42
42
  "@arcblock/did": "1.18.162",
43
- "@blocklet/meta": "1.16.36",
43
+ "@blocklet/meta": "1.16.37-beta-20241225-042616-74a39677",
44
44
  "@ocap/wallet": "1.18.162",
45
45
  "axios": "^1.7.5",
46
46
  "is-url": "^1.2.4",
@@ -65,5 +65,5 @@
65
65
  "unbuild": "^2.0.0",
66
66
  "vitest": "^2.0.5"
67
67
  },
68
- "gitHead": "2d70fa8a2f68de49e1d5718e693ec6b1bdcad15e"
68
+ "gitHead": "7cf5cfe0d4d8e356cbf5e175c2028bee8bdf43eb"
69
69
  }