diff --git a/packages/keychain/.gitignore b/packages/keychain/.gitignore index fdb27e7ff..a547bf36d 100644 --- a/packages/keychain/.gitignore +++ b/packages/keychain/.gitignore @@ -1,39 +1,24 @@ -# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. - -# dependencies -/node_modules -/.pnp -.pnp.js - -# testing -/coverage - -# next.js -/.next/ -/out/ - -# production -/build - -# misc -.DS_Store -*.pem - -# debug +# Logs +logs +*.log npm-debug.log* -.pnpm-debug.log* - -# local env files -.env*.local - -# vercel -.vercel - -# typescript -*.tsbuildinfo -next-env.d.ts - -*storybook.log -/storybook-static +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* +node_modules dist +dist-ssr +*.local + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/packages/keychain/src/components/connect/RegisterSession.tsx b/packages/keychain/src/components/connect/RegisterSession.tsx index 591bb338d..56d34cce0 100644 --- a/packages/keychain/src/components/connect/RegisterSession.tsx +++ b/packages/keychain/src/components/connect/RegisterSession.tsx @@ -25,10 +25,10 @@ export function RegisterSession({ const [expiresAt] = useState(SESSION_EXPIRATION); const [transactions, setTransactions] = useState< | { - contractAddress: string; - entrypoint: string; - calldata: string[]; - }[] + contractAddress: string; + entrypoint: string; + calldata: string[]; + }[] | undefined >(undefined); diff --git a/packages/keychain/src/utils/controller.ts b/packages/keychain/src/utils/controller.ts index f25438fb6..39de9a488 100644 --- a/packages/keychain/src/utils/controller.ts +++ b/packages/keychain/src/utils/controller.ts @@ -270,7 +270,7 @@ export default class Controller extends Account { } revoke( - // eslint-disable-next-line @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any + // eslint-disable-next-line @typescript-eslint/no-unused-vars _origin: string, ) { // TODO: Cartridge Account SDK to implement revoke session tokens