-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(apps): upgrade connectkit and wagmi (#2319)
- Loading branch information
Showing
177 changed files
with
635 additions
and
1,215 deletions.
There are no files selected for viewing
Binary file added
BIN
+237 KB
.yarn/cache/@adraffy-ens-normalize-npm-1.9.0-2e473ee39a-a8d47f85db.zip
Binary file not shown.
Binary file renamed
BIN
+150 KB
...t-sdk-npm-3.6.3-b840ba2181-f2ffd553f6.zip → ...t-sdk-npm-3.7.1-ea27cadfeb-e88c656d08.zip
Binary file not shown.
Binary file added
BIN
+13.5 KB
.yarn/cache/@lit-labs-ssr-dom-shim-npm-1.1.1-8b753a4141-7a7add78e3.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-521 KB
.yarn/cache/@tanstack-query-core-npm-4.19.1-bf92725efc-a54a613d5b.zip
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-36.1 KB
.yarn/cache/@tanstack-query-persist-client-core-npm-4.19.1-1a9de58347-4beaf8e750.zip
Binary file not shown.
Binary file added
BIN
+41.3 KB
.yarn/cache/@tanstack-query-persist-client-core-npm-4.29.7-6625cf62e7-d9ca2ad0fc.zip
Binary file not shown.
Binary file removed
BIN
-22 KB
.yarn/cache/@tanstack-query-sync-storage-persister-npm-4.19.1-0f13928872-82ee8c5440.zip
Binary file not shown.
Binary file added
BIN
+23.8 KB
.yarn/cache/@tanstack-query-sync-storage-persister-npm-4.29.7-0c07e03ddb-135d50e4af.zip
Binary file not shown.
Binary file removed
BIN
-321 KB
.yarn/cache/@tanstack-react-query-npm-4.19.1-6963bde4c6-cce8b51c5c.zip
Binary file not shown.
Binary file added
BIN
+326 KB
.yarn/cache/@tanstack-react-query-npm-4.29.7-915f204251-9db2fb78e1.zip
Binary file not shown.
Binary file removed
BIN
-33.5 KB
.yarn/cache/@tanstack-react-query-persist-client-npm-4.19.1-30f29acf85-9f2c4874e8.zip
Binary file not shown.
Binary file added
BIN
+34.9 KB
.yarn/cache/@tanstack-react-query-persist-client-npm-4.29.7-9a61487fa1-6e005cd279.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-46.9 KB
.yarn/cache/@walletconnect-browser-utils-npm-1.8.0-29b0770a2d-cf4b55c9e8.zip
Binary file not shown.
Binary file removed
BIN
-58.8 KB
.yarn/cache/@walletconnect-client-npm-1.8.0-f1b7322923-48aab7d11e.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-106 KB
.yarn/cache/@walletconnect-ethereum-provider-npm-1.8.0-fd9e667d59-eaf8a11349.zip
Binary file not shown.
Binary file added
BIN
+590 KB
.yarn/cache/@walletconnect-ethereum-provider-npm-2.7.4-22522467fb-89e7454ff7.zip
Binary file not shown.
Binary file removed
BIN
-49.3 KB
.yarn/cache/@walletconnect-heartbeat-npm-1.0.1-0300b42eb4-7591f92327.zip
Binary file not shown.
Binary file removed
BIN
-44.7 KB
.yarn/cache/@walletconnect-heartbeat-npm-1.2.0-21896d0ac2-27a0efa0a9.zip
Binary file not shown.
Binary file added
BIN
+49.7 KB
.yarn/cache/@walletconnect-heartbeat-npm-1.2.1-b297e6b967-df4d492a2d.zip
Binary file not shown.
Binary file removed
BIN
-63.6 KB
.yarn/cache/@walletconnect-iso-crypto-npm-1.8.0-241af7c519-ec1b361831.zip
Binary file not shown.
Binary file added
BIN
+38.2 KB
.yarn/cache/@walletconnect-jsonrpc-provider-npm-1.0.13-45a4d6ed76-497dfdd9f9.zip
Binary file not shown.
Binary file added
BIN
+37.2 KB
.yarn/cache/@walletconnect-jsonrpc-types-npm-1.0.3-3051f51215-26e6f1d8f4.zip
Binary file not shown.
Binary file added
BIN
+58 KB
.yarn/cache/@walletconnect-jsonrpc-utils-npm-1.0.8-3f7def656d-f43a85dfce.zip
Binary file not shown.
Binary file added
BIN
+45.5 KB
.yarn/cache/@walletconnect-jsonrpc-ws-connection-npm-1.0.11-6668fc29a6-69fcc5ecb6.zip
Binary file not shown.
Binary file removed
BIN
-40.8 KB
.yarn/cache/@walletconnect-jsonrpc-ws-connection-npm-1.0.6-754f7130d9-491cd99abb.zip
Binary file not shown.
Binary file added
BIN
+119 KB
.yarn/cache/@walletconnect-legacy-client-npm-2.0.0-9125564ec1-57de9e373b.zip
Binary file not shown.
Binary file added
BIN
+102 KB
.yarn/cache/@walletconnect-legacy-modal-npm-2.0.0-7b0ce2cb9f-897a02c9f4.zip
Binary file not shown.
Binary file added
BIN
+111 KB
.yarn/cache/@walletconnect-legacy-provider-npm-2.0.0-283ede8f4c-48adf2d938.zip
Binary file not shown.
Binary file added
BIN
+84.9 KB
.yarn/cache/@walletconnect-legacy-types-npm-2.0.0-e0f50c5ed4-358d789f8a.zip
Binary file not shown.
Binary file added
BIN
+108 KB
.yarn/cache/@walletconnect-legacy-utils-npm-2.0.0-756093e73f-ea90e98c2f.zip
Binary file not shown.
Binary file removed
BIN
-5.6 KB
.yarn/cache/@walletconnect-mobile-registry-npm-1.4.0-77ad61b21b-06f18842e6.zip
Binary file not shown.
Binary file removed
BIN
-90.5 KB
.yarn/cache/@walletconnect-qrcode-modal-npm-1.8.0-9cc1662fd2-0abae22685.zip
Binary file not shown.
Binary file removed
BIN
-49.7 KB
.yarn/cache/@walletconnect-relay-api-npm-1.0.7-1fe6d0ddca-5078d60ece.zip
Binary file not shown.
Binary file added
BIN
+50.3 KB
.yarn/cache/@walletconnect-relay-api-npm-1.0.9-eccb81798e-5870579b65.zip
Binary file not shown.
Binary file removed
BIN
-15.8 KB
.yarn/cache/@walletconnect-safe-json-npm-1.0.0-76114111c6-a8ee161cad.zip
Binary file not shown.
Binary file added
BIN
+27.7 KB
.yarn/cache/@walletconnect-safe-json-npm-1.0.2-c2759199f4-fee03fcc70.zip
Binary file not shown.
Binary file removed
BIN
-329 KB
.yarn/cache/@walletconnect-sign-client-npm-2.2.1-8331e260fc-6dc558a6c9.zip
Binary file not shown.
Binary file removed
BIN
-299 KB
.yarn/cache/@walletconnect-sign-client-npm-2.3.3-9e7961cf72-1830fbe410.zip
Binary file not shown.
Binary file added
BIN
+299 KB
.yarn/cache/@walletconnect-sign-client-npm-2.7.4-1bfd6ea5d4-370bf68aba.zip
Binary file not shown.
Binary file removed
BIN
-96.1 KB
.yarn/cache/@walletconnect-signer-connection-npm-1.8.0-4abfc8ee60-249c5a92e8.zip
Binary file not shown.
Binary file removed
BIN
-67.7 KB
.yarn/cache/@walletconnect-socket-transport-npm-1.8.0-d1aaf8f72e-3c494399a3.zip
Binary file not shown.
Binary file removed
BIN
-3.6 KB
.yarn/cache/@walletconnect-types-npm-1.8.0-3b9726aa42-194d615888.zip
Binary file not shown.
Binary file removed
BIN
-71.4 KB
.yarn/cache/@walletconnect-types-npm-2.2.1-4ee8bba937-187335d0b2.zip
Binary file not shown.
Binary file removed
BIN
-71.6 KB
.yarn/cache/@walletconnect-types-npm-2.3.3-00211c66ee-2c288ad5bd.zip
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-329 KB
.yarn/cache/@walletconnect-universal-provider-npm-2.2.1-1ddb46061a-8513176f7a.zip
Binary file not shown.
Binary file removed
BIN
-297 KB
.yarn/cache/@walletconnect-universal-provider-npm-2.3.3-792de37424-09b9537321.zip
Binary file not shown.
Binary file added
BIN
+779 KB
.yarn/cache/@walletconnect-universal-provider-npm-2.7.4-e3699df38f-5f6ae4436c.zip
Binary file not shown.
Binary file removed
BIN
-96.4 KB
.yarn/cache/@walletconnect-utils-npm-1.8.0-fc5fc5d9a2-41b21fc6cb.zip
Binary file not shown.
Binary file removed
BIN
-176 KB
.yarn/cache/@walletconnect-utils-npm-2.2.1-20383c094e-3a506e84db.zip
Binary file not shown.
Binary file removed
BIN
-177 KB
.yarn/cache/@walletconnect-utils-npm-2.3.3-39aafbb53e-d90420bc00.zip
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-17 KB
.yarn/cache/@walletconnect-window-getters-npm-1.0.0-e14d14a8e5-192af7acb2.zip
Binary file not shown.
Binary file removed
BIN
-19.4 KB
.yarn/cache/@walletconnect-window-metadata-npm-1.0.0-0dc17807e6-eec506ff6d.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-4.44 KB
.yarn/cache/@web3modal-standalone-npm-2.1.3-9b6f2bda5c-2680d8c41b.zip
Binary file not shown.
Binary file added
BIN
+4.41 KB
.yarn/cache/@web3modal-standalone-npm-2.4.1-3f923c90b7-0a26a7cc4b.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-1.63 KB
.yarn/cache/buffer-alloc-unsafe-npm-1.1.0-b5d7ccb44c-c5e18bf51f.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-10.7 KB
.yarn/cache/eth-json-rpc-filters-npm-4.2.2-2500dc5257-add6ef65c3.zip
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-18 KB
.yarn/cache/eth-json-rpc-middleware-npm-6.0.0-bf8eed1a10-d4ef8c6ba8.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-2.85 KB
.yarn/cache/is-fullwidth-code-point-npm-2.0.0-507f56ec71-eef9c6e15f.zip
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+81.3 KB
...ement-npm-3.2.2-9e28be97ae-e1df57c02a.zip → ...ement-npm-3.3.2-4cb4695bd1-afe50825be.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+116 KB
...e/lit-npm-2.6.1-8ee3a955da-74f2813152.zip → ...e/lit-npm-2.7.4-9e53493901-7494f4e814.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+11.8 KB
...tring-npm-7.1.1-55c6f31f52-b227d1f588.zip → ...tring-npm-7.1.3-4e8804142a-91af02dcd9.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,8 +16,8 @@ import Authentication, { | |
AuthenticationScreenDefaults, | ||
} from '@proofzero/design-system/src/templates/authentication/Authentication' | ||
|
||
import { createClient } from 'wagmi' | ||
import { getDefaultClient } from 'connectkit' | ||
import { createConfig } from 'wagmi' | ||
import { getDefaultConfig } from 'connectkit' | ||
import { Avatar } from '@proofzero/packages/design-system/src/atoms/profile/avatar/Avatar' | ||
import IconPicker from '~/components/IconPicker' | ||
import { Loader } from '@proofzero/design-system/src/molecules/loader/Loader' | ||
|
@@ -62,10 +62,12 @@ import { BadRequestError } from '@proofzero/errors' | |
import { GetEmailOTPThemeResult } from '@proofzero/platform/starbase/src/jsonrpc/methods/getEmailOTPTheme' | ||
import { getRollupReqFunctionErrorWrapper } from '@proofzero/utils/errors' | ||
|
||
const client = createClient( | ||
// @ts-ignore | ||
getDefaultClient({ | ||
const config = createConfig( | ||
getDefaultConfig({ | ||
appName: 'Rollup', | ||
walletConnectProjectId: | ||
//@ts-ignore | ||
typeof window !== 'undefined' && window.ENV.WALLET_CONNECT_PROJECT_ID, | ||
}) | ||
) | ||
|
||
|
@@ -89,9 +91,8 @@ const DesignerTab = ({ | |
selected: boolean | ||
}) => ( | ||
<div | ||
className={`box-border -mb-0.5 mr-8 pb-4 px-1 flex flex-row items-center gap-2 border-b-2 ${ | ||
selected ? 'border-indigo-600' : 'border-transparent' | ||
}`} | ||
className={`box-border -mb-0.5 mr-8 pb-4 px-1 flex flex-row items-center gap-2 border-b-2 ${selected ? 'border-indigo-600' : 'border-transparent' | ||
}`} | ||
> | ||
<Icon | ||
className={`w-5 h-5 ${selected ? 'text-indigo-600' : 'text-gray-500'}`} | ||
|
@@ -181,9 +182,8 @@ const RadiusButton = ({ | |
return ( | ||
<button | ||
type="button" | ||
className={`w-full py-1.5 px-2.5 rounded-md ${ | ||
selected ? 'bg-indigo-500' : '' | ||
}`} | ||
className={`w-full py-1.5 px-2.5 rounded-md ${selected ? 'bg-indigo-500' : '' | ||
}`} | ||
onClick={(e) => { | ||
e.preventDefault() | ||
setRadius(radius) | ||
|
@@ -329,10 +329,10 @@ const AuthPanel = ({ | |
}[] | ||
>( | ||
appTheme?.providers ?? | ||
AuthenticationScreenDefaults.knownKeys.map((k) => ({ | ||
key: k, | ||
enabled: true, | ||
})) | ||
AuthenticationScreenDefaults.knownKeys.map((k) => ({ | ||
key: k, | ||
enabled: true, | ||
})) | ||
) | ||
const [providerModalOpen, setProviderModalOpen] = useState<boolean>(false) | ||
|
||
|
@@ -548,7 +548,7 @@ const AuthPanel = ({ | |
minWidth={720} | ||
minHeight={1080} | ||
id="image" | ||
setIsFormChanged={(val) => {}} | ||
setIsFormChanged={(val) => { }} | ||
setIsImgUploading={(val) => { | ||
setLoading(val) | ||
}} | ||
|
@@ -658,7 +658,7 @@ const AuthPanel = ({ | |
.map((p) => p.key)} | ||
mapperArgs={{ | ||
clientId: 'Foo', | ||
wagmiClient: client, | ||
wagmiConfig: config, | ||
signData: null, | ||
}} | ||
radius={radius} | ||
|
@@ -694,8 +694,8 @@ const AuthPanel = ({ | |
'urn:rollupid:address/0xc2b930f1fc2a55ddc1bf99e8844ca0479567ac44f3e2eea58216660e26947686', | ||
}, | ||
]} | ||
selectEmailCallback={() => {}} | ||
addNewEmailCallback={() => {}} | ||
selectEmailCallback={() => { }} | ||
addNewEmailCallback={() => { }} | ||
connectedAccounts={[ | ||
{ | ||
address: '[email protected]', | ||
|
@@ -727,14 +727,14 @@ const AuthPanel = ({ | |
}, | ||
]} | ||
connectedSmartContractWallets={[]} | ||
addNewAccountCallback={() => {}} | ||
addNewSmartWalletCallback={() => {}} | ||
selectSmartWalletCallback={() => {}} | ||
selectAccountsCallback={() => {}} | ||
addNewAccountCallback={() => { }} | ||
addNewSmartWalletCallback={() => { }} | ||
selectSmartWalletCallback={() => { }} | ||
selectAccountsCallback={() => { }} | ||
// disableAuthorize={true} | ||
transitionState={'idle'} | ||
cancelCallback={() => {}} | ||
authorizeCallback={() => {}} | ||
cancelCallback={() => { }} | ||
authorizeCallback={() => { }} | ||
radius={radius} | ||
/> | ||
</Tab.Panel> | ||
|
@@ -826,7 +826,7 @@ const EmailPanel = ({ | |
height: 1, | ||
}} | ||
id="logoURL" | ||
setIsFormChanged={(val) => {}} | ||
setIsFormChanged={(val) => { }} | ||
setIsImgUploading={(val) => { | ||
setLoading(val) | ||
}} | ||
|
@@ -1026,7 +1026,6 @@ export const action: ActionFunction = getRollupReqFunctionErrorWrapper( | |
|
||
let providersJSON = fd.get('providers') as string | undefined | ||
if (!providersJSON || providersJSON === '') providersJSON = undefined | ||
|
||
const providers = providersJSON ? JSON.parse(providersJSON) : undefined | ||
|
||
theme = { | ||
|
@@ -1036,12 +1035,12 @@ export const action: ActionFunction = getRollupReqFunctionErrorWrapper( | |
color: | ||
color && colorDark | ||
? { | ||
light: color, | ||
dark: colorDark, | ||
} | ||
: theme?.color, | ||
graphicURL: graphicURL ?? theme?.graphicURL, | ||
providers: providers ?? theme?.providers, | ||
light: color, | ||
dark: colorDark, | ||
} | ||
: theme?.color, | ||
graphicURL: graphicURL ?? theme?.graphicURL, | ||
providers: providers ?? theme?.providers, | ||
} | ||
|
||
const zodErrors = await AppThemeSchema.spa(theme) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.