diff --git a/package.json b/package.json index 75e9f6b..9140f0a 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "release:patch": "standard-version --release-as patch" }, "dependencies": { - "@remote-ui/core": "^2.2.4", + "@omnicajs/vue-remote": "^0.1.3", "@remote-ui/rpc": "^1.4.5" }, "devDependencies": { diff --git a/types/endpoint.d.ts b/types/endpoint.d.ts index 123ae80..e93acef 100644 --- a/types/endpoint.d.ts +++ b/types/endpoint.d.ts @@ -3,13 +3,13 @@ import type { None, } from './scaffolding' -import type { RemoteChannel } from '@remote-ui/core' +import type { Channel } from '@omnicajs/vue-remote/host' import type { Endpoint as RemoteEndpoint } from '@remote-ui/rpc' export interface EndpointApi< PageApi extends Record = None > { - run (channel: RemoteChannel, api: PageApi): Promise; + run (channel: Channel, api: PageApi): Promise; release (): void; } diff --git a/yarn.lock b/yarn.lock index 15b4c88..99b908e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -112,6 +112,13 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" +"@omnicajs/vue-remote@^0.1.3": + version "0.1.3" + resolved "https://registry.yarnpkg.com/@omnicajs/vue-remote/-/vue-remote-0.1.3.tgz#bc747ea353e923e2934a71585edd33a82488d1ed" + integrity sha512-qBz5Z/ItfewbJp58WS9QdPh51ee3khtuW81nHIa+NG3GDch9wsNaQGjr6pqbeKWJ543gaYNoIyMq5yszb2Tvog== + dependencies: + "@remote-ui/rpc" "^1.4.5" + "@remote-ui/core@^2.2.4": version "2.2.4" resolved "https://registry.yarnpkg.com/@remote-ui/core/-/core-2.2.4.tgz#56b174b6f041c57d5950811e6f93cfcffb0fbc1a"