gdpr-guard
Advanced tools
Comparing version 1.3.2 to 2.0.0
@@ -1,2 +0,2 @@ | ||
import { GdprManager } from "../GdprManager"; | ||
import { GdprManagerRaw, GdprManager } from "../GdprManager"; | ||
declare type GdprManagerFactory = () => Promise<GdprManager>; | ||
@@ -7,4 +7,4 @@ interface GdprSavior { | ||
restoreOrCreate(factory: GdprManagerFactory): Promise<GdprManager>; | ||
store(manager: GdprManager): Promise<boolean>; | ||
storeIfNotExists(manager: GdprManager): Promise<boolean>; | ||
store(manager: GdprManagerRaw): Promise<boolean>; | ||
storeIfNotExists(manager: GdprManagerRaw): Promise<boolean>; | ||
updateSharedManager(manager: GdprManager): Promise<void>; | ||
@@ -15,6 +15,6 @@ check(): Promise<void>; | ||
abstract restore(shouldUpdate?: boolean): Promise<GdprManager | null>; | ||
abstract store(manager: GdprManager): Promise<boolean>; | ||
abstract store(manager: GdprManagerRaw): Promise<boolean>; | ||
abstract updateSharedManager(manager: GdprManager): Promise<void>; | ||
exists(shouldUpdate?: boolean): Promise<boolean>; | ||
storeIfNotExists(manager: GdprManager): Promise<boolean>; | ||
storeIfNotExists(manager: GdprManagerRaw): Promise<boolean>; | ||
restoreOrCreate(factory: GdprManagerFactory): Promise<GdprManager>; | ||
@@ -21,0 +21,0 @@ check(): Promise<void>; |
{ | ||
"name": "gdpr-guard", | ||
"version": "1.3.2", | ||
"version": "2.0.0", | ||
"author": "Voltra <ludwig.guerin.98@gmx.fr>", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/Voltra/gdpr-guard#readme", |
@@ -193,3 +193,3 @@ # gdpr-guard | ||
public abstract restore(shouldUpdate?: boolean): Promise<GdprManager|null>; | ||
public abstract store(manager: GdprManager): Promise<boolean>; | ||
public abstract store(manager: GdprManagerRaw): Promise<boolean>; | ||
public abstract updateSharedManager(manager: GdprManager): Promise<void>; | ||
@@ -214,4 +214,4 @@ } | ||
restoreOrCreate(factory: GdprManagerFactory): Promise<GdprManager>; | ||
store(manager: GdprManager): Promise<boolean>; | ||
storeIfNotExists(manager: GdprManager): Promise<boolean>; | ||
store(manager: GdprManagerRaw): Promise<boolean>; | ||
storeIfNotExists(manager: GdprManagerRaw): Promise<boolean>; | ||
updateSharedManager(manager: GdprManager): Promise<void>; | ||
@@ -218,0 +218,0 @@ check(): Promise<void>; |
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
4199706