From 7099b88ea564d0918d07476c610f0942c8fabf47 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Sat, 6 Feb 2021 21:39:23 +0100 Subject: :wrench: build --- dist/Schema/Identify.d.ts | 4 ++-- dist/Schema/Identify.js | 4 ++-- dist/Schema/Identify.js.map | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'dist/Schema') diff --git a/dist/Schema/Identify.d.ts b/dist/Schema/Identify.d.ts index a7fa5b23..750f2871 100644 --- a/dist/Schema/Identify.d.ts +++ b/dist/Schema/Identify.d.ts @@ -1,12 +1,12 @@ import { ActivitySchema } from "./Activity"; export declare const IdentifySchema: { token: StringConstructor; - properties: { + intents: BigIntConstructor; + $properties: { $$os: StringConstructor; $$browser: StringConstructor; $$device: StringConstructor; }; - intents: BigIntConstructor; $presence: { afk: BooleanConstructor; status: StringConstructor; diff --git a/dist/Schema/Identify.js b/dist/Schema/Identify.js index 9686a4d0..3cc343c8 100644 --- a/dist/Schema/Identify.js +++ b/dist/Schema/Identify.js @@ -4,13 +4,13 @@ exports.IdentifySchema = void 0; const Activity_1 = require("./Activity"); exports.IdentifySchema = { token: String, - properties: { + intents: BigInt, + $properties: { // bruh discord really uses $ in the property key, so we need to double prefix it, because instanceOf treats $ (prefix) as a optional key $$os: String, $$browser: String, $$device: String, }, - intents: BigInt, $presence: Activity_1.ActivitySchema, $compress: Boolean, $large_threshold: Number, diff --git a/dist/Schema/Identify.js.map b/dist/Schema/Identify.js.map index 0feb6baa..857fd9c1 100644 --- a/dist/Schema/Identify.js.map +++ b/dist/Schema/Identify.js.map @@ -1 +1 @@ -{"version":3,"file":"Identify.js","sourceRoot":"","sources":["../../src/Schema/Identify.ts"],"names":[],"mappings":";;;AAAA,yCAA4C;AAE/B,QAAA,cAAc,GAAG;IAC7B,KAAK,EAAE,MAAM;IACb,UAAU,EAAE;QACX,yIAAyI;QACzI,IAAI,EAAE,MAAM;QACZ,SAAS,EAAE,MAAM;QACjB,QAAQ,EAAE,MAAM;KAChB;IACD,OAAO,EAAE,MAAM;IACf,SAAS,EAAE,yBAAc;IACzB,SAAS,EAAE,OAAO;IAClB,gBAAgB,EAAE,MAAM;IACxB,MAAM,EAAE,CAAC,MAAM,CAAC;IAChB,oBAAoB,EAAE,OAAO;CAC7B,CAAC"} \ No newline at end of file +{"version":3,"file":"Identify.js","sourceRoot":"","sources":["../../src/Schema/Identify.ts"],"names":[],"mappings":";;;AAAA,yCAA4C;AAE/B,QAAA,cAAc,GAAG;IAC7B,KAAK,EAAE,MAAM;IACb,OAAO,EAAE,MAAM;IACf,WAAW,EAAE;QACZ,yIAAyI;QACzI,IAAI,EAAE,MAAM;QACZ,SAAS,EAAE,MAAM;QACjB,QAAQ,EAAE,MAAM;KAChB;IACD,SAAS,EAAE,yBAAc;IACzB,SAAS,EAAE,OAAO;IAClB,gBAAgB,EAAE,MAAM;IACxB,MAAM,EAAE,CAAC,MAAM,CAAC;IAChB,oBAAoB,EAAE,OAAO;CAC7B,CAAC"} \ No newline at end of file -- cgit 1.5.1