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

c8osdkvuejs

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

c8osdkvuejs - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

2

package.json
{
"name": "c8osdkvuejs",
"version": "2.2.0",
"version": "2.2.1",
"description": "convertigo's MBaaS client API service",

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

@@ -43,3 +43,3 @@ "use strict";

this.promiseConstructor = new Promise(function (resolve) {
if (window.location.href.startsWith("http") && window.location.href.indexOf("/DisplayObjects") !== -1) {
if (window.location.href.indexOf("http") === 0 && window.location.href.indexOf("/DisplayObjects") !== -1) {
var n = window.location.href.indexOf("/DisplayObjects");

@@ -51,3 +51,3 @@ _this.endpoint = window.location.href.substring(0, n);

var uri = "";
if (window.location.href.startsWith("file://")) {
if (window.location.href.indexOf("file://") === 0) {
uri = (window.location.href.substring(0, window.location.href.indexOf("/index.html"))) + "/env.json";

@@ -54,0 +54,0 @@ }

@@ -30,3 +30,3 @@ import axios, { AxiosAdapter, AxiosError, AxiosInstance, AxiosRequestConfig,

// get the url from window.location
if (window.location.href.startsWith("http") && window.location.href.indexOf("/DisplayObjects") !== -1) {
if (window.location.href.indexOf("http") === 0 && window.location.href.indexOf("/DisplayObjects") !== -1) {
const n = window.location.href.indexOf("/DisplayObjects");

@@ -37,3 +37,3 @@ this.endpoint = window.location.href.substring(0, n);

let uri = "";
if (window.location.href.startsWith("file://")) {
if (window.location.href.indexOf("file://") === 0) {
uri = (window.location.href.substring(0,

@@ -40,0 +40,0 @@ window.location.href.indexOf("/index.html"))) + "/env.json";

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