Socket
Socket
Sign inDemoInstall

unisender-api

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unisender-api - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

1

lib/index.d.ts

@@ -13,3 +13,4 @@ import { CreateListOptions, ResultResponse, List, EmptyObject } from './interfaces/types';

updateList(id: number, title: string, options?: CreateListOptions): Promise<ResultResponse<EmptyObject>>;
deleteList(id: number): Promise<ResultResponse<EmptyObject>>;
}
export default Unisender;

@@ -131,2 +131,19 @@ "use strict";

};
Unisender.prototype.deleteList = function (id) {
return __awaiter(this, void 0, void 0, function () {
var params, paramsString, request;
return __generator(this, function (_a) {
switch (_a.label) {
case 0:
params = [];
params.push({ list_id: id });
paramsString = this.parameterСollection(params);
return [4, this.sendRequest(methods_1.methods.contactLists.deleteList, paramsString)];
case 1:
request = _a.sent();
return [2, request];
}
});
});
};
return Unisender;

@@ -133,0 +150,0 @@ }());

10

package.json
{
"author": "Andrey Chmerev <andrey@chmerev.com> (https://github.com/chmerev/)",
"name": "unisender-api",
"version": "1.0.0",
"version": "1.0.1",
"description": "Package for working with the unisender.com API for sending emails.",
"main": "index.js",
"main": "./lib/index.js",
"scripts": {

@@ -25,3 +25,7 @@ "test": "echo \"Error: no test specified\" && exit 1"

},
"typings": ".lib/index.d.ts"
"typings": ".lib/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/chmerev/unisender-api.git"
}
}

Sorry, the diff of this file is not supported yet

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