@twilltac/compliance-sdk 0.1.0 → 0.1.1

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/README.md CHANGED
@@ -18,9 +18,9 @@ const container = document.getElementById('compliance-container');
18
18
  const plugin = await createCompliancePlugin({
19
19
  containerElement: container,
20
20
  data: {
21
- workspace: 'your-workspace-id',
22
- customerReference: 'customer-123',
23
- authToken: 'your-auth-token'
21
+ workspace: 'YOUR_WORKSPACE_KEY',
22
+ customerReference: 'YOUR_CUSTOMER_REFERENCE',
23
+ authToken: 'YOUR_AUTH_TOKEN'
24
24
  }
25
25
  });
26
26
  ```
@@ -66,13 +66,11 @@ async function initCompliance() {
66
66
  const plugin = await createCompliancePlugin({
67
67
  containerElement: container,
68
68
  data: {
69
- workspace: 'acme-corp',
70
- customerReference: 'cust_abc123',
71
- authToken: 'eyJhbGciOiJIUzI1NiIs...'
69
+ workspace: 'YOUR_WORKSPACE_KEY',
70
+ customerReference: 'YOUR_CUSTOMER_REFERENCE',
71
+ authToken: 'YOUR_AUTH_TOKEN'
72
72
  }
73
73
  });
74
-
75
- console.log('Compliance plugin initialised successfully');
76
74
  } catch (error) {
77
75
  console.error('Failed to initialise compliance plugin:', error);
78
76
  }
@@ -1 +1 @@
1
- 20264502603-1
1
+ 20265716514-1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twilltac/compliance-sdk",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "type": "module",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",