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

sms77-client

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sms77-client - npm Package Compare versions

Comparing version 2.11.1 to 2.12.0

2

dist/lib/TextTransformer.js

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

var _loop_1 = function (network) {
var _a = __read(network, 9), countryCode = _a[0], countryName = _a[1], countryPrefix = _a[2], mcc = _a[3], mncs = _a[4], networkName = _a[5], price = _a[6], features = _a[7], comment = _a[8];
var _b = __read(network, 9), countryCode = _b[0], countryName = _b[1], countryPrefix = _b[2], mcc = _b[3], mncs = _b[4], networkName = _b[5], price = _b[6], features = _b[7], comment = _b[8];
var country = countries.find(function (c) { return c.countryCode === countryCode; });

@@ -56,0 +56,0 @@ var hasCountry = undefined !== country;

@@ -257,2 +257,4 @@ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.Sms77Client = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){

return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);

@@ -325,5 +327,6 @@ function __() { this.constructor = d; }

};
var __spread = (this && this.__spread) || function () {
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));
return ar;
var __spreadArray = (this && this.__spreadArray) || function (to, from) {
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
to[j] = from[i];
return to;
};

@@ -368,3 +371,3 @@ var __importDefault = (this && this.__importDefault) || function (mod) {

method = ContactsAction_1.ContactsAction.Delete === p.action ? this.post : this.get;
return [4 /*yield*/, method.apply(void 0, __spread(args))];
return [4 /*yield*/, method.apply(void 0, __spreadArray([], __read(args)))];
case 1:

@@ -571,3 +574,3 @@ res = _a.sent();

var _loop_1 = function (network) {
var _a = __read(network, 9), countryCode = _a[0], countryName = _a[1], countryPrefix = _a[2], mcc = _a[3], mncs = _a[4], networkName = _a[5], price = _a[6], features = _a[7], comment = _a[8];
var _b = __read(network, 9), countryCode = _b[0], countryName = _b[1], countryPrefix = _b[2], mcc = _b[3], mncs = _b[4], networkName = _b[5], price = _b[6], features = _b[7], comment = _b[8];
var country = countries.find(function (c) { return c.countryCode === countryCode; });

@@ -574,0 +577,0 @@ var hasCountry = undefined !== country;

@@ -42,3 +42,3 @@ import { HooksAction } from '../constants/byEndpoint/hooks/HooksAction';

};
export declare type HookAllPayloadEvent = 'dlr' | 'sms_mo' | 'voice_status';
export declare type HookAllPayloadEvent = 'dlr' | 'sms_mo' | 'tracking' | 'voice_status';
export declare type HookAllPayloadBase<Event extends HookAllPayloadEvent, Data extends AnyObject> = {

@@ -70,2 +70,11 @@ data: Data;

}>;
export declare type HookAllPayloadTracking = HookAllPayloadBase<'tracking', {
final_url: string;
sms_id: string;
sms_label: string;
total_clicks: number;
total_views: string;
tracking_url: string;
type: 'click' | 'view';
}>;
export {};

@@ -9,6 +9,7 @@ {

"dependencies": {
"date-fns": "^2.21.1"
"date-fns": "^2.22.1"
},
"devDependencies": {
"@types/globalthis": "^1.0.1",
"@types/jest": "^26.0.23",
"@types/node": "^12.12.6",

@@ -18,8 +19,7 @@ "@types/node-fetch": "^2.5.10",

"browserify": "^17.0.0",
"jasmine-fail-fast": "^2.0.1",
"jest": "^26.6.3",
"jest": "^27.0.4",
"node-fetch": "^2.6.1",
"ts-jest": "^26.5.4",
"tsify": "^5.0.2",
"typescript": "^4.2.4",
"ts-jest": "^27.0.3",
"tsify": "^5.0.4",
"typescript": "^4.3.2",
"uuid": "^8.3.2"

@@ -65,4 +65,4 @@ },

"types": "dist/Sms77Client.d.ts",
"version": "2.11.1",
"version": "2.12.0",
"homepage": "https://github.com/sms77io/js-client"
}
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