Skip to content

Commit

Permalink
chore(deps): update dependency @simplewebauthn/browser to v13
Browse files Browse the repository at this point in the history
  • Loading branch information
0xJacky committed Dec 11, 2024
1 parent b32d06c commit 1be7298
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 27 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@ app/.status_hash
casdoor.pub
.idea/deployment.xml
.idea/webServers.xml
casdoor.pem
3 changes: 2 additions & 1 deletion app/auto-imports.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ declare global {
export type { Component, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue'
import('vue')
}

// for vue template auto import
import { UnwrapRef } from 'vue'
declare module 'vue' {
Expand Down Expand Up @@ -173,4 +174,4 @@ declare module 'vue' {
readonly watchPostEffect: UnwrapRef<typeof import('vue')['watchPostEffect']>
readonly watchSyncEffect: UnwrapRef<typeof import('vue')['watchSyncEffect']>
}
}
}
3 changes: 1 addition & 2 deletions app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@0xjacky/vue-github-button": "^3.1.1",
"@ant-design/icons-vue": "^7.0.1",
"@formkit/auto-animate": "^0.8.2",
"@simplewebauthn/browser": "^12.0.0",
"@simplewebauthn/browser": "^13.0.0",
"@vue/reactivity": "^3.5.13",
"@vue/shared": "^3.5.13",
"@vueuse/components": "^12.0.0",
Expand Down Expand Up @@ -59,7 +59,6 @@
"@iconify/types": "^2.0.0",
"@iconify/utils": "^2.1.33",
"@iconify/vue": "^4.1.2",
"@simplewebauthn/types": "^12.0.0",
"@types/lodash": "^4.17.13",
"@types/nprogress": "^0.2.3",
"@types/sortablejs": "^1.15.8",
Expand Down
25 changes: 5 additions & 20 deletions app/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/src/api/2fa.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { AuthenticationResponseJSON } from '@simplewebauthn/types'
import type { AuthenticationResponseJSON } from '@simplewebauthn/browser'
import http from '@/lib/http'

export interface TwoFAStatusResponse {
Expand Down
2 changes: 1 addition & 1 deletion app/src/api/auth.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { AuthenticationResponseJSON } from '@simplewebauthn/types'
import type { AuthenticationResponseJSON } from '@simplewebauthn/browser'
import http from '@/lib/http'
import { useUserStore } from '@/pinia'

Expand Down
2 changes: 1 addition & 1 deletion app/src/api/passkey.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { ModelBase } from '@/api/curd'
import type { RegistrationResponseJSON } from '@simplewebauthn/types'
import type { RegistrationResponseJSON } from '@simplewebauthn/browser'
import http from '@/lib/http'

export interface Passkey extends ModelBase {
Expand Down

0 comments on commit 1be7298

Please # to comment.