Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

crex

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crex - npm Package Compare versions

Comparing version 0.4.4 to 0.4.5

4

lib/api.js

@@ -13,3 +13,3 @@ var request = require('./request');

api.exportDownloadPackage = function (args) {
return this.request('GET', '/etc/creativeExchange/export/api.package.zip', args);
return this.request('GET', '/etc/creativeExchange/export/api.package.zip', args, 'text');
};

@@ -38,3 +38,3 @@

api.importDownloadPackage = function (args) {
return this.request('GET', '/etc/creativeExchange/import/api.package.zip', args);
return this.request('GET', '/etc/creativeExchange/import/api.package.zip', args, 'text');
};

@@ -41,0 +41,0 @@

@@ -16,3 +16,3 @@ var api = require('./api');

CrEx.prototype.request = function(method, url, args) {
CrEx.prototype.request = function(method, url, args, ret) {
var req = null;

@@ -19,0 +19,0 @@ url = this.getUrl() + url;

var request = require('superagent');
var doGet = function (url, args) {
var doGet = function (url, args, ret) {
return new Promise(function (resolve, reject) {

@@ -11,3 +11,3 @@ request

if (err) reject(err);
resolve(res.body);
resolve(ret === 'text' ? res.text : res.body);
});

@@ -14,0 +14,0 @@ });

{
"name": "crex",
"version": "0.4.4",
"version": "0.4.5",
"description": "Creative Exchange SDK for Javascript",

@@ -5,0 +5,0 @@ "author": "Mateusz Luczak <mateusz.luczak@outlook.com>",

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