@nocobase/plugin-api-keys 0.13.0-alpha.8 → 0.14.0-alpha.1

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/client.d.ts CHANGED
@@ -1,4 +1,3 @@
1
1
  // @ts-nocheck
2
2
  export * from './dist/client';
3
3
  export { default } from './dist/client';
4
-
package/client.js CHANGED
@@ -1,30 +1,65 @@
1
- "use strict";
1
+ 'use strict';
2
2
 
3
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
3
+ function _getRequireWildcardCache(nodeInterop) {
4
+ if (typeof WeakMap !== 'function') return null;
5
+ var cacheBabelInterop = new WeakMap();
6
+ var cacheNodeInterop = new WeakMap();
7
+ return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) {
8
+ return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
9
+ })(nodeInterop);
10
+ }
4
11
 
5
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
12
+ function _interopRequireWildcard(obj, nodeInterop) {
13
+ if (!nodeInterop && obj && obj.__esModule) {
14
+ return obj;
15
+ }
16
+ if (obj === null || (typeof obj !== 'object' && typeof obj !== 'function')) {
17
+ return { default: obj };
18
+ }
19
+ var cache = _getRequireWildcardCache(nodeInterop);
20
+ if (cache && cache.has(obj)) {
21
+ return cache.get(obj);
22
+ }
23
+ var newObj = {};
24
+ var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
25
+ for (var key in obj) {
26
+ if (key !== 'default' && Object.prototype.hasOwnProperty.call(obj, key)) {
27
+ var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
28
+ if (desc && (desc.get || desc.set)) {
29
+ Object.defineProperty(newObj, key, desc);
30
+ } else {
31
+ newObj[key] = obj[key];
32
+ }
33
+ }
34
+ }
35
+ newObj.default = obj;
36
+ if (cache) {
37
+ cache.set(obj, newObj);
38
+ }
39
+ return newObj;
40
+ }
6
41
 
7
- var _index = _interopRequireWildcard(require("./dist/client"));
42
+ var _index = _interopRequireWildcard(require('./dist/client'));
8
43
 
9
- Object.defineProperty(exports, "__esModule", {
10
- value: true
44
+ Object.defineProperty(exports, '__esModule', {
45
+ value: true,
11
46
  });
12
47
  var _exportNames = {};
13
- Object.defineProperty(exports, "default", {
48
+ Object.defineProperty(exports, 'default', {
14
49
  enumerable: true,
15
50
  get: function get() {
16
51
  return _index.default;
17
- }
52
+ },
18
53
  });
19
54
 
20
55
  Object.keys(_index).forEach(function (key) {
21
- if (key === "default" || key === "__esModule") return;
56
+ if (key === 'default' || key === '__esModule') return;
22
57
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
23
58
  if (key in exports && exports[key] === _index[key]) return;
24
59
  Object.defineProperty(exports, key, {
25
60
  enumerable: true,
26
61
  get: function get() {
27
62
  return _index[key];
28
- }
63
+ },
29
64
  });
30
65
  });
@@ -0,0 +1,13 @@
1
+ module.exports = {
2
+ "@nocobase/client": "0.14.0-alpha.1",
3
+ "react": "18.2.0",
4
+ "@nocobase/database": "0.14.0-alpha.1",
5
+ "@nocobase/server": "0.14.0-alpha.1",
6
+ "@formily/react": "2.2.27",
7
+ "dayjs": "1.11.9",
8
+ "ahooks": "3.7.8",
9
+ "antd": "5.8.6",
10
+ "@formily/shared": "2.2.27",
11
+ "react-i18next": "11.18.6",
12
+ "@nocobase/actions": "0.14.0-alpha.1"
13
+ };
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@nocobase/plugin-api-keys",
3
3
  "displayName": "API keys",
4
- "displayName.zh-CN": "API 秘钥",
5
- "description": "Allow users to use API key to access NocoBase server API",
6
- "description.zh-CN": "允许用户使用 API key 访问 NocoBase server API",
7
- "version": "0.13.0-alpha.8",
4
+ "displayName.zh-CN": "API 密钥",
5
+ "description": "Allows users to use API key to access NocoBase HTTP API",
6
+ "description.zh-CN": "允许用户使用 API 密钥访问 NocoBase HTTP API",
7
+ "version": "0.14.0-alpha.1",
8
8
  "license": "AGPL-3.0",
9
9
  "main": "./dist/server/index.js",
10
10
  "devDependencies": {
@@ -27,5 +27,5 @@
27
27
  "@nocobase/test": "0.x",
28
28
  "@nocobase/utils": "0.x"
29
29
  },
30
- "gitHead": "6c28d05da2fa88cf12473538a77dd4cce717f8f1"
30
+ "gitHead": "25841167f720207933dd49fde3b4e426048ce258"
31
31
  }
package/server.d.ts CHANGED
File without changes
package/server.js CHANGED
File without changes