forlogic-core 1.14.9 → 1.15.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.
- package/README.md +6 -5
- package/dist/README.md +111 -110
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/vite/index.esm.js +10 -3
- package/dist/vite/index.js +10 -3
- package/package.json +4 -1
package/dist/vite/index.esm.js
CHANGED
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
const DEFAULT_SCRIPT_SRC = [
|
|
2
2
|
"'self'",
|
|
3
3
|
"https://cdn.gpteng.co",
|
|
4
|
-
"https://cdn.tailwindcss.com"
|
|
4
|
+
"https://cdn.tailwindcss.com",
|
|
5
|
+
"https://cdn-public-library.clicksign.com"
|
|
5
6
|
];
|
|
6
7
|
const DEFAULT_STYLE_SRC = [
|
|
7
8
|
"'self'",
|
|
8
9
|
"https://fonts.googleapis.com"
|
|
9
10
|
];
|
|
10
11
|
const DEFAULT_CONNECT_SRC = [
|
|
11
|
-
"'self'"
|
|
12
|
+
"'self'",
|
|
13
|
+
"https://app.clicksign.com",
|
|
14
|
+
"https://sandbox.clicksign.com",
|
|
15
|
+
"https://cdn-public-library.clicksign.com",
|
|
16
|
+
"https://secure.d4sign.com.br",
|
|
17
|
+
"https://sandbox.d4sign.com.br"
|
|
12
18
|
];
|
|
13
19
|
const DEFAULT_FONT_SRC = [
|
|
14
20
|
"'self'",
|
|
@@ -61,7 +67,8 @@ function generateCSPPolicy(isDev, options = {}) {
|
|
|
61
67
|
`form-action 'self'`,
|
|
62
68
|
`object-src 'none'`,
|
|
63
69
|
`media-src 'self'`,
|
|
64
|
-
`child-src
|
|
70
|
+
`child-src https://app.clicksign.com https://sandbox.clicksign.com https://secure.d4sign.com.br https://sandbox.d4sign.com.br`,
|
|
71
|
+
`frame-src https://app.clicksign.com https://sandbox.clicksign.com https://secure.d4sign.com.br https://sandbox.d4sign.com.br`,
|
|
65
72
|
`worker-src 'self'`,
|
|
66
73
|
`manifest-src 'self'`
|
|
67
74
|
];
|
package/dist/vite/index.js
CHANGED
|
@@ -3,14 +3,20 @@
|
|
|
3
3
|
const DEFAULT_SCRIPT_SRC = [
|
|
4
4
|
"'self'",
|
|
5
5
|
"https://cdn.gpteng.co",
|
|
6
|
-
"https://cdn.tailwindcss.com"
|
|
6
|
+
"https://cdn.tailwindcss.com",
|
|
7
|
+
"https://cdn-public-library.clicksign.com"
|
|
7
8
|
];
|
|
8
9
|
const DEFAULT_STYLE_SRC = [
|
|
9
10
|
"'self'",
|
|
10
11
|
"https://fonts.googleapis.com"
|
|
11
12
|
];
|
|
12
13
|
const DEFAULT_CONNECT_SRC = [
|
|
13
|
-
"'self'"
|
|
14
|
+
"'self'",
|
|
15
|
+
"https://app.clicksign.com",
|
|
16
|
+
"https://sandbox.clicksign.com",
|
|
17
|
+
"https://cdn-public-library.clicksign.com",
|
|
18
|
+
"https://secure.d4sign.com.br",
|
|
19
|
+
"https://sandbox.d4sign.com.br"
|
|
14
20
|
];
|
|
15
21
|
const DEFAULT_FONT_SRC = [
|
|
16
22
|
"'self'",
|
|
@@ -63,7 +69,8 @@ function generateCSPPolicy(isDev, options = {}) {
|
|
|
63
69
|
`form-action 'self'`,
|
|
64
70
|
`object-src 'none'`,
|
|
65
71
|
`media-src 'self'`,
|
|
66
|
-
`child-src
|
|
72
|
+
`child-src https://app.clicksign.com https://sandbox.clicksign.com https://secure.d4sign.com.br https://sandbox.d4sign.com.br`,
|
|
73
|
+
`frame-src https://app.clicksign.com https://sandbox.clicksign.com https://secure.d4sign.com.br https://sandbox.d4sign.com.br`,
|
|
67
74
|
`worker-src 'self'`,
|
|
68
75
|
`manifest-src 'self'`
|
|
69
76
|
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "forlogic-core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.15.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
"@dnd-kit/core": "^6.3.1",
|
|
51
51
|
"@dnd-kit/sortable": "^10.0.0",
|
|
52
52
|
"@hookform/resolvers": "^3.10.0",
|
|
53
|
+
"@playwright/test": "^1.57.0",
|
|
53
54
|
"@radix-ui/react-accordion": "^1.2.11",
|
|
54
55
|
"@radix-ui/react-alert-dialog": "^1.1.14",
|
|
55
56
|
"@radix-ui/react-avatar": "^1.1.10",
|
|
@@ -77,9 +78,11 @@
|
|
|
77
78
|
"@radix-ui/react-toggle-group": "^1.1.10",
|
|
78
79
|
"@radix-ui/react-tooltip": "^1.2.7",
|
|
79
80
|
"@rollup/plugin-commonjs": "^28.0.6",
|
|
81
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
80
82
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
81
83
|
"@rollup/plugin-terser": "^0.4.4",
|
|
82
84
|
"@supabase/supabase-js": "^2.57.2",
|
|
85
|
+
"@svgr/rollup": "^8.1.0",
|
|
83
86
|
"@tanstack/react-query": "^5.83.0",
|
|
84
87
|
"@tiptap/extension-color": "^3.14.0",
|
|
85
88
|
"@tiptap/extension-highlight": "^3.14.0",
|