@signalwire/realtime-api
Advanced tools
Comparing version 3.0.1 to 3.0.2
@@ -6,3 +6,3 @@ { | ||
"license": "MIT", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"main": "dist/index.node.js", | ||
@@ -9,0 +9,0 @@ "exports": { |
@@ -8,3 +8,2 @@ import { | ||
} from '@signalwire/core' | ||
import { getLogger } from '@signalwire/core' | ||
import { clientConnect, setupClient, RealtimeClient } from '../client/index' | ||
@@ -39,3 +38,3 @@ import { ChatClientApiEventsDocs, ClientDocs } from './ChatClient.docs' | ||
* }) | ||
* | ||
* | ||
* await chatClient.subscribe([ 'mychannel1', 'mychannel2' ]) | ||
@@ -74,7 +73,2 @@ * | ||
const ChatClient = function (options?: ChatClientOptions) { | ||
if ('production' === process.env.NODE_ENV) { | ||
getLogger().warn( | ||
'`Chat` is still under development and may change in the future without prior notice.' | ||
) | ||
} | ||
const { client, store, emitter } = setupClient(options) | ||
@@ -81,0 +75,0 @@ const chat = ChatNamespace.createBaseChatObject<ChatClient>({ |
@@ -7,3 +7,2 @@ import { | ||
} from '@signalwire/core' | ||
import { getLogger } from '@signalwire/core' | ||
import { PubSubContract } from 'packages/core/src/types/pubSub' | ||
@@ -42,7 +41,2 @@ import { clientConnect, setupClient, RealtimeClient } from '../client/index' | ||
const PubSubClient = function (options?: PubSubClientOptions) { | ||
if ('production' === process.env.NODE_ENV) { | ||
getLogger().warn( | ||
'`PubSub` is still under development and may change in the future without prior notice.' | ||
) | ||
} | ||
const { client, store, emitter } = setupClient(options) | ||
@@ -49,0 +43,0 @@ const pubSub = PubSubNamespace.createBasePubSubObject<PubSubClient>({ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
4
1689672
27039