From 6999d6ec4aa33adc953080d0b8a76aef5a721389 Mon Sep 17 00:00:00 2001 From: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com> Date: Thu, 18 Jul 2024 18:24:10 -0500 Subject: [PATCH] package.json --- packages/publisher/index.ts | 6 +++--- packages/publisher/package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/publisher/index.ts b/packages/publisher/index.ts index 1d3e135..a5f9785 100644 --- a/packages/publisher/index.ts +++ b/packages/publisher/index.ts @@ -1,4 +1,4 @@ -import type { Init, CommandModule, Emitter, Logging } from '@sern/handler' +import type { Init, Emitter, Logging, Module, CommandModule } from '@sern/handler' import { controller, CommandInitPlugin, CommandType } from '@sern/handler' import { writeFile } from 'node:fs/promises'; import { inspect } from 'node:util'; @@ -41,7 +41,7 @@ const BASE_URL = new URL('https://discord.com/api/v10/applications/'); const PUBLISHABLE = 0b1110; export class Publisher implements Init { - constructor(private modules: Map, + constructor(private modules: Map, private sernEmitter : Emitter, private logger: Logging) {} @@ -119,7 +119,7 @@ export class Publisher implements Init { this.logger.info({ message: inspect(globalJsonBody, false, Infinity ) }) //todo: implement rate limiting } - const guildIdMap: Map = new Map(); + const guildIdMap: Map = new Map(); const responsesMap = new Map(); guildedCommands.forEach((entry) => { const guildIds: string[] = entry.guildIds ?? []; diff --git a/packages/publisher/package.json b/packages/publisher/package.json index c0d57da..e8ebb31 100644 --- a/packages/publisher/package.json +++ b/packages/publisher/package.json @@ -1,6 +1,6 @@ { "name": "@sern/publisher", - "version": "1.1.0", + "version": "1.1.1", "description": "Localizer", "main": "dist/index.js", "scripts": {