@cpzxrobot/sdk 1.3.16 → 1.3.17

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.
@@ -11,6 +11,7 @@ class MobilePlatform {
11
11
  // @ts-ignore
12
12
  this.platform = window.flutter_inappwebview;
13
13
  window.addEventListener('message', (event) => {
14
+ console.log("got message from flutter top", JSON.stringify(event));
14
15
  if (event.data == 'capturePort') {
15
16
  this.port = event.ports[0];
16
17
  if (this.port != null) {
@@ -16,6 +16,7 @@ export class MobilePlatform implements PlatformInterface {
16
16
  this.platform = window.flutter_inappwebview;
17
17
 
18
18
  window.addEventListener('message', (event) => {
19
+ console.log("got message from flutter top",JSON.stringify(event));
19
20
  if (event.data == 'capturePort') {
20
21
  this.port = event.ports[0];
21
22
  if (this.port != null) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cpzxrobot/sdk",
3
- "version": "1.3.16",
3
+ "version": "1.3.17",
4
4
  "description": "提供给上海正芯数智APP第三方H5应用使用的SDK",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {