@coinswap-app/uikit 1.0.20 → 1.0.21
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/hooks/useCookies.d.ts +1 -1
- package/dist/index.cjs.js +13 -96
- package/dist/index.esm.js +13 -96
- package/dist/util/verifyWallet.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -8461,26 +8461,8 @@ var useParticleBurst = function useParticleBurst(options) {
|
|
|
8461
8461
|
};
|
|
8462
8462
|
|
|
8463
8463
|
// Optional wallet imports - only used if @web3-react/core is available
|
|
8464
|
-
//
|
|
8464
|
+
// Fallback values defined inline - NO REQUIRE() CALLS to avoid bundling issues
|
|
8465
8465
|
var connectorLocalStorageKey = "connectorId";
|
|
8466
|
-
var ConnectorNamesEnum = {
|
|
8467
|
-
Injected: "injected",
|
|
8468
|
-
WalletConnect: "walletconnect",
|
|
8469
|
-
BSC: "bsc"
|
|
8470
|
-
};
|
|
8471
|
-
// Runtime initialization - modules will be loaded from stubs provided by Rollup plugin
|
|
8472
|
-
if (typeof window !== 'undefined') {
|
|
8473
|
-
try {
|
|
8474
|
-
// This import is handled by the Rollup plugin as a virtual module
|
|
8475
|
-
var walletModal$1 = require("../widgets/WalletModal");
|
|
8476
|
-
if (walletModal$1) {
|
|
8477
|
-
connectorLocalStorageKey = walletModal$1.connectorLocalStorageKey || "connectorId";
|
|
8478
|
-
ConnectorNamesEnum = walletModal$1.ConnectorNames || ConnectorNamesEnum;
|
|
8479
|
-
}
|
|
8480
|
-
} catch (e) {
|
|
8481
|
-
// Fallback already set above
|
|
8482
|
-
}
|
|
8483
|
-
}
|
|
8484
8466
|
exports.Cookies = void 0;
|
|
8485
8467
|
(function (Cookies) {
|
|
8486
8468
|
Cookies["RestMode"] = "restMode";
|
|
@@ -12640,24 +12622,10 @@ var moveUsercomWidget = function moveUsercomWidget() {
|
|
|
12640
12622
|
};
|
|
12641
12623
|
|
|
12642
12624
|
// Optional wallet imports - only used if @web3-react/core is available
|
|
12643
|
-
//
|
|
12625
|
+
// Fallback enum defined inline - NO REQUIRE() CALLS to avoid bundling issues
|
|
12644
12626
|
var ConnectStepsEnum = {
|
|
12645
|
-
CONNECT_WALLET: 0,
|
|
12646
|
-
VERIFY_WALLET: 1,
|
|
12647
12627
|
VERIFIED_WALLET: 2
|
|
12648
12628
|
};
|
|
12649
|
-
// Runtime initialization - modules will be loaded from stubs provided by Rollup plugin
|
|
12650
|
-
if (typeof window !== 'undefined') {
|
|
12651
|
-
try {
|
|
12652
|
-
// This import is handled by the Rollup plugin as a virtual module
|
|
12653
|
-
var connectVerifyPanel$2 = require("../widgets/ConnectVerifyPanel");
|
|
12654
|
-
if (connectVerifyPanel$2 !== null && connectVerifyPanel$2 !== void 0 && connectVerifyPanel$2.ConnectSteps) {
|
|
12655
|
-
ConnectStepsEnum = connectVerifyPanel$2.ConnectSteps;
|
|
12656
|
-
}
|
|
12657
|
-
} catch (e) {
|
|
12658
|
-
// Fallback already set above
|
|
12659
|
-
}
|
|
12660
|
-
}
|
|
12661
12629
|
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
|
12662
12630
|
var verifyWallet = /*#__PURE__*/function () {
|
|
12663
12631
|
var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(onVerifySuccess, address, getAccessToken, getUserId) {
|
|
@@ -17324,26 +17292,6 @@ var getTranslations = function getTranslations(translation) {
|
|
|
17324
17292
|
};
|
|
17325
17293
|
|
|
17326
17294
|
var _templateObject$c, _templateObject2$9, _templateObject3$8, _templateObject4$7, _templateObject5$5;
|
|
17327
|
-
var useWalletModal = null;
|
|
17328
|
-
var useDisclaimer = null;
|
|
17329
|
-
var VerifiedWalletIcon = null;
|
|
17330
|
-
// Runtime initialization - modules will be loaded from stubs provided by Rollup plugin
|
|
17331
|
-
// The Rollup plugin creates virtual modules that export these values
|
|
17332
|
-
if (typeof window !== 'undefined') {
|
|
17333
|
-
try {
|
|
17334
|
-
// These imports are handled by the Rollup plugin as virtual modules
|
|
17335
|
-
// The plugin will provide stubs if the real modules are not available
|
|
17336
|
-
var walletModal = require("../../WalletModal");
|
|
17337
|
-
useWalletModal = walletModal === null || walletModal === void 0 ? void 0 : walletModal.useWalletModal;
|
|
17338
|
-
var disclaimerModal = require("../../DisclaimerModal");
|
|
17339
|
-
useDisclaimer = disclaimerModal === null || disclaimerModal === void 0 ? void 0 : disclaimerModal.useDisclaimer;
|
|
17340
|
-
var connectVerifyPanel$1 = require("../../ConnectVerifyPanel/components");
|
|
17341
|
-
VerifiedWalletIcon = connectVerifyPanel$1 === null || connectVerifyPanel$1 === void 0 ? void 0 : connectVerifyPanel$1.VerifiedWalletIcon;
|
|
17342
|
-
} catch (e) {
|
|
17343
|
-
// @web3-react/core is not available - wallet functionality will be disabled
|
|
17344
|
-
console.warn("@web3-react/core is not available. Wallet features in Menu will be disabled.");
|
|
17345
|
-
}
|
|
17346
|
-
}
|
|
17347
17295
|
var UserBlockWrapper = styledComponents.styled.div.withConfig({
|
|
17348
17296
|
displayName: "UserBlockWrapper",
|
|
17349
17297
|
componentId: "sc-1speva4-0"
|
|
@@ -17386,23 +17334,15 @@ var Account = styledComponents.styled(Text).withConfig({
|
|
|
17386
17334
|
return theme.mediaQueries.mobile;
|
|
17387
17335
|
});
|
|
17388
17336
|
var UserBlock = function UserBlock(_ref8) {
|
|
17389
|
-
|
|
17390
|
-
|
|
17391
|
-
|
|
17392
|
-
|
|
17393
|
-
|
|
17394
|
-
translations = _ref8.translations,
|
|
17337
|
+
_ref8.handleLogin;
|
|
17338
|
+
var account = _ref8.account;
|
|
17339
|
+
_ref8.login;
|
|
17340
|
+
_ref8.logout;
|
|
17341
|
+
var translations = _ref8.translations,
|
|
17395
17342
|
setIsConnectWalletPanelOpen = _ref8.setIsConnectWalletPanelOpen,
|
|
17396
17343
|
isUserVerified = _ref8.isUserVerified;
|
|
17397
17344
|
var t = translations || getTranslations;
|
|
17398
|
-
// Only use wallet hooks if available
|
|
17399
|
-
useWalletModal ? (_useWalletModal = useWalletModal(login, logout, account, translations)) === null || _useWalletModal === void 0 ? void 0 : _useWalletModal.onPresentAccountModal : null;
|
|
17400
17345
|
var accountEllipsis = account ? "".concat(account.substring(0, 4), "...").concat(account.substring(account.length - 4)) : null;
|
|
17401
|
-
useDisclaimer ? (_useDisclaimer = useDisclaimer({
|
|
17402
|
-
handleLogin: handleLogin,
|
|
17403
|
-
translations: translations,
|
|
17404
|
-
setIsConnectWalletPanelOpen: setIsConnectWalletPanelOpen
|
|
17405
|
-
})) === null || _useDisclaimer === void 0 ? void 0 : _useDisclaimer.callback : null;
|
|
17406
17346
|
return /*#__PURE__*/jsxRuntime.jsx(UserBlockWrapper, {
|
|
17407
17347
|
children: account ? /*#__PURE__*/jsxRuntime.jsxs(AccountButton, {
|
|
17408
17348
|
isUserVerified: isUserVerified || false,
|
|
@@ -17410,9 +17350,7 @@ var UserBlock = function UserBlock(_ref8) {
|
|
|
17410
17350
|
onClick: function onClick() {
|
|
17411
17351
|
setIsConnectWalletPanelOpen === null || setIsConnectWalletPanelOpen === void 0 || setIsConnectWalletPanelOpen(true);
|
|
17412
17352
|
},
|
|
17413
|
-
children: [
|
|
17414
|
-
$opac: true
|
|
17415
|
-
}) : /*#__PURE__*/jsxRuntime.jsx(VerifyAddressIndicator, {
|
|
17353
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(VerifyAddressIndicator, {
|
|
17416
17354
|
fontSize: "12px",
|
|
17417
17355
|
fontWeight: 500,
|
|
17418
17356
|
children: "Login with Web3"
|
|
@@ -17670,17 +17608,6 @@ var UserButton = function UserButton(_ref5) {
|
|
|
17670
17608
|
|
|
17671
17609
|
var _templateObject$8, _templateObject2$5, _templateObject3$5, _templateObject4$5, _templateObject5$4, _templateObject6$3;
|
|
17672
17610
|
var ConnectVerifyPanel = null;
|
|
17673
|
-
// Runtime initialization - modules will be loaded from stubs provided by Rollup plugin
|
|
17674
|
-
if (typeof window !== 'undefined') {
|
|
17675
|
-
try {
|
|
17676
|
-
// This import is handled by the Rollup plugin as a virtual module
|
|
17677
|
-
var connectVerifyPanel = require("../ConnectVerifyPanel");
|
|
17678
|
-
ConnectVerifyPanel = connectVerifyPanel === null || connectVerifyPanel === void 0 ? void 0 : connectVerifyPanel.ConnectVerifyPanel;
|
|
17679
|
-
} catch (e) {
|
|
17680
|
-
// @web3-react/core is not available - wallet functionality will be disabled
|
|
17681
|
-
console.warn("@web3-react/core is not available. ConnectVerifyPanel will be disabled.");
|
|
17682
|
-
}
|
|
17683
|
-
}
|
|
17684
17611
|
var Wrapper = styledComponents.styled.div.withConfig({
|
|
17685
17612
|
displayName: "Wrapper",
|
|
17686
17613
|
componentId: "sc-2hf3ez-0"
|
|
@@ -17756,10 +17683,10 @@ var Menu = function Menu(_ref7) {
|
|
|
17756
17683
|
notificationPath = _ref7.notificationPath,
|
|
17757
17684
|
_ref7$mySpaceLink = _ref7.mySpaceLink,
|
|
17758
17685
|
mySpaceLink = _ref7$mySpaceLink === void 0 ? "" : _ref7$mySpaceLink,
|
|
17759
|
-
isUserVerified = _ref7.isUserVerified
|
|
17760
|
-
|
|
17761
|
-
|
|
17762
|
-
|
|
17686
|
+
isUserVerified = _ref7.isUserVerified;
|
|
17687
|
+
_ref7.onVerifyUser;
|
|
17688
|
+
_ref7.moveToSettings;
|
|
17689
|
+
_ref7.provider;
|
|
17763
17690
|
// const loc = useLocation();
|
|
17764
17691
|
// const defaultOpened = true
|
|
17765
17692
|
// defaultOpenOnHref.some((href) => {
|
|
@@ -17905,17 +17832,7 @@ var Menu = function Menu(_ref7) {
|
|
|
17905
17832
|
}), children, /*#__PURE__*/jsxRuntime.jsx(VersionContainer, {
|
|
17906
17833
|
version: version
|
|
17907
17834
|
})]
|
|
17908
|
-
}), isConnectWalletPanelOpen && ConnectVerifyPanel
|
|
17909
|
-
handleLogin: handleLogin,
|
|
17910
|
-
logout: logout,
|
|
17911
|
-
setIsConnectWalletPanelOpen: setIsConnectWalletPanelOpen,
|
|
17912
|
-
isConnectWalletPanelOpen: isConnectWalletPanelOpen,
|
|
17913
|
-
account: account,
|
|
17914
|
-
isUserVerified: isUserVerified,
|
|
17915
|
-
onVerifyUser: onVerifyUser,
|
|
17916
|
-
moveToSettings: moveToSettings,
|
|
17917
|
-
provider: provider
|
|
17918
|
-
})]
|
|
17835
|
+
}), isConnectWalletPanelOpen && ConnectVerifyPanel]
|
|
17919
17836
|
})]
|
|
17920
17837
|
})]
|
|
17921
17838
|
});
|
package/dist/index.esm.js
CHANGED
|
@@ -8439,26 +8439,8 @@ var useParticleBurst = function useParticleBurst(options) {
|
|
|
8439
8439
|
};
|
|
8440
8440
|
|
|
8441
8441
|
// Optional wallet imports - only used if @web3-react/core is available
|
|
8442
|
-
//
|
|
8442
|
+
// Fallback values defined inline - NO REQUIRE() CALLS to avoid bundling issues
|
|
8443
8443
|
var connectorLocalStorageKey = "connectorId";
|
|
8444
|
-
var ConnectorNamesEnum = {
|
|
8445
|
-
Injected: "injected",
|
|
8446
|
-
WalletConnect: "walletconnect",
|
|
8447
|
-
BSC: "bsc"
|
|
8448
|
-
};
|
|
8449
|
-
// Runtime initialization - modules will be loaded from stubs provided by Rollup plugin
|
|
8450
|
-
if (typeof window !== 'undefined') {
|
|
8451
|
-
try {
|
|
8452
|
-
// This import is handled by the Rollup plugin as a virtual module
|
|
8453
|
-
var walletModal$1 = require("../widgets/WalletModal");
|
|
8454
|
-
if (walletModal$1) {
|
|
8455
|
-
connectorLocalStorageKey = walletModal$1.connectorLocalStorageKey || "connectorId";
|
|
8456
|
-
ConnectorNamesEnum = walletModal$1.ConnectorNames || ConnectorNamesEnum;
|
|
8457
|
-
}
|
|
8458
|
-
} catch (e) {
|
|
8459
|
-
// Fallback already set above
|
|
8460
|
-
}
|
|
8461
|
-
}
|
|
8462
8444
|
var Cookies;
|
|
8463
8445
|
(function (Cookies) {
|
|
8464
8446
|
Cookies["RestMode"] = "restMode";
|
|
@@ -12618,24 +12600,10 @@ var moveUsercomWidget = function moveUsercomWidget() {
|
|
|
12618
12600
|
};
|
|
12619
12601
|
|
|
12620
12602
|
// Optional wallet imports - only used if @web3-react/core is available
|
|
12621
|
-
//
|
|
12603
|
+
// Fallback enum defined inline - NO REQUIRE() CALLS to avoid bundling issues
|
|
12622
12604
|
var ConnectStepsEnum = {
|
|
12623
|
-
CONNECT_WALLET: 0,
|
|
12624
|
-
VERIFY_WALLET: 1,
|
|
12625
12605
|
VERIFIED_WALLET: 2
|
|
12626
12606
|
};
|
|
12627
|
-
// Runtime initialization - modules will be loaded from stubs provided by Rollup plugin
|
|
12628
|
-
if (typeof window !== 'undefined') {
|
|
12629
|
-
try {
|
|
12630
|
-
// This import is handled by the Rollup plugin as a virtual module
|
|
12631
|
-
var connectVerifyPanel$2 = require("../widgets/ConnectVerifyPanel");
|
|
12632
|
-
if (connectVerifyPanel$2 !== null && connectVerifyPanel$2 !== void 0 && connectVerifyPanel$2.ConnectSteps) {
|
|
12633
|
-
ConnectStepsEnum = connectVerifyPanel$2.ConnectSteps;
|
|
12634
|
-
}
|
|
12635
|
-
} catch (e) {
|
|
12636
|
-
// Fallback already set above
|
|
12637
|
-
}
|
|
12638
|
-
}
|
|
12639
12607
|
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
|
12640
12608
|
var verifyWallet = /*#__PURE__*/function () {
|
|
12641
12609
|
var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(onVerifySuccess, address, getAccessToken, getUserId) {
|
|
@@ -17302,26 +17270,6 @@ var getTranslations = function getTranslations(translation) {
|
|
|
17302
17270
|
};
|
|
17303
17271
|
|
|
17304
17272
|
var _templateObject$c, _templateObject2$9, _templateObject3$8, _templateObject4$7, _templateObject5$5;
|
|
17305
|
-
var useWalletModal = null;
|
|
17306
|
-
var useDisclaimer = null;
|
|
17307
|
-
var VerifiedWalletIcon = null;
|
|
17308
|
-
// Runtime initialization - modules will be loaded from stubs provided by Rollup plugin
|
|
17309
|
-
// The Rollup plugin creates virtual modules that export these values
|
|
17310
|
-
if (typeof window !== 'undefined') {
|
|
17311
|
-
try {
|
|
17312
|
-
// These imports are handled by the Rollup plugin as virtual modules
|
|
17313
|
-
// The plugin will provide stubs if the real modules are not available
|
|
17314
|
-
var walletModal = require("../../WalletModal");
|
|
17315
|
-
useWalletModal = walletModal === null || walletModal === void 0 ? void 0 : walletModal.useWalletModal;
|
|
17316
|
-
var disclaimerModal = require("../../DisclaimerModal");
|
|
17317
|
-
useDisclaimer = disclaimerModal === null || disclaimerModal === void 0 ? void 0 : disclaimerModal.useDisclaimer;
|
|
17318
|
-
var connectVerifyPanel$1 = require("../../ConnectVerifyPanel/components");
|
|
17319
|
-
VerifiedWalletIcon = connectVerifyPanel$1 === null || connectVerifyPanel$1 === void 0 ? void 0 : connectVerifyPanel$1.VerifiedWalletIcon;
|
|
17320
|
-
} catch (e) {
|
|
17321
|
-
// @web3-react/core is not available - wallet functionality will be disabled
|
|
17322
|
-
console.warn("@web3-react/core is not available. Wallet features in Menu will be disabled.");
|
|
17323
|
-
}
|
|
17324
|
-
}
|
|
17325
17273
|
var UserBlockWrapper = styled.div.withConfig({
|
|
17326
17274
|
displayName: "UserBlockWrapper",
|
|
17327
17275
|
componentId: "sc-1speva4-0"
|
|
@@ -17364,23 +17312,15 @@ var Account = styled(Text).withConfig({
|
|
|
17364
17312
|
return theme.mediaQueries.mobile;
|
|
17365
17313
|
});
|
|
17366
17314
|
var UserBlock = function UserBlock(_ref8) {
|
|
17367
|
-
|
|
17368
|
-
|
|
17369
|
-
|
|
17370
|
-
|
|
17371
|
-
|
|
17372
|
-
translations = _ref8.translations,
|
|
17315
|
+
_ref8.handleLogin;
|
|
17316
|
+
var account = _ref8.account;
|
|
17317
|
+
_ref8.login;
|
|
17318
|
+
_ref8.logout;
|
|
17319
|
+
var translations = _ref8.translations,
|
|
17373
17320
|
setIsConnectWalletPanelOpen = _ref8.setIsConnectWalletPanelOpen,
|
|
17374
17321
|
isUserVerified = _ref8.isUserVerified;
|
|
17375
17322
|
var t = translations || getTranslations;
|
|
17376
|
-
// Only use wallet hooks if available
|
|
17377
|
-
useWalletModal ? (_useWalletModal = useWalletModal(login, logout, account, translations)) === null || _useWalletModal === void 0 ? void 0 : _useWalletModal.onPresentAccountModal : null;
|
|
17378
17323
|
var accountEllipsis = account ? "".concat(account.substring(0, 4), "...").concat(account.substring(account.length - 4)) : null;
|
|
17379
|
-
useDisclaimer ? (_useDisclaimer = useDisclaimer({
|
|
17380
|
-
handleLogin: handleLogin,
|
|
17381
|
-
translations: translations,
|
|
17382
|
-
setIsConnectWalletPanelOpen: setIsConnectWalletPanelOpen
|
|
17383
|
-
})) === null || _useDisclaimer === void 0 ? void 0 : _useDisclaimer.callback : null;
|
|
17384
17324
|
return /*#__PURE__*/jsx(UserBlockWrapper, {
|
|
17385
17325
|
children: account ? /*#__PURE__*/jsxs(AccountButton, {
|
|
17386
17326
|
isUserVerified: isUserVerified || false,
|
|
@@ -17388,9 +17328,7 @@ var UserBlock = function UserBlock(_ref8) {
|
|
|
17388
17328
|
onClick: function onClick() {
|
|
17389
17329
|
setIsConnectWalletPanelOpen === null || setIsConnectWalletPanelOpen === void 0 || setIsConnectWalletPanelOpen(true);
|
|
17390
17330
|
},
|
|
17391
|
-
children: [
|
|
17392
|
-
$opac: true
|
|
17393
|
-
}) : /*#__PURE__*/jsx(VerifyAddressIndicator, {
|
|
17331
|
+
children: [/*#__PURE__*/jsx(VerifyAddressIndicator, {
|
|
17394
17332
|
fontSize: "12px",
|
|
17395
17333
|
fontWeight: 500,
|
|
17396
17334
|
children: "Login with Web3"
|
|
@@ -17648,17 +17586,6 @@ var UserButton = function UserButton(_ref5) {
|
|
|
17648
17586
|
|
|
17649
17587
|
var _templateObject$8, _templateObject2$5, _templateObject3$5, _templateObject4$5, _templateObject5$4, _templateObject6$3;
|
|
17650
17588
|
var ConnectVerifyPanel = null;
|
|
17651
|
-
// Runtime initialization - modules will be loaded from stubs provided by Rollup plugin
|
|
17652
|
-
if (typeof window !== 'undefined') {
|
|
17653
|
-
try {
|
|
17654
|
-
// This import is handled by the Rollup plugin as a virtual module
|
|
17655
|
-
var connectVerifyPanel = require("../ConnectVerifyPanel");
|
|
17656
|
-
ConnectVerifyPanel = connectVerifyPanel === null || connectVerifyPanel === void 0 ? void 0 : connectVerifyPanel.ConnectVerifyPanel;
|
|
17657
|
-
} catch (e) {
|
|
17658
|
-
// @web3-react/core is not available - wallet functionality will be disabled
|
|
17659
|
-
console.warn("@web3-react/core is not available. ConnectVerifyPanel will be disabled.");
|
|
17660
|
-
}
|
|
17661
|
-
}
|
|
17662
17589
|
var Wrapper = styled.div.withConfig({
|
|
17663
17590
|
displayName: "Wrapper",
|
|
17664
17591
|
componentId: "sc-2hf3ez-0"
|
|
@@ -17734,10 +17661,10 @@ var Menu = function Menu(_ref7) {
|
|
|
17734
17661
|
notificationPath = _ref7.notificationPath,
|
|
17735
17662
|
_ref7$mySpaceLink = _ref7.mySpaceLink,
|
|
17736
17663
|
mySpaceLink = _ref7$mySpaceLink === void 0 ? "" : _ref7$mySpaceLink,
|
|
17737
|
-
isUserVerified = _ref7.isUserVerified
|
|
17738
|
-
|
|
17739
|
-
|
|
17740
|
-
|
|
17664
|
+
isUserVerified = _ref7.isUserVerified;
|
|
17665
|
+
_ref7.onVerifyUser;
|
|
17666
|
+
_ref7.moveToSettings;
|
|
17667
|
+
_ref7.provider;
|
|
17741
17668
|
// const loc = useLocation();
|
|
17742
17669
|
// const defaultOpened = true
|
|
17743
17670
|
// defaultOpenOnHref.some((href) => {
|
|
@@ -17883,17 +17810,7 @@ var Menu = function Menu(_ref7) {
|
|
|
17883
17810
|
}), children, /*#__PURE__*/jsx(VersionContainer, {
|
|
17884
17811
|
version: version
|
|
17885
17812
|
})]
|
|
17886
|
-
}), isConnectWalletPanelOpen && ConnectVerifyPanel
|
|
17887
|
-
handleLogin: handleLogin,
|
|
17888
|
-
logout: logout,
|
|
17889
|
-
setIsConnectWalletPanelOpen: setIsConnectWalletPanelOpen,
|
|
17890
|
-
isConnectWalletPanelOpen: isConnectWalletPanelOpen,
|
|
17891
|
-
account: account,
|
|
17892
|
-
isUserVerified: isUserVerified,
|
|
17893
|
-
onVerifyUser: onVerifyUser,
|
|
17894
|
-
moveToSettings: moveToSettings,
|
|
17895
|
-
provider: provider
|
|
17896
|
-
})]
|
|
17813
|
+
}), isConnectWalletPanelOpen && ConnectVerifyPanel]
|
|
17897
17814
|
})]
|
|
17898
17815
|
})]
|
|
17899
17816
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare const ConnectStepsEnum: any;
|
|
2
2
|
type ConnectSteps = typeof ConnectStepsEnum[keyof typeof ConnectStepsEnum];
|
|
3
3
|
declare const verifyWallet: (onVerifySuccess: (step: ConnectSteps) => void, address: string | undefined, getAccessToken: (token: string) => void, getUserId: (userId: string) => void) => Promise<void>;
|
|
4
4
|
export default verifyWallet;
|