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.
- package/package.json +1 -1
- package/syttunnel.js +1 -1
package/package.json
CHANGED
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 {
|