From 9a3475f2c67368676546fa406c6aabe22107eab8 Mon Sep 17 00:00:00 2001 From: TriForMine Date: Wed, 23 Dec 2020 11:48:14 +0100 Subject: [PATCH] fix: export structure types and update zlib to latest (#270) * Update deps.ts * Fixing import for structures * Fix export * Fixes format --- src/api/structures/mod.ts | 7 +++++++ src/ws/deps.ts | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/api/structures/mod.ts b/src/api/structures/mod.ts index abbdea3b7..5ad8b97ba 100644 --- a/src/api/structures/mod.ts +++ b/src/api/structures/mod.ts @@ -27,3 +27,10 @@ export function updateStructures(newStructures: Structures) { ...newStructures, }; } + +export type { Channel } from "./channel.ts"; +export type { Guild } from "./guild.ts"; +export type { Member } from "./member.ts"; +export type { Message } from "./message.ts"; +export type { Role } from "./role.ts"; +export type { Template } from "./template.ts"; diff --git a/src/ws/deps.ts b/src/ws/deps.ts index 7a67c7808..d008f1cb6 100644 --- a/src/ws/deps.ts +++ b/src/ws/deps.ts @@ -1 +1 @@ -export { decompress_with as decompressWith } from "https://unpkg.com/@evan/wasm@0.0.22/target/zlib/deno.js"; +export { decompress_with as decompressWith } from "https://unpkg.com/@evan/wasm@0.0.25/target/zlib/deno.js";