@central-icons-react/round-filled-radius-0-stroke-2 0.0.43 → 0.0.45
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/IconTextareaDrag/index.d.ts +4 -0
- package/IconTextareaDrag/index.js +2 -0
- package/IconTextareaDrag/index.js.map +1 -0
- package/IconTextareaDrag/index.mjs +2 -0
- package/IconTextareaDrag/index.mjs.map +1 -0
- package/README.md +1 -0
- package/filtered-icons.json +13 -0
- package/icons/index.d.ts +1 -0
- package/icons-index.json +5 -3
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/index.mjs +1 -1
- package/index.mjs.map +1 -1
- package/license-check.js +26 -22
- package/package.json +1 -1
- package/tsx-icons.json +6 -0
package/license-check.js
CHANGED
|
@@ -10,28 +10,32 @@ const licenseCheck = async () => {
|
|
|
10
10
|
const controller = new AbortController();
|
|
11
11
|
const timeoutId = setTimeout(() => controller.abort(), 5000);
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
13
|
+
try {
|
|
14
|
+
const response = await fetch("https://centralicons.com/license/check", {
|
|
15
|
+
method: "POST",
|
|
16
|
+
headers: {
|
|
17
|
+
Authorization: `Bearer ${licenseKey}`,
|
|
18
|
+
},
|
|
19
|
+
signal: controller.signal,
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
clearTimeout(timeoutId);
|
|
23
|
+
|
|
24
|
+
if (controller.signal.aborted || response.status >= 500) {
|
|
25
|
+
// Server Error, handling in customer favour
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
const responseJson = await response.json();
|
|
30
|
+
|
|
31
|
+
if (responseJson.error) {
|
|
32
|
+
throw new Error(responseJson.error);
|
|
33
|
+
}
|
|
34
|
+
if (!responseJson.data.isValid) {
|
|
35
|
+
throw new Error("Invalid license key");
|
|
36
|
+
}
|
|
37
|
+
} catch (error) {
|
|
38
|
+
console.error(error);
|
|
35
39
|
}
|
|
36
40
|
};
|
|
37
41
|
|
package/package.json
CHANGED
package/tsx-icons.json
CHANGED
|
@@ -8034,6 +8034,12 @@
|
|
|
8034
8034
|
"iconName": "text-2",
|
|
8035
8035
|
"pathname": "src/IconText2"
|
|
8036
8036
|
},
|
|
8037
|
+
{
|
|
8038
|
+
"svg": "<path d=\"M20.293 6.29289C20.6835 5.90237 21.3165 5.90237 21.707 6.29289C22.0975 6.68342 22.0975 7.31643 21.707 7.70696L7.70702 21.707C7.31649 22.0975 6.68348 22.0975 6.29295 21.707C5.90243 21.3164 5.90243 20.6834 6.29295 20.2929L20.293 6.29289ZM20.293 14.2929C20.6835 13.9024 21.3165 13.9024 21.707 14.2929C22.0975 14.6834 22.0975 15.3164 21.707 15.707L15.707 21.707C15.3165 22.0975 14.6835 22.0975 14.293 21.707C13.9024 21.3164 13.9024 20.6834 14.293 20.2929L20.293 14.2929Z\" fill=\"currentColor\"/>",
|
|
8039
|
+
"componentName": "IconTextareaDrag",
|
|
8040
|
+
"iconName": "textarea-drag",
|
|
8041
|
+
"pathname": "src/IconTextareaDrag"
|
|
8042
|
+
},
|
|
8037
8043
|
{
|
|
8038
8044
|
"svg": "<path d=\"M4 4C3.44772 4 3 4.44772 3 5V9C3 9.55228 3.44772 10 4 10H8C8.55228 10 9 9.55228 9 9V5C9 4.44772 8.55228 4 8 4H4Z\" fill=\"currentColor\"/><path d=\"M13 4.5C12.4477 4.5 12 4.94772 12 5.5C12 6.05228 12.4477 6.5 13 6.5H20C20.5523 6.5 21 6.05228 21 5.5C21 4.94772 20.5523 4.5 20 4.5H13Z\" fill=\"currentColor\"/><path d=\"M13 7.5C12.4477 7.5 12 7.94772 12 8.5C12 9.05228 12.4477 9.5 13 9.5H17C17.5523 9.5 18 9.05228 18 8.5C18 7.94772 17.5523 7.5 17 7.5H13Z\" fill=\"currentColor\"/><path d=\"M4 14C3.44772 14 3 14.4477 3 15V19C3 19.5523 3.44772 20 4 20H8C8.55228 20 9 19.5523 9 19V15C9 14.4477 8.55228 14 8 14H4Z\" fill=\"currentColor\"/><path d=\"M13 14.5C12.4477 14.5 12 14.9477 12 15.5C12 16.0523 12.4477 16.5 13 16.5H20C20.5523 16.5 21 16.0523 21 15.5C21 14.9477 20.5523 14.5 20 14.5H13Z\" fill=\"currentColor\"/><path d=\"M13 17.5C12.4477 17.5 12 17.9477 12 18.5C12 19.0523 12.4477 19.5 13 19.5H17C17.5523 19.5 18 19.0523 18 18.5C18 17.9477 17.5523 17.5 17 17.5H13Z\" fill=\"currentColor\"/>",
|
|
8039
8045
|
"componentName": "IconTextBlock",
|