@wazo/euc-plugins-sdk
Advanced tools
Comparing version 0.0.19 to 0.0.20
@@ -12,2 +12,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.App = void 0; | ||
// Global | ||
@@ -337,2 +338,4 @@ const EVENT_ON_LOADED = 'wazo/ON_LOADED'; | ||
} | ||
exports.App = App; | ||
// @deprecated: can conflict with other app when using the instance directly | ||
exports.default = new App(); |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
@@ -6,6 +29,7 @@ return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.softphone = exports.app = void 0; | ||
const app_1 = __importDefault(require("./app")); | ||
exports.softphone = exports.App = exports.app = void 0; | ||
const app_1 = __importStar(require("./app")); | ||
exports.app = app_1.default; | ||
Object.defineProperty(exports, "App", { enumerable: true, get: function () { return app_1.App; } }); | ||
const softphone_1 = __importDefault(require("./softphone")); | ||
exports.softphone = softphone_1.default; |
@@ -11,3 +11,3 @@ import { Call, Room, Contact, Context, Meeting, UserInfo, Extra, ModalParameter, Sounds, PluginConfiguration, WDASession, PortalSession, UpdateBadgeArgs } from './types'; | ||
}; | ||
declare class App { | ||
export declare class App { | ||
context: Context; | ||
@@ -14,0 +14,0 @@ _initializeCompleted: boolean; |
@@ -1,4 +0,5 @@ | ||
import app from './app'; | ||
import app, { App } from './app'; | ||
import softphone from './softphone'; | ||
export { app, softphone, }; | ||
export { app, // @deprecated | ||
App, softphone, }; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -93,2 +93,8 @@ export declare enum HostClientType { | ||
export interface PortalSession { | ||
uuid: string; | ||
token: string; | ||
refreshToken: string; | ||
expiresAt: string; | ||
sessionUuid: string; | ||
tenantUuid: string; | ||
} | ||
@@ -95,0 +101,0 @@ export interface WDASession { |
@@ -50,3 +50,3 @@ // Global | ||
const initializationTimeoutInMs = 5000; | ||
class App { | ||
export class App { | ||
constructor() { | ||
@@ -330,2 +330,3 @@ // Global | ||
} | ||
// @deprecated: can conflict with other app when using the instance directly | ||
export default new App(); |
@@ -1,3 +0,4 @@ | ||
import app from './app'; | ||
import app, { App } from './app'; | ||
import softphone from './softphone'; | ||
export { app, softphone, }; | ||
export { app, // @deprecated | ||
App, softphone, }; |
@@ -11,3 +11,3 @@ import { Call, Room, Contact, Context, Meeting, UserInfo, Extra, ModalParameter, Sounds, PluginConfiguration, WDASession, PortalSession, UpdateBadgeArgs } from './types'; | ||
}; | ||
declare class App { | ||
export declare class App { | ||
context: Context; | ||
@@ -14,0 +14,0 @@ _initializeCompleted: boolean; |
@@ -1,4 +0,5 @@ | ||
import app from './app'; | ||
import app, { App } from './app'; | ||
import softphone from './softphone'; | ||
export { app, softphone, }; | ||
export { app, // @deprecated | ||
App, softphone, }; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -93,2 +93,8 @@ export declare enum HostClientType { | ||
export interface PortalSession { | ||
uuid: string; | ||
token: string; | ||
refreshToken: string; | ||
expiresAt: string; | ||
sessionUuid: string; | ||
tenantUuid: string; | ||
} | ||
@@ -95,0 +101,0 @@ export interface WDASession { |
{ | ||
"name": "@wazo/euc-plugins-sdk", | ||
"version": "0.0.19", | ||
"version": "0.0.20", | ||
"description": "Wazo's Unified Enterprise Communication JavaScript Software Development Kit.", | ||
@@ -5,0 +5,0 @@ "author": "Wazo (http://wazo.io)", |
@@ -83,3 +83,3 @@ /* global Wazo */ | ||
class App { | ||
export class App { | ||
context: Context; | ||
@@ -439,2 +439,3 @@ _initializeCompleted: boolean; | ||
// @deprecated: can conflict with other app when using the instance directly | ||
export default new App(); |
@@ -1,7 +0,8 @@ | ||
import app from './app'; | ||
import app, { App } from './app'; | ||
import softphone from './softphone'; | ||
export { | ||
app, | ||
app, // @deprecated | ||
App, | ||
softphone, | ||
}; |
@@ -80,3 +80,8 @@ export enum HostClientType { | ||
export interface PortalSession { | ||
uuid: string; | ||
token: string; | ||
refreshToken: string; | ||
expiresAt: string; | ||
sessionUuid: string; | ||
tenantUuid: string; | ||
} | ||
@@ -83,0 +88,0 @@ |
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
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
152814
3408