@dcloudio/uni-cli-shared 3.0.0-alpha-3050220220715001 → 3.0.0-alpha-3050220220719002

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.
@@ -91,12 +91,12 @@ function initUniStatistics(manifestJson) {
91
91
  manifestJson.plus.uniStatistics = (0, merge_1.recursive)(true, manifestJson.uniStatistics, manifestJson.plus.uniStatistics);
92
92
  delete manifestJson.uniStatistics;
93
93
  }
94
- if (!process.env.UNI_CLOUD_SPACES) {
94
+ if (!process.env.UNI_CLOUD_PROVIDER) {
95
95
  return;
96
96
  }
97
97
  let spaces = [];
98
98
  try {
99
- spaces = JSON.parse(process.env.UNI_CLOUD_SPACES);
99
+ spaces = JSON.parse(process.env.UNI_CLOUD_PROVIDER);
100
100
  }
101
101
  catch (e) { }
102
102
  if (!(0, shared_1.isArray)(spaces) || !spaces.length) {
@@ -116,9 +116,9 @@ function initUniStatistics(manifestJson) {
116
116
  }
117
117
  uniStatistics.uniCloud = {
118
118
  provider: space.provider,
119
- spaceId: space.id,
119
+ spaceId: space.spaceId,
120
120
  clientSecret: space.clientSecret,
121
- endpoint: space.apiEndpoint,
121
+ endpoint: space.endpoint,
122
122
  };
123
123
  }
124
124
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcloudio/uni-cli-shared",
3
- "version": "3.0.0-alpha-3050220220715001",
3
+ "version": "3.0.0-alpha-3050220220719002",
4
4
  "description": "@dcloudio/uni-cli-shared",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -22,8 +22,8 @@
22
22
  "@babel/core": "^7.17.9",
23
23
  "@babel/parser": "^7.17.9",
24
24
  "@babel/types": "^7.17.0",
25
- "@dcloudio/uni-i18n": "3.0.0-alpha-3050220220715001",
26
- "@dcloudio/uni-shared": "3.0.0-alpha-3050220220715001",
25
+ "@dcloudio/uni-i18n": "3.0.0-alpha-3050220220719002",
26
+ "@dcloudio/uni-shared": "3.0.0-alpha-3050220220719002",
27
27
  "@intlify/core-base": "9.1.9",
28
28
  "@intlify/shared": "9.1.9",
29
29
  "@intlify/vue-devtools": "9.1.9",