
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
unisender-node
Advanced tools
π₯ Work in progress!
yarn add unisender-node
or
npm i unisender-node
import Unisender from 'unisender-node'
const sdk = new Unisender({ apiKey: 'my-secret-key', lang: 'en' })
// Getting lists
const lists = sdk.getLists()
All responses are typed and mirroring Unisender API responses
SDK will check for these ENV variables:
UNISENDER_API_KEY
UNISENDER_LANG
If you provide these variables, you don't need to provide in constructor.
import Unisender from 'unisender-node'
const sdk = new Unisender()
// Two ways to pass data
// 1. Unisender way - CSV-style array of arrays with field_names
const result = await sdk.importContacts({
field_names: ['email', 'Name'],
data: [
['test1@example.com', 'Test name'],
['test2@example.com', 'Test name2']
]
})
// 2. Simple object
const result = await sdk.importContacts({
data: [
{ email: 'test1@example.com', Name: 'Test name' },
{ email: 'test2@example.com', Name: 'Test2 name' },
]
})
Method | Status |
---|---|
getLists | β |
createList | β |
updateList | β |
deleteList | β |
subscribe | β |
unsubscribe | β |
exclude | β |
importContacts | β |
importContactsBatch * | β |
exportContacts | β |
getTaskResult | β |
getContact | β |
getContactCount | β |
getTotalContactsCount | β |
isContactInLists | β |
importContactsBatch
- simple helper will divide importContacts in chunks with 500 items. Will return array of results of importContactsMethod | Status |
---|---|
createEmailMessage | β |
updateEmailMessage | β |
deleteMessage | β |
getActualMessageVersion | β |
sendTestEmail | β |
sendEmail | β |
checkEmail | β |
createSmsMessage | β |
sendSms | β |
checkSms | β |
createCampaign | β |
cancelCampaign | β |
getWebVersion | β |
updateOptInEmail | β |
getSenderDomainList | β |
Method | Status |
---|---|
getCampaignCommonStats | β |
getCampaignDeliveryStats | β |
getCampaignStatus | β |
getMessages | β |
getVisitedLinks | β |
listMessages | π§ |
getCampaigns | π§ |
getMessage | π§ |
Method | Status |
---|---|
createEmailTemplate | π§ |
deleteTemplate | π§ |
getTemplate | π§ |
getTemplates | π§ |
listTemplates | π§ |
updateEmailTemplate | π§ |
Method | Status |
---|---|
createField | β |
deleteField | β |
deleteTag | β |
getFields | β |
getTags | β |
updateField | β |
getContactFieldValues | β |
0.0.7
FAQs
Unisender SDK (TypeScript)
The npm package unisender-node receives a total of 32 weekly downloads. As such, unisender-node popularity was classified as not popular.
We found that unisender-node demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.Β It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last weekβs supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.