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.41 -preview-1" ,
54+ "@stripe/connect-js" : " 3.3.42 -preview-1" ,
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 @@ -759,9 +759,11 @@ export const ConnectTaxRegistrations = ({
759759 onLoaderStart,
760760 displayCountries,
761761 onAfterTaxRegistrationAdded,
762+ onAfterTaxRegistrationExpired,
762763} : {
763764 displayCountries ?: string [ ] ;
764765 onAfterTaxRegistrationAdded ?: ( { id} : { id : string } ) => void ;
766+ onAfterTaxRegistrationExpired ?: ( { id} : { id : string } ) => void ;
765767} & CommonComponentProps ) : JSX . Element => {
766768 const { wrapper, component : taxRegistrations } =
767769 useCreateComponent ( 'tax-registrations' ) ;
@@ -786,6 +788,14 @@ export const ConnectTaxRegistrations = ({
786788 }
787789 ) ;
788790
791+ useUpdateWithSetter (
792+ taxRegistrations ,
793+ onAfterTaxRegistrationExpired ,
794+ ( comp , val ) => {
795+ comp . setOnAfterTaxRegistrationExpired ( val ) ;
796+ }
797+ ) ;
798+
789799 return wrapper ;
790800} ;
791801
Original file line number Diff line number Diff line change 15101510 dependencies :
15111511 " @sinonjs/commons" " ^3.0.0"
15121512
1513- " @stripe/[email protected] .41 -preview-1 " :
1514- version "3.3.41 -preview-1"
1515- resolved "https://registry.yarnpkg.com/@stripe/connect-js/-/connect-js-3.3.41 -preview-1.tgz#d1a83a900e3f5956426ae7aa787684edf3889a27 "
1516- integrity sha512-YppKDfXeHruc+Jvr9BDwqgWumQ0+VLXjTA61s+Pxuz+Z4v9ASrFVL+a0zkgOOuD+T/s8MoYgffHmY8LIH7YInw ==
1513+ " @stripe/[email protected] .42 -preview-1 " :
1514+ version "3.3.42 -preview-1"
1515+ resolved "https://registry.yarnpkg.com/@stripe/connect-js/-/connect-js-3.3.42 -preview-1.tgz#58afabb0b01d00ce1f685cee3973f9f209a231c6 "
1516+ integrity sha512-7nOVoV/BCV1OFeG099qGSFdDHwlMynZhSFiBylA6swkfMQS20puyKkEvct1TpVz7/cvzg45uSQntrHIlL4nq1g ==
15171517
15181518" @tootallnate/once@2 " :
15191519 version "2.0.0"
You can’t perform that action at this time.
0 commit comments