@amityco/ulta-ui-kit 1.0.0-alpha.30 → 1.0.0-alpha.32
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/dist/esm/index.js +829 -835
- package/dist/index.js +887 -893
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/package.json +1 -1
- package/readme.md +2 -2
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -56,7 +56,7 @@ import React, { useState, useEffect } from 'react';
|
|
|
56
56
|
|
|
57
57
|
export default function App() {
|
|
58
58
|
// `userId` is managed as a state variable and will be updated post-login
|
|
59
|
-
const [userId, setUserId] = useState('
|
|
59
|
+
const [userId, setUserId] = useState('public-xxxx');
|
|
60
60
|
|
|
61
61
|
// Handle the postMessage event from the iframe
|
|
62
62
|
useEffect(() => {
|
|
@@ -127,7 +127,7 @@ export default function App() {
|
|
|
127
127
|
1. Access as Anonymous:
|
|
128
128
|
|
|
129
129
|
- If not logged in, the same token request is made to handle session management.
|
|
130
|
-
- Amity UIKit is initialized as ‘
|
|
130
|
+
- Amity UIKit is initialized as ‘public’, allowing limited interaction.
|
|
131
131
|
|
|
132
132
|
2. Exceeded Interaction Limit:
|
|
133
133
|
|