@cloudbase/app 2.0.0-alpha.2 → 2.0.0-alpha.3
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/package.json +3 -3
- package/src/constants/common.ts +6 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudbase/app",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.3",
|
|
4
4
|
"description": "cloudbase javascript sdk core",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@cloudbase/adapter-interface": "^0.4.0",
|
|
31
31
|
"@cloudbase/types": "^2.0.0-alpha.0",
|
|
32
|
-
"@cloudbase/utilities": "^2.0.0-alpha.
|
|
32
|
+
"@cloudbase/utilities": "^2.0.0-alpha.1",
|
|
33
33
|
"cloudbase-adapter-wx_mp": "0.2.0",
|
|
34
34
|
"uuid": "^8.3.2"
|
|
35
35
|
},
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"eslint --fix"
|
|
54
54
|
]
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "0e1adf418b1aa2f48569bcc61f493b8c3f600b2b"
|
|
57
57
|
}
|
package/src/constants/common.ts
CHANGED
|
@@ -25,9 +25,12 @@ export const DATA_VERSION = '2020-01-10';
|
|
|
25
25
|
/**
|
|
26
26
|
* request
|
|
27
27
|
*/
|
|
28
|
-
let PROTOCOL = typeof location !== 'undefined' && location.protocol === 'http:'
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
// let PROTOCOL = typeof location !== 'undefined' && location.protocol === 'http:'
|
|
29
|
+
// ? 'http:'
|
|
30
|
+
// : 'https:';
|
|
31
|
+
|
|
32
|
+
let PROTOCOL = 'https:'
|
|
33
|
+
|
|
31
34
|
let BASE_URL = typeof process !== 'undefined' && process.env.NODE_ENV === 'e2e' && process.env.END_POINT === 'pre'
|
|
32
35
|
? '//tcb-pre.tencentcloudapi.com/web'
|
|
33
36
|
: '//tcb-api.tencentcloudapi.com/web';
|