Skip to content

Commit

Permalink
Merge branch 'master' into guillaume/feat/add-lib-js-methods-and-test…
Browse files Browse the repository at this point in the history
…s-and-fixes
  • Loading branch information
GuillaumeDecMeetsMore committed Dec 12, 2024
2 parents 56eebfc + e52a183 commit 0595bde
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions clients/javascript/lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ export const NitteiUserClient = (
service: new NitteiServiceUserClient(axiosClient),
schedule: new NitteiScheduleUserClient(axiosClient),
user: new NitteiUserUserClient(axiosClient),
// Axios client exposed so that the user can use it
// - For adding interceptors
// - For making custom requests
axiosClient,
})
}

Expand Down Expand Up @@ -113,6 +117,10 @@ export const NitteiClient = async (
service: new NitteiServiceClient(axiosClient),
schedule: new NitteiScheduleClient(axiosClient),
health: new NitteiHealthClient(axiosClient),
// Axios client exposed so that the user can use it
// - For adding interceptors
// - For making custom requests
axiosClient,
})
}

Expand Down

0 comments on commit 0595bde

Please sign in to comment.