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

skapi-js

Package Overview
Dependencies
Maintainers
0
Versions
543
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

skapi-js - npm Package Compare versions

Comparing version 1.0.113 to 1.0.114

21

js/main/skapi.js

@@ -28,3 +28,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

constructor(service, owner, options, __etc) {
this.version = '1.0.113';
this.version = '1.0.114';
this.session = null;

@@ -111,3 +111,3 @@ this.connection = null;

this.owner = owner;
let autoLogin = false;
let autoLogin = true;
if (options) {

@@ -217,6 +217,15 @@ if (typeof options.autoLogin === 'boolean') {

async updateConnection() {
this.connection = await request.bind(this)('service', {
service: this.service,
owner: this.owner
}, { bypassAwaitConnection: true, method: 'get' });
try {
this.connection = await request.bind(this)('service', {
service: this.service,
owner: this.owner
}, { bypassAwaitConnection: true, method: 'get' });
}
catch (err) {
if (window) {
window.alert('Service is not available: ' + (err.message || err.toString()));
}
this.connection = null;
throw err;
}
return this.connection;

@@ -223,0 +232,0 @@ }

{
"name": "skapi-js",
"version": "1.0.113",
"version": "1.0.114",
"description": "Skapi: Backend API for HTML frontend.",

@@ -5,0 +5,0 @@ "main": "dist/skapi.module.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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