@aindy/ui-kit 2.0.0 → 2.1.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/api/_core.d.ts +3 -0
- package/dist/api/_core.test.d.ts +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +837 -814
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/api/_core.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export function taggedRequest(domain: any, apiFn: any): (...args: any[]) => any;
|
|
2
|
+
/** Test seam: forget that the backend has been seen stamping. */
|
|
3
|
+
export function _resetEnvelopeDetection(): void;
|
|
2
4
|
export function unwrapEnvelope(response: any): any;
|
|
3
5
|
export function getStoredToken(): string;
|
|
4
6
|
export function setStoredToken(token: any): void;
|
|
@@ -11,6 +13,7 @@ export class ApiError extends Error {
|
|
|
11
13
|
status: any;
|
|
12
14
|
body: any;
|
|
13
15
|
}
|
|
16
|
+
export const ENVELOPE_HEADER: "X-AINDY-Envelope";
|
|
14
17
|
export const API_BASE: any;
|
|
15
18
|
export function authRequest(path: any, opts?: {}): Promise<any>;
|
|
16
19
|
export function request(path: any, opts?: {}): Promise<any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|