mezon-js 2.8.51 → 2.8.52

Sign up to get free protection for your applications and to get access to all the features.
package/api.gen.ts CHANGED
@@ -313,7 +313,7 @@ export interface ApiAccountGameCenter {
313
313
  //The verification signature data generated.
314
314
  signature?: string;
315
315
  //Time since UNIX epoch when the signature was created.
316
- timestamp_seconds?: string;
316
+ timestamp_seconds?: number;
317
317
  //Extra information that will be bundled in the session token.
318
318
  vars?: Record<string, string>;
319
319
  }
@@ -561,7 +561,7 @@ export interface ApiChannelMessageHeader {
561
561
  //
562
562
  sender_id?: string;
563
563
  //
564
- timestamp?: string;
564
+ timestamp_seconds?: number;
565
565
  }
566
566
 
567
567
  /** A list of channel messages, usually a result of a list operation. */
package/client.ts CHANGED
@@ -617,7 +617,7 @@ export class Client {
617
617
  publicKeyUrl: string,
618
618
  salt: string,
619
619
  signature: string,
620
- timestamp: string,
620
+ timestamp: number,
621
621
  username?: string,
622
622
  create?: boolean,
623
623
  vars?: Record<string, string>,
package/dist/api.gen.d.ts CHANGED
@@ -181,7 +181,7 @@ export interface ApiAccountGameCenter {
181
181
  public_key_url?: string;
182
182
  salt?: string;
183
183
  signature?: string;
184
- timestamp_seconds?: string;
184
+ timestamp_seconds?: number;
185
185
  vars?: Record<string, string>;
186
186
  }
187
187
  /** Send a Google token to the server. Used with authenticate/link/unlink. */
@@ -319,7 +319,7 @@ export interface ApiChannelMessageHeader {
319
319
  reaction?: string;
320
320
  referece?: string;
321
321
  sender_id?: string;
322
- timestamp?: string;
322
+ timestamp_seconds?: number;
323
323
  }
324
324
  /** A list of channel messages, usually a result of a list operation. */
325
325
  export interface ApiChannelMessageList {
package/dist/client.d.ts CHANGED
@@ -343,7 +343,7 @@ export declare class Client {
343
343
  /** Authenticate a user with Google against the server. */
344
344
  authenticateGoogle(token: string, create?: boolean, username?: string, vars?: Record<string, string>, options?: any): Promise<Session>;
345
345
  /** Authenticate a user with GameCenter against the server. */
346
- authenticateGameCenter(bundleId: string, playerId: string, publicKeyUrl: string, salt: string, signature: string, timestamp: string, username?: string, create?: boolean, vars?: Record<string, string>, options?: any): Promise<Session>;
346
+ authenticateGameCenter(bundleId: string, playerId: string, publicKeyUrl: string, salt: string, signature: string, timestamp: number, username?: string, create?: boolean, vars?: Record<string, string>, options?: any): Promise<Session>;
347
347
  /** Authenticate a user with Steam against the server. */
348
348
  authenticateSteam(token: string, create?: boolean, username?: string, sync?: boolean, vars?: Record<string, string>): Promise<Session>;
349
349
  /** Block one or more users by ID or username. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js",
3
- "version": "2.8.51",
3
+ "version": "2.8.52",
4
4
  "scripts": {
5
5
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
6
6
  },