Skip to content

Commit

Permalink
Fix imports to prevent issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Wundero committed Dec 7, 2024
1 parent 06bb982 commit ea31484
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/core/jsr.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sinkr/core",
"version": "0.3.10",
"version": "0.3.11",
"type": "module",
"main": "src/index.ts",
"exports": {
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -25,7 +25,7 @@ import {
leaveEventSymbol,
memberJoinEventSymbol,
memberLeaveEventSymbol,
} from "./index";
} from "./types";

type Prettify<T> = {
[K in keyof T]: T[K];
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/event-fallback.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { EventMap } from "./index";
import type { EventMap } from "./types";

type DefaultMap = Record<string, unknown>;

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

0 comments on commit ea31484

Please sign in to comment.