File tree Expand file tree Collapse file tree 8 files changed +525
-726
lines changed
Expand file tree Collapse file tree 8 files changed +525
-726
lines changed Original file line number Diff line number Diff line change 1111 "test" : " echo \" Did you mean to run 'test:e'?\" && exit 0"
1212 },
1313 "devDependencies" : {
14- "@babel/core" : " 7.23.5 " ,
14+ "@babel/core" : " 7.23.6 " ,
1515 "@babel/plugin-transform-modules-commonjs" : " 7.23.3" ,
1616 "@babel/preset-env" : " 7.23.6" ,
1717 "@darraghor/eslint-plugin-nestjs-typed" : " 4.3.9" ,
Original file line number Diff line number Diff line change 3232 }
3333 },
3434 "dependencies" : {
35- "@babel/core" : " 7.23.5 " ,
36- "@darraghor/nest-backend-libs" : " 2.42.4 " ,
35+ "@babel/core" : " 7.23.6 " ,
36+ "@darraghor/nest-backend-libs" : " 3.0.0 " ,
3737 "@mapbox/rehype-prism" : " 0.8.0" ,
3838 "@nestjs/bull" : " 10.0.1" ,
3939 "@nestjs/cache-manager" : " 2.1.1" ,
Original file line number Diff line number Diff line change 1212 "browserslist" : " defaults, not ie <= 11" ,
1313 "dependencies" : {
1414 "@auth0/nextjs-auth0" : " 3.5.0" ,
15- "@babel/core" : " 7.23.5 " ,
15+ "@babel/core" : " 7.23.6 " ,
1616 "@babel/plugin-syntax-flow" : " ^7.22.5" ,
1717 "@babel/plugin-transform-react-jsx" : " ^7.22.15" ,
1818 "@headlessui/react" : " 1.7.17" ,
6666 "next" : " 14.0.4" ,
6767 "next-progress" : " 2.3.1" ,
6868 "nx" : " 17.1.3" ,
69- "opentelemetry-instrumentation-undici" : " 0.1.1 " ,
69+ "opentelemetry-instrumentation-undici" : " 0.2.2 " ,
7070 "postcss" : " 8.4.32" ,
7171 "postcss-focus-visible" : " 9.0.1" ,
7272 "prettier" : " 3.1.1" ,
Original file line number Diff line number Diff line change @@ -5,10 +5,10 @@ import {
55import { useMutation } from "@tanstack/react-query" ;
66
77export function useGetCustomerPortalSession ( ) {
8- return useMutation (
9- [ "getCustomerPortalSession" ] ,
10- async (
11- variables : StripeCustomerPortalRequestDto
8+ return useMutation ( {
9+ mutationKey : [ "getCustomerPortalSession" ] ,
10+ mutationFn : async (
11+ variables : StripeCustomerPortalRequestDto ,
1212 ) : Promise < StripeCustomerPortalResponseDto > => {
1313 const response = await fetch ( "/api/stripe/customer-portal-link" , {
1414 method : "POST" ,
@@ -20,6 +20,6 @@ export function useGetCustomerPortalSession() {
2020 const result =
2121 ( await response . json ( ) ) as StripeCustomerPortalResponseDto ;
2222 return result ;
23- }
24- ) ;
23+ } ,
24+ } ) ;
2525}
Original file line number Diff line number Diff line change @@ -5,10 +5,10 @@ import {
55import { useMutation } from "@tanstack/react-query" ;
66
77export function useGetPaymentLink ( ) {
8- return useMutation (
9- [ "getCheckoutSession" ] ,
10- async (
11- variables : StripeCheckoutSessionRequestDto
8+ return useMutation ( {
9+ mutationKey : [ "getCheckoutSession" ] ,
10+ mutationFn : async (
11+ variables : StripeCheckoutSessionRequestDto ,
1212 ) : Promise < StripeCheckoutSessionResponseDto > => {
1313 const response = await fetch ( "/api/stripe/checkout-link" , {
1414 method : "POST" ,
@@ -21,6 +21,6 @@ export function useGetPaymentLink() {
2121 ( await response . json ( ) ) as StripeCheckoutSessionResponseDto ;
2222
2323 return result ;
24- }
25- ) ;
24+ } ,
25+ } ) ;
2626}
Original file line number Diff line number Diff line change 1515 "mill-init" : " dist/miller-setup.js"
1616 },
1717 "devDependencies" : {
18- "@babel/core" : " 7.23.5 " ,
18+ "@babel/core" : " 7.23.6 " ,
1919 "@babel/preset-env" : " 7.23.6" ,
2020 "@babel/preset-typescript" : " 7.23.3" ,
2121 "@types/figlet" : " 1.5.8" ,
Original file line number Diff line number Diff line change 1111 "prepare" : " pnpm build"
1212 },
1313 "devDependencies" : {
14- "typescript" : " ^5.3.3 "
14+ "typescript" : " ^3.9.5 "
1515 }
1616}
You can’t perform that action at this time.
0 commit comments