@cocreate/selection 1.6.7 → 1.6.8

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.6.8](https://github.com/CoCreate-app/CoCreate-selection/compare/v1.6.7...v1.6.8) (2023-05-18)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * apikey renamed to key ([d14fe20](https://github.com/CoCreate-app/CoCreate-selection/commit/d14fe20711cb9352aef8bc49afc116ba59e73c67))
7
+
1
8
  ## [1.6.7](https://github.com/CoCreate-app/CoCreate-selection/compare/v1.6.6...v1.6.7) (2023-05-06)
2
9
 
3
10
 
@@ -1,7 +1,7 @@
1
1
  module.exports = {
2
2
  "config": {
3
3
  "organization_id": "5ff747727005da1c272740ab",
4
- "apiKey": "2061acef-0451-4545-f754-60cf8160",
4
+ "key": "2061acef-0451-4545-f754-60cf8160",
5
5
  "host": "general.cocreate.app"
6
6
  },
7
7
  "sources": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/selection",
3
- "version": "1.6.7",
3
+ "version": "1.6.8",
4
4
  "description": "A simple selection component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API.",
5
5
  "keywords": [
6
6
  "selection",
package/src/index.js CHANGED
@@ -31,7 +31,7 @@ export function getSelection(element) {
31
31
  }
32
32
 
33
33
  if (range.startContainer != range.endContainer) {
34
- // toDo: replace common ancestor value
34
+ // TODO: replace common ancestor value
35
35
  }
36
36
  let contenteditable = range.startContainer.parentElement.closest('[contenteditable][collection][document_id][name]');
37
37
  if (contenteditable){