@purpleschool/gptbot-tools 0.0.5 → 0.0.6

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/build/index.js CHANGED
@@ -40,7 +40,12 @@ exports.ToolService = void 0;
40
40
  __exportStar(require("./common"), exports);
41
41
  __exportStar(require("./paraphrase"), exports);
42
42
  __exportStar(require("./tools"), exports);
43
- const Common = __importStar(require("./common"));
44
- const Paraphrase = __importStar(require("./paraphrase"));
45
- const Tools = __importStar(require("./tools"));
46
- exports.ToolService = Object.assign(Object.assign(Object.assign({}, Common), Paraphrase), Tools);
43
+ const common = __importStar(require("./common"));
44
+ const paraphrase = __importStar(require("./paraphrase"));
45
+ const tools = __importStar(require("./tools"));
46
+ var ToolService;
47
+ (function (ToolService) {
48
+ ToolService.Common = common;
49
+ ToolService.Paraphrase = paraphrase;
50
+ ToolService.Tools = tools;
51
+ })(ToolService || (exports.ToolService = ToolService = {}));
package/index.ts CHANGED
@@ -2,12 +2,12 @@ export * from './common';
2
2
  export * from './paraphrase';
3
3
  export * from './tools';
4
4
 
5
- import * as Common from './common';
6
- import * as Paraphrase from './paraphrase';
7
- import * as Tools from './tools';
5
+ import * as common from './common';
6
+ import * as paraphrase from './paraphrase';
7
+ import * as tools from './tools';
8
8
 
9
- export const ToolService = {
10
- ...Common,
11
- ...Paraphrase,
12
- ...Tools,
13
- };
9
+ export namespace ToolService {
10
+ export import Common = common;
11
+ export import Paraphrase = paraphrase;
12
+ export import Tools = tools;
13
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/gptbot-tools",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "main": "build/index.js",
5
5
  "types": "build/index.d.ts",
6
6
  "scripts": {