Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ms-teams-webhook

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ms-teams-webhook - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

2

out/IncommingWebhook.d.ts

@@ -20,3 +20,3 @@ import { IncomingWebhookResult } from "./types";

* Send a notification to a conversation
* @param message the message (a simple string, or an object describing the message)
* @param message the message (object describing the message)
*/

@@ -23,0 +23,0 @@ send(message: Payload): Promise<IncomingWebhookResult | undefined>;

@@ -22,3 +22,3 @@ "use strict";

* Send a notification to a conversation
* @param message the message (a simple string, or an object describing the message)
* @param message the message (object describing the message)
*/

@@ -28,2 +28,5 @@ async send(message) {

let payload = message;
if (typeof payload === "string") {
throw new Error("Message must be a JSON object. Dont use a string or JSON.stringify() your message");
}
try {

@@ -30,0 +33,0 @@ const response = await this.axios.post(this.url, payload);

{
"name": "ms-teams-webhook",
"version": "2.0.1",
"version": "2.0.2",
"description": "Library for using the Microsoft Teams Incomming Webhooks",

@@ -5,0 +5,0 @@ "main": "out/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc