@cloudbase/lowcode-builder 1.8.37 → 1.8.38

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.
@@ -68,7 +68,7 @@ function patchBuildContext(ctx, calses, weapps) {
68
68
  return { allAppUsedComps };
69
69
  }
70
70
  async function generateWxMp({ buildContext, weapps, calses, plugins, deployOptions, options, buildTypeList, ignoreInstall = false, }) {
71
- var _a;
71
+ var _a, _b;
72
72
  const operationLabel = em('Wexin MiniProgram Generated');
73
73
  console.time(operationLabel);
74
74
  console.log(`Generating ${em('Wexin MiniProgram')} to ${buildContext.projDir}`);
@@ -196,7 +196,9 @@ async function generateWxMp({ buildContext, weapps, calses, plugins, deployOptio
196
196
  appID: appId,
197
197
  resourceAppid: !!options.isCrossAccount ? options.resourceAppId : '',
198
198
  isProd: (deployOptions === null || deployOptions === void 0 ? void 0 : deployOptions.mode) === types_1.DEPLOY_MODE.UPLOAD,
199
- clientID: (_a = mainAppData.extra) === null || _a === void 0 ? void 0 : _a.clientId,
199
+ clientID: ((_a = mainAppData.extra) === null || _a === void 0 ? void 0 : _a.enableLoginStatusShare)
200
+ ? mainAppData.envId
201
+ : (_b = mainAppData.extra) === null || _b === void 0 ? void 0 : _b.clientId,
200
202
  },
201
203
  'datasources/datasource-profiles.js.tpl': {
202
204
  datasourceProfiles: (0, util_3.JsonToStringWithVariableName)([], { EOL: false }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudbase/lowcode-builder",
3
- "version": "1.8.37",
3
+ "version": "1.8.38",
4
4
  "description": "云开发 Tencent CloudBase Framework Low Code Plugin,将低码配置生成完整项目并一键部署云开发资源。",
5
5
  "author": "yhsunshining@gmail.com",
6
6
  "homepage": "https://github.com/TencentCloudBase/cloudbase-framework#readme",
@@ -41,8 +41,8 @@
41
41
  "dependencies": {
42
42
  "@babel/core": "7.12.3",
43
43
  "@babel/preset-env": "7.12.1",
44
- "@cloudbase/cals": "^1.0.25",
45
- "@cloudbase/lowcode-generator": "^1.8.13",
44
+ "@cloudbase/cals": "^1.0.27",
45
+ "@cloudbase/lowcode-generator": "^1.8.14",
46
46
  "axios": "^0.21.0",
47
47
  "browserfs": "^1.4.3",
48
48
  "browserify-zlib": "^0.2.0",
@@ -540,7 +540,7 @@
540
540
  crossorigin
541
541
  src="<%=
542
542
  cdnEndpoints.cdngo
543
- %>/lcap/lcap-resource-cdngo/-/0.1.4/_files/static/weda-render/main.6f7cc6eededb826a73c7.bundle.js"
543
+ %>/lcap/lcap-resource-cdngo/-/0.1.4/_files/static/weda-render/main.688ae2e72c62a162dbdd.bundle.js"
544
544
  ></script>
545
545
  </body>
546
546
  </html>