@jmondi/browser-storage
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -1,2 +0,2 @@ | ||
export { LocalStorageService } from "./local_storage"; | ||
export { SessionStorageService } from "./session_storage"; | ||
export { LocalStorage } from "./local_storage"; | ||
export { SessionStorage } from "./session_storage"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SessionStorageService = exports.LocalStorageService = void 0; | ||
exports.SessionStorage = exports.LocalStorage = void 0; | ||
var local_storage_1 = require("./local_storage"); | ||
Object.defineProperty(exports, "LocalStorageService", { enumerable: true, get: function () { return local_storage_1.LocalStorageService; } }); | ||
Object.defineProperty(exports, "LocalStorage", { enumerable: true, get: function () { return local_storage_1.LocalStorage; } }); | ||
var session_storage_1 = require("./session_storage"); | ||
Object.defineProperty(exports, "SessionStorageService", { enumerable: true, get: function () { return session_storage_1.SessionStorageService; } }); | ||
Object.defineProperty(exports, "SessionStorage", { enumerable: true, get: function () { return session_storage_1.SessionStorage; } }); | ||
//# sourceMappingURL=index.js.map |
@@ -1,4 +0,4 @@ | ||
export declare class LocalStorageService { | ||
export declare class LocalStorage { | ||
private readonly storagePrefix; | ||
constructor(storagePrefix: string); | ||
constructor(storagePrefix?: string); | ||
get<T>(key: string): T | null; | ||
@@ -5,0 +5,0 @@ set(key: string, value: any): boolean; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.LocalStorageService = void 0; | ||
class LocalStorageService { | ||
exports.LocalStorage = void 0; | ||
class LocalStorage { | ||
storagePrefix; | ||
constructor(storagePrefix) { | ||
constructor(storagePrefix = "@jmondi.") { | ||
this.storagePrefix = storagePrefix; | ||
@@ -41,3 +41,3 @@ } | ||
} | ||
exports.LocalStorageService = LocalStorageService; | ||
exports.LocalStorage = LocalStorage; | ||
//# sourceMappingURL=local_storage.js.map |
@@ -1,4 +0,4 @@ | ||
export declare class SessionStorageService { | ||
export declare class SessionStorage { | ||
private readonly storagePrefix; | ||
constructor(storagePrefix: string); | ||
constructor(storagePrefix?: string); | ||
get<T>(key: string): T | null; | ||
@@ -5,0 +5,0 @@ set(key: string, value: any): boolean; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SessionStorageService = void 0; | ||
class SessionStorageService { | ||
exports.SessionStorage = void 0; | ||
class SessionStorage { | ||
storagePrefix; | ||
constructor(storagePrefix) { | ||
constructor(storagePrefix = "@jmondi.") { | ||
this.storagePrefix = storagePrefix; | ||
@@ -41,3 +41,3 @@ } | ||
} | ||
exports.SessionStorageService = SessionStorageService; | ||
exports.SessionStorage = SessionStorage; | ||
//# sourceMappingURL=session_storage.js.map |
{ | ||
"name": "@jmondi/browser-storage", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"author": "Jason Raimondi <jason@raimondi.us>", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -1,2 +0,2 @@ | ||
export { LocalStorageService } from "./local_storage"; | ||
export { SessionStorageService } from "./session_storage"; | ||
export { LocalStorage } from "./local_storage"; | ||
export { SessionStorage } from "./session_storage"; |
@@ -1,3 +0,3 @@ | ||
export class LocalStorageService { | ||
constructor(private readonly storagePrefix: string) { | ||
export class LocalStorage { | ||
constructor(private readonly storagePrefix: string = "@jmondi.") { | ||
} | ||
@@ -4,0 +4,0 @@ |
@@ -1,3 +0,3 @@ | ||
export class SessionStorageService { | ||
constructor(private readonly storagePrefix: string) { | ||
export class SessionStorage { | ||
constructor(private readonly storagePrefix: string = "@jmondi.") { | ||
} | ||
@@ -4,0 +4,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
33958
15
1
47