diff --git a/package-lock.json b/package-lock.json
index a3c20aef4..1ae43c47d 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -11,6 +11,7 @@
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
"@google-cloud/bigquery": "^7.3.0",
"@paystring/utils": "^2.0.0",
+ "@redux-devtools/extension": "^3.2.5",
"@rollup/plugin-inject": "^5.0.3",
"@vitejs/plugin-react": "^3.0.0",
"@xrplf/prettier-config": "^1.9.1",
@@ -44,12 +45,11 @@
"react-i18next": "^12.3.1",
"react-json-view": "^1.21.3",
"react-query": "^3.39.3",
- "react-redux": "^7.0.1",
+ "react-redux": "^8.1.3",
"react-router": "^6.12.1",
"react-router-dom": "^6.15.0",
"recharts": "^2.7.2",
- "redux": "^3.7.2",
- "redux-devtools-extension": "^2.13.8",
+ "redux": "^4.2.1",
"redux-logger": "^3.0.6",
"redux-thunk": "^2.2.0",
"rewire": "^6.0.0",
@@ -5324,6 +5324,18 @@
"yarn": "please use npm"
}
},
+ "node_modules/@redux-devtools/extension": {
+ "version": "3.2.5",
+ "resolved": "https://registry.npmjs.org/@redux-devtools/extension/-/extension-3.2.5.tgz",
+ "integrity": "sha512-UhyDF7WmdnCrN1s++YC4sdQCo0z6YUnoB2eCh15nXDDq3QH1jDju1144UNRU6Nvi4inxhaIum4m9BXVYWVC1ng==",
+ "dependencies": {
+ "@babel/runtime": "^7.20.7",
+ "immutable": "^4.2.2"
+ },
+ "peerDependencies": {
+ "redux": "^3.1.0 || ^4.0.0"
+ }
+ },
"node_modules/@remix-run/router": {
"version": "1.8.0",
"resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.8.0.tgz",
@@ -5714,7 +5726,7 @@
},
"node_modules/@types/react-dom": {
"version": "17.0.9",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"dependencies": {
"@types/react": "*"
@@ -5722,6 +5734,7 @@
},
"node_modules/@types/react-redux": {
"version": "7.1.22",
+ "dev": true,
"license": "MIT",
"dependencies": {
"@types/hoist-non-react-statics": "^3.3.0",
@@ -5730,13 +5743,6 @@
"redux": "^4.0.0"
}
},
- "node_modules/@types/react-redux/node_modules/redux": {
- "version": "4.1.2",
- "license": "MIT",
- "dependencies": {
- "@babel/runtime": "^7.9.2"
- }
- },
"node_modules/@types/scheduler": {
"version": "0.16.2",
"license": "MIT"
@@ -5752,6 +5758,11 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/@types/use-sync-external-store": {
+ "version": "0.0.3",
+ "resolved": "https://registry.npmjs.org/@types/use-sync-external-store/-/use-sync-external-store-0.0.3.tgz",
+ "integrity": "sha512-EwmlvuaxPNej9+T4v5AuBPJa2x2UOJVdjCtDHgcDqitUeOtjnJKJ+apYjVcAoBEMjKW1VVFGZLUb5+qqa09XFA=="
+ },
"node_modules/@types/yargs": {
"version": "13.0.11",
"dev": true,
@@ -13011,9 +13022,9 @@
"license": "ISC"
},
"node_modules/immutable": {
- "version": "4.0.0",
- "devOptional": true,
- "license": "MIT"
+ "version": "4.3.4",
+ "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.4.tgz",
+ "integrity": "sha512-fsXeu4J4i6WNWSikpI88v/PcVflZz+6kMhUfIwc5SY+poQRPnaf5V7qds6SUyUN3cVxEzuCab7QIoLOQ+DQ1wA=="
},
"node_modules/import-fresh": {
"version": "3.3.0",
@@ -20534,10 +20545,6 @@
"version": "4.17.21",
"license": "MIT"
},
- "node_modules/lodash-es": {
- "version": "4.17.21",
- "license": "MIT"
- },
"node_modules/lodash._baseisequal": {
"version": "3.0.7",
"dev": true,
@@ -22614,31 +22621,47 @@
}
},
"node_modules/react-redux": {
- "version": "7.2.9",
- "license": "MIT",
+ "version": "8.1.3",
+ "resolved": "https://registry.npmjs.org/react-redux/-/react-redux-8.1.3.tgz",
+ "integrity": "sha512-n0ZrutD7DaX/j9VscF+uTALI3oUPa/pO4Z3soOBIjuRn/FzVu6aehhysxZCLi6y7duMf52WNZGMl7CtuK5EnRw==",
"dependencies": {
- "@babel/runtime": "^7.15.4",
- "@types/react-redux": "^7.1.20",
+ "@babel/runtime": "^7.12.1",
+ "@types/hoist-non-react-statics": "^3.3.1",
+ "@types/use-sync-external-store": "^0.0.3",
"hoist-non-react-statics": "^3.3.2",
- "loose-envify": "^1.4.0",
- "prop-types": "^15.7.2",
- "react-is": "^17.0.2"
+ "react-is": "^18.0.0",
+ "use-sync-external-store": "^1.0.0"
},
"peerDependencies": {
- "react": "^16.8.3 || ^17 || ^18"
+ "@types/react": "^16.8 || ^17.0 || ^18.0",
+ "@types/react-dom": "^16.8 || ^17.0 || ^18.0",
+ "react": "^16.8 || ^17.0 || ^18.0",
+ "react-dom": "^16.8 || ^17.0 || ^18.0",
+ "react-native": ">=0.59",
+ "redux": "^4 || ^5.0.0-beta.0"
},
"peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ },
"react-dom": {
"optional": true
},
"react-native": {
"optional": true
+ },
+ "redux": {
+ "optional": true
}
}
},
"node_modules/react-redux/node_modules/react-is": {
- "version": "17.0.2",
- "license": "MIT"
+ "version": "18.2.0",
+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz",
+ "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w=="
},
"node_modules/react-resize-detector": {
"version": "8.1.0",
@@ -22860,20 +22883,11 @@
"license": "MIT"
},
"node_modules/redux": {
- "version": "3.7.2",
- "license": "MIT",
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/redux/-/redux-4.2.1.tgz",
+ "integrity": "sha512-LAUYz4lc+Do8/g7aeRa8JkyDErK6ekstQaqWQrNRW//MY1TvCEpMtpTWvlQ+FPbWCx+Xixu/6SHt5N0HR+SB4w==",
"dependencies": {
- "lodash": "^4.2.1",
- "lodash-es": "^4.2.1",
- "loose-envify": "^1.1.0",
- "symbol-observable": "^1.0.3"
- }
- },
- "node_modules/redux-devtools-extension": {
- "version": "2.13.9",
- "license": "MIT",
- "peerDependencies": {
- "redux": "^3.1.0 || ^4.0.0"
+ "@babel/runtime": "^7.9.2"
}
},
"node_modules/redux-logger": {
@@ -25728,13 +25742,6 @@
"version": "1.0.0",
"dev": true
},
- "node_modules/symbol-observable": {
- "version": "1.2.0",
- "license": "MIT",
- "engines": {
- "node": ">=0.10.0"
- }
- },
"node_modules/symbol-tree": {
"version": "3.2.4",
"dev": true,
@@ -26923,6 +26930,14 @@
}
}
},
+ "node_modules/use-sync-external-store": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz",
+ "integrity": "sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==",
+ "peerDependencies": {
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0"
+ }
+ },
"node_modules/usehooks-ts": {
"version": "2.9.1",
"resolved": "https://registry.npmjs.org/usehooks-ts/-/usehooks-ts-2.9.1.tgz",
@@ -31469,6 +31484,15 @@
"jose": "^3.4.0"
}
},
+ "@redux-devtools/extension": {
+ "version": "3.2.5",
+ "resolved": "https://registry.npmjs.org/@redux-devtools/extension/-/extension-3.2.5.tgz",
+ "integrity": "sha512-UhyDF7WmdnCrN1s++YC4sdQCo0z6YUnoB2eCh15nXDDq3QH1jDju1144UNRU6Nvi4inxhaIum4m9BXVYWVC1ng==",
+ "requires": {
+ "@babel/runtime": "^7.20.7",
+ "immutable": "^4.2.2"
+ }
+ },
"@remix-run/router": {
"version": "1.8.0",
"resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.8.0.tgz",
@@ -31795,26 +31819,19 @@
},
"@types/react-dom": {
"version": "17.0.9",
- "dev": true,
+ "devOptional": true,
"requires": {
"@types/react": "*"
}
},
"@types/react-redux": {
"version": "7.1.22",
+ "dev": true,
"requires": {
"@types/hoist-non-react-statics": "^3.3.0",
"@types/react": "*",
"hoist-non-react-statics": "^3.3.0",
"redux": "^4.0.0"
- },
- "dependencies": {
- "redux": {
- "version": "4.1.2",
- "requires": {
- "@babel/runtime": "^7.9.2"
- }
- }
}
},
"@types/scheduler": {
@@ -31830,6 +31847,11 @@
"version": "1.0.1",
"dev": true
},
+ "@types/use-sync-external-store": {
+ "version": "0.0.3",
+ "resolved": "https://registry.npmjs.org/@types/use-sync-external-store/-/use-sync-external-store-0.0.3.tgz",
+ "integrity": "sha512-EwmlvuaxPNej9+T4v5AuBPJa2x2UOJVdjCtDHgcDqitUeOtjnJKJ+apYjVcAoBEMjKW1VVFGZLUb5+qqa09XFA=="
+ },
"@types/yargs": {
"version": "13.0.11",
"dev": true,
@@ -36845,8 +36867,9 @@
"dev": true
},
"immutable": {
- "version": "4.0.0",
- "devOptional": true
+ "version": "4.3.4",
+ "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.4.tgz",
+ "integrity": "sha512-fsXeu4J4i6WNWSikpI88v/PcVflZz+6kMhUfIwc5SY+poQRPnaf5V7qds6SUyUN3cVxEzuCab7QIoLOQ+DQ1wA=="
},
"import-fresh": {
"version": "3.3.0",
@@ -42044,9 +42067,6 @@
"lodash": {
"version": "4.17.21"
},
- "lodash-es": {
- "version": "4.17.21"
- },
"lodash._baseisequal": {
"version": "3.0.7",
"dev": true,
@@ -43401,18 +43421,22 @@
}
},
"react-redux": {
- "version": "7.2.9",
+ "version": "8.1.3",
+ "resolved": "https://registry.npmjs.org/react-redux/-/react-redux-8.1.3.tgz",
+ "integrity": "sha512-n0ZrutD7DaX/j9VscF+uTALI3oUPa/pO4Z3soOBIjuRn/FzVu6aehhysxZCLi6y7duMf52WNZGMl7CtuK5EnRw==",
"requires": {
- "@babel/runtime": "^7.15.4",
- "@types/react-redux": "^7.1.20",
+ "@babel/runtime": "^7.12.1",
+ "@types/hoist-non-react-statics": "^3.3.1",
+ "@types/use-sync-external-store": "^0.0.3",
"hoist-non-react-statics": "^3.3.2",
- "loose-envify": "^1.4.0",
- "prop-types": "^15.7.2",
- "react-is": "^17.0.2"
+ "react-is": "^18.0.0",
+ "use-sync-external-store": "^1.0.0"
},
"dependencies": {
"react-is": {
- "version": "17.0.2"
+ "version": "18.2.0",
+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz",
+ "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w=="
}
}
},
@@ -43567,18 +43591,13 @@
}
},
"redux": {
- "version": "3.7.2",
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/redux/-/redux-4.2.1.tgz",
+ "integrity": "sha512-LAUYz4lc+Do8/g7aeRa8JkyDErK6ekstQaqWQrNRW//MY1TvCEpMtpTWvlQ+FPbWCx+Xixu/6SHt5N0HR+SB4w==",
"requires": {
- "lodash": "^4.2.1",
- "lodash-es": "^4.2.1",
- "loose-envify": "^1.1.0",
- "symbol-observable": "^1.0.3"
+ "@babel/runtime": "^7.9.2"
}
},
- "redux-devtools-extension": {
- "version": "2.13.9",
- "requires": {}
- },
"redux-logger": {
"version": "3.0.6",
"requires": {
@@ -45535,9 +45554,6 @@
"version": "1.0.0",
"dev": true
},
- "symbol-observable": {
- "version": "1.2.0"
- },
"symbol-tree": {
"version": "3.2.4",
"dev": true
@@ -46335,6 +46351,12 @@
"use-isomorphic-layout-effect": "^1.0.0"
}
},
+ "use-sync-external-store": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz",
+ "integrity": "sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==",
+ "requires": {}
+ },
"usehooks-ts": {
"version": "2.9.1",
"resolved": "https://registry.npmjs.org/usehooks-ts/-/usehooks-ts-2.9.1.tgz",
diff --git a/package.json b/package.json
index c9472491e..6f4236b1e 100644
--- a/package.json
+++ b/package.json
@@ -6,6 +6,7 @@
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
"@google-cloud/bigquery": "^7.3.0",
"@paystring/utils": "^2.0.0",
+ "@redux-devtools/extension": "^3.2.5",
"@rollup/plugin-inject": "^5.0.3",
"@vitejs/plugin-react": "^3.0.0",
"@xrplf/prettier-config": "^1.9.1",
@@ -39,12 +40,11 @@
"react-i18next": "^12.3.1",
"react-json-view": "^1.21.3",
"react-query": "^3.39.3",
- "react-redux": "^7.0.1",
+ "react-redux": "^8.1.3",
"react-router": "^6.12.1",
"react-router-dom": "^6.15.0",
"recharts": "^2.7.2",
- "redux": "^3.7.2",
- "redux-devtools-extension": "^2.13.8",
+ "redux": "^4.2.1",
"redux-logger": "^3.0.6",
"redux-thunk": "^2.2.0",
"rewire": "^6.0.0",
diff --git a/src/index.html b/src/index.html
index 265be6aa7..e70936306 100644
--- a/src/index.html
+++ b/src/index.html
@@ -52,7 +52,7 @@
window.Buffer = Buffer;
<% } %>
-
+