@blocklet/js-sdk 1.16.41-beta-20250317-081605-78d4ac9f → 1.16.41-beta-20250318-123609-b48bb2d7

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.d.mts CHANGED
@@ -54,10 +54,11 @@ declare class AuthService {
54
54
  }): Promise<string>;
55
55
  getProfile(): Promise<any>;
56
56
  refreshProfile(): Promise<void>;
57
- saveProfile({ locale, inviter, metadata }: {
57
+ saveProfile({ locale, inviter, metadata, address, }: {
58
58
  locale?: string;
59
59
  inviter?: string;
60
60
  metadata?: any;
61
+ address?: any;
61
62
  }): Promise<any>;
62
63
  updateDidSpace({ spaceGateway }: {
63
64
  spaceGateway: SpaceGateway;
package/dist/index.d.ts CHANGED
@@ -54,10 +54,11 @@ declare class AuthService {
54
54
  }): Promise<string>;
55
55
  getProfile(): Promise<any>;
56
56
  refreshProfile(): Promise<void>;
57
- saveProfile({ locale, inviter, metadata }: {
57
+ saveProfile({ locale, inviter, metadata, address, }: {
58
58
  locale?: string;
59
59
  inviter?: string;
60
60
  metadata?: any;
61
+ address?: any;
61
62
  }): Promise<any>;
62
63
  updateDidSpace({ spaceGateway }: {
63
64
  spaceGateway: SpaceGateway;
package/dist/index.mjs CHANGED
@@ -65,8 +65,13 @@ class AuthService {
65
65
  async refreshProfile() {
66
66
  await this.api.put("/api/user/refreshProfile");
67
67
  }
68
- async saveProfile({ locale, inviter, metadata }) {
69
- const { data } = await this.api.put("/api/user/profile", { locale, inviter, metadata });
68
+ async saveProfile({
69
+ locale,
70
+ inviter,
71
+ metadata,
72
+ address
73
+ }) {
74
+ const { data } = await this.api.put("/api/user/profile", { locale, inviter, metadata, address });
70
75
  return data;
71
76
  }
72
77
  async updateDidSpace({ spaceGateway }) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/js-sdk",
3
- "version": "1.16.41-beta-20250317-081605-78d4ac9f",
3
+ "version": "1.16.41-beta-20250318-123609-b48bb2d7",
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.41-beta-20250317-081605-78d4ac9f",
41
+ "@abtnode/constant": "1.16.41-beta-20250318-123609-b48bb2d7",
42
42
  "@arcblock/did": "1.19.15",
43
- "@blocklet/meta": "1.16.41-beta-20250317-081605-78d4ac9f",
43
+ "@blocklet/meta": "1.16.41-beta-20250318-123609-b48bb2d7",
44
44
  "@ocap/wallet": "1.19.15",
45
45
  "axios": "^1.7.9",
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": "f1bf0dcd30bd27d7d42ac76f62ea90da57530479"
68
+ "gitHead": "bb26547e22d71d208582b6254c355598a42f363b"
69
69
  }