@serverless-devs/load-component 0.0.9-beta.1 → 0.0.9-beta.2

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/constant.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const BASE_URL = "https://api.devsapp.cn/v3";
1
+ export declare const BASE_URL: any;
2
2
  export declare const PROVIDER = "devsapp/";
package/lib/constant.js CHANGED
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PROVIDER = exports.BASE_URL = void 0;
4
- exports.BASE_URL = 'https://api.devsapp.cn/v3';
4
+ const utils_1 = require("@serverless-devs/utils");
5
+ exports.BASE_URL = (0, utils_1.getGlobalConfig)('registry', 'https://api.devsapp.cn/v3');
5
6
  exports.PROVIDER = 'devsapp/';
6
7
  //# sourceMappingURL=constant.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constant.js","sourceRoot":"","sources":["../src/constant.ts"],"names":[],"mappings":";;;AAAa,QAAA,QAAQ,GAAG,2BAA2B,CAAC;AACvC,QAAA,QAAQ,GAAG,UAAU,CAAC"}
1
+ {"version":3,"file":"constant.js","sourceRoot":"","sources":["../src/constant.ts"],"names":[],"mappings":";;;AAAA,kDAAyD;AAE5C,QAAA,QAAQ,GAAG,IAAA,uBAAe,EAAC,UAAU,EAAE,2BAA2B,CAAC,CAAC;AACpE,QAAA,QAAQ,GAAG,UAAU,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serverless-devs/load-component",
3
- "version": "0.0.9-beta.1",
3
+ "version": "0.0.9-beta.2",
4
4
  "description": "request for serverless-devs",
5
5
  "main": "lib/index.js",
6
6
  "author": "xsahxl",