@seamapi/react 5.4.0 → 5.4.2
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 +4 -4
- package/dist/ecosystem.js +14 -14
- package/dist/ecosystem.js.map +1 -1
- package/dist/elements.js +20766 -19572
- package/dist/elements.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +11 -9
- package/src/lib/version.ts +1 -1
package/README.md
CHANGED
|
@@ -86,7 +86,7 @@ export function App() {
|
|
|
86
86
|
<seam-device-table publishable-key="your_publishable_key"></seam-device-table>
|
|
87
87
|
<script
|
|
88
88
|
type="module"
|
|
89
|
-
src="https://react.seam.co/v/5.4.
|
|
89
|
+
src="https://react.seam.co/v/5.4.2/dist/elements.js"
|
|
90
90
|
></script>
|
|
91
91
|
</body>
|
|
92
92
|
```
|
|
@@ -173,7 +173,7 @@ Load the lightweight `ecosystem.js` bundle, which only contains these two elemen
|
|
|
173
173
|
></seam-supported-devices>
|
|
174
174
|
<script
|
|
175
175
|
type="module"
|
|
176
|
-
src="https://react.seam.co/v/5.4.
|
|
176
|
+
src="https://react.seam.co/v/5.4.2/dist/ecosystem.js"
|
|
177
177
|
></script>
|
|
178
178
|
</body>
|
|
179
179
|
```
|
|
@@ -236,7 +236,7 @@ The data is also available with the `useCompatiblePartners`, `useEcosystemDevice
|
|
|
236
236
|
### Pre-render supported devices in Next.js
|
|
237
237
|
|
|
238
238
|
Use the native React components from `@seamapi/react/ecosystem-react.js` and the
|
|
239
|
-
server loader from `@seamapi/react/server.js` (5.4.
|
|
239
|
+
server loader from `@seamapi/react/server.js` (5.4.2 or newer). The React entry
|
|
240
240
|
declares the client boundary for App Router; Next.js can still pre-render its
|
|
241
241
|
HTML when data is supplied by the server.
|
|
242
242
|
|
|
@@ -420,7 +420,7 @@ or place the following in the `<head>` tag:
|
|
|
420
420
|
```html
|
|
421
421
|
<link
|
|
422
422
|
rel="stylesheet"
|
|
423
|
-
href="https://react.seam.co/v/5.4.
|
|
423
|
+
href="https://react.seam.co/v/5.4.2/dist/index.min.css"
|
|
424
424
|
/>
|
|
425
425
|
```
|
|
426
426
|
|