@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClaimUI.d.ts","sourceRoot":"","sources":["../../src/components/ClaimUI.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAIxC,OAAO,KAAK,EAAE,sBAAsB,EAAY,MAAM,UAAU,CAAC;AAEjE,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,
|
|
1
|
+
{"version":3,"file":"ClaimUI.d.ts","sourceRoot":"","sources":["../../src/components/ClaimUI.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAIxC,OAAO,KAAK,EAAE,sBAAsB,EAAY,MAAM,UAAU,CAAC;AAEjE,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAkP9D,CAAC"}
|
package/dist/index.esm.js
CHANGED
|
@@ -13075,6 +13075,15 @@ const AccountManagement = ({ apiEndpoint, clientId, onError, className = '', cus
|
|
|
13075
13075
|
};
|
|
13076
13076
|
|
|
13077
13077
|
const SmartlinksClaimUI = ({ apiEndpoint, clientId, clientName, collectionId, productId, proofId, onClaimSuccess, onClaimError, additionalFields = [], theme = 'light', className = '', minimal = false, proxyMode = false, customization = {}, }) => {
|
|
13078
|
+
// Debug logging for proxyMode
|
|
13079
|
+
console.log('[SmartlinksClaimUI] 🎯 Component received props:', {
|
|
13080
|
+
proxyMode,
|
|
13081
|
+
apiEndpoint,
|
|
13082
|
+
clientId,
|
|
13083
|
+
collectionId,
|
|
13084
|
+
productId,
|
|
13085
|
+
proofId,
|
|
13086
|
+
});
|
|
13078
13087
|
const auth = useAuth();
|
|
13079
13088
|
const [claimStep, setClaimStep] = useState(auth.isAuthenticated ? 'questions' : 'auth');
|
|
13080
13089
|
const [claimData, setClaimData] = useState({});
|
|
@@ -13150,6 +13159,7 @@ const SmartlinksClaimUI = ({ apiEndpoint, clientId, clientName, collectionId, pr
|
|
|
13150
13159
|
};
|
|
13151
13160
|
// Render authentication step
|
|
13152
13161
|
if (claimStep === 'auth') {
|
|
13162
|
+
console.log('[SmartlinksClaimUI] 🔑 Rendering auth step with proxyMode:', proxyMode);
|
|
13153
13163
|
return (jsx("div", { className: className, children: jsx(SmartlinksAuthUI, { apiEndpoint: apiEndpoint, clientId: clientId, clientName: clientName, onAuthSuccess: handleAuthSuccess, onAuthError: onClaimError, theme: theme, minimal: minimal, proxyMode: proxyMode, customization: customization.authConfig }) }));
|
|
13154
13164
|
}
|
|
13155
13165
|
// Render additional questions step
|