@sawport/react-sdk 1.2.5-alpha.1 → 1.2.5-alpha.3
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 +3 -1
- package/dist/index.js +750 -23258
- package/dist/index.standalone.js +42 -0
- package/dist/index.umd.js +8 -61
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -19,9 +19,11 @@
|
|
|
19
19
|
### Pull in the sawport SDK into your website
|
|
20
20
|
After pulling the sawport SDK
|
|
21
21
|
Global variable `sawportSDK` will be exposed to your webpage which you can access its method and properties.
|
|
22
|
+
|
|
23
|
+
**Important**: Use the `standalone` bundle for CDN usage to prevent React version conflicts:
|
|
22
24
|
```html
|
|
23
25
|
...
|
|
24
|
-
<script type="module" src="https://unpkg.com/@sawport/react-sdk@latest/dist/index.js"></script>
|
|
26
|
+
<script type="module" src="https://unpkg.com/@sawport/react-sdk@latest/dist/index.standalone.js"></script>
|
|
25
27
|
</body>
|
|
26
28
|
```
|
|
27
29
|
|