@keepeek/keepicker-react 1.14.0-beta.5 → 1.14.0-beta.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.
Files changed (2) hide show
  1. package/README.md +6 -7
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -85,8 +85,8 @@ Keepicker events are triggered for all asset types: pictures, videos, audio file
85
85
  "url": "..."
86
86
  }
87
87
  ],
88
- "imagesServiceUrl":"kpk://dynameek-kpk/1200/bwb6bw8xrm.jpg",
89
- "imagesServicePermalinks":"kpkp://dynameek-kpk/1200/g9g0wtj8ky.jpg",
88
+ "imagesServiceUrl": "kpk://dynameek-kpk/1200/bwb6bw8xrm.jpg",
89
+ "imagesServicePermalinks": "kpkp://dynameek-kpk/1200/g9g0wtj8ky.jpg",
90
90
  "...": "..."
91
91
  }
92
92
  }
@@ -190,13 +190,14 @@ const url = event.detail.element.permalinks.find(
190
190
  "url": "..."
191
191
  }
192
192
  ],
193
- "imagesServiceUrl":"kpk://dynameek-kpk/1200/bwb6bw8xrm.jpg",
194
- "imagesServicePermalinks":"kpkp://dynameek-kpk/1200/b9g0wtj8ky.jpg",
193
+ "imagesServiceUrl": "kpk://dynameek-kpk/1200/bwb6bw8xrm.jpg",
194
+ "imagesServicePermalinks": "kpkp://dynameek-kpk/1200/b9g0wtj8ky.jpg",
195
195
  "...": "..."
196
196
  },
197
197
  "link": "https://keepeek.com/generatedPictureUrl.jpg"
198
198
  }
199
199
  ```
200
+
200
201
  In this example, the `imagesServiceUrl` and `imagesServicePermalinks` keys contain the picture URLs used to call the Dynameek service. `imagesServiceUrl` is used to target the current picture version, while `imagesServicePermalinks` always points to the last picture version.
201
202
 
202
203
  To get generated picture, use the following code:
@@ -270,7 +271,7 @@ Drupal.behaviors.addKeepickerWebComponentMarkup = {
270
271
  ## List of attributes
271
272
 
272
273
  | Name | Mandatory | Type | Default value | Description |
273
- | ------------------ |-----------| ------ | --------------------------- |---------------------------------------------------------------------------------------------------|
274
+ | ------------------ | --------- | ------ | --------------------------- | ------------------------------------------------------------------------------------------------- |
274
275
  | api-endpoint | no | String | | API Endpoint<br/>If not provided, the user will need to enter the Keepeek instance URL to connect |
275
276
  | keycloak-client-id | no | String | Default Keepicker Client ID | Keycloak Client ID |
276
277
  | keycloak-idp | no | String | FR | Keycloak IDP to add a SSO button |
@@ -283,5 +284,3 @@ Drupal.behaviors.addKeepickerWebComponentMarkup = {
283
284
  | --------------- | -------------------------------------------------- |
284
285
  | kpk-insert | Event dispached when inserting one element |
285
286
  | kpk-insert-link | Event dispached when inserting a generated picture |
286
-
287
-
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keepeek/keepicker-react",
3
- "version": "1.14.0-beta.5",
3
+ "version": "1.14.0-beta.6",
4
4
  "files": [
5
5
  "dist/index.js",
6
6
  "dist/license.txt"