Skip to content

Commit fcbcac5

Browse files
authored
Merge pull request #3 from seamapi/update-deps-1
Update node deps
2 parents 73153c0 + b5fb342 commit fcbcac5

File tree

5 files changed

+1459
-2315
lines changed

5 files changed

+1459
-2315
lines changed

examples/vite.config.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
import { setTimeout } from 'node:timers/promises'
21
import { env } from 'node:process'
2+
import { setTimeout } from 'node:timers/promises'
3+
34
import react from '@vitejs/plugin-react'
45
import { defineConfig } from 'vite'
56
import tsconfigPaths from 'vite-tsconfig-paths'
@@ -27,10 +28,7 @@ export default defineConfig(async ({ command }) => {
2728
}
2829
})
2930

30-
const setupEnv = async (
31-
endpoint: string,
32-
isBuild: boolean,
33-
): Promise<void> => {
31+
const setupEnv = async (endpoint: string, isBuild: boolean): Promise<void> => {
3432
env['SEAM_ENDPOINT'] ??= endpoint
3533

3634
if (env['SEAM_PUBLISHABLE_KEY'] == null) {
@@ -40,7 +38,7 @@ const setupEnv = async (
4038
`> Using the default publishable key.
4139
> Use your own by setting SEAM_PUBLISHABLE_KEY in your environment.
4240
> Get one for free at https://console.seam.co/
43-
`
41+
`,
4442
)
4543
await setTimeout(2000)
4644
}

0 commit comments

Comments
 (0)