From 38b9467178783c71770a15905d5f6e716ed7cbbd Mon Sep 17 00:00:00 2001 From: Almeida Date: Thu, 19 Mar 2026 07:37:05 +0000 Subject: [PATCH] fix(Gateway): invite create timestamp type, zstd-stream (#1569) Co-authored-by: Claude Opus 4.6 (1M context) --- deno/gateway/common.ts | 2 +- deno/gateway/v10.ts | 2 +- deno/gateway/v9.ts | 2 +- gateway/common.ts | 2 +- gateway/v10.ts | 2 +- gateway/v9.ts | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/deno/gateway/common.ts b/deno/gateway/common.ts index 1a784253..8041f8e0 100644 --- a/deno/gateway/common.ts +++ b/deno/gateway/common.ts @@ -4,5 +4,5 @@ export interface GatewayURLQuery { v: string; encoding: 'etf' | 'json'; - compress?: 'zlib-stream'; + compress?: 'zlib-stream' | 'zstd-stream'; } diff --git a/deno/gateway/v10.ts b/deno/gateway/v10.ts index dd3906c0..48ad89f9 100644 --- a/deno/gateway/v10.ts +++ b/deno/gateway/v10.ts @@ -1520,7 +1520,7 @@ export interface GatewayInviteCreateDispatchData { /** * The time at which the invite was created */ - created_at: number; + created_at: string; /** * The guild of the invite */ diff --git a/deno/gateway/v9.ts b/deno/gateway/v9.ts index dcec51ca..93a03594 100644 --- a/deno/gateway/v9.ts +++ b/deno/gateway/v9.ts @@ -1519,7 +1519,7 @@ export interface GatewayInviteCreateDispatchData { /** * The time at which the invite was created */ - created_at: number; + created_at: string; /** * The guild of the invite */ diff --git a/gateway/common.ts b/gateway/common.ts index 1a784253..8041f8e0 100644 --- a/gateway/common.ts +++ b/gateway/common.ts @@ -4,5 +4,5 @@ export interface GatewayURLQuery { v: string; encoding: 'etf' | 'json'; - compress?: 'zlib-stream'; + compress?: 'zlib-stream' | 'zstd-stream'; } diff --git a/gateway/v10.ts b/gateway/v10.ts index 27f3d648..06deae89 100644 --- a/gateway/v10.ts +++ b/gateway/v10.ts @@ -1520,7 +1520,7 @@ export interface GatewayInviteCreateDispatchData { /** * The time at which the invite was created */ - created_at: number; + created_at: string; /** * The guild of the invite */ diff --git a/gateway/v9.ts b/gateway/v9.ts index 679ed737..10ef3812 100644 --- a/gateway/v9.ts +++ b/gateway/v9.ts @@ -1519,7 +1519,7 @@ export interface GatewayInviteCreateDispatchData { /** * The time at which the invite was created */ - created_at: number; + created_at: string; /** * The guild of the invite */