Socket
Socket
Sign inDemoInstall

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.1 to 0.4.2

2

dist/crex-sdk.min.js

@@ -6,2 +6,2 @@ /*!

*/
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.CrEx=t():e.CrEx=t()}(this,function(){return function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};return t.m=e,t.c=r,t.i=function(e){return e},t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=3)}([function(e,t){var r=function(e,t){return new Promise(function(r,n){request.get(e).query(t).buffer(!0).end(function(e,t){e&&n(e),r(t.body)})})},n=function(e,t){return new Promise(function(r,n){request.post(e).type("form").send(t).end(function(e,t){e&&n(e),r(t.body)})})},o=function(e,t){return new Promise(function(r,n){request.delete(e).query(t).end(function(e,t){e&&n(e),r(t.body)})})},i=function(e,t){return new Promise(function(r,n){request.post(e).attach("file",t.file).end(function(e,t){e&&n(e),r(t.body)})})};e.exports={doGet:r,doPost:n,doDelete:o,doUpload:i}},function(e,t,r){var n=r(2),o=r(0),i=function(e){e=e||{},this.user=e.user,this.password=e.password,this.url=e.url,this.port=e.port};i.prototype.getUrl=function(){return this.user+":"+this.password+"@"+this.url+":"+this.port},i.prototype.request=function(e,t,r){var n=null;switch(t=this.getUrl()+t,e){case"GET":n=o.doGet;break;case"POST":n=o.doPost;break;case"DELETE":n=o.doDelete;break;case"UPLOAD":n=o.doUpload}return n(t,r)},i.prototype=Object.assign(i.prototype,n),e.exports=i},function(e,t,r){var n=(r(0),{});n.exportGetAllPackages=function(){return this.request("GET","/etc/creativeExchange/export/api.packages.json")},n.exportGetPackageStatus=function(e){return this.request("GET","/etc/creativeExchange/export/api.status.json",e)},n.exportDownloadPackage=function(e){return this.request("GET","/etc/creativeExchange/export/api.package.zip",e)},n.exportCreatePackage=function(e){return this.request("POST","/etc/creativeExchange/export/api.create.json",e)},n.exportRemovePackage=function(e){return this.request("DELETE","/etc/creativeExchange/export/api.packages.json",e)},n.importGetAllPackages=function(){return this.request("GET","/etc/creativeExchange/import/api.packages.json")},n.importGetPackageStatus=function(e){return this.request("GET","/etc/creativeExchange/import/api.status.json",e)},n.importUploadPackage=function(e){return this.request("UPLOAD","/etc/creativeExchange/import/api.upload.json",e)},n.importDownloadPackage=function(e){return this.request("GET","/etc/creativeExchange/import/api.package.zip",e)},n.importInspectPackage=function(e){return this.request("POST","/etc/creativeExchange/import/api.inspect.json",e)},n.importDryRunPackage=function(e){return this.request("POST","/etc/creativeExchange/import/api.dry_run.json",e)},n.importInstallPackage=function(e){return this.request("POST","/etc/creativeExchange/import/api.install.json",e)},n.importRemovePackage=function(e){return this.request("DELETE","/etc/creativeExchange/import/api.packages.json",e)},gi,n.themesGetAllThemes=function(e){return this.request("GET","/etc/creativeExchange/themes/api.json",e)},n.themesCheckProgress=function(e){return this.request("GET","/etc/creativeExchange/themes/api.json",e)},e.exports=n},function(e,t,r){var n=r(1);e.exports=n}])});
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.CrEx=t():e.CrEx=t()}(this,function(){return function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};return t.m=e,t.c=r,t.i=function(e){return e},t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=3)}([function(e,t){var r=function(e,t){return new Promise(function(r,n){request.get(e).query(t).buffer(!0).end(function(e,t){e&&n(e),r(t.body)})})},n=function(e,t){return new Promise(function(r,n){request.post(e).type("form").send(t).end(function(e,t){e&&n(e),r(t.body)})})},o=function(e,t){return new Promise(function(r,n){request.delete(e).query(t).end(function(e,t){e&&n(e),r(t.body)})})},i=function(e,t){return new Promise(function(r,n){request.post(e).attach("file",t.file).end(function(e,t){e&&n(e),r(t.body)})})};e.exports={doGet:r,doPost:n,doDelete:o,doUpload:i}},function(e,t,r){var n=r(2),o=r(0),i=function(e){e=e||{},this.user=e.user,this.password=e.password,this.url=e.url,this.port=e.port};i.prototype.getUrl=function(){return this.user+":"+this.password+"@"+this.url+":"+this.port},i.prototype.request=function(e,t,r){var n=null;switch(t=this.getUrl()+t,e){case"GET":n=o.doGet;break;case"POST":n=o.doPost;break;case"DELETE":n=o.doDelete;break;case"UPLOAD":n=o.doUpload}return n(t,r)},i.prototype=Object.assign(i.prototype,n),e.exports=i},function(e,t,r){var n=(r(0),{});n.exportGetAllPackages=function(){return this.request("GET","/etc/creativeExchange/export/api.packages.json")},n.exportGetPackageStatus=function(e){return this.request("GET","/etc/creativeExchange/export/api.status.json",e)},n.exportDownloadPackage=function(e){return this.request("GET","/etc/creativeExchange/export/api.package.zip",e)},n.exportCreatePackage=function(e){return this.request("POST","/etc/creativeExchange/export/api.create.json",e)},n.exportRemovePackage=function(e){return this.request("DELETE","/etc/creativeExchange/export/api.packages.json",e)},n.importGetAllPackages=function(){return this.request("GET","/etc/creativeExchange/import/api.packages.json")},n.importGetPackageStatus=function(e){return this.request("GET","/etc/creativeExchange/import/api.status.json",e)},n.importUploadPackage=function(e){return this.request("UPLOAD","/etc/creativeExchange/import/api.upload.json",e)},n.importDownloadPackage=function(e){return this.request("GET","/etc/creativeExchange/import/api.package.zip",e)},n.importInspectPackage=function(e){return this.request("POST","/etc/creativeExchange/import/api.inspect.json",e)},n.importDryRunPackage=function(e){return this.request("POST","/etc/creativeExchange/import/api.dry_run.json",e)},n.importInstallPackage=function(e){return this.request("POST","/etc/creativeExchange/import/api.install.json",e)},n.importRemovePackage=function(e){return this.request("DELETE","/etc/creativeExchange/import/api.packages.json",e)},n.themesGetAllThemes=function(e){return this.request("GET","/etc/creativeExchange/themes/api.json",e)},n.themesCheckProgress=function(e){return this.request("GET","/etc/creativeExchange/themes/api.json",e)},e.exports=n},function(e,t,r){var n=r(1);e.exports=n}])});

@@ -233,3 +233,3 @@ /******/ (function(modules) { // webpackBootstrap

};
gi
api.themesGetAllThemes = function (args) {

@@ -236,0 +236,0 @@ return this.request('GET', '/etc/creativeExchange/themes/api.json', args);

{
"name": "crex",
"version": "0.4.1",
"version": "0.4.2",
"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