chatkitty
Advanced tools
Comparing version 0.0.27 to 0.0.28
@@ -34,2 +34,3 @@ import { ChatKittyConfiguration } from './chatkitty.configuration'; | ||
startSession(request: StartSessionRequest): Promise<StartSessionResult>; | ||
endSession(): void; | ||
getCurrentUser(): Promise<GetCurrentUserResult>; | ||
@@ -44,7 +45,6 @@ onCurrentUserChanged(onNextOrObserver: ChatkittyObserver<CurrentUser | null> | ((user: CurrentUser | null) => void)): ChatKittyUnsubscribe; | ||
startChatSession(request: StartChatSessionRequest): StartChatSessionResult; | ||
endChatSession(session: ChatSession): void; | ||
sendMessage(request: SendMessageRequest): Promise<SendMessageResult>; | ||
getMessages(request: GetMessagesRequest): Promise<GetMessagesResult>; | ||
endChatSession(session: ChatSession): void; | ||
onNotificationReceived(onNextOrObserver: ChatkittyObserver<Notification> | ((notification: Notification) => void)): ChatKittyUnsubscribe; | ||
endSession(): void; | ||
} |
@@ -56,4 +56,4 @@ "use strict"; | ||
_this.currentUser = user; | ||
_this.client.listenToTopic(user._topics.channels); | ||
_this.client.listenToTopic(user._topics.notifications); | ||
_this.client.listenToTopic({ topic: user._topics.channels }); | ||
_this.client.listenToTopic({ topic: user._topics.notifications }); | ||
_this.currentUserNextSubject.next(user); | ||
@@ -75,2 +75,10 @@ resolve(new session_start_result_1.StartedSessionResult({ user: user })); | ||
}; | ||
ChatKitty.prototype.endSession = function () { | ||
var _this = this; | ||
this.client.disconnect({ | ||
onSuccess: function () { | ||
_this.currentUserNextSubject.next(null); | ||
} | ||
}); | ||
}; | ||
ChatKitty.prototype.getCurrentUser = function () { | ||
@@ -143,4 +151,3 @@ var _this = this; | ||
else { | ||
chatkitty_paginator_1.ChatKittyPaginator.createInstance(_this.client, _this.currentUser._relays.channels, 'channels') | ||
.then(function (paginator) { return resolve(new channel_get_result_1.GetChannelsResult(paginator)); }); | ||
chatkitty_paginator_1.ChatKittyPaginator.createInstance(_this.client, _this.currentUser._relays.channels, 'channels').then(function (paginator) { return resolve(new channel_get_result_1.GetChannelsResult(paginator)); }); | ||
} | ||
@@ -156,4 +163,3 @@ }); | ||
else { | ||
chatkitty_paginator_1.ChatKittyPaginator.createInstance(_this.client, _this.currentUser._relays.joinableChannels, 'channels') | ||
.then(function (paginator) { return resolve(new channel_get_result_1.GetChannelsResult(paginator)); }); | ||
chatkitty_paginator_1.ChatKittyPaginator.createInstance(_this.client, _this.currentUser._relays.joinableChannels, 'channels').then(function (paginator) { return resolve(new channel_get_result_1.GetChannelsResult(paginator)); }); | ||
} | ||
@@ -197,4 +203,3 @@ }); | ||
var _this = this; | ||
var channelUnsubscribe = this.client.listenToTopic(request.channel._topics.self); | ||
var messagesUnsubscribe = this.client.listenToTopic(request.channel._topics.messages); | ||
var unsubscribe; | ||
var receivedMessageUnsubscribe; | ||
@@ -211,11 +216,26 @@ var onReceivedMessage = request.onReceivedMessage; | ||
} | ||
var channelUnsubscribe = this.client.listenToTopic({ | ||
topic: request.channel._topics.self, | ||
callback: function () { | ||
var messagesUnsubscribe = _this.client.listenToTopic({ | ||
topic: request.channel._topics.messages | ||
}); | ||
unsubscribe = function () { | ||
if (receivedMessageUnsubscribe) { | ||
receivedMessageUnsubscribe(); | ||
} | ||
if (messagesUnsubscribe) { | ||
messagesUnsubscribe(); | ||
} | ||
channelUnsubscribe(); | ||
_this.chatSessions.delete(request.channel.id); | ||
}; | ||
} | ||
}); | ||
var session = { | ||
channel: request.channel, | ||
end: function () { | ||
channelUnsubscribe(); | ||
messagesUnsubscribe(); | ||
if (receivedMessageUnsubscribe) { | ||
receivedMessageUnsubscribe(); | ||
if (unsubscribe) { | ||
unsubscribe(); | ||
} | ||
_this.chatSessions.delete(request.channel.id); | ||
} | ||
@@ -226,2 +246,5 @@ }; | ||
}; | ||
ChatKitty.prototype.endChatSession = function (session) { | ||
session.end(); | ||
}; | ||
ChatKitty.prototype.sendMessage = function (request) { | ||
@@ -256,10 +279,6 @@ var _this = this; | ||
else { | ||
chatkitty_paginator_1.ChatKittyPaginator.createInstance(_this.client, request.channel._relays.messages, 'messages') | ||
.then(function (paginator) { return resolve(new message_get_result_1.GetMessagesResult(paginator)); }); | ||
chatkitty_paginator_1.ChatKittyPaginator.createInstance(_this.client, request.channel._relays.messages, 'messages').then(function (paginator) { return resolve(new message_get_result_1.GetMessagesResult(paginator)); }); | ||
} | ||
}); | ||
}; | ||
ChatKitty.prototype.endChatSession = function (session) { | ||
session.end(); | ||
}; | ||
ChatKitty.prototype.onNotificationReceived = function (onNextOrObserver) { | ||
@@ -283,10 +302,2 @@ if (this.currentUser === undefined) { | ||
}; | ||
ChatKitty.prototype.endSession = function () { | ||
var _this = this; | ||
this.client.disconnect({ | ||
onSuccess: function () { | ||
_this.currentUserNextSubject.next(null); | ||
} | ||
}); | ||
}; | ||
ChatKitty._instances = new Map(); | ||
@@ -297,2 +308,2 @@ ChatKitty.currentUserRelay = '/application/v1/users/me.relay'; | ||
exports.default = ChatKitty; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhdGtpdHR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2xpYi9jaGF0a2l0dHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSw2QkFBdUM7QUFFdkMsMkRBQTBEO0FBSzFELHNGQUdzRDtBQUN0RCw2RUFHZ0Q7QUFDaEQsOEVBQW1HO0FBRW5HLGdGQUdrRDtBQUVsRCxnR0FBd0c7QUFFeEcsa0dBRzhEO0FBQzlELDJEQUFnRTtBQUVoRSxtRUFBaUU7QUFHakUsNEZBQXdGO0FBQ3hGLHFHQUdnRTtBQUVoRSw2RUFBMkU7QUFFM0Usa0ZBR21EO0FBQ25ELGdGQUdrRDtBQUVsRCxxRUFHNkM7QUFFN0MsbUZBSW9EO0FBQ3BELHdEQUFzRDtBQUV0RDtJQThCRSxtQkFBb0MsYUFBcUM7UUFBckMsa0JBQWEsR0FBYixhQUFhLENBQXdCO1FBTHh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c0IsR0FBN0IsVUFDRSxnQkFFMEM7UUFFMUMsSUFBSSxJQUFJLENBQUMsV0FBVyxLQUFLLFNBQVMsRUFBRTtZQUNsQyxNQUFNLElBQUksNkNBQTZCLEVBQUUsQ0FBQztTQUMzQztRQUVELElBQU0sV0FBVyxHQUFHLElBQUksQ0FBQyxNQUFNLENBQUMsY0FBYyxDQUFlO1lBQzNELEtBQUssRUFBRSxJQUFJLENBQUMsV0FBVyxDQUFDLE9BQU8sQ0FBQyxhQUFhO1lBQzdDLEtBQUssRUFBRSx5QkFBeUI7WUFDaEMsU0FBUyxFQUFFLFVBQUMsWUFBWTtnQkFDdEIsSUFBSSxPQUFPLGdCQUFnQixLQUFLLFVBQVUsRUFBRTtvQkFDMUMsZ0JBQWdCLENBQUMsWUFBWSxDQUFDLENBQUM7aUJBQ2hDO3FCQUFNO29CQUNMLGdCQUFnQixDQUFDLE1BQU0sQ0FBQyxZQUFZLENBQUMsQ0FBQztpQkFDdkM7WUFDSCxDQUFDO1NBQ0YsQ0FBQyxDQUFDO1FBRUgsT0FBTyxjQUFNLE9BQUEsV0FBVyxFQUFYLENBQVcsQ0FBQztJQUMzQixDQUFDO0lBdlV1QixvQkFBVSxHQUFHLElBQUksR0FBRyxFQUFxQixDQUFDO0lBRTFDLDBCQUFnQixHQUFHLGdDQUFnQyxDQUFDO0lBc1U5RSxnQkFBQztDQUFBLEFBelVELElBeVVDO2tCQXpVb0IsU0FBUyJ9 |
import { StompXConnectRequest } from './request/stompx.connect.request'; | ||
import { StompXDisconnectRequest } from './request/stompx.disconnect.request'; | ||
import { StompXListenForEventRequest } from './request/stompx.listen-for-event.request'; | ||
import { StompxListenToTopicRequest } from './request/stompx.listen-to-topic.request'; | ||
import { StompXPerformActionRequest } from './request/stompx.perform-action.request'; | ||
@@ -16,3 +17,3 @@ import { StompXRelayResourceRequest } from './request/stompx.relay-resource.request'; | ||
relayResource<R>(request: StompXRelayResourceRequest<R>): void; | ||
listenToTopic<R>(topic: string): () => void; | ||
listenToTopic(request: StompxListenToTopicRequest): () => void; | ||
listenForEvent<R>(request: StompXListenForEventRequest<R>): () => void; | ||
@@ -19,0 +20,0 @@ performAction<R>(request: StompXPerformActionRequest<R>): void; |
@@ -73,7 +73,14 @@ "use strict"; | ||
}; | ||
StompXClient.prototype.listenToTopic = function (topic) { | ||
StompXClient.prototype.listenToTopic = function (request) { | ||
var _this = this; | ||
var subscription = this.rxStomp.watch(topic, { | ||
var subscriptionReceipt = StompXClient.generateReceipt(); | ||
var callback = request.callback; | ||
if (callback) { | ||
this.rxStomp.watchForReceipt(subscriptionReceipt, function () { | ||
callback(); | ||
}); | ||
} | ||
var subscription = this.rxStomp.watch(request.topic, { | ||
id: StompXClient.generateSubscriptionId(), | ||
receipt: StompXClient.generateReceipt() | ||
receipt: subscriptionReceipt | ||
}) | ||
@@ -90,3 +97,3 @@ .subscribe(function (message) { | ||
} | ||
var handlers = _this.eventHandlers.get(topic); | ||
var handlers = _this.eventHandlers.get(request.topic); | ||
if (handlers) { | ||
@@ -100,3 +107,3 @@ handlers.forEach(function (handler) { | ||
}); | ||
this.topics.set(topic, subscription); | ||
this.topics.set(request.topic, subscription); | ||
return function () { | ||
@@ -150,2 +157,2 @@ subscription.unsubscribe(); | ||
exports.StompXClient = StompXClient; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RvbXB4LmNsaWVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9saWIvc3RvbXB4L3N0b21weC5jbGllbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7QUFBQSw0Q0FBMEM7QUFFMUMsMENBQTBDO0FBRTFDLDZCQUEwQjtBQVcxQjtJQVdFLHNCQUFZLGFBQWtDO1FBUjdCLFlBQU8sR0FBWSxJQUFJLGtCQUFPLEVBQUUsQ0FBQztRQUVqQyxXQUFNL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0FBQyxPQUFPLENBQUMsT0FBTyxDQUFDO1lBQ25CLFdBQVcsRUFBRSxPQUFPLENBQUMsV0FBVztZQUNoQyxPQUFPLEVBQUU7Z0JBQ1AsY0FBYyxFQUFFLGdDQUFnQztnQkFDaEQsU0FBUyxFQUFFLE9BQU87YUFDbkI7WUFDRCxJQUFJLEVBQUUsSUFBSSxDQUFDLFNBQVMsQ0FBQyxPQUFPLENBQUMsSUFBSSxDQUFDO1NBQ25DLENBQUMsQ0FBQztJQUNMLENBQUM7SUFFTSxpQ0FBVSxHQUFqQixVQUFrQixPQUFnQztRQUNoRCxJQUFJLENBQUMsT0FBTyxDQUFDLFVBQVUsRUFBRSxDQUFDO1FBRTFCLE9BQU8sQ0FBQyxTQUFTLEVBQUUsQ0FBQztJQUN0QixDQUFDO0lBRWMsbUNBQXNCLEdBQXJDO1FBQ0UsT0FBTyxrQkFBa0IsR0FBRyxTQUFFLEVBQUUsQ0FBQztJQUNuQyxDQUFDO0lBRWMsNEJBQWUsR0FBOUI7UUFDRSxPQUFPLFVBQVUsR0FBRyxTQUFFLEVBQUUsQ0FBQztJQUMzQixDQUFDO0lBQ0gsbUJBQUM7QUFBRCxDQUFDLEFBckxELElBcUxDO0FBckxZLG9DQUFZIn0= |
@@ -34,2 +34,3 @@ import { ChatKittyConfiguration } from './chatkitty.configuration'; | ||
startSession(request: StartSessionRequest): Promise<StartSessionResult>; | ||
endSession(): void; | ||
getCurrentUser(): Promise<GetCurrentUserResult>; | ||
@@ -44,7 +45,6 @@ onCurrentUserChanged(onNextOrObserver: ChatkittyObserver<CurrentUser | null> | ((user: CurrentUser | null) => void)): ChatKittyUnsubscribe; | ||
startChatSession(request: StartChatSessionRequest): StartChatSessionResult; | ||
endChatSession(session: ChatSession): void; | ||
sendMessage(request: SendMessageRequest): Promise<SendMessageResult>; | ||
getMessages(request: GetMessagesRequest): Promise<GetMessagesResult>; | ||
endChatSession(session: ChatSession): void; | ||
onNotificationReceived(onNextOrObserver: ChatkittyObserver<Notification> | ((notification: Notification) => void)): ChatKittyUnsubscribe; | ||
endSession(): void; | ||
} |
@@ -43,3 +43,3 @@ import { BehaviorSubject } from 'rxjs'; | ||
startSession(request) { | ||
return new Promise(resolve => { | ||
return new Promise((resolve) => { | ||
this.client.connect({ | ||
@@ -52,6 +52,6 @@ apiKey: this.configuration.apiKey, | ||
destination: ChatKitty.currentUserRelay, | ||
onSuccess: user => { | ||
onSuccess: (user) => { | ||
this.currentUser = user; | ||
this.client.listenToTopic(user._topics.channels); | ||
this.client.listenToTopic(user._topics.notifications); | ||
this.client.listenToTopic({ topic: user._topics.channels }); | ||
this.client.listenToTopic({ topic: user._topics.notifications }); | ||
this.currentUserNextSubject.next(user); | ||
@@ -73,7 +73,14 @@ resolve(new StartedSessionResult({ user: user })); | ||
} | ||
endSession() { | ||
this.client.disconnect({ | ||
onSuccess: () => { | ||
this.currentUserNextSubject.next(null); | ||
} | ||
}); | ||
} | ||
getCurrentUser() { | ||
return new Promise(resolve => { | ||
return new Promise((resolve) => { | ||
this.client.relayResource({ | ||
destination: ChatKitty.currentUserRelay, | ||
onSuccess: user => { | ||
onSuccess: (user) => { | ||
resolve(new GetCurrentUserResult(user)); | ||
@@ -85,3 +92,3 @@ } | ||
onCurrentUserChanged(onNextOrObserver) { | ||
const subscription = this.currentUserNextSubject.subscribe(user => { | ||
const subscription = this.currentUserNextSubject.subscribe((user) => { | ||
if (typeof onNextOrObserver === 'function') { | ||
@@ -105,3 +112,3 @@ onNextOrObserver(user); | ||
body: update(this.currentUser), | ||
onSuccess: user => { | ||
onSuccess: (user) => { | ||
this.currentUserNextSubject.next(user); | ||
@@ -126,3 +133,3 @@ resolve(new UpdatedCurrentUserResult(user)); | ||
}, | ||
onSuccess: channel => { | ||
onSuccess: (channel) => { | ||
resolve(new CreatedChannelResult(channel)); | ||
@@ -140,4 +147,3 @@ } | ||
else { | ||
ChatKittyPaginator.createInstance(this.client, this.currentUser._relays.channels, 'channels') | ||
.then(paginator => resolve(new GetChannelsResult(paginator))); | ||
ChatKittyPaginator.createInstance(this.client, this.currentUser._relays.channels, 'channels').then((paginator) => resolve(new GetChannelsResult(paginator))); | ||
} | ||
@@ -152,4 +158,3 @@ }); | ||
else { | ||
ChatKittyPaginator.createInstance(this.client, this.currentUser._relays.joinableChannels, 'channels') | ||
.then(paginator => resolve(new GetChannelsResult(paginator))); | ||
ChatKittyPaginator.createInstance(this.client, this.currentUser._relays.joinableChannels, 'channels').then((paginator) => resolve(new GetChannelsResult(paginator))); | ||
} | ||
@@ -159,6 +164,6 @@ }); | ||
getChannel(id) { | ||
return new Promise(resolve => { | ||
return new Promise((resolve) => { | ||
this.client.relayResource({ | ||
destination: ChatKitty.channelRelay(id), | ||
onSuccess: channel => { | ||
onSuccess: (channel) => { | ||
resolve(new GetChannelResult(channel)); | ||
@@ -179,3 +184,3 @@ } | ||
body: request, | ||
onSuccess: channel => { | ||
onSuccess: (channel) => { | ||
resolve(new JoinedChannelResult(channel)); | ||
@@ -192,4 +197,3 @@ } | ||
startChatSession(request) { | ||
const channelUnsubscribe = this.client.listenToTopic(request.channel._topics.self); | ||
const messagesUnsubscribe = this.client.listenToTopic(request.channel._topics.messages); | ||
let unsubscribe; | ||
let receivedMessageUnsubscribe; | ||
@@ -201,3 +205,3 @@ const onReceivedMessage = request.onReceivedMessage; | ||
event: 'thread.message.created', | ||
onSuccess: message => { | ||
onSuccess: (message) => { | ||
onReceivedMessage(message); | ||
@@ -207,11 +211,26 @@ } | ||
} | ||
const channelUnsubscribe = this.client.listenToTopic({ | ||
topic: request.channel._topics.self, | ||
callback: () => { | ||
const messagesUnsubscribe = this.client.listenToTopic({ | ||
topic: request.channel._topics.messages | ||
}); | ||
unsubscribe = () => { | ||
if (receivedMessageUnsubscribe) { | ||
receivedMessageUnsubscribe(); | ||
} | ||
if (messagesUnsubscribe) { | ||
messagesUnsubscribe(); | ||
} | ||
channelUnsubscribe(); | ||
this.chatSessions.delete(request.channel.id); | ||
}; | ||
} | ||
}); | ||
const session = { | ||
channel: request.channel, | ||
end: () => { | ||
channelUnsubscribe(); | ||
messagesUnsubscribe(); | ||
if (receivedMessageUnsubscribe) { | ||
receivedMessageUnsubscribe(); | ||
if (unsubscribe) { | ||
unsubscribe(); | ||
} | ||
this.chatSessions.delete(request.channel.id); | ||
} | ||
@@ -222,2 +241,5 @@ }; | ||
} | ||
endChatSession(session) { | ||
session.end(); | ||
} | ||
sendMessage(request) { | ||
@@ -236,3 +258,3 @@ return new Promise((resolve, reject) => { | ||
}, | ||
onSuccess: message => { | ||
onSuccess: (message) => { | ||
resolve(new SentTextMessageResult(message)); | ||
@@ -251,10 +273,6 @@ } | ||
else { | ||
ChatKittyPaginator.createInstance(this.client, request.channel._relays.messages, 'messages') | ||
.then(paginator => resolve(new GetMessagesResult(paginator))); | ||
ChatKittyPaginator.createInstance(this.client, request.channel._relays.messages, 'messages').then((paginator) => resolve(new GetMessagesResult(paginator))); | ||
} | ||
}); | ||
} | ||
endChatSession(session) { | ||
session.end(); | ||
} | ||
onNotificationReceived(onNextOrObserver) { | ||
@@ -267,3 +285,3 @@ if (this.currentUser === undefined) { | ||
event: 'me.notification.created', | ||
onSuccess: notification => { | ||
onSuccess: (notification) => { | ||
if (typeof onNextOrObserver === 'function') { | ||
@@ -279,12 +297,5 @@ onNextOrObserver(notification); | ||
} | ||
endSession() { | ||
this.client.disconnect({ | ||
onSuccess: () => { | ||
this.currentUserNextSubject.next(null); | ||
} | ||
}); | ||
} | ||
} | ||
ChatKitty._instances = new Map(); | ||
ChatKitty.currentUserRelay = '/application/v1/users/me.relay'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhdGtpdHR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2xpYi9jaGF0a2l0dHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUF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NBQWMsQ0FBZTtZQUMzRCxLQUFLLEVBQUUsSUFBSSxDQUFDLFdBQVcsQ0FBQyxPQUFPLENBQUMsYUFBYTtZQUM3QyxLQUFLLEVBQUUseUJBQXlCO1lBQ2hDLFNBQVMsRUFBRSxDQUFDLFlBQVksRUFBRSxFQUFFO2dCQUMxQixJQUFJLE9BQU8sZ0JBQWdCLEtBQUssVUFBVSxFQUFFO29CQUMxQyxnQkFBZ0IsQ0FBQyxZQUFZLENBQUMsQ0FBQztpQkFDaEM7cUJBQU07b0JBQ0wsZ0JBQWdCLENBQUMsTUFBTSxDQUFDLFlBQVksQ0FBQyxDQUFDO2lCQUN2QztZQUNILENBQUM7U0FDRixDQUFDLENBQUM7UUFFSCxPQUFPLEdBQUcsRUFBRSxDQUFDLFdBQVcsQ0FBQztJQUMzQixDQUFDOztBQXZVdUIsb0JBQVUsR0FBRyxJQUFJLEdBQUcsRUFBcUIsQ0FBQztBQUUxQywwQkFBZ0IsR0FBRyxnQ0FBZ0MsQ0FBQyJ9 |
import { StompXConnectRequest } from './request/stompx.connect.request'; | ||
import { StompXDisconnectRequest } from './request/stompx.disconnect.request'; | ||
import { StompXListenForEventRequest } from './request/stompx.listen-for-event.request'; | ||
import { StompxListenToTopicRequest } from './request/stompx.listen-to-topic.request'; | ||
import { StompXPerformActionRequest } from './request/stompx.perform-action.request'; | ||
@@ -16,3 +17,3 @@ import { StompXRelayResourceRequest } from './request/stompx.relay-resource.request'; | ||
relayResource<R>(request: StompXRelayResourceRequest<R>): void; | ||
listenToTopic<R>(topic: string): () => void; | ||
listenToTopic(request: StompxListenToTopicRequest): () => void; | ||
listenForEvent<R>(request: StompXListenForEventRequest<R>): () => void; | ||
@@ -19,0 +20,0 @@ performAction<R>(request: StompXPerformActionRequest<R>): void; |
@@ -61,6 +61,13 @@ import { RxStomp } from '@stomp/rx-stomp'; | ||
} | ||
listenToTopic(topic) { | ||
const subscription = this.rxStomp.watch(topic, { | ||
listenToTopic(request) { | ||
const subscriptionReceipt = StompXClient.generateReceipt(); | ||
const callback = request.callback; | ||
if (callback) { | ||
this.rxStomp.watchForReceipt(subscriptionReceipt, () => { | ||
callback(); | ||
}); | ||
} | ||
const subscription = this.rxStomp.watch(request.topic, { | ||
id: StompXClient.generateSubscriptionId(), | ||
receipt: StompXClient.generateReceipt() | ||
receipt: subscriptionReceipt | ||
}) | ||
@@ -77,3 +84,3 @@ .subscribe(message => { | ||
} | ||
const handlers = this.eventHandlers.get(topic); | ||
const handlers = this.eventHandlers.get(request.topic); | ||
if (handlers) { | ||
@@ -87,3 +94,3 @@ handlers.forEach(handler => { | ||
}); | ||
this.topics.set(topic, subscription); | ||
this.topics.set(request.topic, subscription); | ||
return () => { | ||
@@ -135,2 +142,2 @@ subscription.unsubscribe(); | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RvbXB4LmNsaWVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9saWIvc3RvbXB4L3N0b21weC5jbGllbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBRTFDLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUUxQyxPQUFPLEVBQUUsRUFBRSxFQUFFLE1BQU0sTUFBTSxDQUFDO0FBVzFCLE1BQU0sT0FBTyxZQUFZO0lBV3ZCLFlBQVksYUFBa0M7UUFSN0IsWUFBTyxHQUFZLElBQUksT0FBTyxFQUFFLENBQUM7UUFFakMsV0FBTSxHQUE4QixJQUFJLEdBQUcsRUFBRSxDQUFDO1FBRTlDLG1CQUFjLEdBQTZDLElBQUksR0FBRyxFQUFFLENBQUM7UUFFckUsa0JBQWEsR0FBa0QsSUFBSSxHQUFHLEVBQUUsQ0FBQztRQUd4RixJQUFJLE1BQW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BQyxPQUFPLENBQUM7WUFDbkIsV0FBVyxFQUFFLE9BQU8sQ0FBQyxXQUFXO1lBQ2hDLE9BQU8sRUFBRTtnQkFDUCxjQUFjLEVBQUUsZ0NBQWdDO2dCQUNoRCxTQUFTLEVBQUUsT0FBTzthQUNuQjtZQUNELElBQUksRUFBRSxJQUFJLENBQUMsU0FBUyxDQUFDLE9BQU8sQ0FBQyxJQUFJLENBQUM7U0FDbkMsQ0FBQyxDQUFDO0lBQ0wsQ0FBQztJQUVNLFVBQVUsQ0FBQyxPQUFnQztRQUNoRCxJQUFJLENBQUMsT0FBTyxDQUFDLFVBQVUsRUFBRSxDQUFDO1FBRTFCLE9BQU8sQ0FBQyxTQUFTLEVBQUUsQ0FBQztJQUN0QixDQUFDO0lBRU8sTUFBTSxDQUFDLHNCQUFzQjtRQUNuQyxPQUFPLGtCQUFrQixHQUFHLEVBQUUsRUFBRSxDQUFDO0lBQ25DLENBQUM7SUFFTyxNQUFNLENBQUMsZUFBZTtRQUM1QixPQUFPLFVBQVUsR0FBRyxFQUFFLEVBQUUsQ0FBQztJQUMzQixDQUFDO0NBQ0YifQ== |
{ | ||
"name": "chatkitty", | ||
"version": "0.0.27", | ||
"version": "0.0.28", | ||
"description": "JS SDK for the ChatKitty Chat API", | ||
@@ -5,0 +5,0 @@ "main": "build/main/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
185402
187
2602