@ale-rainbow/rainbow-notification
Advanced tools
Comparing version 1.0.24 to 1.0.25
@@ -25,2 +25,3 @@ export declare class RainbowNotificationAction { | ||
avatarURLs: string[]; | ||
webinarAvatarURL: string; | ||
infoTitle: string; | ||
@@ -44,2 +45,3 @@ infoMessage: string; | ||
getRoomAvatar(): string; | ||
getWebinarAvatar(): string; | ||
} |
@@ -42,2 +42,3 @@ "use strict"; | ||
this.avatarURLs = null; | ||
this.webinarAvatarURL = null; | ||
this.infoTitle = null; | ||
@@ -79,2 +80,5 @@ this.infoMessage = null; | ||
} | ||
if (this.webinarAvatarURL) { | ||
avatar = this.getWebinarAvatar(); | ||
} | ||
const origin = this.origin ? `<div class='extCallNotif__origin'>${this.origin}</div>` : ''; | ||
@@ -160,3 +164,7 @@ const message = `<div class='extCallNotif__message'>${this.message}</div>`; | ||
} | ||
getWebinarAvatar() { | ||
const buffer = `<img class="extCallNotif__webinarImg" src="${this.webinarAvatarURL}" alt="" />`; | ||
return buffer; | ||
} | ||
} | ||
exports.RainbowNotification = RainbowNotification; |
{ | ||
"name": "@ale-rainbow/rainbow-notification", | ||
"version": "v1.0.24", | ||
"version": "v1.0.25", | ||
"description": "Alcatel-Lucent Enterprise Rainbow Notification", | ||
@@ -5,0 +5,0 @@ "main": "./dist/rainbowNotification.js", |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
39079
1309