@cpzxrobot/sdk 1.2.28 → 1.2.29

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/dist/index.js CHANGED
@@ -177,7 +177,7 @@ class Cpzxrobot {
177
177
  // @ts-ignore
178
178
  this.setProgress = window.miniapp.setProgress;
179
179
  }
180
- else if (domain == "appassets.androidplatform.net" ||
180
+ else if (domain == "appassets.androidplatform.net" || domain == "webc.cpzxrobot.com" ||
181
181
  this.isIosMiniApp(window.location)) {
182
182
  this.mode = "miniapp_in_app";
183
183
  const platform =
package/index.ts CHANGED
@@ -218,7 +218,7 @@ export class Cpzxrobot {
218
218
  // @ts-ignore
219
219
  this.setProgress = window.miniapp.setProgress;
220
220
  } else if (
221
- domain == "appassets.androidplatform.net" ||
221
+ domain == "appassets.androidplatform.net" || domain == "webc.cpzxrobot.com" ||
222
222
  this.isIosMiniApp(window.location)
223
223
  ) {
224
224
  this.mode = "miniapp_in_app";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cpzxrobot/sdk",
3
- "version": "1.2.28",
3
+ "version": "1.2.29",
4
4
  "description": "提供给上海正芯数智APP第三方H5应用使用的SDK",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {