@agg-build/ui 2.4.5 → 2.4.6
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-P5CVJQPW.mjs → chunk-TEBAR55W.mjs} +5 -1
- package/dist/index.js +5 -1
- package/dist/index.mjs +1 -1
- package/dist/modals.js +5 -1
- package/dist/modals.mjs +1 -1
- package/package.json +3 -3
|
@@ -3981,10 +3981,14 @@ var ProfileModal = ({
|
|
|
3981
3981
|
redirectUrl: resolveRedirectUrl()
|
|
3982
3982
|
});
|
|
3983
3983
|
onConnectEmail == null ? void 0 : onConnectEmail();
|
|
3984
|
+
toastCtx == null ? void 0 : toastCtx.toast(`We sent a link to ${typedEmail} to connect your email.`, {
|
|
3985
|
+
tone: "success",
|
|
3986
|
+
title: "Check your inbox"
|
|
3987
|
+
});
|
|
3984
3988
|
} catch (err) {
|
|
3985
3989
|
surfaceError(err, "Could not connect email");
|
|
3986
3990
|
}
|
|
3987
|
-
}), [client, onConnectEmail, surfaceError]);
|
|
3991
|
+
}), [client, onConnectEmail, surfaceError, toastCtx]);
|
|
3988
3992
|
const handleDisconnectWallet = useCallback9(
|
|
3989
3993
|
(wallet) => __async(null, null, function* () {
|
|
3990
3994
|
const normalizedChain = wallet.chain.toLowerCase();
|
package/dist/index.js
CHANGED
|
@@ -33428,10 +33428,14 @@ var ProfileModal = ({
|
|
|
33428
33428
|
redirectUrl: resolveRedirectUrl()
|
|
33429
33429
|
});
|
|
33430
33430
|
onConnectEmail == null ? void 0 : onConnectEmail();
|
|
33431
|
+
toastCtx == null ? void 0 : toastCtx.toast(`We sent a link to ${typedEmail} to connect your email.`, {
|
|
33432
|
+
tone: "success",
|
|
33433
|
+
title: "Check your inbox"
|
|
33434
|
+
});
|
|
33431
33435
|
} catch (err) {
|
|
33432
33436
|
surfaceError(err, "Could not connect email");
|
|
33433
33437
|
}
|
|
33434
|
-
}), [client, onConnectEmail, surfaceError]);
|
|
33438
|
+
}), [client, onConnectEmail, surfaceError, toastCtx]);
|
|
33435
33439
|
const handleDisconnectWallet = (0, import_react59.useCallback)(
|
|
33436
33440
|
(wallet) => __async(null, null, function* () {
|
|
33437
33441
|
const normalizedChain = wallet.chain.toLowerCase();
|
package/dist/index.mjs
CHANGED
package/dist/modals.js
CHANGED
|
@@ -9179,10 +9179,14 @@ var ProfileModal = ({
|
|
|
9179
9179
|
redirectUrl: resolveRedirectUrl()
|
|
9180
9180
|
});
|
|
9181
9181
|
onConnectEmail == null ? void 0 : onConnectEmail();
|
|
9182
|
+
toastCtx == null ? void 0 : toastCtx.toast(`We sent a link to ${typedEmail} to connect your email.`, {
|
|
9183
|
+
tone: "success",
|
|
9184
|
+
title: "Check your inbox"
|
|
9185
|
+
});
|
|
9182
9186
|
} catch (err) {
|
|
9183
9187
|
surfaceError(err, "Could not connect email");
|
|
9184
9188
|
}
|
|
9185
|
-
}), [client, onConnectEmail, surfaceError]);
|
|
9189
|
+
}), [client, onConnectEmail, surfaceError, toastCtx]);
|
|
9186
9190
|
const handleDisconnectWallet = (0, import_react19.useCallback)(
|
|
9187
9191
|
(wallet) => __async(null, null, function* () {
|
|
9188
9192
|
const normalizedChain = wallet.chain.toLowerCase();
|
package/dist/modals.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agg-build/ui",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.6",
|
|
4
4
|
"description": "Pre-built React component library for the AGG prediction market aggregator. Tailwind-based, themeable, with primitives, event surfaces, trading flows, full pages, and modals.",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "MIT",
|
|
@@ -100,8 +100,8 @@
|
|
|
100
100
|
"liveline": "^0.0.7",
|
|
101
101
|
"react": "^18.0.0 || ^19.0.0",
|
|
102
102
|
"react-dom": "^18.0.0 || ^19.0.0",
|
|
103
|
-
"@agg-build/hooks": "^2.4.
|
|
104
|
-
"@agg-build/sdk": "^2.
|
|
103
|
+
"@agg-build/hooks": "^2.4.6",
|
|
104
|
+
"@agg-build/sdk": "^2.4.6"
|
|
105
105
|
},
|
|
106
106
|
"dependencies": {
|
|
107
107
|
"@number-flow/react": "^0.6.0",
|