From 20cf77f9649ac3a5a690e9ee69ec30f45bd71274 Mon Sep 17 00:00:00 2001 From: Sekhrob Ibrokhimov Date: Tue, 23 Jul 2024 11:19:53 +0100 Subject: [PATCH 1/2] Add new tax components --- src/Components.tsx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Components.tsx b/src/Components.tsx index edfe844..78d17d4 100644 --- a/src/Components.tsx +++ b/src/Components.tsx @@ -122,3 +122,13 @@ export const ConnectBalances = (): JSX.Element => { const {wrapper} = useCreateComponent('balances'); return wrapper; }; + +export const ConnectTaxRegistrations = (): JSX.Element => { + const {wrapper} = useCreateComponent('tax-registrations'); + return wrapper; +}; + +export const ConnectTaxSettings = (): JSX.Element => { + const {wrapper} = useCreateComponent('tax-settings'); + return wrapper; +}; \ No newline at end of file From b302a0ed1ee24cd2dbcd6991432640d050ab4252 Mon Sep 17 00:00:00 2001 From: Sekhrob Ibrokhimov Date: Fri, 26 Jul 2024 15:47:11 +0100 Subject: [PATCH 2/2] Update the version of connect-js which include tax comp types --- package.json | 4 ++-- yarn.lock | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index fa5b9f0..625c6c9 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "@babel/preset-react": "7.18.6", "@rollup/plugin-json": "^6.0.0", "@rollup/plugin-replace": "^2.3.1", - "@stripe/connect-js": "3.3.9", + "@stripe/connect-js": "3.3.11", "@types/jest": "^24.0.25", "@types/react": "^16.8.0", "@types/react-dom": "^16.8.0", @@ -84,7 +84,7 @@ "zx": "^4.2.0" }, "peerDependencies": { - "@stripe/connect-js": ">=3.3.9", + "@stripe/connect-js": ">=3.3.11", "react": ">=16.8.0", "react-dom": ">=16.8.0" } diff --git a/yarn.lock b/yarn.lock index ccb9c35..f6e2c68 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1439,10 +1439,10 @@ dependencies: "@sinonjs/commons" "^3.0.0" -"@stripe/connect-js@3.3.9": - version "3.3.9" - resolved "https://registry.yarnpkg.com/@stripe/connect-js/-/connect-js-3.3.9.tgz#1132a1b3bf8d46345e42b1532ea42663e7ab15b2" - integrity sha512-4ilZpzPV2bYDRrcsY8Jj0cBYRVABqKOqnnHDDDcn0YNjMnLJULYPKBqa14Lk3Xo8xybbd3BHCZgX6B5Dm8SuPg== +"@stripe/connect-js@3.3.11": + version "3.3.11" + resolved "https://registry.yarnpkg.com/@stripe/connect-js/-/connect-js-3.3.11.tgz#b9c22a1817d2e3374abb26d409881a5922260d2a" + integrity sha512-ucKb6PtOUNBW7Kzbwgm24HMv0UOBAncZgsIDARmezgA04XegUHzRdyqdMghbdrXv33IyfZxMJTAtlIfJvuesSw== "@tootallnate/once@2": version "2.0.0"