@jswork/weibo-ckeditor-upload-adpater 1.0.11 → 1.0.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.
package/.ncurc.json ADDED
@@ -0,0 +1,5 @@
1
+ {
2
+ "upgrade": true,
3
+ "filter": "/^@jswork|@afeiship/",
4
+ "registry": "https://registry.npmjs.org"
5
+ }
@@ -2,10 +2,11 @@
2
2
  * name: @jswork/weibo-ckeditor-upload-adpater
3
3
  * description: Weibo ckeditor upload adapter.
4
4
  * homepage:
5
- * version: 1.0.11
6
- * date: 2024-02-20 10:16:37
5
+ * version: 1.0.13
6
+ * date: 2024-08-15 20:59:40
7
7
  * license: MIT
8
8
  */
9
+ import '@jswork/next-weibo-oss';
9
10
  import '@afeiship/next-leancloud-options';
10
11
  export default class {
11
12
  private loader;
package/dist/cjs/index.js CHANGED
@@ -3,8 +3,8 @@
3
3
  * name: @jswork/weibo-ckeditor-upload-adpater
4
4
  * description: Weibo ckeditor upload adapter.
5
5
  * homepage:
6
- * version: 1.0.11
7
- * date: 2024-02-20 10:16:37
6
+ * version: 1.0.13
7
+ * date: 2024-08-15 20:59:40
8
8
  * license: MIT
9
9
  */
10
10
  var __assign = (this && this.__assign) || function () {
@@ -23,7 +23,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
25
  var next_1 = __importDefault(require("@jswork/next"));
26
- var next_weibo_oss_1 = __importDefault(require("@jswork/next-weibo-oss"));
26
+ require("@jswork/next-weibo-oss");
27
27
  require("@afeiship/next-leancloud-options");
28
28
  var WEIBO_LC_ID = '60f768f6d9f1465d3b1d5c43';
29
29
  var fetch = window.fetch.bind(window);
@@ -60,7 +60,7 @@ var default_1 = /** @class */ (function () {
60
60
  var baseURL = this.options.baseURL;
61
61
  return new Promise(function (resolve) {
62
62
  _this.lcOpts.get().then(function (res) {
63
- _this.weiboOss = new next_weibo_oss_1.default(res.value, { baseURL: baseURL });
63
+ _this.weiboOss = new next_1.default.WeiboOss(res.value, { baseURL: baseURL });
64
64
  resolve(_this.weiboOss);
65
65
  });
66
66
  });
@@ -2,10 +2,11 @@
2
2
  * name: @jswork/weibo-ckeditor-upload-adpater
3
3
  * description: Weibo ckeditor upload adapter.
4
4
  * homepage:
5
- * version: 1.0.11
6
- * date: 2024-02-20 10:16:39
5
+ * version: 1.0.13
6
+ * date: 2024-08-15 20:59:42
7
7
  * license: MIT
8
8
  */
9
+ import '@jswork/next-weibo-oss';
9
10
  import '@afeiship/next-leancloud-options';
10
11
  export default class {
11
12
  private loader;
package/dist/esm/index.js CHANGED
@@ -2,8 +2,8 @@
2
2
  * name: @jswork/weibo-ckeditor-upload-adpater
3
3
  * description: Weibo ckeditor upload adapter.
4
4
  * homepage:
5
- * version: 1.0.11
6
- * date: 2024-02-20 10:16:39
5
+ * version: 1.0.13
6
+ * date: 2024-08-15 20:59:42
7
7
  * license: MIT
8
8
  */
9
9
  var __assign = (this && this.__assign) || function () {
@@ -18,7 +18,7 @@ var __assign = (this && this.__assign) || function () {
18
18
  return __assign.apply(this, arguments);
19
19
  };
20
20
  import nx from '@jswork/next';
21
- import NxWeiboOss from '@jswork/next-weibo-oss';
21
+ import '@jswork/next-weibo-oss';
22
22
  import '@afeiship/next-leancloud-options';
23
23
  var WEIBO_LC_ID = '60f768f6d9f1465d3b1d5c43';
24
24
  var fetch = window.fetch.bind(window);
@@ -55,7 +55,7 @@ var default_1 = /** @class */ (function () {
55
55
  var baseURL = this.options.baseURL;
56
56
  return new Promise(function (resolve) {
57
57
  _this.lcOpts.get().then(function (res) {
58
- _this.weiboOss = new NxWeiboOss(res.value, { baseURL: baseURL });
58
+ _this.weiboOss = new nx.WeiboOss(res.value, { baseURL: baseURL });
59
59
  resolve(_this.weiboOss);
60
60
  });
61
61
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jswork/weibo-ckeditor-upload-adpater",
3
- "version": "1.0.11",
3
+ "version": "1.0.13",
4
4
  "description": "Weibo ckeditor upload adapter.",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -15,7 +15,8 @@
15
15
  "@babel/core": "^7.14.3",
16
16
  "@babel/preset-env": "^7.14.2",
17
17
  "@babel/preset-typescript": "^7.13.0",
18
- "@jswork/gulp-pkg-header": "^1.0.4",
18
+ "@jswork/gulp-pkg-header": "^1.0.11",
19
+ "@jswork/next": "^1.2.4",
19
20
  "@types/jest": "^26.0.23",
20
21
  "babel-jest": "^27.0.1",
21
22
  "del": "^5.1.0",
@@ -38,9 +39,8 @@
38
39
  "registry": "https://registry.npmjs.org"
39
40
  },
40
41
  "dependencies": {
41
- "@afeiship/next-leancloud-options": "^1.0.13",
42
- "@jswork/next": "^1.1.5",
43
- "@jswork/next-weibo-oss": "^1.0.3"
42
+ "@afeiship/next-leancloud-options": "^1.0.17",
43
+ "@jswork/next-weibo-oss": "^1.1.3"
44
44
  },
45
45
  "keywords": [
46
46
  "weibo",