@recapi/client 0.39.0 → 0.40.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.
Files changed (2) hide show
  1. package/README.md +7 -2
  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.39.0/index.js';
57
+ import { createClient } from 'https://api.example.com/sdk/0.40.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.39.0/index.js';
950
+ import { RECENTLY_VIEWED } from 'https://api.example.com/sdk/0.40.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,11 @@ 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.40.0. The WooCommerce plugin pauses on a copy of a
1386
+ shop with no secret key too (a shop manager's first admin visit keeps the
1387
+ shop's address), shows the paused line on the Dashboard and the Plugins
1388
+ screen, and its daily sync reads products by id, so a product deleted
1389
+ meanwhile no longer leaves another one unnamed. The library is unchanged.
1385
1390
  - 2026-12-05: version 0.39.0. The WooCommerce plugin's daily sync marks
1386
1391
  its batches as the pages of one sync, so recapi removes the products the
1387
1392
  shop no longer has, and its screen says how many. The library is
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@recapi/client",
3
- "version": "0.39.0",
3
+ "version": "0.40.0",
4
4
  "description": "Browser and Node client for the recapi recommendation API: local decayed history, event batching, attribution.",
5
5
  "homepage": "https://recapi.io/docs",
6
6
  "bugs": {