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

postmark

Package Overview
Dependencies
Maintainers
3
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postmark - npm Package Compare versions

Comparing version 2.8.1 to 2.8.2

12

CHANGELOG.md
# Changelog
## 2.7.8
## 2.8.2
* Updated axios client version
Update attachments model for inbound and outbound messages
## 2.8.1
Updated sender signature model with personal note
## 2.7.9
Updated axios client version
## 2.7.7

@@ -8,0 +16,0 @@

5

dist/client/models/message/SupportingTypes.d.ts

@@ -26,2 +26,4 @@ export declare enum LinkTrackingOptions {

* @param ContentID - id of the attachment, in case we are referencing it, for example: cid:123book.pdf
* @param ContentType - content type (json, image, etc)
* @param ContentLength - length of the message
*/

@@ -33,3 +35,4 @@ export declare class Attachment {

ContentType: string;
constructor(Name: string, Content: string, ContentType: string, ContentID?: string | null);
ContentLength?: number;
constructor(Name: string, Content: string, ContentType: string, ContentID?: string | null, ContentLength?: number);
}

@@ -34,5 +34,7 @@ "use strict";

* @param ContentID - id of the attachment, in case we are referencing it, for example: cid:123book.pdf
* @param ContentType - content type (json, image, etc)
* @param ContentLength - length of the message
*/
var Attachment = /** @class */ (function () {
function Attachment(Name, Content, ContentType, ContentID) {
function Attachment(Name, Content, ContentType, ContentID, ContentLength) {
if (ContentID === void 0) { ContentID = null; }

@@ -43,2 +45,3 @@ this.Name = Name;

this.ContentID = ContentID;
this.ContentLength = ContentLength;
}

@@ -45,0 +48,0 @@ return Attachment;

import { Hash } from "../client/SupportingTypes";
import { Attachment, LinkTrackingOptions } from "../message/SupportingTypes";
import { LinkTrackingOptions } from "../message/SupportingTypes";
import * as OutboundMessageEvents from "./OutboundMessageEvents";

@@ -18,3 +18,3 @@ export interface Recipient {

Subject: string;
Attachments: Attachment[];
Attachments: string[];
Status: string;

@@ -21,0 +21,0 @@ TrackOpens: boolean;

@@ -12,3 +12,3 @@ {

],
"version": "2.8.1",
"version": "2.8.2",
"author": "Igor Balos",

@@ -15,0 +15,0 @@ "contributors": [

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