From ea31484d80e801b38f576fe32dd65da307815712 Mon Sep 17 00:00:00 2001 From: Wundero Date: Sat, 7 Dec 2024 05:15:26 -0800 Subject: [PATCH] Fix imports to prevent issues --- packages/core/jsr.json | 2 +- packages/core/package.json | 2 +- packages/core/src/browser.ts | 4 ++-- packages/core/src/event-fallback.ts | 2 +- packages/core/src/server.ts | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/core/jsr.json b/packages/core/jsr.json index b059629..e6a3107 100644 --- a/packages/core/jsr.json +++ b/packages/core/jsr.json @@ -1,7 +1,7 @@ { "name": "@sinkr/core", "license": "MIT", - "version": "0.3.10", + "version": "0.3.11", "exports": { ".": "./src/index.ts", "./client": "./src/index.browser.ts", diff --git a/packages/core/package.json b/packages/core/package.json index bcebb87..c4a924c 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@sinkr/core", - "version": "0.3.10", + "version": "0.3.11", "type": "module", "main": "src/index.ts", "exports": { diff --git a/packages/core/src/browser.ts b/packages/core/src/browser.ts index d39c51e..64a1cbb 100644 --- a/packages/core/src/browser.ts +++ b/packages/core/src/browser.ts @@ -15,7 +15,7 @@ import type { import { ClientReceiveSchema } from "@sinkr/validators"; import type { RealEventMap } from "./event-fallback"; -import type { UserInfo } from "./index"; +import type { UserInfo } from "./types"; import { connectSymbol, countEventSymbol, @@ -25,7 +25,7 @@ import { leaveEventSymbol, memberJoinEventSymbol, memberLeaveEventSymbol, -} from "./index"; +} from "./types"; type Prettify = { [K in keyof T]: T[K]; diff --git a/packages/core/src/event-fallback.ts b/packages/core/src/event-fallback.ts index 78ff747..fb63d3e 100644 --- a/packages/core/src/event-fallback.ts +++ b/packages/core/src/event-fallback.ts @@ -1,4 +1,4 @@ -import type { EventMap } from "./index"; +import type { EventMap } from "./types"; type DefaultMap = Record; diff --git a/packages/core/src/server.ts b/packages/core/src/server.ts index 280dd98..1ccc14b 100644 --- a/packages/core/src/server.ts +++ b/packages/core/src/server.ts @@ -8,7 +8,7 @@ import type { } from "@sinkr/validators"; import type { RealEventMap } from "./event-fallback"; -import type { UserInfo } from "./index"; +import type { UserInfo } from "./types"; type SendDataParam = | z.infer