@signalwire/js
Advanced tools
Comparing version 1.3.0-alpha.3 to 1.3.0-alpha.4
@@ -21,3 +21,4 @@ import { ICantinaAuthParams, ICantinaUser } from './interfaces'; | ||
checkInviteToken(token: string): Promise<CheckInviteTokenResponse>; | ||
logout(): Promise<void>; | ||
} | ||
export default CantinaAuth; |
@@ -67,3 +67,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
} | ||
logout() { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const response = yield this._fetch(`${this.baseUrl}/logout`, Object.assign(Object.assign({}, FETCH_OPTIONS), { method: 'PUT' })); | ||
logger.info('logout response', response); | ||
return response; | ||
}); | ||
} | ||
} | ||
export default CantinaAuth; |
import Relay from './src/SignalWire'; | ||
import Verto from './src/Verto'; | ||
import CantinaAuth from '../common/src/webrtc/CantinaAuth'; | ||
export declare const VERSION = "1.3.0-alpha.3"; | ||
export declare const VERSION = "1.3.0-alpha.4"; | ||
export { Relay, Verto, CantinaAuth }; | ||
export * from '../common/src/util/interfaces'; | ||
export * from '../common/src/webrtc/interfaces'; |
@@ -5,4 +5,4 @@ import Relay from './src/SignalWire'; | ||
import CantinaAuth from '../common/src/webrtc/CantinaAuth'; | ||
export const VERSION = '1.3.0-alpha.3'; | ||
export const VERSION = '1.3.0-alpha.4'; | ||
setAgentName(`JavaScript SDK/${VERSION}`); | ||
export { Relay, Verto, CantinaAuth }; |
{ | ||
"name": "@signalwire/js", | ||
"version": "1.3.0-alpha.3", | ||
"version": "1.3.0-alpha.4", | ||
"description": "Relay SDK for JavaScript to connect to SignalWire.", | ||
@@ -5,0 +5,0 @@ "author": "SignalWire Team <open.source@signalwire.com>", |
Sorry, the diff of this file is too big to display
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
300636
4020