@edifice.io/client 2.6.10-develop-pedago.20261023145636 → 2.6.10-develop-enabling.20261023170056
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/dist/index.cjs +1 -1
- package/dist/index.js +4067 -4888
- package/dist/utilities/deviceDetection.d.ts +4 -3
- package/package.json +7 -6
|
@@ -46,9 +46,10 @@ export declare function readDeviceCookies(): DeviceInfo | null;
|
|
|
46
46
|
/**
|
|
47
47
|
* Sets device detection cookies in the browser.
|
|
48
48
|
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
49
|
+
* First checks if cookies already exist. If so, returns the existing values
|
|
50
|
+
* without recalculating. Otherwise, detects device info and sets the cookies.
|
|
51
|
+
*
|
|
52
|
+
* This optimization avoids parsing the user-agent on every page load.
|
|
52
53
|
*
|
|
53
54
|
* @returns DeviceInfo object containing osName, osVersion, deviceType, deviceName
|
|
54
55
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edifice.io/client",
|
|
3
|
-
"version": "2.6.10-develop-
|
|
3
|
+
"version": "2.6.10-develop-enabling.20261023170056",
|
|
4
4
|
"description": "Edifice TypeScript Client",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -37,27 +37,28 @@
|
|
|
37
37
|
"axios": "1.13.4",
|
|
38
38
|
"core-js": "3.48.0",
|
|
39
39
|
"ua-parser-js": "2.0.9",
|
|
40
|
-
"@edifice.io/utilities": "2.6.10-develop-
|
|
40
|
+
"@edifice.io/utilities": "2.6.10-develop-enabling.20261023170056"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/jasmine": "5.1.4",
|
|
44
44
|
"@types/node": "22.19.8",
|
|
45
45
|
"jasmine": "5.1.0",
|
|
46
46
|
"rimraf": "5.0.5",
|
|
47
|
-
"
|
|
47
|
+
"sonda": "0.11.1",
|
|
48
48
|
"typedoc": "0.28.16",
|
|
49
49
|
"typedoc-plugin-markdown": "3.17.1",
|
|
50
|
-
"vite": "
|
|
50
|
+
"vite": "8.0.14",
|
|
51
51
|
"vite-plugin-dts": "4.5.4",
|
|
52
|
-
"@edifice.io/config": "2.6.10-develop-
|
|
52
|
+
"@edifice.io/config": "2.6.10-develop-enabling.20261023170056"
|
|
53
53
|
},
|
|
54
54
|
"scripts": {
|
|
55
55
|
"build": "vite build",
|
|
56
|
+
"build:analyze": "vite build --mode analyze",
|
|
56
57
|
"docs": "npx rimraf ./docs/ && npx typedoc src/ts/index.ts --excludePrivate --disableSources --plugin typedoc-plugin-markdown",
|
|
57
58
|
"fix": "eslint --fix --report-unused-disable-directives --max-warnings 0",
|
|
58
59
|
"format": "prettier --check \"src/ts/**/*.ts\"",
|
|
59
60
|
"format:write": "prettier --write \"src/ts/**/*.ts\"",
|
|
60
|
-
"lint": "eslint",
|
|
61
|
+
"lint": "eslint --max-warnings 0",
|
|
61
62
|
"test": "vitest",
|
|
62
63
|
"test:coverage": "vitest run --coverage"
|
|
63
64
|
}
|