From aac73c403013f98ee192bc9d217faa1d21844dfe Mon Sep 17 00:00:00 2001 From: Ziping Liu Date: Sun, 12 May 2024 12:06:20 -0500 Subject: [PATCH] chore: remove logs --- package-lock.json | 4 ++-- package.json | 2 +- src/utils/index.ts | 2 -- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index d145c9a..9daface 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "react-linkedinbadge", - "version": "5.12.2027", + "version": "5.12.2032", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "react-linkedinbadge", - "version": "5.12.2027", + "version": "5.12.2032", "license": "SEE LICENSE IN LICENSE.md", "devDependencies": { "@babel/cli": "^7.18.10", diff --git a/package.json b/package.json index 34f58fd..a803799 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-linkedinbadge", - "version": "5.12.2032", + "version": "5.12.2033", "description": "The LinkedIn Badge Rendering React Component is a powerful tool for displaying LinkedIn badges on websites. With customizable options and support for both profile and entity badges, this component offers improved features over LinkedIn's basic implementation. It enhances code organization by separating badge container rendering from dynamic content rendering and efficiently handles asynchronous loading of content from LinkedIn servers. This component also allows for easy management of multiple badges on a page and provides a callback function for tracking badge rendering completion. Make sure to review the licensing information for proper usage.", "repository": { "type": "git", diff --git a/src/utils/index.ts b/src/utils/index.ts index 0bbc607..8ed7a3c 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -29,14 +29,12 @@ export async function generateUidFromProps( for (let i = 0; i < keys.length; i++) { const key = keys[i]; const value = props[key]; - console.info("key", key, "value", value); if (value && typeof value === "string") { for (let j = 0; j < value.length; j++) { hash = (hash << 5) - hash + value.charCodeAt(j); } } } - console.info("hash2", hash); if (hostname && typeof hostname === "string") { for (let i = 0; i < hostname.length; i++) { hash = (hash << 5) - hash + hostname.charCodeAt(i);