@transmitsecurity/platform-web-sdk 1.15.0 → 1.16.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/CHANGELOG.md CHANGED
@@ -1,7 +1,10 @@
1
1
  # Changelog
2
+ ## 1.15.0 - Jun. 29, 2025
3
+ **Fraud Prevention**
4
+ * feat: Add support for rotating crypto-binding keys
5
+
2
6
  ## 1.14.0 - Jun. 15, 2025
3
7
  **Orchestration**
4
- * feat: Optimize device validation flow
5
8
  * feat: Optimize risk recommendation flow
6
9
  * feat: Add Select Organization step type
7
10
 
package/README.md CHANGED
@@ -1,16 +1,18 @@
1
1
  # Transmit Security Platform Web SDK
2
2
 
3
- A comprehensive browser-based identity and security solution with fraud prevention, WebAuthn authentication, identity verification, and orchestration capabilities.
3
+ A comprehensive browser-based identity and security solution for integrating with Mosaic's Fraud Prevention, WebAuthn authentication, Identity Verification, and Orchestration capabilities.
4
4
 
5
5
  ## Installation
6
6
 
7
7
  ```bash
8
- npm install @transmitsecurity/platform-web-sdk
8
+ npm install @transmitsecurity/platform-web-sdk@^1
9
9
  ```
10
10
 
11
11
  ## Quick Start
12
12
 
13
- ### Recommended Usage (Full SDK Import)
13
+ ### Full SDK Import
14
+
15
+ Import the entire SDK or leverage tree-shaking capabilities to import individual modules.
14
16
 
15
17
  ```js
16
18
  import { drs, webauthn, idv, ido, initialize } from '@transmitsecurity/platform-web-sdk';
@@ -44,20 +46,6 @@ await initialize({
44
46
  });
45
47
  ```
46
48
 
47
- ## Bundle Size
48
-
49
- The SDK is optimized for production use:
50
- - **Gzipped**: ~180KB
51
- - **Uncompressed**: ~565KB
52
- - **Tree-shaking**: Modern bundlers eliminate unused code automatically
53
-
54
- ## Troubleshooting
55
-
56
- ### Vite Dependency Resolution Errors
57
-
58
- If you encounter errors like "Could not resolve @transmit-security/web-sdk-common", see [VITE_CONFIG.md](./VITE_CONFIG.md) for detailed solutions.
59
-
60
- **Quick fix**: Use the full SDK import instead of individual module imports.
61
49
 
62
50
  ### Other Bundlers
63
51
 
@@ -65,7 +53,7 @@ For webpack, Rollup, or other bundlers, the full SDK import should work without
65
53
 
66
54
  ## Documentation
67
55
 
68
- For complete documentation, visit: https://github.com/transmitsecurity-dev/ciam-web-sdk
56
+ For complete documentation, visit: https://developer.transmitsecurity.com/sdk-ref/sdk_ref_intro/
69
57
 
70
58
  ## License
71
59
 
@@ -0,0 +1,2 @@
1
+ export * from '@transmit-security/ido-web-sdk';
2
+ export { default as initializeIDO } from '@transmit-security/ido-web-sdk';
@@ -0,0 +1,4 @@
1
+ // Re-export everything from the actual IDO web SDK
2
+ export * from '@transmit-security/ido-web-sdk';
3
+ // Export specific functions that might be needed
4
+ export { default as initializeIDO } from '@transmit-security/ido-web-sdk';
@@ -0,0 +1,7 @@
1
+ export { initializeIDO as initialize } from './idoImpl';
2
+ export * from './idoImpl';
3
+ export declare const startJourney: (journeyId: string, options?: import("@transmit-security/ido-web-sdk/dist/sdk_interface").StartJourneyOptions | undefined) => Promise<import("@transmit-security/ido-web-sdk/dist/sdk_interface").IdoServiceResponse>;
4
+ export declare const startSsoJourney: (interactionId: string, options?: import("@transmit-security/ido-web-sdk/dist/sdk_interface").StartSsoJourneyOptions | undefined) => Promise<import("@transmit-security/ido-web-sdk/dist/sdk_interface").IdoServiceResponse>;
5
+ export declare const submitClientResponse: (clientResponseOptionId: string, data?: any) => Promise<import("@transmit-security/ido-web-sdk/dist/sdk_interface").IdoServiceResponse>;
6
+ export declare const serializeState: () => string;
7
+ export declare const restoreFromSerializedState: (state: string) => import("@transmit-security/ido-web-sdk/dist/sdk_interface").IdoServiceResponse;
@@ -0,0 +1,9 @@
1
+ export { initializeIDO as initialize } from './idoImpl';
2
+ export * from './idoImpl';
3
+ // Import the default export and re-export its functions as named exports
4
+ import idoWebSdk from '@transmit-security/ido-web-sdk';
5
+ export const startJourney = idoWebSdk.startJourney;
6
+ export const startSsoJourney = idoWebSdk.startSsoJourney;
7
+ export const submitClientResponse = idoWebSdk.submitClientResponse;
8
+ export const serializeState = idoWebSdk.serializeState;
9
+ export const restoreFromSerializedState = idoWebSdk.restoreFromSerializedState;
@@ -2,11 +2,10 @@
2
2
  "exports": {
3
3
  "drs": "@transmit-security/riskid_sdk",
4
4
  "idv": "@transmit-security/ts-identity-verification",
5
- "webauthn": "@transmit-security/authentication-sdk"
6
- },
7
- "exportsFromDefault": {
5
+ "webauthn": "@transmit-security/authentication-sdk",
8
6
  "ido": "@transmit-security/ido-web-sdk"
9
7
  },
8
+ "exportsFromDefault": {},
10
9
  "mainExport": "./build/mainExport",
11
10
  "declarations": true,
12
11
  "docs": true,
@@ -57,7 +57,7 @@ ___
57
57
 
58
58
  ### PACKAGE\_VERSION
59
59
 
60
- • `Const` **PACKAGE\_VERSION**: ``"1.15.0"``
60
+ • `Const` **PACKAGE\_VERSION**: ``"1.16.0"``
61
61
 
62
62
  ## Functions
63
63