Comparing version 7.0.0 to 7.0.1-with-src
{ | ||
"name": "idb", | ||
"version": "7.0.0", | ||
"version": "7.0.1-with-src", | ||
"description": "A small wrapper that makes IndexedDB usable", | ||
@@ -25,2 +25,3 @@ "main": "./build/index.cjs", | ||
"with-*", | ||
"src/**", | ||
"CHANGELOG.md" | ||
@@ -27,0 +28,0 @@ ], |
@@ -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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
134389
28
2789
2