@open-discord-bots/framework 0.4.2 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/api/main.js CHANGED
@@ -44,7 +44,7 @@ export class ODMain {
44
44
  constructor(managers, project) {
45
45
  this.project = project;
46
46
  this.versions = managers.versions;
47
- this.versions.add(ODVersion.fromString("opendiscord:api", "v0.4.2"));
47
+ this.versions.add(ODVersion.fromString("opendiscord:api", "v0.4.3"));
48
48
  this.versions.add(ODVersion.fromString("opendiscord:livestatus", "v2.0.0"));
49
49
  this.debugfile = managers.debugfile;
50
50
  this.console = managers.console;
@@ -1,8 +1,9 @@
1
1
  import * as api from "../api/index.js";
2
2
  import * as utilities from "../utilities/index.js";
3
- import { terminal } from "terminal-kit";
3
+ import terminalKit from "terminal-kit";
4
4
  import ansis from "ansis";
5
5
  import { renderHeader } from "./index.js";
6
+ const terminal = terminalKit.terminal;
6
7
  export class ODCliEditConfigInstance {
7
8
  opts;
8
9
  opendiscord;
@@ -1,5 +1,5 @@
1
1
  import * as api from "../api/index.js";
2
- import { Terminal } from "terminal-kit";
2
+ import terminalKit from "terminal-kit";
3
3
  import * as discord from "discord.js";
4
4
  export * from "./editConfig.js";
5
5
  /**## ODCliHeaderOpts `interface`
@@ -30,6 +30,6 @@ export declare function renderHeader(opts: ODCliHeaderOpts, path: (string | numb
30
30
  /**Execute/start the Interactive Setup CLI. Make sure no other processes disturb the flow. */
31
31
  export declare function execute(opts: ODCliHeaderOpts, renderEditConfig: ODCliStartFunction | null, renderQuickSetup: ODCliStartFunction | null): Promise<void>;
32
32
  /**A basic style template for select menu's in the interactive setup CLI. */
33
- export declare const autoCompleteMenuOpts: Terminal.SingleLineMenuOptions;
33
+ export declare const autoCompleteMenuOpts: terminalKit.Terminal.SingleLineMenuOptions;
34
34
  /**A set of preset colors to be used when auto-filling colors in the interactive setup CLI. */
35
35
  export declare const presetColors: Map<string, string>;
package/dist/cli/index.js CHANGED
@@ -1,6 +1,7 @@
1
- import { terminal } from "terminal-kit";
1
+ import terminalKit from "terminal-kit";
2
2
  import ansis from "ansis";
3
3
  import crypto from "crypto";
4
+ const terminal = terminalKit.terminal;
4
5
  export * from "./editConfig.js";
5
6
  /**A utility function to center text to a certain width. */
6
7
  export function centerText(text, width) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@open-discord-bots/framework",
3
3
  "author": "DJj123dj",
4
- "version": "0.4.2",
4
+ "version": "0.4.3",
5
5
  "description": "The core framework of the popular open-source discord bots: Open Ticket & Open Moderation.",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",