@proveanything/smartlinks-auth-ui 0.1.23 → 0.1.24
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/components/ClaimUI.d.ts.map +1 -1
- package/dist/index.esm.js +10 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -13095,6 +13095,15 @@ const AccountManagement = ({ apiEndpoint, clientId, onError, className = '', cus
|
|
|
13095
13095
|
};
|
|
13096
13096
|
|
|
13097
13097
|
const SmartlinksClaimUI = ({ apiEndpoint, clientId, clientName, collectionId, productId, proofId, onClaimSuccess, onClaimError, additionalFields = [], theme = 'light', className = '', minimal = false, proxyMode = false, customization = {}, }) => {
|
|
13098
|
+
// Debug logging for proxyMode
|
|
13099
|
+
console.log('[SmartlinksClaimUI] 🎯 Component received props:', {
|
|
13100
|
+
proxyMode,
|
|
13101
|
+
apiEndpoint,
|
|
13102
|
+
clientId,
|
|
13103
|
+
collectionId,
|
|
13104
|
+
productId,
|
|
13105
|
+
proofId,
|
|
13106
|
+
});
|
|
13098
13107
|
const auth = useAuth();
|
|
13099
13108
|
const [claimStep, setClaimStep] = React.useState(auth.isAuthenticated ? 'questions' : 'auth');
|
|
13100
13109
|
const [claimData, setClaimData] = React.useState({});
|
|
@@ -13170,6 +13179,7 @@ const SmartlinksClaimUI = ({ apiEndpoint, clientId, clientName, collectionId, pr
|
|
|
13170
13179
|
};
|
|
13171
13180
|
// Render authentication step
|
|
13172
13181
|
if (claimStep === 'auth') {
|
|
13182
|
+
console.log('[SmartlinksClaimUI] 🔑 Rendering auth step with proxyMode:', proxyMode);
|
|
13173
13183
|
return (jsxRuntime.jsx("div", { className: className, children: jsxRuntime.jsx(SmartlinksAuthUI, { apiEndpoint: apiEndpoint, clientId: clientId, clientName: clientName, onAuthSuccess: handleAuthSuccess, onAuthError: onClaimError, theme: theme, minimal: minimal, proxyMode: proxyMode, customization: customization.authConfig }) }));
|
|
13174
13184
|
}
|
|
13175
13185
|
// Render additional questions step
|