You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

resend

Package Overview
Dependencies
Maintainers
11
Versions
134
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

resend - npm Package Compare versions

Comparing version
6.10.0-preview-workflows.0
to
6.10.0-preview-workflows.1
+37
-3
dist/index.cjs

@@ -34,3 +34,3 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });

//#region package.json
var version = "6.10.0-preview-workflows.0";
var version = "6.10.0-preview-workflows.1";

@@ -760,4 +760,4 @@ //#endregion

status: workflow.status,
steps: workflow.steps?.map(parseStepConfig),
edges: workflow.edges?.map(parseEdge)
steps: workflow.steps.map(parseStepConfig),
edges: workflow.edges.map(parseEdge)
};

@@ -1005,2 +1005,35 @@ }

//#endregion
//#region src/workflow-run-steps/workflow-run-steps.ts
var WorkflowRunSteps = class {
constructor(resend) {
this.resend = resend;
}
async get(options) {
return await this.resend.get(`/workflows/${options.workflowId}/runs/${options.runId}/steps/${options.stepId}`);
}
async list(options) {
const queryString = buildPaginationQuery(options);
const url = queryString ? `/workflows/${options.workflowId}/runs/${options.runId}/steps?${queryString}` : `/workflows/${options.workflowId}/runs/${options.runId}/steps`;
return await this.resend.get(url);
}
};
//#endregion
//#region src/workflow-runs/workflow-runs.ts
var WorkflowRuns = class {
constructor(resend) {
this.resend = resend;
this.steps = new WorkflowRunSteps(resend);
}
async get(options) {
return await this.resend.get(`/workflows/${options.workflowId}/runs/${options.runId}`);
}
async list(options) {
const queryString = buildPaginationQuery(options);
const url = queryString ? `/workflows/${options.workflowId}/runs?${queryString}` : `/workflows/${options.workflowId}/runs`;
return await this.resend.get(url);
}
};
//#endregion
//#region src/workflows/workflows.ts

@@ -1010,2 +1043,3 @@ var Workflows = class {

this.resend = resend;
this.runs = new WorkflowRuns(this.resend);
}

@@ -1012,0 +1046,0 @@ async create(payload) {

@@ -5,3 +5,3 @@ import PostalMime from "postal-mime";

//#region package.json
var version = "6.10.0-preview-workflows.0";
var version = "6.10.0-preview-workflows.1";

@@ -731,4 +731,4 @@ //#endregion

status: workflow.status,
steps: workflow.steps?.map(parseStepConfig),
edges: workflow.edges?.map(parseEdge)
steps: workflow.steps.map(parseStepConfig),
edges: workflow.edges.map(parseEdge)
};

@@ -976,2 +976,35 @@ }

//#endregion
//#region src/workflow-run-steps/workflow-run-steps.ts
var WorkflowRunSteps = class {
constructor(resend) {
this.resend = resend;
}
async get(options) {
return await this.resend.get(`/workflows/${options.workflowId}/runs/${options.runId}/steps/${options.stepId}`);
}
async list(options) {
const queryString = buildPaginationQuery(options);
const url = queryString ? `/workflows/${options.workflowId}/runs/${options.runId}/steps?${queryString}` : `/workflows/${options.workflowId}/runs/${options.runId}/steps`;
return await this.resend.get(url);
}
};
//#endregion
//#region src/workflow-runs/workflow-runs.ts
var WorkflowRuns = class {
constructor(resend) {
this.resend = resend;
this.steps = new WorkflowRunSteps(resend);
}
async get(options) {
return await this.resend.get(`/workflows/${options.workflowId}/runs/${options.runId}`);
}
async list(options) {
const queryString = buildPaginationQuery(options);
const url = queryString ? `/workflows/${options.workflowId}/runs?${queryString}` : `/workflows/${options.workflowId}/runs`;
return await this.resend.get(url);
}
};
//#endregion
//#region src/workflows/workflows.ts

@@ -981,2 +1014,3 @@ var Workflows = class {

this.resend = resend;
this.runs = new WorkflowRuns(this.resend);
}

@@ -983,0 +1017,0 @@ async create(payload) {

+1
-1
{
"name": "resend",
"version": "6.10.0-preview-workflows.0",
"version": "6.10.0-preview-workflows.1",
"description": "Node.js library for the Resend API",

@@ -5,0 +5,0 @@ "main": "./dist/index.cjs",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display