@crossmint/client-sdk-react-ui 1.13.13 → 1.14.1
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/chunk-2BOQSASO.cjs +1 -0
- package/dist/{chunk-MZF4MBS7.cjs → chunk-2QD52VTM.cjs} +1 -1
- package/dist/{chunk-T3FEXCWD.js → chunk-2VBA64WU.js} +1 -1
- package/dist/{chunk-RAQ2JGJM.cjs → chunk-2VOUTE6Q.cjs} +1 -1
- package/dist/{chunk-JTIVU7MW.cjs → chunk-3SFKQITQ.cjs} +1 -1
- package/dist/{chunk-VM753NZQ.cjs → chunk-5RAT4BDZ.cjs} +1 -1
- package/dist/{chunk-XBG3ON3X.cjs → chunk-62JYTT2Y.cjs} +1 -1
- package/dist/{chunk-C4LCX5UF.js → chunk-6LMKMBUO.js} +1 -1
- package/dist/{chunk-MGDFRHG7.js → chunk-BA5K73JO.js} +1 -1
- package/dist/{chunk-RLX4C3U4.cjs → chunk-BMLVCKVF.cjs} +1 -1
- package/dist/{chunk-IGSI4FRO.cjs → chunk-BYC3IIHX.cjs} +1 -1
- package/dist/chunk-C6COHFJA.cjs +6 -0
- package/dist/chunk-DJYFUGOG.js +1 -0
- package/dist/{chunk-KWIJ4SIV.cjs → chunk-E5PPNNTL.cjs} +1 -1
- package/dist/{chunk-4NI5EBOY.js → chunk-EPBUJQPI.js} +1 -1
- package/dist/chunk-FSG3MT7C.cjs +1 -0
- package/dist/{chunk-7YJSU577.cjs → chunk-GLFNYRYD.cjs} +1 -1
- package/dist/chunk-HFEX7S3W.cjs +1 -0
- package/dist/{chunk-6233XGKJ.js → chunk-HFMBK6WE.js} +1 -1
- package/dist/{chunk-SKHTZC4A.js → chunk-HJ4ILZ44.js} +1 -1
- package/dist/chunk-HT4JFOOR.js +6 -0
- package/dist/{chunk-VLJ2U7IU.cjs → chunk-I3IRK4TX.cjs} +1 -1
- package/dist/{chunk-RTENNFLH.js → chunk-IJNTDUWF.js} +1 -1
- package/dist/{chunk-ZGWCOWTY.js → chunk-JVFUP7YQ.js} +1 -1
- package/dist/{chunk-ITQPATPQ.js → chunk-K3OKP3AX.js} +1 -1
- package/dist/{chunk-DT7TR35K.cjs → chunk-KLKC2IGI.cjs} +1 -1
- package/dist/{chunk-RGDZBGF3.js → chunk-MYDJFGIG.js} +1 -1
- package/dist/{chunk-CGMDFXGU.cjs → chunk-N6H73LL4.cjs} +1 -1
- package/dist/{chunk-NNHLYOE6.cjs → chunk-NC4DHK5G.cjs} +1 -1
- package/dist/{chunk-LQH3BSH4.js → chunk-NKOSSBPQ.js} +1 -1
- package/dist/chunk-NQ2WKZU6.js +1 -0
- package/dist/chunk-P7QEGS22.js +1 -0
- package/dist/{chunk-JUT2GKR4.js → chunk-PWNUFLMO.js} +1 -1
- package/dist/{chunk-BS6JMGOU.js → chunk-QDKGGCBY.js} +1 -1
- package/dist/{chunk-62X3Z7SG.cjs → chunk-QG4LZRPV.cjs} +1 -1
- package/dist/{chunk-PDRTXQQD.js → chunk-QRX6P4MW.js} +1 -1
- package/dist/{chunk-XV7FPAZ2.js → chunk-RR35R23S.js} +1 -1
- package/dist/{chunk-PE2HZ3ZP.js → chunk-VRC3MYU6.js} +1 -1
- package/dist/{chunk-6KCMHDB2.cjs → chunk-WRC5F2W4.cjs} +1 -1
- package/dist/{chunk-ZTB62MGQ.cjs → chunk-YNTE6H67.cjs} +1 -1
- package/dist/components/CrossmintNFTCollectionView.cjs +1 -1
- package/dist/components/CrossmintNFTCollectionView.js +1 -1
- package/dist/components/CrossmintNFTDetail.cjs +1 -1
- package/dist/components/CrossmintNFTDetail.js +1 -1
- package/dist/components/auth/AuthForm.cjs +1 -1
- package/dist/components/auth/AuthForm.js +1 -1
- package/dist/components/auth/AuthFormBackButton.cjs +1 -1
- package/dist/components/auth/AuthFormBackButton.js +1 -1
- package/dist/components/auth/AuthFormDialog.cjs +1 -1
- package/dist/components/auth/AuthFormDialog.js +1 -1
- package/dist/components/auth/EmbeddedAuthForm.cjs +1 -1
- package/dist/components/auth/EmbeddedAuthForm.js +1 -1
- package/dist/components/auth/PasskeyPrompt.cjs +1 -1
- package/dist/components/auth/PasskeyPrompt.js +1 -1
- package/dist/components/auth/methods/email/EmailAuthFlow.cjs +1 -1
- package/dist/components/auth/methods/email/EmailAuthFlow.js +1 -1
- package/dist/components/auth/methods/email/EmailOTPInput.cjs +1 -1
- package/dist/components/auth/methods/email/EmailOTPInput.js +1 -1
- package/dist/components/auth/methods/email/EmailSignIn.cjs +1 -1
- package/dist/components/auth/methods/email/EmailSignIn.js +1 -1
- package/dist/components/auth/methods/farcaster/FarcasterSignIn.cjs +1 -1
- package/dist/components/auth/methods/farcaster/FarcasterSignIn.js +1 -1
- package/dist/components/auth/methods/google/ContinueWithGoogle.cjs +1 -0
- package/dist/components/auth/methods/google/ContinueWithGoogle.d.cts +9 -0
- package/dist/components/auth/methods/google/ContinueWithGoogle.d.ts +9 -0
- package/dist/components/auth/methods/google/ContinueWithGoogle.js +1 -0
- package/dist/components/auth/methods/google/GoogleSignIn.cjs +1 -1
- package/dist/components/auth/methods/google/GoogleSignIn.js +1 -1
- package/dist/components/auth/methods/twitter/TwitterSignIn.cjs +1 -1
- package/dist/components/auth/methods/twitter/TwitterSignIn.js +1 -1
- package/dist/components/auth/methods/web3/Web3AuthFlow.cjs +1 -1
- package/dist/components/auth/methods/web3/Web3AuthFlow.js +1 -1
- package/dist/components/auth/methods/web3/Web3AuthFlowButton.cjs +1 -1
- package/dist/components/auth/methods/web3/Web3AuthFlowButton.js +1 -1
- package/dist/components/auth/methods/web3/Web3Connector.cjs +1 -1
- package/dist/components/auth/methods/web3/Web3Connector.js +1 -1
- package/dist/components/auth/methods/web3/Web3Connectors.cjs +1 -1
- package/dist/components/auth/methods/web3/Web3Connectors.js +1 -1
- package/dist/components/common/CountdownButton.cjs +1 -0
- package/dist/components/common/CountdownButton.d.cts +13 -0
- package/dist/components/common/CountdownButton.d.ts +13 -0
- package/dist/components/common/CountdownButton.js +1 -0
- package/dist/components/common/CrossmintLogoV2/schemas.d.cts +32 -32
- package/dist/components/common/CrossmintLogoV2/schemas.d.ts +32 -32
- package/dist/components/common/Dialog.cjs +1 -1
- package/dist/components/common/Dialog.js +1 -1
- package/dist/components/common/Divider.cjs +1 -1
- package/dist/components/common/Divider.js +1 -1
- package/dist/components/common/SecuredByCrossmint.cjs +1 -1
- package/dist/components/common/SecuredByCrossmint.js +1 -1
- package/dist/components/embed/v3/CrossmintEmbeddedCheckoutV3.cjs +1 -1
- package/dist/components/embed/v3/CrossmintEmbeddedCheckoutV3.js +1 -1
- package/dist/components/embed/v3/EmbeddedCheckoutV3IFrame.cjs +1 -1
- package/dist/components/embed/v3/EmbeddedCheckoutV3IFrame.js +1 -1
- package/dist/components/embed/v3/crypto/CryptoWalletConnectionHandler.cjs +1 -1
- package/dist/components/embed/v3/crypto/CryptoWalletConnectionHandler.js +1 -1
- package/dist/components/embed/v3/crypto/utils/handleSendTransaction.cjs +1 -1
- package/dist/components/embed/v3/crypto/utils/handleSendTransaction.js +1 -1
- package/dist/components/embed/v3/index.cjs +1 -1
- package/dist/components/embed/v3/index.js +1 -1
- package/dist/components/hosted/CrossmintPayButton_DEPRECATED.cjs +1 -1
- package/dist/components/hosted/CrossmintPayButton_DEPRECATED.js +1 -1
- package/dist/components/hosted/index.cjs +1 -1
- package/dist/components/hosted/index.js +1 -1
- package/dist/components/hosted/v3/CrossmintHostedCheckoutV3.cjs +1 -1
- package/dist/components/hosted/v3/CrossmintHostedCheckoutV3.js +1 -1
- package/dist/components/hosted/v3/index.cjs +1 -1
- package/dist/components/hosted/v3/index.js +1 -1
- package/dist/components/index.cjs +1 -1
- package/dist/components/index.js +1 -1
- package/dist/consts/version.cjs +1 -1
- package/dist/consts/version.js +1 -1
- package/dist/hooks/index.cjs +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/useAuth.cjs +1 -1
- package/dist/hooks/useAuth.js +1 -1
- package/dist/hooks/useCrossmintAuth.cjs +1 -1
- package/dist/hooks/useCrossmintAuth.js +1 -1
- package/dist/hooks/useCrossmintCheckout.cjs +1 -1
- package/dist/hooks/useCrossmintCheckout.js +1 -1
- package/dist/hooks/useOAuthWindowListener.cjs +1 -1
- package/dist/hooks/useOAuthWindowListener.d.cts +1 -1
- package/dist/hooks/useOAuthWindowListener.d.ts +1 -1
- package/dist/hooks/useOAuthWindowListener.js +1 -1
- package/dist/hooks/useWallet.cjs +1 -1
- package/dist/hooks/useWallet.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/providers/CrossmintAuthProvider.cjs +1 -1
- package/dist/providers/CrossmintAuthProvider.d.cts +3 -1
- package/dist/providers/CrossmintAuthProvider.d.ts +3 -1
- package/dist/providers/CrossmintAuthProvider.js +1 -1
- package/dist/providers/CrossmintWalletProvider.cjs +1 -1
- package/dist/providers/CrossmintWalletProvider.js +1 -1
- package/dist/providers/TwindProvider.cjs +1 -1
- package/dist/providers/TwindProvider.js +1 -1
- package/dist/providers/auth/AuthFormProvider.cjs +1 -1
- package/dist/providers/auth/AuthFormProvider.d.cts +10 -4
- package/dist/providers/auth/AuthFormProvider.d.ts +10 -4
- package/dist/providers/auth/AuthFormProvider.js +1 -1
- package/dist/providers/auth/web3/DynamicWeb3WalletConnect.cjs +1 -1
- package/dist/providers/auth/web3/DynamicWeb3WalletConnect.js +1 -1
- package/dist/providers/index.cjs +1 -1
- package/dist/providers/index.js +1 -1
- package/dist/twind.config.cjs +1 -1
- package/dist/twind.config.js +1 -1
- package/dist/utils/createCrossmintApiClient.cjs +1 -1
- package/dist/utils/createCrossmintApiClient.js +1 -1
- package/package.json +4 -4
- package/dist/chunk-67T77DGT.cjs +0 -1
- package/dist/chunk-6X47UP4T.cjs +0 -1
- package/dist/chunk-LURWXXMI.cjs +0 -1
- package/dist/chunk-N3DNU6TD.js +0 -1
- package/dist/chunk-UIMMLWKZ.js +0 -1
- package/dist/chunk-X6ALZSEN.js +0 -1
- /package/dist/{chunk-AUSETHZ3.cjs → chunk-NMROW7IT.cjs} +0 -0
- /package/dist/{chunk-2VILTRL5.js → chunk-U2KHFXUK.js} +0 -0
|
@@ -6,42 +6,42 @@ declare const crossmintLogoColorsSchema: z.ZodObject<{
|
|
|
6
6
|
from: z.ZodString;
|
|
7
7
|
to: z.ZodString;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
type: "gradient";
|
|
9
10
|
from: string;
|
|
10
11
|
to: string;
|
|
11
|
-
type: "gradient";
|
|
12
12
|
}, {
|
|
13
|
+
type: "gradient";
|
|
13
14
|
from: string;
|
|
14
15
|
to: string;
|
|
15
|
-
type: "gradient";
|
|
16
16
|
}>, z.ZodObject<{
|
|
17
17
|
type: z.ZodLiteral<"solid">;
|
|
18
18
|
color: z.ZodString;
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
20
|
-
color: string;
|
|
21
20
|
type: "solid";
|
|
22
|
-
}, {
|
|
23
21
|
color: string;
|
|
22
|
+
}, {
|
|
24
23
|
type: "solid";
|
|
24
|
+
color: string;
|
|
25
25
|
}>]>>>;
|
|
26
26
|
text: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
27
27
|
}, "strip", z.ZodTypeAny, {
|
|
28
28
|
text: string;
|
|
29
29
|
icon: {
|
|
30
|
+
type: "gradient";
|
|
30
31
|
from: string;
|
|
31
32
|
to: string;
|
|
32
|
-
type: "gradient";
|
|
33
33
|
} | {
|
|
34
|
-
color: string;
|
|
35
34
|
type: "solid";
|
|
35
|
+
color: string;
|
|
36
36
|
};
|
|
37
37
|
}, {
|
|
38
38
|
icon?: {
|
|
39
|
+
type: "gradient";
|
|
39
40
|
from: string;
|
|
40
41
|
to: string;
|
|
41
|
-
type: "gradient";
|
|
42
42
|
} | {
|
|
43
|
-
color: string;
|
|
44
43
|
type: "solid";
|
|
44
|
+
color: string;
|
|
45
45
|
} | undefined;
|
|
46
46
|
text?: string | undefined;
|
|
47
47
|
}>;
|
|
@@ -53,42 +53,42 @@ declare const crossmintLogoColorsAndDisplayTypeRawSchema: z.ZodObject<{
|
|
|
53
53
|
from: z.ZodString;
|
|
54
54
|
to: z.ZodString;
|
|
55
55
|
}, "strip", z.ZodTypeAny, {
|
|
56
|
+
type: "gradient";
|
|
56
57
|
from: string;
|
|
57
58
|
to: string;
|
|
58
|
-
type: "gradient";
|
|
59
59
|
}, {
|
|
60
|
+
type: "gradient";
|
|
60
61
|
from: string;
|
|
61
62
|
to: string;
|
|
62
|
-
type: "gradient";
|
|
63
63
|
}>, z.ZodObject<{
|
|
64
64
|
type: z.ZodLiteral<"solid">;
|
|
65
65
|
color: z.ZodString;
|
|
66
66
|
}, "strip", z.ZodTypeAny, {
|
|
67
|
-
color: string;
|
|
68
67
|
type: "solid";
|
|
69
|
-
}, {
|
|
70
68
|
color: string;
|
|
69
|
+
}, {
|
|
71
70
|
type: "solid";
|
|
71
|
+
color: string;
|
|
72
72
|
}>]>>>;
|
|
73
73
|
text: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
74
74
|
}, "strip", z.ZodTypeAny, {
|
|
75
75
|
text: string;
|
|
76
76
|
icon: {
|
|
77
|
+
type: "gradient";
|
|
77
78
|
from: string;
|
|
78
79
|
to: string;
|
|
79
|
-
type: "gradient";
|
|
80
80
|
} | {
|
|
81
|
-
color: string;
|
|
82
81
|
type: "solid";
|
|
82
|
+
color: string;
|
|
83
83
|
};
|
|
84
84
|
}, {
|
|
85
85
|
icon?: {
|
|
86
|
+
type: "gradient";
|
|
86
87
|
from: string;
|
|
87
88
|
to: string;
|
|
88
|
-
type: "gradient";
|
|
89
89
|
} | {
|
|
90
|
-
color: string;
|
|
91
90
|
type: "solid";
|
|
91
|
+
color: string;
|
|
92
92
|
} | undefined;
|
|
93
93
|
text?: string | undefined;
|
|
94
94
|
}>>>;
|
|
@@ -97,24 +97,24 @@ declare const crossmintLogoColorsAndDisplayTypeRawSchema: z.ZodObject<{
|
|
|
97
97
|
colors: {
|
|
98
98
|
text: string;
|
|
99
99
|
icon: {
|
|
100
|
+
type: "gradient";
|
|
100
101
|
from: string;
|
|
101
102
|
to: string;
|
|
102
|
-
type: "gradient";
|
|
103
103
|
} | {
|
|
104
|
-
color: string;
|
|
105
104
|
type: "solid";
|
|
105
|
+
color: string;
|
|
106
106
|
};
|
|
107
107
|
};
|
|
108
108
|
displayType: "icon-and-text" | "icon-only";
|
|
109
109
|
}, {
|
|
110
110
|
colors?: {
|
|
111
111
|
icon?: {
|
|
112
|
+
type: "gradient";
|
|
112
113
|
from: string;
|
|
113
114
|
to: string;
|
|
114
|
-
type: "gradient";
|
|
115
115
|
} | {
|
|
116
|
-
color: string;
|
|
117
116
|
type: "solid";
|
|
117
|
+
color: string;
|
|
118
118
|
} | undefined;
|
|
119
119
|
text?: string | undefined;
|
|
120
120
|
} | undefined;
|
|
@@ -127,42 +127,42 @@ declare const crossmintLogoColorsAndDisplayTypeSchema: z.ZodDefault<z.ZodOptiona
|
|
|
127
127
|
from: z.ZodString;
|
|
128
128
|
to: z.ZodString;
|
|
129
129
|
}, "strip", z.ZodTypeAny, {
|
|
130
|
+
type: "gradient";
|
|
130
131
|
from: string;
|
|
131
132
|
to: string;
|
|
132
|
-
type: "gradient";
|
|
133
133
|
}, {
|
|
134
|
+
type: "gradient";
|
|
134
135
|
from: string;
|
|
135
136
|
to: string;
|
|
136
|
-
type: "gradient";
|
|
137
137
|
}>, z.ZodObject<{
|
|
138
138
|
type: z.ZodLiteral<"solid">;
|
|
139
139
|
color: z.ZodString;
|
|
140
140
|
}, "strip", z.ZodTypeAny, {
|
|
141
|
-
color: string;
|
|
142
141
|
type: "solid";
|
|
143
|
-
}, {
|
|
144
142
|
color: string;
|
|
143
|
+
}, {
|
|
145
144
|
type: "solid";
|
|
145
|
+
color: string;
|
|
146
146
|
}>]>>>;
|
|
147
147
|
text: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
148
148
|
}, "strip", z.ZodTypeAny, {
|
|
149
149
|
text: string;
|
|
150
150
|
icon: {
|
|
151
|
+
type: "gradient";
|
|
151
152
|
from: string;
|
|
152
153
|
to: string;
|
|
153
|
-
type: "gradient";
|
|
154
154
|
} | {
|
|
155
|
-
color: string;
|
|
156
155
|
type: "solid";
|
|
156
|
+
color: string;
|
|
157
157
|
};
|
|
158
158
|
}, {
|
|
159
159
|
icon?: {
|
|
160
|
+
type: "gradient";
|
|
160
161
|
from: string;
|
|
161
162
|
to: string;
|
|
162
|
-
type: "gradient";
|
|
163
163
|
} | {
|
|
164
|
-
color: string;
|
|
165
164
|
type: "solid";
|
|
165
|
+
color: string;
|
|
166
166
|
} | undefined;
|
|
167
167
|
text?: string | undefined;
|
|
168
168
|
}>>>;
|
|
@@ -171,24 +171,24 @@ declare const crossmintLogoColorsAndDisplayTypeSchema: z.ZodDefault<z.ZodOptiona
|
|
|
171
171
|
colors: {
|
|
172
172
|
text: string;
|
|
173
173
|
icon: {
|
|
174
|
+
type: "gradient";
|
|
174
175
|
from: string;
|
|
175
176
|
to: string;
|
|
176
|
-
type: "gradient";
|
|
177
177
|
} | {
|
|
178
|
-
color: string;
|
|
179
178
|
type: "solid";
|
|
179
|
+
color: string;
|
|
180
180
|
};
|
|
181
181
|
};
|
|
182
182
|
displayType: "icon-and-text" | "icon-only";
|
|
183
183
|
}, {
|
|
184
184
|
colors?: {
|
|
185
185
|
icon?: {
|
|
186
|
+
type: "gradient";
|
|
186
187
|
from: string;
|
|
187
188
|
to: string;
|
|
188
|
-
type: "gradient";
|
|
189
189
|
} | {
|
|
190
|
-
color: string;
|
|
191
190
|
type: "solid";
|
|
191
|
+
color: string;
|
|
192
192
|
} | undefined;
|
|
193
193
|
text?: string | undefined;
|
|
194
194
|
} | undefined;
|
|
@@ -6,42 +6,42 @@ declare const crossmintLogoColorsSchema: z.ZodObject<{
|
|
|
6
6
|
from: z.ZodString;
|
|
7
7
|
to: z.ZodString;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
type: "gradient";
|
|
9
10
|
from: string;
|
|
10
11
|
to: string;
|
|
11
|
-
type: "gradient";
|
|
12
12
|
}, {
|
|
13
|
+
type: "gradient";
|
|
13
14
|
from: string;
|
|
14
15
|
to: string;
|
|
15
|
-
type: "gradient";
|
|
16
16
|
}>, z.ZodObject<{
|
|
17
17
|
type: z.ZodLiteral<"solid">;
|
|
18
18
|
color: z.ZodString;
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
20
|
-
color: string;
|
|
21
20
|
type: "solid";
|
|
22
|
-
}, {
|
|
23
21
|
color: string;
|
|
22
|
+
}, {
|
|
24
23
|
type: "solid";
|
|
24
|
+
color: string;
|
|
25
25
|
}>]>>>;
|
|
26
26
|
text: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
27
27
|
}, "strip", z.ZodTypeAny, {
|
|
28
28
|
text: string;
|
|
29
29
|
icon: {
|
|
30
|
+
type: "gradient";
|
|
30
31
|
from: string;
|
|
31
32
|
to: string;
|
|
32
|
-
type: "gradient";
|
|
33
33
|
} | {
|
|
34
|
-
color: string;
|
|
35
34
|
type: "solid";
|
|
35
|
+
color: string;
|
|
36
36
|
};
|
|
37
37
|
}, {
|
|
38
38
|
icon?: {
|
|
39
|
+
type: "gradient";
|
|
39
40
|
from: string;
|
|
40
41
|
to: string;
|
|
41
|
-
type: "gradient";
|
|
42
42
|
} | {
|
|
43
|
-
color: string;
|
|
44
43
|
type: "solid";
|
|
44
|
+
color: string;
|
|
45
45
|
} | undefined;
|
|
46
46
|
text?: string | undefined;
|
|
47
47
|
}>;
|
|
@@ -53,42 +53,42 @@ declare const crossmintLogoColorsAndDisplayTypeRawSchema: z.ZodObject<{
|
|
|
53
53
|
from: z.ZodString;
|
|
54
54
|
to: z.ZodString;
|
|
55
55
|
}, "strip", z.ZodTypeAny, {
|
|
56
|
+
type: "gradient";
|
|
56
57
|
from: string;
|
|
57
58
|
to: string;
|
|
58
|
-
type: "gradient";
|
|
59
59
|
}, {
|
|
60
|
+
type: "gradient";
|
|
60
61
|
from: string;
|
|
61
62
|
to: string;
|
|
62
|
-
type: "gradient";
|
|
63
63
|
}>, z.ZodObject<{
|
|
64
64
|
type: z.ZodLiteral<"solid">;
|
|
65
65
|
color: z.ZodString;
|
|
66
66
|
}, "strip", z.ZodTypeAny, {
|
|
67
|
-
color: string;
|
|
68
67
|
type: "solid";
|
|
69
|
-
}, {
|
|
70
68
|
color: string;
|
|
69
|
+
}, {
|
|
71
70
|
type: "solid";
|
|
71
|
+
color: string;
|
|
72
72
|
}>]>>>;
|
|
73
73
|
text: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
74
74
|
}, "strip", z.ZodTypeAny, {
|
|
75
75
|
text: string;
|
|
76
76
|
icon: {
|
|
77
|
+
type: "gradient";
|
|
77
78
|
from: string;
|
|
78
79
|
to: string;
|
|
79
|
-
type: "gradient";
|
|
80
80
|
} | {
|
|
81
|
-
color: string;
|
|
82
81
|
type: "solid";
|
|
82
|
+
color: string;
|
|
83
83
|
};
|
|
84
84
|
}, {
|
|
85
85
|
icon?: {
|
|
86
|
+
type: "gradient";
|
|
86
87
|
from: string;
|
|
87
88
|
to: string;
|
|
88
|
-
type: "gradient";
|
|
89
89
|
} | {
|
|
90
|
-
color: string;
|
|
91
90
|
type: "solid";
|
|
91
|
+
color: string;
|
|
92
92
|
} | undefined;
|
|
93
93
|
text?: string | undefined;
|
|
94
94
|
}>>>;
|
|
@@ -97,24 +97,24 @@ declare const crossmintLogoColorsAndDisplayTypeRawSchema: z.ZodObject<{
|
|
|
97
97
|
colors: {
|
|
98
98
|
text: string;
|
|
99
99
|
icon: {
|
|
100
|
+
type: "gradient";
|
|
100
101
|
from: string;
|
|
101
102
|
to: string;
|
|
102
|
-
type: "gradient";
|
|
103
103
|
} | {
|
|
104
|
-
color: string;
|
|
105
104
|
type: "solid";
|
|
105
|
+
color: string;
|
|
106
106
|
};
|
|
107
107
|
};
|
|
108
108
|
displayType: "icon-and-text" | "icon-only";
|
|
109
109
|
}, {
|
|
110
110
|
colors?: {
|
|
111
111
|
icon?: {
|
|
112
|
+
type: "gradient";
|
|
112
113
|
from: string;
|
|
113
114
|
to: string;
|
|
114
|
-
type: "gradient";
|
|
115
115
|
} | {
|
|
116
|
-
color: string;
|
|
117
116
|
type: "solid";
|
|
117
|
+
color: string;
|
|
118
118
|
} | undefined;
|
|
119
119
|
text?: string | undefined;
|
|
120
120
|
} | undefined;
|
|
@@ -127,42 +127,42 @@ declare const crossmintLogoColorsAndDisplayTypeSchema: z.ZodDefault<z.ZodOptiona
|
|
|
127
127
|
from: z.ZodString;
|
|
128
128
|
to: z.ZodString;
|
|
129
129
|
}, "strip", z.ZodTypeAny, {
|
|
130
|
+
type: "gradient";
|
|
130
131
|
from: string;
|
|
131
132
|
to: string;
|
|
132
|
-
type: "gradient";
|
|
133
133
|
}, {
|
|
134
|
+
type: "gradient";
|
|
134
135
|
from: string;
|
|
135
136
|
to: string;
|
|
136
|
-
type: "gradient";
|
|
137
137
|
}>, z.ZodObject<{
|
|
138
138
|
type: z.ZodLiteral<"solid">;
|
|
139
139
|
color: z.ZodString;
|
|
140
140
|
}, "strip", z.ZodTypeAny, {
|
|
141
|
-
color: string;
|
|
142
141
|
type: "solid";
|
|
143
|
-
}, {
|
|
144
142
|
color: string;
|
|
143
|
+
}, {
|
|
145
144
|
type: "solid";
|
|
145
|
+
color: string;
|
|
146
146
|
}>]>>>;
|
|
147
147
|
text: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
148
148
|
}, "strip", z.ZodTypeAny, {
|
|
149
149
|
text: string;
|
|
150
150
|
icon: {
|
|
151
|
+
type: "gradient";
|
|
151
152
|
from: string;
|
|
152
153
|
to: string;
|
|
153
|
-
type: "gradient";
|
|
154
154
|
} | {
|
|
155
|
-
color: string;
|
|
156
155
|
type: "solid";
|
|
156
|
+
color: string;
|
|
157
157
|
};
|
|
158
158
|
}, {
|
|
159
159
|
icon?: {
|
|
160
|
+
type: "gradient";
|
|
160
161
|
from: string;
|
|
161
162
|
to: string;
|
|
162
|
-
type: "gradient";
|
|
163
163
|
} | {
|
|
164
|
-
color: string;
|
|
165
164
|
type: "solid";
|
|
165
|
+
color: string;
|
|
166
166
|
} | undefined;
|
|
167
167
|
text?: string | undefined;
|
|
168
168
|
}>>>;
|
|
@@ -171,24 +171,24 @@ declare const crossmintLogoColorsAndDisplayTypeSchema: z.ZodDefault<z.ZodOptiona
|
|
|
171
171
|
colors: {
|
|
172
172
|
text: string;
|
|
173
173
|
icon: {
|
|
174
|
+
type: "gradient";
|
|
174
175
|
from: string;
|
|
175
176
|
to: string;
|
|
176
|
-
type: "gradient";
|
|
177
177
|
} | {
|
|
178
|
-
color: string;
|
|
179
178
|
type: "solid";
|
|
179
|
+
color: string;
|
|
180
180
|
};
|
|
181
181
|
};
|
|
182
182
|
displayType: "icon-and-text" | "icon-only";
|
|
183
183
|
}, {
|
|
184
184
|
colors?: {
|
|
185
185
|
icon?: {
|
|
186
|
+
type: "gradient";
|
|
186
187
|
from: string;
|
|
187
188
|
to: string;
|
|
188
|
-
type: "gradient";
|
|
189
189
|
} | {
|
|
190
|
-
color: string;
|
|
191
190
|
type: "solid";
|
|
191
|
+
color: string;
|
|
192
192
|
} | undefined;
|
|
193
193
|
text?: string | undefined;
|
|
194
194
|
} | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";var _chunkFSG3MT7Ccjs = require('../../chunk-FSG3MT7C.cjs');require('../../chunk-WABJHG6B.cjs');require('../../chunk-2WSEHVNP.cjs');exports.Dialog = _chunkFSG3MT7Ccjs.a; exports.DialogClose = _chunkFSG3MT7Ccjs.c; exports.DialogContent = _chunkFSG3MT7Ccjs.e; exports.DialogDescription = _chunkFSG3MT7Ccjs.i; exports.DialogFooter = _chunkFSG3MT7Ccjs.g; exports.DialogHeader = _chunkFSG3MT7Ccjs.f; exports.DialogPortal = _chunkFSG3MT7Ccjs.d; exports.DialogTitle = _chunkFSG3MT7Ccjs.h; exports.DialogTrigger = _chunkFSG3MT7Ccjs.b;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{a,b,c,d,e,f,g,h,i}from"../../chunk-
|
|
1
|
+
"use client";import{a,b,c,d,e,f,g,h,i}from"../../chunk-NQ2WKZU6.js";import"../../chunk-NBJIJZGO.js";import"../../chunk-PXDN3KFO.js";export{a as Dialog,c as DialogClose,e as DialogContent,i as DialogDescription,g as DialogFooter,f as DialogHeader,d as DialogPortal,h as DialogTitle,b as DialogTrigger};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkC6COHFJAcjs = require('../../chunk-C6COHFJA.cjs');require('../../chunk-BR77Q3PK.cjs');require('../../chunk-Z2FGFHRQ.cjs');require('../../chunk-62JYTT2Y.cjs');require('../../chunk-HFEX7S3W.cjs');require('../../chunk-FSG3MT7C.cjs');require('../../chunk-HG5ML6KX.cjs');require('../../chunk-2BOQSASO.cjs');require('../../chunk-E5PPNNTL.cjs');require('../../chunk-WABJHG6B.cjs');require('../../chunk-TM7WDKYR.cjs');require('../../chunk-VI6TW7JT.cjs');require('../../chunk-VWBAHXIO.cjs');require('../../chunk-FQ246XXN.cjs');require('../../chunk-ZBQCXWMD.cjs');require('../../chunk-NRN4WNQL.cjs');require('../../chunk-I4GMMHQR.cjs');require('../../chunk-SRQAQHYK.cjs');require('../../chunk-QYQERFYL.cjs');require('../../chunk-D3255LVM.cjs');require('../../chunk-3SFKQITQ.cjs');require('../../chunk-BYC3IIHX.cjs');require('../../chunk-GPQZG7HC.cjs');require('../../chunk-BMLVCKVF.cjs');require('../../chunk-2VOUTE6Q.cjs');require('../../chunk-2WSEHVNP.cjs');exports.Divider = _chunkC6COHFJAcjs.n;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{n as a}from"../../chunk-HT4JFOOR.js";import"../../chunk-JSNUJJQJ.js";import"../../chunk-TNCETEEL.js";import"../../chunk-VRC3MYU6.js";import"../../chunk-DJYFUGOG.js";import"../../chunk-NQ2WKZU6.js";import"../../chunk-VHNBXIOC.js";import"../../chunk-2VBA64WU.js";import"../../chunk-QRX6P4MW.js";import"../../chunk-NBJIJZGO.js";import"../../chunk-SFDQPSSP.js";import"../../chunk-77PBG2JJ.js";import"../../chunk-EVADF7QA.js";import"../../chunk-H34D6PAN.js";import"../../chunk-JPJKOERH.js";import"../../chunk-UAFW3OWA.js";import"../../chunk-C3JRTLQP.js";import"../../chunk-E4TBJMOO.js";import"../../chunk-OOLXYAO7.js";import"../../chunk-4ITU7JF2.js";import"../../chunk-HFMBK6WE.js";import"../../chunk-PWNUFLMO.js";import"../../chunk-ROJ6HFVK.js";import"../../chunk-6LMKMBUO.js";import"../../chunk-P7QEGS22.js";import"../../chunk-PXDN3KFO.js";export{a as Divider};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk2BOQSASOcjs = require('../../chunk-2BOQSASO.cjs');require('../../chunk-WABJHG6B.cjs');require('../../chunk-FQ246XXN.cjs');require('../../chunk-2WSEHVNP.cjs');exports.SecuredByCrossmint = _chunk2BOQSASOcjs.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-2VBA64WU.js";import"../../chunk-NBJIJZGO.js";import"../../chunk-H34D6PAN.js";import"../../chunk-PXDN3KFO.js";export{a as SecuredByCrossmint};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkYNTE6H67cjs = require('../../../chunk-YNTE6H67.cjs');require('../../../chunk-5RAT4BDZ.cjs');require('../../../chunk-QLPV72AE.cjs');require('../../../chunk-C6COHFJA.cjs');require('../../../chunk-BR77Q3PK.cjs');require('../../../chunk-Z2FGFHRQ.cjs');require('../../../chunk-62JYTT2Y.cjs');require('../../../chunk-HFEX7S3W.cjs');require('../../../chunk-FSG3MT7C.cjs');require('../../../chunk-HG5ML6KX.cjs');require('../../../chunk-2BOQSASO.cjs');require('../../../chunk-E5PPNNTL.cjs');require('../../../chunk-WABJHG6B.cjs');require('../../../chunk-TM7WDKYR.cjs');require('../../../chunk-VI6TW7JT.cjs');require('../../../chunk-VWBAHXIO.cjs');require('../../../chunk-FQ246XXN.cjs');require('../../../chunk-ZBQCXWMD.cjs');require('../../../chunk-NRN4WNQL.cjs');require('../../../chunk-I4GMMHQR.cjs');require('../../../chunk-SRQAQHYK.cjs');require('../../../chunk-QYQERFYL.cjs');require('../../../chunk-D3255LVM.cjs');require('../../../chunk-3SFKQITQ.cjs');require('../../../chunk-BYC3IIHX.cjs');require('../../../chunk-GPQZG7HC.cjs');require('../../../chunk-BMLVCKVF.cjs');require('../../../chunk-2VOUTE6Q.cjs');require('../../../chunk-2WSEHVNP.cjs');exports.CrossmintEmbeddedCheckout = _chunkYNTE6H67cjs.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../../chunk-
|
|
1
|
+
import{a}from"../../../chunk-MYDJFGIG.js";import"../../../chunk-IJNTDUWF.js";import"../../../chunk-5X3MPD2V.js";import"../../../chunk-HT4JFOOR.js";import"../../../chunk-JSNUJJQJ.js";import"../../../chunk-TNCETEEL.js";import"../../../chunk-VRC3MYU6.js";import"../../../chunk-DJYFUGOG.js";import"../../../chunk-NQ2WKZU6.js";import"../../../chunk-VHNBXIOC.js";import"../../../chunk-2VBA64WU.js";import"../../../chunk-QRX6P4MW.js";import"../../../chunk-NBJIJZGO.js";import"../../../chunk-SFDQPSSP.js";import"../../../chunk-77PBG2JJ.js";import"../../../chunk-EVADF7QA.js";import"../../../chunk-H34D6PAN.js";import"../../../chunk-JPJKOERH.js";import"../../../chunk-UAFW3OWA.js";import"../../../chunk-C3JRTLQP.js";import"../../../chunk-E4TBJMOO.js";import"../../../chunk-OOLXYAO7.js";import"../../../chunk-4ITU7JF2.js";import"../../../chunk-HFMBK6WE.js";import"../../../chunk-PWNUFLMO.js";import"../../../chunk-ROJ6HFVK.js";import"../../../chunk-6LMKMBUO.js";import"../../../chunk-P7QEGS22.js";import"../../../chunk-PXDN3KFO.js";export{a as CrossmintEmbeddedCheckout};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk5RAT4BDZcjs = require('../../../chunk-5RAT4BDZ.cjs');require('../../../chunk-QLPV72AE.cjs');require('../../../chunk-C6COHFJA.cjs');require('../../../chunk-BR77Q3PK.cjs');require('../../../chunk-Z2FGFHRQ.cjs');require('../../../chunk-62JYTT2Y.cjs');require('../../../chunk-HFEX7S3W.cjs');require('../../../chunk-FSG3MT7C.cjs');require('../../../chunk-HG5ML6KX.cjs');require('../../../chunk-2BOQSASO.cjs');require('../../../chunk-E5PPNNTL.cjs');require('../../../chunk-WABJHG6B.cjs');require('../../../chunk-TM7WDKYR.cjs');require('../../../chunk-VI6TW7JT.cjs');require('../../../chunk-VWBAHXIO.cjs');require('../../../chunk-FQ246XXN.cjs');require('../../../chunk-ZBQCXWMD.cjs');require('../../../chunk-NRN4WNQL.cjs');require('../../../chunk-I4GMMHQR.cjs');require('../../../chunk-SRQAQHYK.cjs');require('../../../chunk-QYQERFYL.cjs');require('../../../chunk-D3255LVM.cjs');require('../../../chunk-3SFKQITQ.cjs');require('../../../chunk-BYC3IIHX.cjs');require('../../../chunk-GPQZG7HC.cjs');require('../../../chunk-BMLVCKVF.cjs');require('../../../chunk-2VOUTE6Q.cjs');require('../../../chunk-2WSEHVNP.cjs');exports.EmbeddedCheckoutV3IFrame = _chunk5RAT4BDZcjs.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../../chunk-
|
|
1
|
+
import{a}from"../../../chunk-IJNTDUWF.js";import"../../../chunk-5X3MPD2V.js";import"../../../chunk-HT4JFOOR.js";import"../../../chunk-JSNUJJQJ.js";import"../../../chunk-TNCETEEL.js";import"../../../chunk-VRC3MYU6.js";import"../../../chunk-DJYFUGOG.js";import"../../../chunk-NQ2WKZU6.js";import"../../../chunk-VHNBXIOC.js";import"../../../chunk-2VBA64WU.js";import"../../../chunk-QRX6P4MW.js";import"../../../chunk-NBJIJZGO.js";import"../../../chunk-SFDQPSSP.js";import"../../../chunk-77PBG2JJ.js";import"../../../chunk-EVADF7QA.js";import"../../../chunk-H34D6PAN.js";import"../../../chunk-JPJKOERH.js";import"../../../chunk-UAFW3OWA.js";import"../../../chunk-C3JRTLQP.js";import"../../../chunk-E4TBJMOO.js";import"../../../chunk-OOLXYAO7.js";import"../../../chunk-4ITU7JF2.js";import"../../../chunk-HFMBK6WE.js";import"../../../chunk-PWNUFLMO.js";import"../../../chunk-ROJ6HFVK.js";import"../../../chunk-6LMKMBUO.js";import"../../../chunk-P7QEGS22.js";import"../../../chunk-PXDN3KFO.js";export{a as EmbeddedCheckoutV3IFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkNMROW7ITcjs = require('../../../../chunk-NMROW7IT.cjs');var _chunk36BNPW66cjs = require('../../../../chunk-36BNPW66.cjs');var _chunkFON43I6Gcjs = require('../../../../chunk-FON43I6G.cjs');var _chunk2WSEHVNPcjs = require('../../../../chunk-2WSEHVNP.cjs');var _ethereum = require('@dynamic-labs/ethereum');var _sdkreactcore = require('@dynamic-labs/sdk-react-core');var _solana = require('@dynamic-labs/solana');var _react = require('react');var _jsxruntime = require('react/jsx-runtime');function b(e){let{iframeClient:n,apiKeyEnvironment:r}=e;return _jsxruntime.jsx.call(void 0, _chunkFON43I6Gcjs.a,{apiKeyEnvironment:r,settings:{walletConnectors:[_ethereum.EthereumWalletConnectors,_solana.SolanaWalletConnectors],events:{onAuthFlowCancel(){console.log("[CryptoWalletConnectionHandler] onAuthFlowCancel"),n==null||n.send("crypto:connect-wallet.failed",{error:"cancelled"})},onAuthFlowClose(){console.log("[CryptoWalletConnectionHandler] onAuthFlowClose")},onAuthFailure(o,t){console.error("[CryptoWalletConnectionHandler] onAuthFailure",o,t)},onAuthSuccess(o){console.log("[CryptoWalletConnectionHandler] onAuthSuccess",o)}},handlers:{handleConnectedWallet:o=>_chunk2WSEHVNPcjs.d.call(void 0, this,null,function*(){var l;console.log("[CryptoWalletConnectionHandler] handleConnectedWallet",o);let t=o.address;if(!t)return console.error("[CryptoWalletConnectionHandler] handleConnectedWallet: address is missing"),n==null||n.send("crypto:connect-wallet.failed",{error:"address is missing"}),!1;let a;try{a=yield _chunk36BNPW66cjs.b.call(void 0, o)}catch(c){if(c instanceof _chunk36BNPW66cjs.a)return n==null||n.send("crypto:connect-wallet.failed",{error:`Chain with id ${c.chainId} is not supported. Please change the network in your wallet and try again.`}),!1;throw c}return n==null||n.send("crypto:connect-wallet.success",{address:t,chain:a,walletProviderKey:(l=o.connector)==null?void 0:l.key}),!0})}},children:_jsxruntime.jsx.call(void 0, A,_chunk2WSEHVNPcjs.a.call(void 0, {},e))})}function A({iframeClient:e}){let[n,r]=_react.useState.call(void 0, !1),{primaryWallet:o}=_sdkreactcore.useDynamicContext.call(void 0, );return _react.useEffect.call(void 0, ()=>{if(e==null)return;let t=e.on("crypto:connect-wallet.show",({show:a})=>{r(a)});return()=>{e.off(t)}},[e]),_react.useEffect.call(void 0, ()=>{if(e==null)return;let t=e.on("crypto:send-transaction",c=>_chunk2WSEHVNPcjs.d.call(void 0, this,[c],function*({chain:a,serializedTransaction:l}){if(o==null){console.error("[CryptoWalletConnectionHandler] signTransaction: primaryWallet is missing"),e.send("crypto:send-transaction:failed",{error:"primaryWallet is missing"});return}yield _chunkNMROW7ITcjs.a.call(void 0, o,a,l,e)}));return()=>{e.off(t)}},[e,o]),n?_jsxruntime.jsx.call(void 0, S,{setShowDynamicModal:r}):null}function S({setShowDynamicModal:e}){let n=_react.useContext.call(void 0, _sdkreactcore.DynamicContext);if(n==null)throw new Error("DynamicContext is missing");let{setShowAuthFlow:r,handleLogOut:o}=n;return _react.useEffect.call(void 0, ()=>{var t;(t=document.getElementById("crossmint-focus-target"))==null||t.focus(),_chunk2WSEHVNPcjs.d.call(void 0, this,null,function*(){yield o(),r(!0,{clearErrors:!0,emitCancelAuth:!0,ignoreIfIsEmbeddedWidget:!0,initializeWalletConnect:!0,performMultiWalletChecks:!1}),e(!1)})},[]),null}exports.CryptoWalletConnectionHandler = b; exports.ShowDynamicModal = S;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as m}from"../../../../chunk-
|
|
1
|
+
import{a as m}from"../../../../chunk-U2KHFXUK.js";import{a as p,b as h}from"../../../../chunk-3SJ74HLG.js";import{a as y}from"../../../../chunk-XIVIIEY5.js";import{a as u,d as s}from"../../../../chunk-PXDN3KFO.js";import{EthereumWalletConnectors as C}from"@dynamic-labs/ethereum";import{DynamicContext as w,useDynamicContext as f}from"@dynamic-labs/sdk-react-core";import{SolanaWalletConnectors as W}from"@dynamic-labs/solana";import{useContext as g,useEffect as i,useState as E}from"react";import{jsx as d}from"react/jsx-runtime";function K(e){let{iframeClient:n,apiKeyEnvironment:r}=e;return d(y,{apiKeyEnvironment:r,settings:{walletConnectors:[C,W],events:{onAuthFlowCancel(){console.log("[CryptoWalletConnectionHandler] onAuthFlowCancel"),n==null||n.send("crypto:connect-wallet.failed",{error:"cancelled"})},onAuthFlowClose(){console.log("[CryptoWalletConnectionHandler] onAuthFlowClose")},onAuthFailure(o,t){console.error("[CryptoWalletConnectionHandler] onAuthFailure",o,t)},onAuthSuccess(o){console.log("[CryptoWalletConnectionHandler] onAuthSuccess",o)}},handlers:{handleConnectedWallet:o=>s(this,null,function*(){var l;console.log("[CryptoWalletConnectionHandler] handleConnectedWallet",o);let t=o.address;if(!t)return console.error("[CryptoWalletConnectionHandler] handleConnectedWallet: address is missing"),n==null||n.send("crypto:connect-wallet.failed",{error:"address is missing"}),!1;let a;try{a=yield h(o)}catch(c){if(c instanceof p)return n==null||n.send("crypto:connect-wallet.failed",{error:`Chain with id ${c.chainId} is not supported. Please change the network in your wallet and try again.`}),!1;throw c}return n==null||n.send("crypto:connect-wallet.success",{address:t,chain:a,walletProviderKey:(l=o.connector)==null?void 0:l.key}),!0})}},children:d(A,u({},e))})}function A({iframeClient:e}){let[n,r]=E(!1),{primaryWallet:o}=f();return i(()=>{if(e==null)return;let t=e.on("crypto:connect-wallet.show",({show:a})=>{r(a)});return()=>{e.off(t)}},[e]),i(()=>{if(e==null)return;let t=e.on("crypto:send-transaction",c=>s(this,[c],function*({chain:a,serializedTransaction:l}){if(o==null){console.error("[CryptoWalletConnectionHandler] signTransaction: primaryWallet is missing"),e.send("crypto:send-transaction:failed",{error:"primaryWallet is missing"});return}yield m(o,a,l,e)}));return()=>{e.off(t)}},[e,o]),n?d(S,{setShowDynamicModal:r}):null}function S({setShowDynamicModal:e}){let n=g(w);if(n==null)throw new Error("DynamicContext is missing");let{setShowAuthFlow:r,handleLogOut:o}=n;return i(()=>{var t;(t=document.getElementById("crossmint-focus-target"))==null||t.focus(),s(this,null,function*(){yield o(),r(!0,{clearErrors:!0,emitCancelAuth:!0,ignoreIfIsEmbeddedWidget:!0,initializeWalletConnect:!0,performMultiWalletChecks:!1}),e(!1)})},[]),null}export{K as CryptoWalletConnectionHandler,S as ShowDynamicModal};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkNMROW7ITcjs = require('../../../../../chunk-NMROW7IT.cjs');require('../../../../../chunk-2WSEHVNP.cjs');exports.handleSendTransaction = _chunkNMROW7ITcjs.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../../../../chunk-
|
|
1
|
+
import{a}from"../../../../../chunk-U2KHFXUK.js";import"../../../../../chunk-PXDN3KFO.js";export{a as handleSendTransaction};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../../chunk-2VQLMU5A.cjs');var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../../chunk-2VQLMU5A.cjs');var _chunkYNTE6H67cjs = require('../../../chunk-YNTE6H67.cjs');require('../../../chunk-5RAT4BDZ.cjs');require('../../../chunk-QLPV72AE.cjs');require('../../../chunk-C6COHFJA.cjs');require('../../../chunk-BR77Q3PK.cjs');require('../../../chunk-Z2FGFHRQ.cjs');require('../../../chunk-62JYTT2Y.cjs');require('../../../chunk-HFEX7S3W.cjs');require('../../../chunk-FSG3MT7C.cjs');require('../../../chunk-HG5ML6KX.cjs');require('../../../chunk-2BOQSASO.cjs');require('../../../chunk-E5PPNNTL.cjs');require('../../../chunk-WABJHG6B.cjs');require('../../../chunk-TM7WDKYR.cjs');require('../../../chunk-VI6TW7JT.cjs');require('../../../chunk-VWBAHXIO.cjs');require('../../../chunk-FQ246XXN.cjs');require('../../../chunk-ZBQCXWMD.cjs');require('../../../chunk-NRN4WNQL.cjs');require('../../../chunk-I4GMMHQR.cjs');require('../../../chunk-SRQAQHYK.cjs');require('../../../chunk-QYQERFYL.cjs');require('../../../chunk-D3255LVM.cjs');require('../../../chunk-3SFKQITQ.cjs');require('../../../chunk-BYC3IIHX.cjs');require('../../../chunk-GPQZG7HC.cjs');require('../../../chunk-BMLVCKVF.cjs');require('../../../chunk-2VOUTE6Q.cjs');require('../../../chunk-2WSEHVNP.cjs');exports.CrossmintEmbeddedCheckout = _chunkYNTE6H67cjs.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../../chunk-72MMCJ2E.js";import{a}from"../../../chunk-
|
|
1
|
+
import"../../../chunk-72MMCJ2E.js";import{a}from"../../../chunk-MYDJFGIG.js";import"../../../chunk-IJNTDUWF.js";import"../../../chunk-5X3MPD2V.js";import"../../../chunk-HT4JFOOR.js";import"../../../chunk-JSNUJJQJ.js";import"../../../chunk-TNCETEEL.js";import"../../../chunk-VRC3MYU6.js";import"../../../chunk-DJYFUGOG.js";import"../../../chunk-NQ2WKZU6.js";import"../../../chunk-VHNBXIOC.js";import"../../../chunk-2VBA64WU.js";import"../../../chunk-QRX6P4MW.js";import"../../../chunk-NBJIJZGO.js";import"../../../chunk-SFDQPSSP.js";import"../../../chunk-77PBG2JJ.js";import"../../../chunk-EVADF7QA.js";import"../../../chunk-H34D6PAN.js";import"../../../chunk-JPJKOERH.js";import"../../../chunk-UAFW3OWA.js";import"../../../chunk-C3JRTLQP.js";import"../../../chunk-E4TBJMOO.js";import"../../../chunk-OOLXYAO7.js";import"../../../chunk-4ITU7JF2.js";import"../../../chunk-HFMBK6WE.js";import"../../../chunk-PWNUFLMO.js";import"../../../chunk-ROJ6HFVK.js";import"../../../chunk-6LMKMBUO.js";import"../../../chunk-P7QEGS22.js";import"../../../chunk-PXDN3KFO.js";export{a as CrossmintEmbeddedCheckout};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkN6H73LL4cjs = require('../../chunk-N6H73LL4.cjs');require('../../chunk-O5J2ZIJ6.cjs');require('../../chunk-X5BBXO27.cjs');require('../../chunk-2VOUTE6Q.cjs');require('../../chunk-2WSEHVNP.cjs');exports.CrossmintPayButton_DEPRECATED = _chunkN6H73LL4cjs.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-K3OKP3AX.js";import"../../chunk-72P3JMXX.js";import"../../chunk-2POV64LQ.js";import"../../chunk-P7QEGS22.js";import"../../chunk-PXDN3KFO.js";export{a as CrossmintPayButton_DEPRECATED};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-XUT4N66R.cjs');require('../../chunk-3EQVCVCE.cjs');var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-XUT4N66R.cjs');require('../../chunk-3EQVCVCE.cjs');var _chunkWRC5F2W4cjs = require('../../chunk-WRC5F2W4.cjs');require('../../chunk-56YL3XJW.cjs');require('../../chunk-KI4HRYHD.cjs');var _chunkN6H73LL4cjs = require('../../chunk-N6H73LL4.cjs');require('../../chunk-O5J2ZIJ6.cjs');require('../../chunk-X5BBXO27.cjs');require('../../chunk-BYC3IIHX.cjs');require('../../chunk-GPQZG7HC.cjs');require('../../chunk-2VOUTE6Q.cjs');require('../../chunk-2WSEHVNP.cjs');exports.CrossmintHostedCheckout = _chunkWRC5F2W4cjs.a; exports.CrossmintPayButton_DEPRECATED = _chunkN6H73LL4cjs.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../chunk-WHFUW3W3.js";import"../../chunk-NB7AJIPT.js";import{a as b}from"../../chunk-
|
|
1
|
+
import"../../chunk-WHFUW3W3.js";import"../../chunk-NB7AJIPT.js";import{a as b}from"../../chunk-RR35R23S.js";import"../../chunk-EA7H4AXL.js";import"../../chunk-KFL42A3A.js";import{a}from"../../chunk-K3OKP3AX.js";import"../../chunk-72P3JMXX.js";import"../../chunk-2POV64LQ.js";import"../../chunk-PWNUFLMO.js";import"../../chunk-ROJ6HFVK.js";import"../../chunk-P7QEGS22.js";import"../../chunk-PXDN3KFO.js";export{b as CrossmintHostedCheckout,a as CrossmintPayButton_DEPRECATED};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkWRC5F2W4cjs = require('../../../chunk-WRC5F2W4.cjs');require('../../../chunk-56YL3XJW.cjs');require('../../../chunk-KI4HRYHD.cjs');require('../../../chunk-BYC3IIHX.cjs');require('../../../chunk-GPQZG7HC.cjs');require('../../../chunk-2VOUTE6Q.cjs');require('../../../chunk-2WSEHVNP.cjs');exports.CrossmintHostedCheckout = _chunkWRC5F2W4cjs.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../../chunk-
|
|
1
|
+
import{a}from"../../../chunk-RR35R23S.js";import"../../../chunk-EA7H4AXL.js";import"../../../chunk-KFL42A3A.js";import"../../../chunk-PWNUFLMO.js";import"../../../chunk-ROJ6HFVK.js";import"../../../chunk-P7QEGS22.js";import"../../../chunk-PXDN3KFO.js";export{a as CrossmintHostedCheckout};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../../chunk-3EQVCVCE.cjs');var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../../chunk-3EQVCVCE.cjs');var _chunkWRC5F2W4cjs = require('../../../chunk-WRC5F2W4.cjs');require('../../../chunk-56YL3XJW.cjs');require('../../../chunk-KI4HRYHD.cjs');require('../../../chunk-BYC3IIHX.cjs');require('../../../chunk-GPQZG7HC.cjs');require('../../../chunk-2VOUTE6Q.cjs');require('../../../chunk-2WSEHVNP.cjs');exports.CrossmintHostedCheckout = _chunkWRC5F2W4cjs.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../../chunk-NB7AJIPT.js";import{a}from"../../../chunk-
|
|
1
|
+
import"../../../chunk-NB7AJIPT.js";import{a}from"../../../chunk-RR35R23S.js";import"../../../chunk-EA7H4AXL.js";import"../../../chunk-KFL42A3A.js";import"../../../chunk-PWNUFLMO.js";import"../../../chunk-ROJ6HFVK.js";import"../../../chunk-P7QEGS22.js";import"../../../chunk-PXDN3KFO.js";export{a as CrossmintHostedCheckout};
|