promise-connection
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -30,3 +30,3 @@ var PC = require('../index'); | ||
delete connection._connecting; | ||
delete connection._pending['connect']; | ||
delete connection._pending.connect; | ||
return connection; | ||
@@ -76,3 +76,4 @@ }); | ||
} | ||
return connection.connected; | ||
return connection.connected | ||
.then(function() {}); | ||
} | ||
@@ -164,3 +165,3 @@ if (data._type === 'invoke') { | ||
var clearPending = function(id) { | ||
delete this._pending[id] | ||
delete this._pending[id]; | ||
}.bind(this, data._id); | ||
@@ -174,3 +175,3 @@ | ||
data.args = this.serialize(data.args); | ||
} | ||
} | ||
@@ -177,0 +178,0 @@ var result = new Promise(function(resolve, reject) { |
{ | ||
"name": "promise-connection", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Promise/A+ utilities for abstracting remote window requests on message ports.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24692
660