@recapi/client 0.38.1 → 0.39.0
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 +6 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -54,7 +54,7 @@ are, gzipped, and browsers cache them:
|
|
|
54
54
|
|
|
55
55
|
```html
|
|
56
56
|
<script type="module">
|
|
57
|
-
import { createClient } from 'https://api.example.com/sdk/0.
|
|
57
|
+
import { createClient } from 'https://api.example.com/sdk/0.39.0/index.js';
|
|
58
58
|
|
|
59
59
|
const recapi = createClient({ apiKey: 'rk_pub_…', baseUrl: 'https://api.example.com', consent: false });
|
|
60
60
|
// From your cookie banner, once the visitor agrees: recapi.setConsent(true).
|
|
@@ -947,7 +947,7 @@ row, with nothing to set in the dashboard (`BOUGHT_TOGETHER` is the product
|
|
|
947
947
|
page's second row).
|
|
948
948
|
|
|
949
949
|
```js
|
|
950
|
-
import { RECENTLY_VIEWED } from 'https://api.example.com/sdk/0.
|
|
950
|
+
import { RECENTLY_VIEWED } from 'https://api.example.com/sdk/0.39.0/index.js';
|
|
951
951
|
|
|
952
952
|
const [home, recent] = await recapi.recommendLists({
|
|
953
953
|
lists: [{ placement: 'home', count: 4 }, { placement: RECENTLY_VIEWED, count: 4 }]
|
|
@@ -1382,6 +1382,10 @@ in `server/` writes the files as served, for `scripts/e2e/chain.mjs /tmp/served`
|
|
|
1382
1382
|
|
|
1383
1383
|
## Changes
|
|
1384
1384
|
|
|
1385
|
+
- 2026-12-05: version 0.39.0. The WooCommerce plugin's daily sync marks
|
|
1386
|
+
its batches as the pages of one sync, so recapi removes the products the
|
|
1387
|
+
shop no longer has, and its screen says how many. The library is
|
|
1388
|
+
unchanged.
|
|
1385
1389
|
- 2026-12-04: version 0.38.1. The WooCommerce plugin's daily sync sends a
|
|
1386
1390
|
batch again after a 429 other than `quota_exceeded`, as it does after an
|
|
1387
1391
|
outage. The library is unchanged.
|
package/package.json
CHANGED