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

node-snapchat-marketing

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-snapchat-marketing - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

package.json
{
"name": "node-snapchat-marketing",
"version": "1.0.3",
"version": "1.0.4",
"description": "Nodejs client for unofficial Snapchat Marketing API",

@@ -5,0 +5,0 @@ "main": "Snapchat.js",

@@ -11,5 +11,8 @@ const fetch = require("node-fetch")

response_type,
accessToken: "",
refreshToken:"",
urls: {
authorize: `https://accounts.snapchat.com/login/oauth2/authorize?client_id=${client_id}&redirect_uri=${redirect_uri}&response_type=${response_type}`,
accessToken: `https://accounts.snapchat.com/login/oauth2/access_token?grant_type=${grant_type}&client_secret=${client_secret}&client_id=${client_id}`,
// accessToken: `https://accounts.snapchat.com/login/oauth2/access_token?grant_type=${grant_type}&client_secret=${client_secret}&client_id=${client_id}`,
me: "https://adsapi.snapchat.com/v1/me",

@@ -139,2 +142,7 @@ mediaBase: "https://adsapi.snapchat.com/v1/adaccounts",

Snap.prototype.setRefreshToken = function(refreshToken)
{
this.options.refreshToken = refreshToken
}
function request(url, options, callback)

@@ -141,0 +149,0 @@ {

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