@duffel/components 3.7.31 → 3.8.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/custom-elements.js +2 -2
- package/custom-elements.js.map +2 -2
- package/functions/createThreeDSecureSession/createThreeDSecureSession.d.ts +0 -5
- package/functions/hasService.d.ts +3 -0
- package/functions.d.ts +10 -1
- package/index.js +3 -3
- package/index.js.map +2 -2
- package/package.json +6 -6
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -18,11 +18,6 @@ type CreateThreeDSecureSessionFn = (clientKey: string, cardId: string, resourceI
|
|
|
18
18
|
id: string;
|
|
19
19
|
quantity: number;
|
|
20
20
|
}>, cardholderPresent: boolean | null, exception?: string, environmentConfiguration?: Partial<typeof DEFAULT_ENVIRONMENT_CONFIGURATION>) => Promise<ThreeDSecureSession>;
|
|
21
|
-
declare global {
|
|
22
|
-
interface Window {
|
|
23
|
-
createThreeDSecureSession: CreateThreeDSecureSessionFn;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
21
|
export declare const createThreeDSecureSession: CreateThreeDSecureSessionFn;
|
|
27
22
|
declare const _default: {
|
|
28
23
|
createThreeDSecureSession: CreateThreeDSecureSessionFn;
|
package/functions.d.ts
CHANGED
|
@@ -1 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import { createThreeDSecureSession } from "./functions/createThreeDSecureSession/createThreeDSecureSession";
|
|
2
|
+
import { hasService } from "./functions/hasService";
|
|
3
|
+
import { hasAvailableSeatService } from "./lib/hasAvailableSeatService";
|
|
4
|
+
declare global {
|
|
5
|
+
interface Window {
|
|
6
|
+
createThreeDSecureSession: typeof createThreeDSecureSession;
|
|
7
|
+
hasAvailableSeatService: typeof hasAvailableSeatService;
|
|
8
|
+
hasService: typeof hasService;
|
|
9
|
+
}
|
|
10
|
+
}
|