@andyet/simplewebrtc
Advanced tools
Comparing version 1.26.2 to 1.27.0
@@ -8,2 +8,3 @@ import { ThunkAction } from 'redux-thunk'; | ||
payload: { | ||
customerData?: any; | ||
direction: typeof DIRECTION_INCOMING; | ||
@@ -51,2 +52,3 @@ id: string; | ||
body: string; | ||
customerData?: any; | ||
displayName?: string; | ||
@@ -84,2 +86,3 @@ time?: Date; | ||
* @param opts.body string | ||
* @param opts.customerData any | ||
* @param opts.displayName string | ||
@@ -86,0 +89,0 @@ * @param opts.id string |
@@ -83,2 +83,3 @@ "use strict"; | ||
* @param opts.body string | ||
* @param opts.customerData any | ||
* @param opts.displayName string | ||
@@ -94,2 +95,3 @@ * @param opts.id string | ||
body: opts.body, | ||
customerData: opts.customerData, | ||
direction: Constants_1.DIRECTION_INCOMING, | ||
@@ -96,0 +98,0 @@ displayName: opts.displayName, |
@@ -43,4 +43,4 @@ export declare const SET_USER_PREFERENCE = "@andyet/SET_USER_PREFERENCE"; | ||
export declare const SET_VIDEO_RESOLUTION_TIERS = "@andyet/SET_VIDEO_RESOLUTION_TIERS"; | ||
export declare const SDK_VERSION = "1.26.2"; | ||
export declare const SDK_VERSION = "1.27.0"; | ||
export declare const DIRECTION_INCOMING = "incoming"; | ||
export declare const DIRECTION_OUTGOING = "outgoing"; |
@@ -49,4 +49,4 @@ "use strict"; | ||
// ==================================================================== | ||
exports.SDK_VERSION = '1.26.2'; | ||
exports.SDK_VERSION = '1.27.0'; | ||
exports.DIRECTION_INCOMING = 'incoming'; | ||
exports.DIRECTION_OUTGOING = 'outgoing'; |
@@ -102,2 +102,3 @@ import Hark from './lib/Hark'; | ||
export interface Chat { | ||
readonly customerData?: any; | ||
readonly direction: 'incoming' | 'outgoing'; | ||
@@ -104,0 +105,0 @@ readonly id: string; |
{ | ||
"name": "@andyet/simplewebrtc", | ||
"version": "1.26.2", | ||
"version": "1.27.0", | ||
"dependencies": { | ||
@@ -5,0 +5,0 @@ "@types/node": "^12.6.8", |
@@ -126,2 +126,3 @@ "use strict"; | ||
this.xmpp.on('message', msg => { | ||
var _a; | ||
if (msg.jsonPayloads) { | ||
@@ -164,2 +165,3 @@ const roomAddress = Stanza.JID.toBare(msg.from); | ||
body: msg.body, | ||
customerData: (_a = msg.talkyUserInfo) === null || _a === void 0 ? void 0 : _a.customerData, | ||
displayName: msg.nick, | ||
@@ -166,0 +168,0 @@ id: msg.id, |
@@ -42,2 +42,3 @@ import { DefinitionOptions } from 'stanza/jxt'; | ||
mmucStatus?: MMUCStatus; | ||
talkyUserInfo?: UserInfo; | ||
} | ||
@@ -44,0 +45,0 @@ interface IQ { |
@@ -31,2 +31,3 @@ "use strict"; | ||
{ | ||
aliases: ['presence.talkyUserInfo', 'message.talkyUserInfo'], | ||
element: 'user', | ||
@@ -39,4 +40,3 @@ fields: { | ||
}, | ||
namespace: TALKY_CORE_NS, | ||
path: 'presence.talkyUserInfo' | ||
namespace: TALKY_CORE_NS | ||
}, | ||
@@ -43,0 +43,0 @@ { |
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
613153
17670