🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@sendly/node

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sendly/node - npm Package Compare versions

Comparing version
1.0.6
to
1.0.7
+2
-2
dist/index.d.mts

@@ -15,3 +15,3 @@ /**

* Base URL for the Sendly API
* @default "https://sendly.live/api"
* @default "https://sendly.live/api/v1"
*/

@@ -313,3 +313,3 @@ baseUrl?: string;

*/
type BatchStatus = "processing" | "completed" | "partial_failure";
type BatchStatus = "processing" | "completed" | "partial_failure" | "failed";
/**

@@ -316,0 +316,0 @@ * Response from sending batch messages

@@ -15,3 +15,3 @@ /**

* Base URL for the Sendly API
* @default "https://sendly.live/api"
* @default "https://sendly.live/api/v1"
*/

@@ -313,3 +313,3 @@ baseUrl?: string;

*/
type BatchStatus = "processing" | "completed" | "partial_failure";
type BatchStatus = "processing" | "completed" | "partial_failure" | "failed";
/**

@@ -316,0 +316,0 @@ * Response from sending batch messages

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

// src/utils/http.ts
var DEFAULT_BASE_URL = "https://sendly.live/api/";
var DEFAULT_BASE_URL = "https://sendly.live/api/v1";
var DEFAULT_TIMEOUT = 3e4;

@@ -343,3 +343,3 @@ var DEFAULT_MAX_RETRIES = 3;

Accept: "application/json",
"User-Agent": "@sendly/node/1.0.0",
"User-Agent": "@sendly/node/1.0.5",
...additionalHeaders

@@ -984,3 +984,3 @@ };

// src/client.ts
var DEFAULT_BASE_URL2 = "https://sendly.live/api";
var DEFAULT_BASE_URL2 = "https://sendly.live/api/v1";
var DEFAULT_TIMEOUT2 = 3e4;

@@ -987,0 +987,0 @@ var DEFAULT_MAX_RETRIES2 = 3;

@@ -125,3 +125,3 @@ // src/errors.ts

// src/utils/http.ts
var DEFAULT_BASE_URL = "https://sendly.live/api/";
var DEFAULT_BASE_URL = "https://sendly.live/api/v1";
var DEFAULT_TIMEOUT = 3e4;

@@ -283,3 +283,3 @@ var DEFAULT_MAX_RETRIES = 3;

Accept: "application/json",
"User-Agent": "@sendly/node/1.0.0",
"User-Agent": "@sendly/node/1.0.5",
...additionalHeaders

@@ -924,3 +924,3 @@ };

// src/client.ts
var DEFAULT_BASE_URL2 = "https://sendly.live/api";
var DEFAULT_BASE_URL2 = "https://sendly.live/api/v1";
var DEFAULT_TIMEOUT2 = 3e4;

@@ -927,0 +927,0 @@ var DEFAULT_MAX_RETRIES2 = 3;

{
"name": "@sendly/node",
"version": "1.0.6",
"version": "1.0.7",
"description": "Official Sendly Node.js SDK for SMS messaging",

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

@@ -140,3 +140,3 @@ # @sendly/node

// Optional: Custom base URL (for testing)
baseUrl: 'https://sendly.live/api',
baseUrl: 'https://sendly.live/api/v1',

@@ -143,0 +143,0 @@ // Optional: Request timeout in ms (default: 30000)