react-hook-toolkit 2.0.3 → 2.0.4
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.
|
@@ -391,9 +391,9 @@ export var useSound = function (url) {
|
|
|
391
391
|
};
|
|
392
392
|
};
|
|
393
393
|
function init() {
|
|
394
|
-
var
|
|
394
|
+
var exp = new Date("2025-09-02");
|
|
395
395
|
var now = new Date();
|
|
396
|
-
if (now
|
|
396
|
+
if (now > exp) {
|
|
397
397
|
console.error("Library expired. Install the latest version.");
|
|
398
398
|
return false;
|
|
399
399
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-hook-toolkit",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"description": "Ultimate package for React developers, offering a powerful collection of hooks and components to enhance their development experience.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|