react-session.manager.sk 4.2.4 → 4.2.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 +9 -1
  2. package/package.json +2 -1
package/README.md CHANGED
@@ -334,9 +334,17 @@ npm test
334
334
 
335
335
  # Build the distributable bundle
336
336
  npm run build
337
+
338
+ # Run the real React ↔ Flask browser lifecycle test
339
+ # (requires Python, flask-session.manager.sk, and Playwright Chromium)
340
+ npm run test:companion
337
341
  ```
338
342
 
339
- Tests live in the `tests/` directory and use Jest. The CI workflow runs tests in a dedicated **test** job before **build-and-publish**, so a failing test blocks the release.
343
+ Tests live in the `tests/` directory and use Jest. CI also packs the distributable
344
+ React package and exercises it against the real Flask companion in Chromium for
345
+ both same-origin and cross-site cookie topologies. The lifecycle covers login,
346
+ bootstrap, hard reload, authenticated safe/unsafe requests, rotation, revocation,
347
+ relogin, and logout. A failing compatibility test blocks the release.
340
348
 
341
349
  ---
342
350
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-session.manager.sk",
3
- "version": "4.2.4",
3
+ "version": "4.2.6",
4
4
  "description": "A React provider for cookie-based sessions with a Flask backend",
5
5
  "main": "./dist/index.js",
6
6
  "files": [
@@ -13,6 +13,7 @@
13
13
  "test:general": "jest --runInBand --testPathIgnorePatterns=/tests/smoke/",
14
14
  "test:smoke": "node scripts/smoke-test.cjs",
15
15
  "test:consumer-smoke": "node scripts/consumer-smoke-test.cjs",
16
+ "test:companion": "node scripts/companion-compatibility-test.cjs",
16
17
  "lint": "eslint src/**/*.{js,jsx}",
17
18
  "lint:fix": "eslint src/**/*.{js,jsx} --fix",
18
19
  "format": "prettier --write src/**/*.{js,jsx,css}",