Skip to content

Commit de8eb99

Browse files
authored
fix: import error on recording.ts (#2574)
1 parent 79cec00 commit de8eb99

4 files changed

Lines changed: 54 additions & 44 deletions

File tree

packages/client/logic/recording.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import type RecorderType from 'recordrtc'
22
import type { Options as RecorderOptions } from 'recordrtc'
33
import type { Ref } from 'vue'
44
import { isTruthy } from '@antfu/utils'
5+
import { fixWebmDuration } from '@fix-webm-duration/fix'
56
import { useDevicesList, useEventListener, useLocalStorage } from '@vueuse/core'
6-
import fixWebmDuration from 'fix-webm-duration'
77
import { nextTick, ref, shallowRef, watch } from 'vue'
88
import { currentCamera, currentMic } from '../state'
99

packages/client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
},
3030
"dependencies": {
3131
"@antfu/utils": "catalog:frontend",
32+
"@fix-webm-duration/fix": "catalog:frontend",
3233
"@iconify-json/carbon": "catalog:icons",
3334
"@iconify-json/ph": "catalog:icons",
3435
"@iconify-json/svg-spinners": "catalog:icons",
@@ -49,7 +50,6 @@
4950
"ansis": "catalog:prod",
5051
"drauu": "catalog:frontend",
5152
"file-saver": "catalog:frontend",
52-
"fix-webm-duration": "catalog:frontend",
5353
"floating-vue": "catalog:frontend",
5454
"fuse.js": "catalog:frontend",
5555
"katex": "catalog:frontend",

pnpm-lock.yaml

Lines changed: 51 additions & 41 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ catalogs:
5454
vitepress-plugin-llms: ^1.12.1
5555
frontend:
5656
'@antfu/utils': ^9.3.0
57+
'@fix-webm-duration/fix': ^1.0.1
5758
'@shikijs/engine-javascript': ^4.0.2
5859
'@shikijs/markdown-it': ^4.0.2
5960
'@slidev/rough-notation': ^0.1.0
@@ -64,7 +65,6 @@ catalogs:
6465
'@vueuse/motion': ^3.0.3
6566
drauu: ^1.0.0
6667
file-saver: ^2.0.5
67-
fix-webm-duration: ^1.0.6
6868
floating-vue: ^5.2.2
6969
fuse.js: ^7.3.0
7070
katex: ^0.16.45

0 commit comments

Comments
 (0)