@central-icons-react/round-filled-radius-0-stroke-1.5 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.7197 6.21967C21.0126 5.92678 21.4874 5.92678 21.7803 6.21967C22.0732 6.51256 22.0732 6.98732 21.7803 7.28022L7.28028 21.7802C6.98738 22.0731 6.51262 22.0731 6.21973 21.7802C5.92684 21.4873 5.92684 21.0126 6.21973 20.7197L20.7197 6.21967ZM20.7197 14.2197C21.0126 13.9268 21.4874 13.9268 21.7803 14.2197C22.0732 14.5126 22.0732 14.9873 21.7803 15.2802L15.2803 21.7802C14.9874 22.0731 14.5126 22.0731 14.2197 21.7802C13.9268 21.4873 13.9268 21.0126 14.2197 20.7197L20.7197 14.2197Z\" fill=\"currentColor\"/>",
|
|
8039
|
+
"componentName": "IconTextareaDrag",
|
|
8040
|
+
"iconName": "textarea-drag",
|
|
8041
|
+
"pathname": "src/IconTextareaDrag"
|
|
8042
|
+
},
|
|
8037
8043
|
{
|
|
8038
8044
|
"svg": "<path d=\"M3.75 4C3.33579 4 3 4.33579 3 4.75V9.25C3 9.66421 3.33579 10 3.75 10H8.25C8.66421 10 9 9.66421 9 9.25V4.75C9 4.33579 8.66421 4 8.25 4H3.75Z\" fill=\"currentColor\"/><path d=\"M12.75 4.5C12.3358 4.5 12 4.83579 12 5.25C12 5.66421 12.3358 6 12.75 6H20.25C20.6642 6 21 5.66421 21 5.25C21 4.83579 20.6642 4.5 20.25 4.5H12.75Z\" fill=\"currentColor\"/><path d=\"M12.75 8C12.3358 8 12 8.33579 12 8.75C12 9.16421 12.3358 9.5 12.75 9.5H17.25C17.6642 9.5 18 9.16421 18 8.75C18 8.33579 17.6642 8 17.25 8H12.75Z\" fill=\"currentColor\"/><path d=\"M3.75 14C3.33579 14 3 14.3358 3 14.75V19.25C3 19.6642 3.33579 20 3.75 20H8.25C8.66421 20 9 19.6642 9 19.25V14.75C9 14.3358 8.66421 14 8.25 14H3.75Z\" fill=\"currentColor\"/><path d=\"M12.75 14.5C12.3358 14.5 12 14.8358 12 15.25C12 15.6642 12.3358 16 12.75 16H20.25C20.6642 16 21 15.6642 21 15.25C21 14.8358 20.6642 14.5 20.25 14.5H12.75Z\" fill=\"currentColor\"/><path d=\"M12.75 18C12.3358 18 12 18.3358 12 18.75C12 19.1642 12.3358 19.5 12.75 19.5H17.25C17.6642 19.5 18 19.1642 18 18.75C18 18.3358 17.6642 18 17.25 18H12.75Z\" fill=\"currentColor\"/>",
|
|
8039
8045
|
"componentName": "IconTextBlock",
|