@keepeek/keepicker-react 1.12.0 → 1.13.1

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/README.md CHANGED
@@ -85,6 +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
90
  "...": "..."
89
91
  }
90
92
  }
@@ -188,11 +190,14 @@ const url = event.detail.element.permalinks.find(
188
190
  "url": "..."
189
191
  }
190
192
  ],
193
+ "imagesServiceUrl":"kpk://dynameek-kpk/1200/bwb6bw8xrm.jpg",
194
+ "imagesServicePermalinks":"kpkp://dynameek-kpk/1200/b9g0wtj8ky.jpg",
191
195
  "...": "..."
192
196
  },
193
197
  "link": "https://keepeek.com/generatedPictureUrl.jpg"
194
198
  }
195
199
  ```
200
+ 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.
196
201
 
197
202
  To get generated picture, use the following code:
198
203