@dynamic-labs/iconic 0.1.25 → 0.1.27
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/iconic",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.27",
|
|
4
4
|
"description": "A library of icons used by Dynamic Lab's SDK, served via CDN",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -64,7 +64,5 @@
|
|
|
64
64
|
"README.md",
|
|
65
65
|
"LICENSE"
|
|
66
66
|
],
|
|
67
|
-
"dependencies": {
|
|
68
|
-
"@dynamic-labs/logger": "^0.17.31"
|
|
69
|
-
}
|
|
67
|
+
"dependencies": {}
|
|
70
68
|
}
|
|
@@ -2,13 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.findSocialIcon = void 0;
|
|
4
4
|
const getSocialIcon_1 = require("./getSocialIcon");
|
|
5
|
-
const logger_1 = require("../logger");
|
|
6
5
|
const findSocialIcon = (name, variant = 'light') => {
|
|
7
6
|
try {
|
|
8
7
|
return (0, getSocialIcon_1.getSocialIcon)(name, variant);
|
|
9
8
|
}
|
|
10
9
|
catch (e) {
|
|
11
|
-
|
|
10
|
+
console.error(e);
|
|
12
11
|
return null;
|
|
13
12
|
}
|
|
14
13
|
};
|
|
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./SocialIcon"), exports);
|
|
18
18
|
__exportStar(require("./getSocialIcon"), exports);
|
|
19
|
+
__exportStar(require("./findSocialIcon"), exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/iconic",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.27",
|
|
4
4
|
"description": "A library of icons used by Dynamic Lab's SDK, served via CDN",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -64,7 +64,5 @@
|
|
|
64
64
|
"README.md",
|
|
65
65
|
"LICENSE"
|
|
66
66
|
],
|
|
67
|
-
"dependencies": {
|
|
68
|
-
"@dynamic-labs/logger": "^0.17.31"
|
|
69
|
-
}
|
|
67
|
+
"dependencies": {}
|
|
70
68
|
}
|
package/dist/src/logger.d.ts
DELETED
package/dist/src/logger.js
DELETED