@modulrfinance/customer-verification-sdk 2.0.0-beta.10 → 2.0.0-beta.12
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/cdn/modulr-customer-verification-sdk.js +24 -17
- package/index.mjs +1220 -1168
- package/lib/custom-style-theme.d.ts +7 -0
- package/lib/sdk.handler.d.ts +3 -1
- package/package.json +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CustomStyle } from './sdk.model';
|
|
2
|
+
export declare const CUSTOM_STYLE_ELEMENT_ID = "data-cvs-custom-style";
|
|
3
|
+
export declare function kendoCustomProperties(style: CustomStyle): Record<string, string>;
|
|
4
|
+
export declare function applyCustomStyle(host: HTMLElement, style: CustomStyle | undefined): void;
|
|
5
|
+
export declare function installCustomStyleSheet(style: CustomStyle | undefined): void;
|
|
6
|
+
export declare function removeCustomStyleSheet(): void;
|
|
7
|
+
//# sourceMappingURL=custom-style-theme.d.ts.map
|
package/lib/sdk.handler.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CachedApplicationDetails, CloseOptions, CustomerVerificationSdkInstance, OpenOptions, SdkErrorResult } from './sdk.model';
|
|
1
|
+
import { CachedApplicationDetails, CloseOptions, CustomStyle, CustomerVerificationSdkInstance, OpenOptions, SdkErrorResult } from './sdk.model';
|
|
2
2
|
type ReadyOptions = {
|
|
3
3
|
onAlloyComplete?: (data: unknown) => void;
|
|
4
4
|
};
|
|
@@ -19,6 +19,8 @@ export declare class CustomerVerificationSdkController implements CustomerVerifi
|
|
|
19
19
|
private activeApplicationId;
|
|
20
20
|
private activeOnboardingParams;
|
|
21
21
|
private cachedApplicationDetails;
|
|
22
|
+
private customStyle;
|
|
23
|
+
useCustomStyle(customStyle: CustomStyle | undefined): void;
|
|
22
24
|
markReady(options?: ReadyOptions): void;
|
|
23
25
|
markReadyForForm(message: string): void;
|
|
24
26
|
markReadyForKyb(applicationId: string, applicationDetails?: CachedApplicationDetails): void;
|