datakeen-session-react 1.1.195-dev.11 → 1.1.195-dev.13
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
|
@@ -549,6 +549,17 @@ Voir [docs/JOURNEY_NODE_BUILDER.md](./docs/JOURNEY_NODE_BUILDER.md) pour la chec
|
|
|
549
549
|
|
|
550
550
|
---
|
|
551
551
|
|
|
552
|
+
## Conformité des licences et SBOM
|
|
553
|
+
|
|
554
|
+
La CI refuse toute dépendance de production sous licence AGPL (**bloquant**) ou GPL (warning) qui n'est pas listée avec justification dans `license-allowlist.json`, et archive un SBOM CycloneDX (`sbom.cdx.json`) à chaque release (`dev`, `staging`, `main`).
|
|
555
|
+
|
|
556
|
+
```bash
|
|
557
|
+
npm ci
|
|
558
|
+
node scripts/check-licenses.cjs # contrôle local
|
|
559
|
+
```
|
|
560
|
+
|
|
561
|
+
Procédure complète (ajouter une exception, régénérer le SBOM) : [docs/LICENSE_COMPLIANCE.md](docs/LICENSE_COMPLIANCE.md).
|
|
562
|
+
|
|
552
563
|
## Support
|
|
553
564
|
|
|
554
565
|
- **Email** : support@datakeen.co
|
|
@@ -14,7 +14,8 @@ function getSessionCredential(sessionId) {
|
|
|
14
14
|
function credentialForRequest(url) {
|
|
15
15
|
if (/^[a-z]+:/i.test(url) || url.startsWith('//'))
|
|
16
16
|
return undefined;
|
|
17
|
-
|
|
17
|
+
// Routes SDK et biométrie Unissey : toutes adressent une seule session par son id.
|
|
18
|
+
var match = url.match(/^\/?session\/(?:sdk|unissey)\/([^/?]+)/);
|
|
18
19
|
return match ? credentials.get(decodeURIComponent(match[1])) : undefined;
|
|
19
20
|
}
|
|
20
21
|
|
|
@@ -12,7 +12,8 @@ function getSessionCredential(sessionId) {
|
|
|
12
12
|
function credentialForRequest(url) {
|
|
13
13
|
if (/^[a-z]+:/i.test(url) || url.startsWith('//'))
|
|
14
14
|
return undefined;
|
|
15
|
-
|
|
15
|
+
// Routes SDK et biométrie Unissey : toutes adressent une seule session par son id.
|
|
16
|
+
var match = url.match(/^\/?session\/(?:sdk|unissey)\/([^/?]+)/);
|
|
16
17
|
return match ? credentials.get(decodeURIComponent(match[1])) : undefined;
|
|
17
18
|
}
|
|
18
19
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "datakeen-session-react",
|
|
3
|
-
"version": "1.1.195-dev.
|
|
3
|
+
"version": "1.1.195-dev.13",
|
|
4
4
|
"description": "React SDK component to manage and render Datakeen session experiences easily.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -74,6 +74,7 @@
|
|
|
74
74
|
"@types/react": "^18.0.0",
|
|
75
75
|
"@types/react-dom": "^18.0.0",
|
|
76
76
|
"@types/testing-library__react": "^10.0.1",
|
|
77
|
+
"@types/ua-parser-js": "0.7.39",
|
|
77
78
|
"autoprefixer": "^10.4.21",
|
|
78
79
|
"axios": "^1.12.0",
|
|
79
80
|
"babel-jest": "^30.1.2",
|
|
@@ -120,7 +121,7 @@
|
|
|
120
121
|
"react-day-picker": "^9.14.0",
|
|
121
122
|
"react-i18next": "^15.7.3",
|
|
122
123
|
"tailwind-merge": "^3.3.1",
|
|
123
|
-
"ua-parser-js": "^
|
|
124
|
+
"ua-parser-js": "^1.0.41"
|
|
124
125
|
},
|
|
125
126
|
"peerDependencies": {
|
|
126
127
|
"axios": "^1.8.0",
|