@cocreate/indexeddb 1.7.4 → 1.7.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [1.7.6](https://github.com/CoCreate-app/CoCreate-indexeddb/compare/v1.7.5...v1.7.6) (2023-04-11)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * createDb ([77778af](https://github.com/CoCreate-app/CoCreate-indexeddb/commit/77778afee56354fd0aac0ff7e9491af21332d681))
7
+
8
+ ## [1.7.5](https://github.com/CoCreate-app/CoCreate-indexeddb/compare/v1.7.4...v1.7.5) (2023-04-11)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * renamed domains to hosts ([d1e7bc1](https://github.com/CoCreate-app/CoCreate-indexeddb/commit/d1e7bc1b2fd799788bdb87a21f6d52ff529022fd))
14
+
1
15
  ## [1.7.4](https://github.com/CoCreate-app/CoCreate-indexeddb/compare/v1.7.3...v1.7.4) (2023-03-30)
2
16
 
3
17
 
@@ -12,7 +12,7 @@ module.exports = {
12
12
  "name": "index.html",
13
13
  "path": "/docs/indexeddb/index.html",
14
14
  "src": "{{./docs/index.html}}",
15
- "domains": [
15
+ "hosts": [
16
16
  "cocreate.app",
17
17
  "general.cocreate.app"
18
18
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/indexeddb",
3
- "version": "1.7.4",
3
+ "version": "1.7.6",
4
4
  "description": "A simple indexeddb component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API.",
5
5
  "keywords": [
6
6
  "indexeddb",
package/src/index.js CHANGED
@@ -1020,7 +1020,6 @@ function generateDB(data) {
1020
1020
  document: {
1021
1021
  _id: organization_id,
1022
1022
  name: 'untitled',
1023
- apiKey,
1024
1023
  organization_id
1025
1024
  }
1026
1025
  }
@@ -1057,7 +1056,8 @@ function generateDB(data) {
1057
1056
  "runIndustry": "",
1058
1057
  "sendgrid": ["sendEmail"]
1059
1058
  },
1060
- "admin": "false",
1059
+ admin: "false",
1060
+ primary: true,
1061
1061
  organization_id
1062
1062
  }
1063
1063
  }