Skip to content

Commit

Permalink
Update Keychain .gitignore to be aligned with profile's
Browse files Browse the repository at this point in the history
  • Loading branch information
JunichiSugiura committed Dec 18, 2024
1 parent dbb9d1f commit 94569a0
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 41 deletions.
57 changes: 21 additions & 36 deletions packages/keychain/.gitignore
Original file line number Diff line number Diff line change
@@ -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?
8 changes: 4 additions & 4 deletions packages/keychain/src/components/connect/RegisterSession.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ export function RegisterSession({
const [expiresAt] = useState<bigint>(SESSION_EXPIRATION);
const [transactions, setTransactions] = useState<
| {
contractAddress: string;
entrypoint: string;
calldata: string[];
}[]
contractAddress: string;
entrypoint: string;
calldata: string[];
}[]
| undefined
>(undefined);

Expand Down
2 changes: 1 addition & 1 deletion packages/keychain/src/utils/controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 94569a0

Please sign in to comment.