syttunnel 0.1.5-0 → 0.1.5-1

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/syttunnel.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "syttunnel",
3
- "version": "0.1.5-0",
3
+ "version": "0.1.5-1",
4
4
  "description": "",
5
5
  "main": "syttunnel.js",
6
6
  "types": "index.d.ts",
package/syttunnel.js CHANGED
@@ -463,7 +463,7 @@ var Bridge = /** @class */ (function () {
463
463
  Bridge.prototype.postMessage = function (params) {
464
464
  return new Promise(function (resolve, reject) {
465
465
  bridge.dealPostMessage(params, function (result) {
466
- if (result) {
466
+ if (result !== null && result !== undefined) {
467
467
  resolve(result);
468
468
  }
469
469
  else {