From 3a42c544058456b19c7e21827226541bfa6ad621 Mon Sep 17 00:00:00 2001 From: David Luecke Date: Tue, 22 Dec 2020 19:58:13 -0800 Subject: [PATCH] fix(socketio-client): Fix client transport-commons reference (#2164) --- packages/socketio-client/src/index.ts | 2 +- packages/transport-commons/client.d.ts | 1 + packages/transport-commons/client.js | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 packages/transport-commons/client.d.ts create mode 100644 packages/transport-commons/client.js diff --git a/packages/socketio-client/src/index.ts b/packages/socketio-client/src/index.ts index 082961d6f3..2ae138dbda 100644 --- a/packages/socketio-client/src/index.ts +++ b/packages/socketio-client/src/index.ts @@ -1,4 +1,4 @@ -import { Service } from '@feathersjs/transport-commons/src/client'; +import { Service } from '@feathersjs/transport-commons/client'; import { Socket } from 'socket.io-client'; interface SocketIOClientOptions { diff --git a/packages/transport-commons/client.d.ts b/packages/transport-commons/client.d.ts new file mode 100644 index 0000000000..681bd0a98b --- /dev/null +++ b/packages/transport-commons/client.d.ts @@ -0,0 +1 @@ +export * from './lib/client'; \ No newline at end of file diff --git a/packages/transport-commons/client.js b/packages/transport-commons/client.js new file mode 100644 index 0000000000..19d52462d8 --- /dev/null +++ b/packages/transport-commons/client.js @@ -0,0 +1 @@ +module.exports = require('./lib/client'); \ No newline at end of file