Comparing version 7.0.0 to 7.0.1
{ | ||
"name": "idb", | ||
"version": "7.0.0", | ||
"version": "7.0.1", | ||
"description": "A small wrapper that makes IndexedDB usable", | ||
@@ -5,0 +5,0 @@ "main": "./build/index.cjs", |
@@ -323,15 +323,15 @@ # IndexedDB with usability. | ||
return (await dbPromise).get('keyval', key); | ||
}, | ||
}; | ||
export async function set(key, val) { | ||
return (await dbPromise).put('keyval', val, key); | ||
}, | ||
}; | ||
export async function del(key) { | ||
return (await dbPromise).delete('keyval', key); | ||
}, | ||
}; | ||
export async function clear() { | ||
return (await dbPromise).clear('keyval'); | ||
}, | ||
}; | ||
export async function keys() { | ||
return (await dbPromise).getAllKeys('keyval'); | ||
}, | ||
}; | ||
``` | ||
@@ -338,0 +338,0 @@ |
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
87523