@central-icons-react/round-filled-radius-3-stroke-1 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=\"M21.1464 6.14645C21.3417 5.95118 21.6582 5.95118 21.8535 6.14645C22.0487 6.34171 22.0487 6.65822 21.8535 6.85348L6.85348 21.8535C6.65822 22.0487 6.34171 22.0487 6.14645 21.8535C5.95118 21.6582 5.95118 21.3417 6.14645 21.1464L21.1464 6.14645ZM21.1464 14.1464C21.3417 13.9512 21.6582 13.9512 21.8535 14.1464C22.0487 14.3417 22.0487 14.6582 21.8535 14.8535L14.8535 21.8535C14.6582 22.0487 14.3417 22.0487 14.1464 21.8535C13.9512 21.6582 13.9512 21.3417 14.1464 21.1464L21.1464 14.1464Z\" fill=\"currentColor\"/>",
|
8039
|
+
"componentName": "IconTextareaDrag",
|
8040
|
+
"iconName": "textarea-drag",
|
8041
|
+
"pathname": "src/IconTextareaDrag"
|
8042
|
+
},
|
8037
8043
|
{
|
8038
8044
|
"svg": "<path d=\"M6 4C4.34315 4 3 5.34315 3 7C3 8.65685 4.34315 10 6 10C7.65685 10 9 8.65685 9 7C9 5.34315 7.65685 4 6 4Z\" fill=\"currentColor\"/><path d=\"M12.5 5C12.2239 5 12 5.22386 12 5.5C12 5.77614 12.2239 6 12.5 6H20.5C20.7761 6 21 5.77614 21 5.5C21 5.22386 20.7761 5 20.5 5H12.5Z\" fill=\"currentColor\"/><path d=\"M12.5 8C12.2239 8 12 8.22386 12 8.5C12 8.77614 12.2239 9 12.5 9H17.5C17.7761 9 18 8.77614 18 8.5C18 8.22386 17.7761 8 17.5 8H12.5Z\" fill=\"currentColor\"/><path d=\"M6 14C4.34315 14 3 15.3431 3 17C3 18.6569 4.34315 20 6 20C7.65685 20 9 18.6569 9 17C9 15.3431 7.65685 14 6 14Z\" fill=\"currentColor\"/><path d=\"M12.5 15C12.2239 15 12 15.2239 12 15.5C12 15.7761 12.2239 16 12.5 16H20.5C20.7761 16 21 15.7761 21 15.5C21 15.2239 20.7761 15 20.5 15H12.5Z\" fill=\"currentColor\"/><path d=\"M12.5 18C12.2239 18 12 18.2239 12 18.5C12 18.7761 12.2239 19 12.5 19H17.5C17.7761 19 18 18.7761 18 18.5C18 18.2239 17.7761 18 17.5 18H12.5Z\" fill=\"currentColor\"/>",
|
8039
8045
|
"componentName": "IconTextBlock",
|