@scalar/api-client-react 0.1.1 → 0.1.3
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/CHANGELOG.md +13 -0
- package/dist/index.cjs +738 -3131
- package/dist/index.d.ts +5 -2
- package/dist/index.js +738 -3131
- package/dist/index.umd.cjs +738 -3131
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -4,19 +4,22 @@ import { default as React_2 } from 'react';
|
|
|
4
4
|
/**
|
|
5
5
|
* Api Client React
|
|
6
6
|
*/
|
|
7
|
-
export declare const ApiClientReact: ({ close, isOpen, request }: Props) => React_2.JSX.Element;
|
|
7
|
+
export declare const ApiClientReact: ({ proxy, close, isOpen, request, }: Props) => React_2.JSX.Element;
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Api Client base for react
|
|
11
11
|
* You are probably looking for ApiClientReact
|
|
12
12
|
* only use this if you know what you are doing
|
|
13
13
|
*/
|
|
14
|
-
export declare const ApiClientReactBase: (
|
|
14
|
+
export declare const ApiClientReactBase: (props: {
|
|
15
|
+
proxy: string;
|
|
16
|
+
}) => React_2.JSX.Element;
|
|
15
17
|
|
|
16
18
|
declare type Props = {
|
|
17
19
|
close: () => void;
|
|
18
20
|
isOpen: boolean;
|
|
19
21
|
request: ClientRequestConfig;
|
|
22
|
+
proxy?: string;
|
|
20
23
|
};
|
|
21
24
|
|
|
22
25
|
export { }
|