mezon-js 2.12.16 → 2.12.17

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/api.gen.ts CHANGED
@@ -1365,6 +1365,8 @@ export interface ApiFriend {
1365
1365
  update_time?: string;
1366
1366
  //The user object.
1367
1367
  user?: ApiUser;
1368
+ //Source ID
1369
+ source_id?: string;
1368
1370
  }
1369
1371
 
1370
1372
  /** A collection of zero or more friends of the user. */
package/client.ts CHANGED
@@ -353,6 +353,8 @@ export interface Friend {
353
353
  state?: number;
354
354
  /** The user object. */
355
355
  user?: User;
356
+ //Source ID
357
+ source_id?: string;
356
358
  }
357
359
 
358
360
  /** A collection of zero or more friends of the user. */
@@ -1895,6 +1897,7 @@ export class Client {
1895
1897
  : undefined,
1896
1898
  },
1897
1899
  state: f.state,
1900
+ source_id: f.source_id,
1898
1901
  });
1899
1902
  });
1900
1903
  return Promise.resolve(result);
package/dist/api.gen.d.ts CHANGED
@@ -776,6 +776,7 @@ export interface ApiFriend {
776
776
  state?: number;
777
777
  update_time?: string;
778
778
  user?: ApiUser;
779
+ source_id?: string;
779
780
  }
780
781
  /** A collection of zero or more friends of the user. */
781
782
  export interface ApiFriendList {
package/dist/client.d.ts CHANGED
@@ -158,6 +158,7 @@ export interface Friend {
158
158
  state?: number;
159
159
  /** The user object. */
160
160
  user?: User;
161
+ source_id?: string;
161
162
  }
162
163
  /** A collection of zero or more friends of the user. */
163
164
  export interface Friends {
@@ -8769,7 +8769,8 @@ var Client = class {
8769
8769
  is_mobile: (_a = f.user) == null ? void 0 : _a.is_mobile,
8770
8770
  metadata: f.user.metadata ? safeJSONParse(f.user.metadata) : void 0
8771
8771
  },
8772
- state: f.state
8772
+ state: f.state,
8773
+ source_id: f.source_id
8773
8774
  });
8774
8775
  });
8775
8776
  return Promise.resolve(result);
@@ -8735,7 +8735,8 @@ var Client = class {
8735
8735
  is_mobile: (_a = f.user) == null ? void 0 : _a.is_mobile,
8736
8736
  metadata: f.user.metadata ? safeJSONParse(f.user.metadata) : void 0
8737
8737
  },
8738
- state: f.state
8738
+ state: f.state,
8739
+ source_id: f.source_id
8739
8740
  });
8740
8741
  });
8741
8742
  return Promise.resolve(result);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mezon-js",
3
3
 
4
- "version": "2.12.16",
4
+ "version": "2.12.17",
5
5
 
6
6
  "scripts": {
7
7
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"