@dynamic-labs/utils
Advanced tools
Comparing version 3.0.0-alpha.67 to 3.0.0-alpha.68
{ | ||
"name": "@dynamic-labs/utils", | ||
"version": "3.0.0-alpha.67", | ||
"version": "3.0.0-alpha.68", | ||
"repository": { | ||
@@ -31,4 +31,4 @@ "type": "git", | ||
"tldts": "6.0.16", | ||
"@dynamic-labs/logger": "3.0.0-alpha.67", | ||
"@dynamic-labs/types": "3.0.0-alpha.67", | ||
"@dynamic-labs/logger": "3.0.0-alpha.68", | ||
"@dynamic-labs/types": "3.0.0-alpha.68", | ||
"buffer": "6.0.3", | ||
@@ -35,0 +35,0 @@ "eventemitter3": "5.0.1", |
import { IStorageService } from '../types'; | ||
type CreateStorageServiceProps = { | ||
prefix?: string; | ||
postfix?: string; | ||
storage: Storage; | ||
}; | ||
export declare const createStorageService: ({ prefix, storage, }: CreateStorageServiceProps) => IStorageService; | ||
export declare const createStorageService: ({ postfix, storage, }: CreateStorageServiceProps) => IStorageService; | ||
export {}; |
@@ -5,4 +5,4 @@ 'use client' | ||
const createStorageService = ({ prefix, storage, }) => { | ||
const getKey = (key) => (prefix ? `${key}_${prefix}` : key); | ||
const createStorageService = ({ postfix, storage, }) => { | ||
const getKey = (key) => (postfix ? `${key}_${postfix}` : key); | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
@@ -9,0 +9,0 @@ const packValue = (value) => JSON.stringify(value); |
Sorry, the diff of this file is too big to display
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
537399
+ Added@dynamic-labs/logger@3.0.0-alpha.68(transitive)
+ Added@dynamic-labs/types@3.0.0-alpha.68(transitive)
- Removed@dynamic-labs/logger@3.0.0-alpha.67(transitive)
- Removed@dynamic-labs/types@3.0.0-alpha.67(transitive)