diff --git a/lib/CHANGELOG.md b/lib/CHANGELOG.md index e498ca17..4a7506bd 100644 --- a/lib/CHANGELOG.md +++ b/lib/CHANGELOG.md @@ -1,5 +1,11 @@ # react18-loaders +## 1.0.3 + +### Patch Changes + +- Remove uuid as it will result in multiple rgs stores for treeshakable imports + ## 1.0.2 ### Patch Changes diff --git a/lib/package.json b/lib/package.json index f20ab7d1..0f5a224e 100644 --- a/lib/package.json +++ b/lib/package.json @@ -2,7 +2,7 @@ "name": "react18-loaders", "author": "Mayank Kumar Chaudhari ", "private": false, - "version": "1.0.2", + "version": "1.0.3", "description": "A comprehensive library that unleashes the full potential of React 18 server components, providing customizable loading animation components alongside a fullscreen loader container. Designed to seamlessly integrate with React and Next.js.", "license": "MPL-2.0", "main": "./dist/index.js", diff --git a/lib/src/constants.ts b/lib/src/constants.ts index 6a07b259..774e037d 100644 --- a/lib/src/constants.ts +++ b/lib/src/constants.ts @@ -1,3 +1,3 @@ /** generate uuid to avoid conflicting keys */ -const uuid = () => (Date.now() * Math.random()).toString(16).slice(2, 8); -export const LOADER_RGS_KEY = `loader-${uuid()}`; +// const uuid = () => (Date.now() * Math.random()).toString(16).slice(2, 8); +export const LOADER_RGS_KEY = "r18-loaders"; diff --git a/packages/shared/CHANGELOG.md b/packages/shared/CHANGELOG.md index ffff9988..157a3d8e 100644 --- a/packages/shared/CHANGELOG.md +++ b/packages/shared/CHANGELOG.md @@ -1,5 +1,12 @@ # @repo/shared +## 0.0.6 + +### Patch Changes + +- Updated dependencies + - react18-loaders@1.0.3 + ## 0.0.5 ### Patch Changes diff --git a/packages/shared/package.json b/packages/shared/package.json index d9bb5822..038945cf 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -1,6 +1,6 @@ { "name": "@repo/shared", - "version": "0.0.5", + "version": "0.0.6", "private": true, "sideEffects": false, "main": "./dist/index.js",