@voxket-ai/events-sdk 1.0.5 → 1.0.6
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 +11 -0
- package/dist/events-sdk.js +700 -652
- package/dist/events-sdk.umd.cjs +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -312,6 +312,17 @@ const config: WidgetConfig = {
|
|
|
312
312
|
|
|
313
313
|
---
|
|
314
314
|
|
|
315
|
+
## Registration Number & `?rn=` Success Link
|
|
316
|
+
|
|
317
|
+
- After a successful submit, the widget shows the `registration_number` from the submit response with a **Copy** button. It appears on both the success screen and the "complete your payment" screen.
|
|
318
|
+
- If the page URL has `?rn=<registration number>` (for example, the URL the payment gateway redirects back to), the widget opens straight on the success screen with that number. Popup mode opens automatically. **Back** removes `rn` from the URL and returns to the form types.
|
|
319
|
+
|
|
320
|
+
```
|
|
321
|
+
https://your-site.com/register?rn=FOGS-2026-00030
|
|
322
|
+
```
|
|
323
|
+
|
|
324
|
+
---
|
|
325
|
+
|
|
315
326
|
## Banner & Background Images
|
|
316
327
|
|
|
317
328
|
```typescript
|