File tree Expand file tree Collapse file tree 3 files changed +15
-5
lines changed Expand file tree Collapse file tree 3 files changed +15
-5
lines changed Original file line number Diff line number Diff line change 5151 "@babel/preset-react" : " 7.18.6" ,
5252 "@rollup/plugin-json" : " ^6.0.0" ,
5353 "@rollup/plugin-replace" : " ^2.3.1" ,
54- "@stripe/connect-js" : " 3.3.30 " ,
54+ "@stripe/connect-js" : " 3.3.31 " ,
5555 "@types/jest" : " ^24.0.25" ,
5656 "@types/react" : " ^16.8.0" ,
5757 "@types/react-dom" : " ^16.8.0" ,
Original file line number Diff line number Diff line change @@ -413,9 +413,11 @@ export const ConnectTaxRegistrations = ({
413413 onLoaderStart,
414414 displayCountries,
415415 onAfterTaxRegistrationAdded,
416+ onAfterTaxRegistrationExpired,
416417} : {
417418 displayCountries ?: string [ ] ;
418419 onAfterTaxRegistrationAdded ?: ( { id} : { id : string } ) => void ;
420+ onAfterTaxRegistrationExpired ?: ( { id} : { id : string } ) => void ;
419421} & CommonComponentProps ) : JSX . Element => {
420422 const { wrapper, component : taxRegistrations } =
421423 useCreateComponent ( 'tax-registrations' ) ;
@@ -440,6 +442,14 @@ export const ConnectTaxRegistrations = ({
440442 }
441443 ) ;
442444
445+ useUpdateWithSetter (
446+ taxRegistrations ,
447+ onAfterTaxRegistrationExpired ,
448+ ( comp , val ) => {
449+ comp . setOnAfterTaxRegistrationExpired ( val ) ;
450+ }
451+ ) ;
452+
443453 return wrapper ;
444454} ;
445455
Original file line number Diff line number Diff line change 15771577 dependencies :
15781578 " @sinonjs/commons" " ^3.0.0"
15791579
1580- 1581- version "3.3.30 "
1582- resolved "https://registry.yarnpkg.com/@stripe/connect-js/-/connect-js-3.3.30 .tgz#922b1d04a7af9f4dbf431a58ded152806b1c47fd "
1583- integrity sha512-3GbRHNBqtmSvoAScTZYcXCaD8q+qf2Kpb6rb6+Rbc2kgKUykpoFuiHZKitW/DWC336z49XGZ/agJgYrEJ8r9vw ==
1580+ 1581+ version "3.3.31 "
1582+ resolved "https://registry.yarnpkg.com/@stripe/connect-js/-/connect-js-3.3.31 .tgz#9c84e85aa15da4099b1dfb4807bf009663f1eee0 "
1583+ integrity sha512-vjsZbatveSMoceOKZHt4eImmlBQla112OV9+enxcZUC1dGziTl2J2E3iH3n01yx9nu9ziesMJnSh/Y2d62TA/Q ==
15841584
15851585" @tootallnate/once@2 " :
15861586 version "2.0.0"
You can’t perform that action at this time.
0 commit comments