@gitbook/api 0.23.0 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +8 -1
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -6,7 +6,14 @@ export declare const GITBOOK_DEFAULT_ENDPOINT = "https://api.gitbook.com";
|
|
|
6
6
|
export declare class GitBookAPI extends Api<{
|
|
7
7
|
authToken?: string;
|
|
8
8
|
}> {
|
|
9
|
-
|
|
9
|
+
/**
|
|
10
|
+
* Endpoint used by the API client.
|
|
11
|
+
*/
|
|
12
|
+
readonly endpoint: string;
|
|
13
|
+
/**
|
|
14
|
+
* Authentication token used by the API client.
|
|
15
|
+
*/
|
|
16
|
+
readonly authToken: string | undefined;
|
|
10
17
|
constructor(options?: {
|
|
11
18
|
/**
|
|
12
19
|
* API endpoint to use.
|
package/dist/index.js
CHANGED