Comparing version 0.1.29 to 0.1.30
@@ -433,9 +433,9 @@ 'use strict' | ||
* @param cb | ||
* @param option: option for browser EventListener | ||
* @param options: option for browser EventListener | ||
* @constructor | ||
*/ | ||
On(event, cb, option) { | ||
On(event, cb, options) { | ||
try { | ||
if(!ConnectionEvent.allowed.includes(event)) throw `Invalid event: ${event}`; | ||
if(Util.IsBrowser()) this.eventEmitter.addEventListener(event, cb, option); | ||
if(Util.IsBrowser()) this.eventEmitter.addEventListener(event, cb, options); | ||
else this.eventEmitter.on(event, cb); | ||
@@ -442,0 +442,0 @@ } catch (e) { |
{ | ||
"name": "guardee", | ||
"version": "0.1.29", | ||
"version": "0.1.30", | ||
"description": "Guardee Wallet API", | ||
@@ -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
74400