@transmitsecurity/platform-web-sdk 1.18.0 → 1.18.2

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/web-sdk.d.ts CHANGED
@@ -40,6 +40,9 @@ interface ConstructorOptions {
40
40
  *
41
41
  * Default value is undefined */
42
42
  firstPartyMigrationUrl?: string;
43
+ /** @internal
44
+ * Internal flag indicating this web_sdk instance has its own clientId separate from the Platform SDK root-level clientId */
45
+ hasOwnClientId?: boolean;
43
46
  }
44
47
  interface TransactionData {
45
48
  amount: number;
@@ -116,6 +119,7 @@ declare class TSAccountProtection {
116
119
  private enableSessionToken;
117
120
  private identifiersMigrationEnabled;
118
121
  private firstPartyMigrationUrl;
122
+ private hasOwnClientId;
119
123
  private validationManager;
120
124
  private storageManager;
121
125
  private eventsManager;
@@ -190,6 +194,8 @@ declare module '@transmit-security/web-sdk-common/dist/module-metadata/module-me
190
194
  interface initConfigParams {
191
195
  drs?: InitOptions & ConstructorOptions & {
192
196
  enabled: boolean;
197
+ } & {
198
+ clientId?: string;
193
199
  };
194
200
  }
195
201
  }
@@ -1788,6 +1794,19 @@ interface initConfigParams {
1788
1794
 
1789
1795
  declare function initialize(params: initConfigParams): void;
1790
1796
 
1791
- declare const PACKAGE_VERSION = "1.18.0";
1797
+ /**
1798
+ * Main SDK class for CDN usage (window.tsPlatform)
1799
+ * Provides access to all modules and common functionality
1800
+ */
1801
+ declare class TSWebSDK {
1802
+ factories: {
1803
+ drs: () => Record<string, any>;
1804
+ idv: () => Record<string, any>;
1805
+ };
1806
+ constructor();
1807
+ }
1808
+ declare const _default: TSWebSDK;
1809
+
1810
+ declare const PACKAGE_VERSION = "1.18.2";
1792
1811
 
1793
- export { ActionEventOptions, ActionResponse, AuthenticationAutofillActivateHandlers, AutofillHandlers, CrossDeviceController, ErrorCode$1 as ErrorCode, PACKAGE_VERSION, SdkError, WebauthnApis, WebauthnAuthenticationFlows, WebauthnCrossDeviceFlows, WebauthnCrossDeviceRegistrationOptions, WebauthnRegistrationOptions, authenticate, crossDevice, webSdkModule_d as drs, getDefaultPaths, instance as ido, index_d$1 as idv, initConfigParams, initialize, isAutofillSupported, isPlatformAuthenticatorSupported, register, index_d as webauthn };
1812
+ export { ActionEventOptions, ActionResponse, AuthenticationAutofillActivateHandlers, AutofillHandlers, CrossDeviceController, ErrorCode$1 as ErrorCode, PACKAGE_VERSION, SdkError, WebauthnApis, WebauthnAuthenticationFlows, WebauthnCrossDeviceFlows, WebauthnCrossDeviceRegistrationOptions, WebauthnRegistrationOptions, authenticate, crossDevice, _default as default, webSdkModule_d as drs, getDefaultPaths, instance as ido, index_d$1 as idv, initConfigParams, initialize, isAutofillSupported, isPlatformAuthenticatorSupported, register, index_d as webauthn };