chatkitty
Advanced tools
Comparing version 0.0.8 to 0.0.9
import { ChatKittyConfiguration } from './chatkitty.configuration'; | ||
import { ChatkittyObserver } from './model/chatkitty.observer'; | ||
import { ChatkittyUnsubscribable } from './model/chatkitty.unsubscribable'; | ||
import { CurrentUser } from './model/current-user/current-user.model'; | ||
import { GetCurrentUserResult } from './model/current-user/get/current-user.get.results'; | ||
@@ -11,6 +14,8 @@ import { SessionStartRequest } from './model/session/start/session.start.request'; | ||
private readonly client; | ||
private readonly currentUserNextSubject; | ||
constructor(configuration: ChatKittyConfiguration); | ||
startSession(request: SessionStartRequest): Promise<SessionStartedResult | SessionAccessDeniedResult>; | ||
getCurrentUser(): Promise<GetCurrentUserResult>; | ||
onCurrentUserChanged(observer: ChatkittyObserver<CurrentUser | null>): ChatkittyUnsubscribable; | ||
endSession(): Promise<void>; | ||
} |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var rxjs_1 = require("rxjs"); | ||
var environment_1 = require("../environments/environment"); | ||
@@ -12,2 +13,3 @@ var chatkitty_error_1 = require("./model/chatkitty.error"); | ||
this.configuration = configuration; | ||
this.currentUserNextSubject = new rxjs_1.Subject(); | ||
this.client = new stompx_client_1.StompXClient({ | ||
@@ -60,2 +62,3 @@ isSecure: configuration.isSecure === undefined || configuration.isSecure, | ||
onSuccess: function (user) { | ||
_this.currentUserNextSubject.next(user); | ||
resolve(new current_user_get_results_1.GetCurrentUserResult(user)); | ||
@@ -66,2 +69,5 @@ } | ||
}; | ||
ChatKitty.prototype.onCurrentUserChanged = function (observer) { | ||
return this.currentUserNextSubject.subscribe(function (user) { return observer.onNext(user); }); | ||
}; | ||
ChatKitty.prototype.endSession = function () { | ||
@@ -71,3 +77,6 @@ var _this = this; | ||
_this.client.disconnect({ | ||
onSuccess: function () { return resolve(); } | ||
onSuccess: function () { | ||
_this.currentUserNextSubject.next(null); | ||
resolve(); | ||
} | ||
}); | ||
@@ -81,2 +90,2 @@ }); | ||
exports.default = ChatKitty;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QUMsQ0FBQztnQkFDMUMsQ0FBQzthQUNGLENBQUMsQ0FBQztRQUNMLENBQUMsQ0FDRixDQUFDO0lBQ0osQ0FBQztJQUVNLHdDQUFvQixHQUEzQixVQUE0QixRQUErQztRQUN6RSxPQUFPLElBQUksQ0FBQyxzQkFBc0IsQ0FBQyxTQUFTLENBQzFDLFVBQUEsSUFBSSxJQUFJLE9BQUEsUUFBUSxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsRUFBckIsQ0FBcUIsQ0FDOUIsQ0FBQztJQUNKLENBQUM7SUFFTSw4QkFBVSxHQUFqQjtRQUFBLGlCQVlDO1FBWEMsT0FBTyxJQUFJLE9BQU8sQ0FDaEIsVUFBQSxPQUFPO1lBQ0wsS0FBSSxDQUFDLE1BQU0sQ0FBQyxVQUFVLENBQUM7Z0JBQ3JCLFNBQVMsRUFBRTtvQkFDVCxLQUFJLENBQUMsc0JBQXNCLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxDQUFDO29CQUV2QyxPQUFPLEVBQUUsQ0FBQztnQkFDWixDQUFDO2FBQ0YsQ0FBQyxDQUFDO1FBQ0wsQ0FBQyxDQUNGLENBQUM7SUFDSixDQUFDO0lBM0Z1QixvQkFBVSxHQUFHLElBQUksR0FBRyxFQUFxQixDQUFDO0lBRTFDLDBCQUFnQixHQUFHLGdDQUFnQyxDQUFDO0lBMEY5RSxnQkFBQztDQUFBLEFBN0ZELElBNkZDO2tCQTdGb0IsU0FBUyJ9 |
import { ChatKittyConfiguration } from './chatkitty.configuration'; | ||
import { ChatkittyObserver } from './model/chatkitty.observer'; | ||
import { ChatkittyUnsubscribable } from './model/chatkitty.unsubscribable'; | ||
import { CurrentUser } from './model/current-user/current-user.model'; | ||
import { GetCurrentUserResult } from './model/current-user/get/current-user.get.results'; | ||
@@ -11,6 +14,8 @@ import { SessionStartRequest } from './model/session/start/session.start.request'; | ||
private readonly client; | ||
private readonly currentUserNextSubject; | ||
constructor(configuration: ChatKittyConfiguration); | ||
startSession(request: SessionStartRequest): Promise<SessionStartedResult | SessionAccessDeniedResult>; | ||
getCurrentUser(): Promise<GetCurrentUserResult>; | ||
onCurrentUserChanged(observer: ChatkittyObserver<CurrentUser | null>): ChatkittyUnsubscribable; | ||
endSession(): Promise<void>; | ||
} |
@@ -0,1 +1,2 @@ | ||
import { Subject } from 'rxjs'; | ||
import { environment } from '../environments/environment'; | ||
@@ -10,2 +11,3 @@ import { UnknownChatKittyError } from './model/chatkitty.error'; | ||
this.configuration = configuration; | ||
this.currentUserNextSubject = new Subject(); | ||
this.client = new StompXClient({ | ||
@@ -56,2 +58,3 @@ isSecure: configuration.isSecure === undefined || configuration.isSecure, | ||
onSuccess: user => { | ||
this.currentUserNextSubject.next(user); | ||
resolve(new GetCurrentUserResult(user)); | ||
@@ -62,6 +65,12 @@ } | ||
} | ||
onCurrentUserChanged(observer) { | ||
return this.currentUserNextSubject.subscribe(user => observer.onNext(user)); | ||
} | ||
endSession() { | ||
return new Promise(resolve => { | ||
this.client.disconnect({ | ||
onSuccess: () => resolve() | ||
onSuccess: () => { | ||
this.currentUserNextSubject.next(null); | ||
resolve(); | ||
} | ||
}); | ||
@@ -73,2 +82,2 @@ }); | ||
ChatKitty.currentUserRelay = '/application/v1/users/me.relay'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhdGtpdHR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2xpYi9jaGF0a2l0dHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLDZCQUE2QixDQUFDO0FBRzFELE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLHlCQUF5QixDQUFDO0FBRWhFLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLG1EQUFtRCxDQUFDO0FBQ3pGLE9BQU8sRUFBRSx3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QyxnQkFBZ0I7Z0JBQ3ZDLFNBQVMsRUFBRSxJQUFJLENBQUMsRUFBRTtvQkFDaEIsSUFBSSxDQUFDLHNCQUFzQixDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsQ0FBQztvQkFFdkMsT0FBTyxDQUFDLElBQUksb0JBQW9CLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQztnQkFDMUMsQ0FBQzthQUNGLENBQUMsQ0FBQztRQUNMLENBQUMsQ0FDRixDQUFDO0lBQ0osQ0FBQztJQUVNLG9CQUFvQixDQUFDLFFBQStDO1FBQ3pFLE9BQU8sSUFBSSxDQUFDLHNCQUFzQixDQUFDLFNBQVMsQ0FDMUMsSUFBSSxDQUFDLEVBQUUsQ0FBQyxRQUFRLENBQUMsTUFBTSxDQUFDLElBQUksQ0FBQyxDQUM5QixDQUFDO0lBQ0osQ0FBQztJQUVNLFVBQVU7UUFDZixPQUFPLElBQUksT0FBTyxDQUNoQixPQUFPLENBQUMsRUFBRTtZQUNSLElBQUksQ0FBQyxNQUFNLENBQUMsVUFBVSxDQUFDO2dCQUNyQixTQUFTLEVBQUUsR0FBRyxFQUFFO29CQUNkLElBQUksQ0FBQyxzQkFBc0IsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLENBQUM7b0JBRXZDLE9BQU8sRUFBRSxDQUFDO2dCQUNaLENBQUM7YUFDRixDQUFDLENBQUM7UUFDTCxDQUFDLENBQ0YsQ0FBQztJQUNKLENBQUM7O0FBM0Z1QixvQkFBVSxHQUFHLElBQUksR0FBRyxFQUFxQixDQUFDO0FBRTFDLDBCQUFnQixHQUFHLGdDQUFnQyxDQUFDIn0= |
{ | ||
"name": "chatkitty", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"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
66542
87
908