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

appscode-api-js-client

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

appscode-api-js-client - npm Package Compare versions

Comparing version 1.0.12 to 1.0.13

12

lib/index.js

@@ -28,4 +28,14 @@ var RSVP = require('rsvp');

function checkAuth(resp) {
return new RSVP.Promise(function (resolve, reject) {
if (resp.status.code === "2") { // UNAUTHORIZED
Window.location.replace("/");
}
resolve(resp);
});
};
module.exports = {
ensureCsrfToken: ensureCsrfToken
ensureCsrfToken: ensureCsrfToken,
checkAuth: checkAuth
};

2

package.json
{
"name": "appscode-api-js-client",
"version": "1.0.12",
"version": "1.0.13",
"description": "AppsCode API JavaScript Client",

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

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