From e6ffbd5607776fbe292ec5dd15662cb8a5378af2 Mon Sep 17 00:00:00 2001 From: "Daggie Blanqx (Douglas Mwangi)" Date: Sun, 12 Oct 2025 18:48:45 +0300 Subject: [PATCH 1/2] Move to react@19.1.0 There is an annoying legacy-dependencies error when using this in newer versions of React and NextJS --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index d7110ed..27bfcce 100644 --- a/package.json +++ b/package.json @@ -69,9 +69,9 @@ "jest": "^29.5.0", "jest-environment-jsdom": "^29.5.0", "prettier": "^3.3.3", - "react": "^18.3.1", - "react-dom": "^18.3.1", - "react-test-renderer": "^18.3.1", + "react": "^19.1.0", + "react-dom": "^19.1.0", + "react-test-renderer": "^19.1.0", "rollup": "^4.20.0", "rollup-plugin-babel": "^4.4.0", "rollup-plugin-commonjs": "^10.1.0", From 4f2e1e356de18c83115998c3c17584852920869d Mon Sep 17 00:00:00 2001 From: "Daggie Blanqx (Douglas Mwangi)" Date: Sun, 12 Oct 2025 18:52:15 +0300 Subject: [PATCH 2/2] Bump version from 6.0.0 to 6.0.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 27bfcce..29f5a59 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-paystack", - "version": "6.0.0", + "version": "6.0.1", "description": "This is an reactJS library for implementing paystack payment gateway", "main": "dist/index.js", "module": "dist/index.es.js",