
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
@boozt/sfmc-fuelsdk-node
Advanced tools
Node SDK for performing REST, SOAP, Auth, and js object API calls with Salesforce Marketing Cloud Fuel.
Important Notice
This is the changed copy of original FuelSDK-Node (salesforce-marketingcloud/FuelSDK-Node) including an important change. Version of the original: 2.4.0
This change enables setting the props for the subscriber object as an object or array. If it is set as an array, you can send multiple subscribers in one request.
The module will be deleted as soon as the original repository applies the pull-request (https://github.com/salesforce-marketingcloud/FuelSDK-Node-SOAP/pull/136) or provides a way to send multiple subscribers in one request.
The following code:
this._cacheDir = path.join(__dirname, '../../.cache');
has been replaced with:
this._cacheDir = path.join('/tmp/.sfmc-cache');
in CacheService.js
The patch
, post
and delete
methods of the DataExtensionRow
now support the props as an array.
client.dataExtensionRow({
Name: String,
props: Array<Object>
}), 'patch')
The bug with DataExtensionRow
delete
method has been fixed.
Salesforce Marketing Cloud Fuel SDK for Node
The Fuel SDK for Node provides easy access to Salesforce Marketing Cloud's Fuel API Family services, including a collection of REST APIs and a SOAP API. These APIs provide access to Salesforce Marketing Cloud functionality via common collection types.
Bumped js-yaml from 3.12.0 to 3.13.1.
npm install --save sfmc-fuelsdk-node
const ET_Client = require('sfmc-fuelsdk-node');
const client = new ET_Client(clientId, clientSecret, stack);
or
const client = new ET_Client(clientId, clientSecret, stack, {origin, authOrigin, soapOrigin}); // stack is ignored
const client = new ET_Client(clientId, clientSecret, stack, {origin, authOrigin, soapOrigin,
authOptions = { authVersion = 2, accountId = <<TARGET_BUSINESS_UNIT>>, scope = <<DATA_ACCESS_PERMISSIONS>>, applicationType = <<public||web||server>>, redirectURI = <<REDIRECT_URL_FOR_PUBLIC/WEB_APP, authorizationCode = <<AUTH_CODE_FOR_PUBLIC/WEB_APP>>}
});
const props = {
name: 'Some test campaign name',
description: 'Campaign description'
};
client.campaign({props}).post((err, response) => {
// code
});
See https://github.com/salesforcefuel/node-sdk-backbone-app for examples.
FAQs
Node SDK for performing REST, SOAP, Auth, and js object API calls with Salesforce Marketing Cloud Fuel.
The npm package @boozt/sfmc-fuelsdk-node receives a total of 1 weekly downloads. As such, @boozt/sfmc-fuelsdk-node popularity was classified as not popular.
We found that @boozt/sfmc-fuelsdk-node demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.