node-karin 0.8.10 → 0.8.13

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.
Files changed (42) hide show
  1. package/lib/adapter/index.d.ts +0 -2
  2. package/lib/adapter/index.js +0 -2
  3. package/lib/adapter/input/index.js +8 -4
  4. package/lib/cli/karin.js +2 -1
  5. package/lib/core/karin.d.ts +37 -4
  6. package/lib/core/karin.js +35 -4
  7. package/lib/core/listener.d.ts +2 -1
  8. package/lib/core/listener.js +23 -2
  9. package/lib/core/plugin.app.d.ts +1 -0
  10. package/lib/core/plugin.app.js +1 -0
  11. package/lib/core/plugin.d.ts +2 -2
  12. package/lib/core/plugin.loader.js +1 -3
  13. package/lib/core/server.d.ts +1 -1
  14. package/lib/core/server.js +0 -3
  15. package/lib/index.d.ts +0 -1
  16. package/lib/index.js +0 -1
  17. package/lib/render/client.d.ts +2 -2
  18. package/lib/render/client.js +1 -1
  19. package/lib/types/event/event.d.ts +13 -1
  20. package/lib/types/event/notice.d.ts +1 -1
  21. package/lib/types/event/notice.js +2 -1
  22. package/lib/types/event/request.d.ts +1 -1
  23. package/lib/types/event/request.js +2 -1
  24. package/lib/types/plugin.d.ts +13 -4
  25. package/lib/utils/common.d.ts +1 -1
  26. package/lib/utils/common.js +5 -1
  27. package/lib/utils/config.js +3 -1
  28. package/lib/utils/handler.d.ts +2 -2
  29. package/lib/utils/init.js +1 -3
  30. package/package.json +7 -6
  31. package/lib/adapter/kritor/grpc.d.ts +0 -33
  32. package/lib/adapter/kritor/grpc.js +0 -997
  33. package/lib/adapter/kritor/index.d.ts +0 -411
  34. package/lib/adapter/kritor/index.js +0 -1188
  35. package/lib/modules/grpc-js.d.ts +0 -2
  36. package/lib/modules/grpc-js.js +0 -2
  37. package/lib/modules/kritor-proto.d.ts +0 -2
  38. package/lib/modules/kritor-proto.js +0 -2
  39. package/lib/modules/proto-loader.d.ts +0 -2
  40. package/lib/modules/proto-loader.js +0 -2
  41. package/modules.d.ts +0 -15
  42. package/modules.js +0 -15
@@ -1,2 +0,0 @@
1
- export * from '@grpc/grpc-js';
2
- export { default } from '@grpc/grpc-js';
@@ -1,2 +0,0 @@
1
- export * from '@grpc/grpc-js'
2
- export { default } from '@grpc/grpc-js'
@@ -1,2 +0,0 @@
1
- export * from 'kritor-proto';
2
- export { default } from 'kritor-proto';
@@ -1,2 +0,0 @@
1
- export * from 'kritor-proto'
2
- export { default } from 'kritor-proto'
@@ -1,2 +0,0 @@
1
- export * from '@grpc/proto-loader';
2
- export { default } from '@grpc/proto-loader';
@@ -1,2 +0,0 @@
1
- export * from '@grpc/proto-loader'
2
- export { default } from '@grpc/proto-loader'
package/modules.d.ts DELETED
@@ -1,15 +0,0 @@
1
- import fs from 'fs';
2
- import path from 'path';
3
- import ws from 'ws';
4
- import moment from 'moment';
5
- import lodash from 'lodash';
6
- import express from 'express';
7
- import axios from 'axios';
8
- import chalk from 'chalk';
9
- import chokidar from 'chokidar';
10
- import { Level as level } from 'level';
11
- import schedule from 'node-schedule';
12
- import yaml from 'yaml';
13
- import log4js from 'log4js';
14
- import art_template from 'art-template';
15
- export { fs, ws, path, axios, lodash, moment, express, chalk, chokidar, level, schedule, yaml, log4js, art_template, };
package/modules.js DELETED
@@ -1,15 +0,0 @@
1
- import fs from 'fs';
2
- import path from 'path';
3
- import ws from 'ws';
4
- import moment from 'moment';
5
- import lodash from 'lodash';
6
- import express from 'express';
7
- import axios from 'axios';
8
- import chalk from 'chalk';
9
- import chokidar from 'chokidar';
10
- import { Level as level } from 'level';
11
- import schedule from 'node-schedule';
12
- import yaml from 'yaml';
13
- import log4js from 'log4js';
14
- import art_template from 'art-template';
15
- export { fs, ws, path, axios, lodash, moment, express, chalk, chokidar, level, schedule, yaml, log4js, art_template, };