Skip to content

Commit

Permalink
chore: better export class and type
Browse files Browse the repository at this point in the history
  • Loading branch information
c43721 committed Nov 2, 2024
1 parent bb7a5b5 commit dd67f74
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"@std/cli": "jsr:@std/cli@^1.0.6",
"@std/io": "jsr:@std/io@^0.225.0"
},
"version": "0.0.3",
"version": "0.0.4",
"exports": "./mod.ts",
"publish": {
"include": ["README.md", "mod.ts", "src/"]
Expand Down
1 change: 1 addition & 0 deletions mod.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export * from "./src/rcon.ts";
export * from "./src/errors.ts";
export type { RconOptions } from "./src/types.ts";
2 changes: 1 addition & 1 deletion src/rcon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import type { RconOptions } from "./types.ts";
*
* Note the `using` will automatically disconnect and clean up the resources. You can call disconnect manually as well
*/
export default class Rcon {
export class Rcon {
#host: string;
#port: number;
#connection?: Socket;
Expand Down

0 comments on commit dd67f74

Please sign in to comment.