@transmitsecurity/platform-web-sdk 1.18.2 → 2.0.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/ido.d.ts CHANGED
@@ -27,6 +27,12 @@ interface IdoInitOptions {
27
27
  * The expected locale format is the standard language tags as defined by the localization RFC 5646 (https://datatracker.ietf.org/doc/html/rfc5646).
28
28
  */
29
29
  locale?: string;
30
+ /**
31
+ * When true, the SDK will collect queued device events and send them back to the server.
32
+ * This flag is mandatory for collecting data for the Risk Level Analysis step.
33
+ * @default false
34
+ */
35
+ collectRiskData?: boolean;
30
36
  }
31
37
  /**
32
38
  * @interface
@@ -945,30 +951,15 @@ declare module "@transmit-security/web-sdk-common/dist/module-metadata/module-me
945
951
  ido?: IdoInitOptions;
946
952
  }
947
953
  }
948
- declare const instance: IdoSdk;
949
954
 
950
- declare namespace _transmit_security_ido_web_sdk {
951
- export {
952
- instance as default,
953
- };
954
- }
955
+ declare const startJourney: IdoSdk['startJourney'];
956
+ declare const startSsoJourney: IdoSdk['startSsoJourney'];
957
+ declare const submitClientResponse: IdoSdk['submitClientResponse'];
958
+ declare const serializeState: IdoSdk['serializeState'];
959
+ declare const restoreFromSerializedState: IdoSdk['restoreFromSerializedState'];
960
+ declare const generateDebugPin: IdoSdk['generateDebugPin'];
955
961
 
956
962
  declare const PACKAGE_VERSION: string;
957
963
  declare function initialize(config: any): void;
958
964
 
959
- declare const ido: { initialize: (config: any) => void; default: typeof instance } & typeof _transmit_security_ido_web_sdk;
960
-
961
-
962
- export { IdoInitOptions };
963
- export { StartJourneyOptions };
964
- export { StartSsoJourneyOptions };
965
- export { LogLevel };
966
- export { ErrorCode };
967
- export { IdoSdkError };
968
- export { ClientResponseOptionType };
969
- export { ClientResponseOption };
970
- export { IdoServiceResponseType };
971
- export { IdoJourneyActionType };
972
- export { IdoServiceResponse };
973
-
974
- export { PACKAGE_VERSION, instance as default, ido, initialize };
965
+ export { ClientResponseOption, ClientResponseOptionType, ErrorCode as IdoErrorCode, IdoInitOptions, IdoJourneyActionType, IdoSdk, IdoSdkError, IdoServiceResponse, IdoServiceResponseType, LogLevel, PACKAGE_VERSION, StartJourneyOptions, StartSsoJourneyOptions, generateDebugPin, initialize, restoreFromSerializedState, serializeState, startJourney, startSsoJourney, submitClientResponse };