@nocobase/plugin-license 2.1.0-beta.42 → 2.1.0-beta.43
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/externalVersion.js
CHANGED
|
@@ -9,19 +9,19 @@
|
|
|
9
9
|
|
|
10
10
|
module.exports = {
|
|
11
11
|
"react": "18.2.0",
|
|
12
|
-
"@nocobase/client": "2.1.0-beta.
|
|
12
|
+
"@nocobase/client": "2.1.0-beta.43",
|
|
13
13
|
"antd": "5.24.2",
|
|
14
14
|
"ahooks": "3.7.8",
|
|
15
15
|
"@ant-design/icons": "5.6.1",
|
|
16
16
|
"@formily/react": "2.3.7",
|
|
17
17
|
"@nocobase/license-kit": "0.3.8",
|
|
18
18
|
"react-i18next": "11.18.6",
|
|
19
|
-
"@nocobase/flow-engine": "2.1.0-beta.
|
|
20
|
-
"@nocobase/client-v2": "2.1.0-beta.
|
|
21
|
-
"@nocobase/server": "2.1.0-beta.
|
|
19
|
+
"@nocobase/flow-engine": "2.1.0-beta.43",
|
|
20
|
+
"@nocobase/client-v2": "2.1.0-beta.43",
|
|
21
|
+
"@nocobase/server": "2.1.0-beta.43",
|
|
22
22
|
"lodash": "4.18.1",
|
|
23
|
-
"@nocobase/utils": "2.1.0-beta.
|
|
23
|
+
"@nocobase/utils": "2.1.0-beta.43",
|
|
24
24
|
"koa": "3.2.0",
|
|
25
25
|
"axios": "1.7.7",
|
|
26
|
-
"@nocobase/logger": "2.1.0-beta.
|
|
26
|
+
"@nocobase/logger": "2.1.0-beta.43"
|
|
27
27
|
};
|
package/dist/server/utils/pkg.js
CHANGED
|
@@ -80,6 +80,7 @@ async function testPkgConnection() {
|
|
|
80
80
|
}
|
|
81
81
|
async function testPkgLogin(keyData) {
|
|
82
82
|
try {
|
|
83
|
+
const timeout = 1e4;
|
|
83
84
|
const NOCOBASE_PKG_URL = getNocoBasePkgUrl();
|
|
84
85
|
const { accessKeyId, accessKeySecret } = keyData || {};
|
|
85
86
|
if (!accessKeyId || !accessKeySecret) {
|
|
@@ -87,7 +88,8 @@ async function testPkgLogin(keyData) {
|
|
|
87
88
|
}
|
|
88
89
|
const credentials = { username: accessKeyId, password: accessKeySecret };
|
|
89
90
|
const res1 = await import_axios.default.post(`${NOCOBASE_PKG_URL}-/verdaccio/sec/login`, credentials, {
|
|
90
|
-
responseType: "json"
|
|
91
|
+
responseType: "json",
|
|
92
|
+
timeout
|
|
91
93
|
});
|
|
92
94
|
const token = res1.data.token;
|
|
93
95
|
if (!token) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/plugin-license",
|
|
3
|
-
"version": "2.1.0-beta.
|
|
3
|
+
"version": "2.1.0-beta.43",
|
|
4
4
|
"main": "dist/server/index.js",
|
|
5
5
|
"displayName": "License settings",
|
|
6
6
|
"displayName.ru-RU": "Настройки лицензии",
|
|
@@ -18,5 +18,5 @@
|
|
|
18
18
|
"ts:env": "tsc -p tsconfig.env.json"
|
|
19
19
|
},
|
|
20
20
|
"license": "Apache-2.0",
|
|
21
|
-
"gitHead": "
|
|
21
|
+
"gitHead": "6d7750e2373bf2451d246de88cc1f62491685e18"
|
|
22
22
|
}
|