@edifice.io/client 2.6.10-develop-enabling.20261023170056 → 2.6.10-develop-pedago.20261102171841
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 +4888 -4067
- package/dist/utilities/DocumentHelper.d.ts +3 -3
- package/dist/utilities/deviceDetection.d.ts +3 -4
- package/package.json +7 -7
|
@@ -5,14 +5,14 @@ export type RoleMapperParams = {
|
|
|
5
5
|
extension?: string;
|
|
6
6
|
};
|
|
7
7
|
declare const defaultMappers: {
|
|
8
|
-
readonly csv: ({ type, extension }: RoleMapperParams) =>
|
|
8
|
+
readonly csv: ({ type, extension }: RoleMapperParams) => any;
|
|
9
9
|
readonly doc: ({ type, extension }: RoleMapperParams) => boolean;
|
|
10
10
|
readonly xls: ({ type, extension }: RoleMapperParams) => boolean;
|
|
11
11
|
readonly img: ({ type }: RoleMapperParams) => boolean;
|
|
12
12
|
readonly pdf: ({ type }: RoleMapperParams) => boolean;
|
|
13
13
|
readonly ppt: ({ type, extension }: RoleMapperParams) => boolean;
|
|
14
|
-
readonly txt: ({ type, extension }: RoleMapperParams) =>
|
|
15
|
-
readonly md: ({ type, extension }: RoleMapperParams) =>
|
|
14
|
+
readonly txt: ({ type, extension }: RoleMapperParams) => any;
|
|
15
|
+
readonly md: ({ type, extension }: RoleMapperParams) => any;
|
|
16
16
|
readonly video: ({ type }: RoleMapperParams) => boolean;
|
|
17
17
|
readonly audio: ({ type }: RoleMapperParams) => boolean;
|
|
18
18
|
readonly zip: ({ type }: RoleMapperParams) => boolean;
|
|
@@ -46,10 +46,9 @@ export declare function readDeviceCookies(): DeviceInfo | null;
|
|
|
46
46
|
/**
|
|
47
47
|
* Sets device detection cookies in the browser.
|
|
48
48
|
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
* This optimization avoids parsing the user-agent on every page load.
|
|
49
|
+
* Cookies are (re)written on every call so that cookies previously written
|
|
50
|
+
* with other attributes (e.g. SameSite=Strict) get replaced.
|
|
51
|
+
* Detection is cheap (a single user-agent parse).
|
|
53
52
|
*
|
|
54
53
|
* @returns DeviceInfo object containing osName, osVersion, deviceType, deviceName
|
|
55
54
|
*/
|
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-pedago.20261102171841",
|
|
4
4
|
"description": "Edifice TypeScript Client",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -37,28 +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-pedago.20261102171841"
|
|
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
|
+
"rollup-plugin-visualizer": "5.12.0",
|
|
48
48
|
"typedoc": "0.28.16",
|
|
49
49
|
"typedoc-plugin-markdown": "3.17.1",
|
|
50
|
-
"
|
|
50
|
+
"typescript": "5.9.3",
|
|
51
|
+
"vite": "5.4.14",
|
|
51
52
|
"vite-plugin-dts": "4.5.4",
|
|
52
|
-
"@edifice.io/config": "2.6.10-develop-
|
|
53
|
+
"@edifice.io/config": "2.6.10-develop-pedago.20261102171841"
|
|
53
54
|
},
|
|
54
55
|
"scripts": {
|
|
55
56
|
"build": "vite build",
|
|
56
|
-
"build:analyze": "vite build --mode analyze",
|
|
57
57
|
"docs": "npx rimraf ./docs/ && npx typedoc src/ts/index.ts --excludePrivate --disableSources --plugin typedoc-plugin-markdown",
|
|
58
58
|
"fix": "eslint --fix --report-unused-disable-directives --max-warnings 0",
|
|
59
59
|
"format": "prettier --check \"src/ts/**/*.ts\"",
|
|
60
60
|
"format:write": "prettier --write \"src/ts/**/*.ts\"",
|
|
61
|
-
"lint": "eslint
|
|
61
|
+
"lint": "eslint",
|
|
62
62
|
"test": "vitest",
|
|
63
63
|
"test:coverage": "vitest run --coverage"
|
|
64
64
|
}
|