@shipengine/react-api 4.12.0 → 4.12.1
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/index.js +2 -0
- package/index.mjs +2 -0
- package/package.json +1 -1
- package/providers/shipengine.d.ts +1 -1
package/index.js
CHANGED
|
@@ -11,6 +11,7 @@ const ShipEngineContext = react.createContext(void 0);
|
|
|
11
11
|
const ShipEngine = ({
|
|
12
12
|
baseURL,
|
|
13
13
|
children,
|
|
14
|
+
debug,
|
|
14
15
|
headers,
|
|
15
16
|
getSandboxToken,
|
|
16
17
|
getToken,
|
|
@@ -27,6 +28,7 @@ const ShipEngine = ({
|
|
|
27
28
|
const token = getToken();
|
|
28
29
|
const commonClientProps = {
|
|
29
30
|
baseURL,
|
|
31
|
+
debug,
|
|
30
32
|
getSandboxToken,
|
|
31
33
|
getToken,
|
|
32
34
|
headers: headers != null ? headers : {},
|
package/index.mjs
CHANGED
|
@@ -8,6 +8,7 @@ const ShipEngineContext = createContext(void 0);
|
|
|
8
8
|
const ShipEngine = ({
|
|
9
9
|
baseURL,
|
|
10
10
|
children,
|
|
11
|
+
debug,
|
|
11
12
|
headers,
|
|
12
13
|
getSandboxToken,
|
|
13
14
|
getToken,
|
|
@@ -24,6 +25,7 @@ const ShipEngine = ({
|
|
|
24
25
|
const token = getToken();
|
|
25
26
|
const commonClientProps = {
|
|
26
27
|
baseURL,
|
|
28
|
+
debug,
|
|
27
29
|
getSandboxToken,
|
|
28
30
|
getToken,
|
|
29
31
|
headers: headers != null ? headers : {},
|
package/package.json
CHANGED
|
@@ -8,5 +8,5 @@ export type ShipEngineProps = {
|
|
|
8
8
|
children: React.ReactNode;
|
|
9
9
|
defaultQueryClientOptions?: DefaultOptions;
|
|
10
10
|
} & ShipEngineAPIConfig;
|
|
11
|
-
export declare const ShipEngine: ({ baseURL, children, headers, getSandboxToken, getToken, onApiError, defaultQueryClientOptions, }: ShipEngineProps) => JSX.Element;
|
|
11
|
+
export declare const ShipEngine: ({ baseURL, children, debug, headers, getSandboxToken, getToken, onApiError, defaultQueryClientOptions, }: ShipEngineProps) => JSX.Element;
|
|
12
12
|
export declare const useShipEngine: () => ShipEngineContextValue;
|