diff --git a/api.d.ts b/api.d.ts deleted file mode 100644 index 283419d..0000000 --- a/api.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './dist/runtime/api' diff --git a/client.d.ts b/client.d.ts new file mode 100644 index 0000000..047203f --- /dev/null +++ b/client.d.ts @@ -0,0 +1 @@ +export * from './dist/runtime/client' diff --git a/package.json b/package.json index 185d251..045f47c 100644 --- a/package.json +++ b/package.json @@ -12,9 +12,13 @@ "import": "./dist/module.mjs", "require": "./dist/module.cjs" }, - "./api": { - "import": "./dist/runtime/api.mjs", - "types": "./dist/runtime/api.d.ts" + "./server": { + "import": "./dist/runtime/server.mjs", + "types": "./dist/runtime/server.d.ts" + }, + "./client": { + "import": "./dist/runtime/client.mjs", + "types": "./dist/runtime/client.d.ts" } }, "files": [ diff --git a/server.d.ts b/server.d.ts new file mode 100644 index 0000000..ec56eb9 --- /dev/null +++ b/server.d.ts @@ -0,0 +1 @@ +export * from './dist/runtime/server'