New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

postmark

Package Overview
Dependencies
Maintainers
2
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 3.0.18 to 3.0.19

dist/client/models/webhooks/payload/BounceWebhook.d.ts

4

CHANGELOG.md
# Changelog
## 3.0.19
* updated model to contain webhook types
## 3.0.18

@@ -4,0 +8,0 @@

@@ -29,4 +29,10 @@ export * from "./client/ClientOptions";

export * from "./webhooks/WebhookFilteringParameters";
export * from "./webhooks/payload/BounceWebhook";
export * from "./webhooks/payload/DeliveryWebhook";
export * from "./webhooks/payload/ClickWebhook";
export * from "./webhooks/payload/OpenWebhook";
export * from "./webhooks/payload/SubscriptionChangeWebhook";
export * from "./webhooks/payload/InboundWebhook";
export * from "./suppressions/Suppression";
export * from "./streams/MessageStream";
export * from "./streams/MessageStreamsFilteringParameters";

@@ -41,2 +41,8 @@ "use strict";

__exportStar(require("./webhooks/WebhookFilteringParameters"), exports);
__exportStar(require("./webhooks/payload/BounceWebhook"), exports);
__exportStar(require("./webhooks/payload/DeliveryWebhook"), exports);
__exportStar(require("./webhooks/payload/ClickWebhook"), exports);
__exportStar(require("./webhooks/payload/OpenWebhook"), exports);
__exportStar(require("./webhooks/payload/SubscriptionChangeWebhook"), exports);
__exportStar(require("./webhooks/payload/InboundWebhook"), exports);
__exportStar(require("./suppressions/Suppression"), exports);

@@ -43,0 +49,0 @@ __exportStar(require("./streams/MessageStream"), exports);

2

package.json

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

],
"version": "3.0.18",
"version": "3.0.19",
"author": "Igor Balos",

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

@@ -13,3 +13,3 @@ import * as postmark from "../../src/index";

const client = new postmark.AccountClient(accountToken);
const domainName: string = process.env.DOMAIN_NAME || "";
const domainName: string = `nodejs-test.${process.env.DOMAIN_NAME}`;

@@ -16,0 +16,0 @@ function returnPathToTest(domainNameForReturnPath: string) {

@@ -14,12 +14,15 @@ import { expect } from "chai";

const domainName: string = testDomainName;
const signatureTag: string = 'nodejs-sig-test'
function signatureToTest() {
return new CreateSignatureRequest("John Smith", `mailing+${Date.now()}@${domainName}`);
return new CreateSignatureRequest("John Smith", `qa+${signatureTag}-${Date.now()}@${domainName}`);
}
async function cleanup() {
const domains = await client.getDomains();
const signatures = await client.getSenderSignatures();
for (const domain of domains.Domains) {
if (domain.Name.includes(domainName)) { await client.deleteDomain(domain.ID); }
for (const sig of signatures.SenderSignatures) {
if (sig.EmailAddress.includes(signatureTag)) {
await client.deleteSenderSignature(sig.ID);
}
}

@@ -26,0 +29,0 @@ }

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