-
Notifications
You must be signed in to change notification settings - Fork 311
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
60ae84a
commit 7ec968f
Showing
1 changed file
with
4 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,4 @@ | ||
import { createRequire } from 'module'; | ||
const require = createRequire(import.meta.url); | ||
/** | ||
* Simple facade for consuming a REST API endpoint. | ||
* | ||
* @external RestClient | ||
* {@link https://github.com/ngonzalvez/rest-facade} | ||
*/ | ||
export const ManagementClient = require('./management'); | ||
export const AuthenticationClient = require('./auth'); | ||
export default { ManagementClient, AuthenticationClient } | ||
import mod from './index.js'; | ||
|
||
export const { ManagementClient, AuthenticationClient } = mod; | ||
export default { ManagementClient, AuthenticationClient }; |