@session-services/web-elements 0.1.14 → 0.1.17

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
@@ -8,6 +8,22 @@ Framework-agnostic Web Components for [Session Services](https://session.service
8
8
  npm install @session-services/web-elements @session-services/sdk
9
9
  ```
10
10
 
11
+ ### CDN Usage
12
+
13
+ Use directly in browsers via unpkg (no build step required):
14
+
15
+ ```html
16
+ <script type="module" src="https://unpkg.com/@session-services/web-elements"></script>
17
+
18
+ <session-services-ticketing
19
+ tenant-id="your-tenant-id"
20
+ event-id="evt_123"
21
+ return-url="https://yoursite.com/order/complete"
22
+ ></session-services-ticketing>
23
+ ```
24
+
25
+ The SDK is bundled into web-elements, so no additional dependencies are needed. Custom elements are auto-registered when the script loads.
26
+
11
27
  ## Usage
12
28
 
13
29
  ```typescript
@@ -98,4 +114,4 @@ For React, consider using `@session-services/react-elements` for better DX with
98
114
 
99
115
  ## License
100
116
 
101
- Proprietary - Copyright (c) 2023 Session Services Pty Ltd. All Rights Reserved.
117
+ MIT