Comparing version 1.1.1 to 1.1.2
{ | ||
"name": "idb", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "IndexedDB but with promises", | ||
@@ -5,0 +5,0 @@ "main": "lib/idb.js", |
@@ -12,3 +12,3 @@ # IndexedDB Promised | ||
```js | ||
const dbPromsie = idb.open('my-db', 1, upgradeDB => { | ||
const dbPromise = idb.open('my-db', 1, upgradeDB => { | ||
upgradeDB.createObjectStore('key-val'); | ||
@@ -115,3 +115,3 @@ }); | ||
let tx = db.transaction('store', 'readwrite'); | ||
let store = db.objectStore('store'); | ||
let store = tx.objectStore('store'); | ||
store.get('hello').then(val => store.put(val, 'foo')); | ||
@@ -118,0 +118,0 @@ ``` |
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