@nocobase/plugin-notifications 0.7.7-alpha.1 → 0.8.0-alpha.11

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/lib/server.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  import { Plugin } from '@nocobase/server';
2
2
  export default class PluginNotifications extends Plugin {
3
3
  load(): Promise<void>;
4
- getName(): string;
5
4
  }
package/lib/server.js CHANGED
@@ -5,20 +5,20 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
 
8
- function _path() {
9
- const data = _interopRequireDefault(require("path"));
8
+ function _server() {
9
+ const data = require("@nocobase/server");
10
10
 
11
- _path = function _path() {
11
+ _server = function _server() {
12
12
  return data;
13
13
  };
14
14
 
15
15
  return data;
16
16
  }
17
17
 
18
- function _server() {
19
- const data = require("@nocobase/server");
18
+ function _path() {
19
+ const data = _interopRequireDefault(require("path"));
20
20
 
21
- _server = function _server() {
21
+ _path = function _path() {
22
22
  return data;
23
23
  };
24
24
 
@@ -42,10 +42,6 @@ class PluginNotifications extends _server().Plugin {
42
42
  })();
43
43
  }
44
44
 
45
- getName() {
46
- return this.getPackageName(__dirname);
47
- }
48
-
49
45
  }
50
46
 
51
47
  exports.default = PluginNotifications;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocobase/plugin-notifications",
3
- "version": "0.7.7-alpha.1",
3
+ "version": "0.8.0-alpha.11",
4
4
  "main": "lib/index.js",
5
5
  "license": "Apache-2.0",
6
6
  "licenses": [
@@ -13,9 +13,9 @@
13
13
  "nodemailer": "^6.6.1"
14
14
  },
15
15
  "devDependencies": {
16
- "@nocobase/test": "0.7.7-alpha.1",
16
+ "@nocobase/test": "0.8.0-alpha.11",
17
17
  "@types/nodemailer": "6.4.4",
18
18
  "nodemailer-mock": "^1.5.11"
19
19
  },
20
- "gitHead": "f82374e6f9daaf71ba63eaf156468ea7ddc042da"
20
+ "gitHead": "5c5379e33b9d6f30ca1c45a95504a46b2b878d8c"
21
21
  }