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 +2 -2
- package/client.ts +1 -1
- package/dist/api.gen.d.ts +2 -2
- package/dist/client.d.ts +1 -1
- package/package.json +1 -1
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?:
|
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
|
-
|
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
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?:
|
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
|
-
|
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:
|
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. */
|