Skip to content

Commit

Permalink
package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoobes committed Jul 18, 2024
1 parent 9787fed commit 6999d6e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions packages/publisher/index.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -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<string, CommandModule>,
constructor(private modules: Map<string, Module>,
private sernEmitter : Emitter,
private logger: Logging) {}

Expand Down Expand Up @@ -119,7 +119,7 @@ export class Publisher implements Init {
this.logger.info({ message: inspect(globalJsonBody, false, Infinity ) })
//todo: implement rate limiting
}
const guildIdMap: Map<string, CommandModule[]> = new Map();
const guildIdMap: Map<string, Module[]> = new Map();
const responsesMap = new Map();
guildedCommands.forEach((entry) => {
const guildIds: string[] = entry.guildIds ?? [];
Expand Down
2 changes: 1 addition & 1 deletion packages/publisher/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sern/publisher",
"version": "1.1.0",
"version": "1.1.1",
"description": "Localizer",
"main": "dist/index.js",
"scripts": {
Expand Down

0 comments on commit 6999d6e

Please sign in to comment.