@browser-storage/core
Advanced tools
Comparing version 0.0.1-beta.2 to 0.0.1-beta.3
@@ -336,2 +336,4 @@ 'use strict'; | ||
this._handlerStore.add(fn); | ||
return () => this.removeEventListener(fn); | ||
} | ||
@@ -338,0 +340,0 @@ |
@@ -118,2 +118,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
this._handlerStore.add(fn); | ||
return () => this.removeEventListener(fn); | ||
} | ||
@@ -120,0 +121,0 @@ removeEventListener(fn) { |
@@ -24,3 +24,3 @@ import { BrowserStorageOptions, Driver } from '@browser-storage/typings'; | ||
destroy(): Promise<void>; | ||
addEventListener(fn: HandlerFn): void; | ||
addEventListener(fn: HandlerFn): () => any; | ||
removeEventListener(fn: HandlerFn): void; | ||
@@ -27,0 +27,0 @@ private _triggerEvent; |
@@ -345,2 +345,4 @@ var BrowserStorageEventTypes; | ||
this._handlerStore.add(fn); | ||
return () => this.removeEventListener(fn); | ||
} | ||
@@ -347,0 +349,0 @@ |
{ | ||
"name": "@browser-storage/core", | ||
"description": "Browser storage core", | ||
"version": "0.0.1-beta.2", | ||
"version": "0.0.1-beta.3", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "source": "dist-src/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
37501
1115