@lumiapassport/ui-kit 1.3.2 → 1.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/dist/iframe/main.js +1 -1
- package/dist/iframe/main.js.map +1 -1
- package/dist/index.cjs +3600 -3713
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +20 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.js +3664 -3777
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -73,6 +73,22 @@ interface LumiaPassportConfig {
|
|
|
73
73
|
base?: string;
|
|
74
74
|
heading?: string;
|
|
75
75
|
};
|
|
76
|
+
colors?: {
|
|
77
|
+
light?: {
|
|
78
|
+
background?: string;
|
|
79
|
+
text?: string;
|
|
80
|
+
textSecondary?: string;
|
|
81
|
+
textMuted?: string;
|
|
82
|
+
border?: string;
|
|
83
|
+
};
|
|
84
|
+
dark?: {
|
|
85
|
+
background?: string;
|
|
86
|
+
text?: string;
|
|
87
|
+
textSecondary?: string;
|
|
88
|
+
textMuted?: string;
|
|
89
|
+
border?: string;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
76
92
|
branding: {
|
|
77
93
|
logo?: React__default.ComponentType<{
|
|
78
94
|
size?: number;
|
|
@@ -206,10 +222,14 @@ interface SessionState {
|
|
|
206
222
|
address: `0x${string}` | null;
|
|
207
223
|
status: string;
|
|
208
224
|
error: string | null;
|
|
225
|
+
recoveryUserId: string | null;
|
|
226
|
+
isRecoveryModalOpen: boolean;
|
|
209
227
|
setSession: (s: AccountSession | null) => void;
|
|
210
228
|
setAddress: (a: `0x${string}` | null) => void;
|
|
211
229
|
setStatus: (s: string) => void;
|
|
212
230
|
setError: (e: string | null) => void;
|
|
231
|
+
setRecoveryUserId: (userId: string | null) => void;
|
|
232
|
+
setIsRecoveryModalOpen: (open: boolean) => void;
|
|
213
233
|
}
|
|
214
234
|
interface LumiaSessionProviderProps {
|
|
215
235
|
children: React__default.ReactNode;
|
package/dist/index.d.ts
CHANGED
|
@@ -73,6 +73,22 @@ interface LumiaPassportConfig {
|
|
|
73
73
|
base?: string;
|
|
74
74
|
heading?: string;
|
|
75
75
|
};
|
|
76
|
+
colors?: {
|
|
77
|
+
light?: {
|
|
78
|
+
background?: string;
|
|
79
|
+
text?: string;
|
|
80
|
+
textSecondary?: string;
|
|
81
|
+
textMuted?: string;
|
|
82
|
+
border?: string;
|
|
83
|
+
};
|
|
84
|
+
dark?: {
|
|
85
|
+
background?: string;
|
|
86
|
+
text?: string;
|
|
87
|
+
textSecondary?: string;
|
|
88
|
+
textMuted?: string;
|
|
89
|
+
border?: string;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
76
92
|
branding: {
|
|
77
93
|
logo?: React__default.ComponentType<{
|
|
78
94
|
size?: number;
|
|
@@ -206,10 +222,14 @@ interface SessionState {
|
|
|
206
222
|
address: `0x${string}` | null;
|
|
207
223
|
status: string;
|
|
208
224
|
error: string | null;
|
|
225
|
+
recoveryUserId: string | null;
|
|
226
|
+
isRecoveryModalOpen: boolean;
|
|
209
227
|
setSession: (s: AccountSession | null) => void;
|
|
210
228
|
setAddress: (a: `0x${string}` | null) => void;
|
|
211
229
|
setStatus: (s: string) => void;
|
|
212
230
|
setError: (e: string | null) => void;
|
|
231
|
+
setRecoveryUserId: (userId: string | null) => void;
|
|
232
|
+
setIsRecoveryModalOpen: (open: boolean) => void;
|
|
213
233
|
}
|
|
214
234
|
interface LumiaSessionProviderProps {
|
|
215
235
|
children: React__default.ReactNode;
|