@xmpp/events
Advanced tools
Comparing version 0.6.1 to 0.7.0
@@ -14,2 +14,3 @@ 'use strict' | ||
} | ||
function onError(reason) { | ||
@@ -19,2 +20,3 @@ reject(reason) | ||
} | ||
function onEvent(value) { | ||
@@ -24,2 +26,3 @@ resolve(value) | ||
} | ||
EE.once(event, onEvent) | ||
@@ -26,0 +29,0 @@ if (rejectEvent) { |
@@ -7,3 +7,3 @@ { | ||
"bugs": "http://github.com/xmppjs/xmpp.js/issues", | ||
"version": "0.6.1", | ||
"version": "0.7.0", | ||
"license": "ISC", | ||
@@ -26,3 +26,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "d37522a745143b14f10bbcf71295ba095a771e06" | ||
"gitHead": "8d6ba3b99acb6d38e58da5144e8c54b1eb6e9d14" | ||
} |
3402