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

@icreate/ics-chromely-js-sdk

Package Overview
Dependencies
Maintainers
10
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@icreate/ics-chromely-js-sdk - npm Package Compare versions

Comparing version 0.0.7-beat.2 to 0.0.7-beat.3

7

dist/ics-chromely-js-sdk.es5.js

@@ -88,3 +88,3 @@ /*! *****************************************************************************

var _b = _a === void 0 ? {} : _a, _c = _b.headers, headers = _c === void 0 ? {} : _c, fetch = _b.fetch;
this._baseCommandUrl = 'http://command.com/';
// private _baseCommandUrl: string = 'http://command.com/'
this._baseAjaxUrl = 'http://icreate.com/';

@@ -145,2 +145,5 @@ this.isChromely = !!window['CefSharp'];

var _a, _b;
if (!_this.isChromely) {
return Promise.reject('浏览器下暂时不支持,正在适配中...');
}
var options = __assign(__assign({}, config), opts);

@@ -167,3 +170,3 @@ if (options.headers) {

var res = config
.fetch("" + config._baseAjaxUrl + opts.url, options)
.fetch("" + config._baseAjaxUrl + opts.url.replace(/^\/+/, ''), options)
.then(function (res) { return __awaiter(_this, void 0, void 0, function () {

@@ -170,0 +173,0 @@ var _a, _b, _c, error, body;

@@ -94,3 +94,3 @@ (function (global, factory) {

var _b = _a === void 0 ? {} : _a, _c = _b.headers, headers = _c === void 0 ? {} : _c, fetch = _b.fetch;
this._baseCommandUrl = 'http://command.com/';
// private _baseCommandUrl: string = 'http://command.com/'
this._baseAjaxUrl = 'http://icreate.com/';

@@ -151,2 +151,5 @@ this.isChromely = !!window['CefSharp'];

var _a, _b;
if (!_this.isChromely) {
return Promise.reject('浏览器下暂时不支持,正在适配中...');
}
var options = __assign(__assign({}, config), opts);

@@ -173,3 +176,3 @@ if (options.headers) {

var res = config
.fetch("" + config._baseAjaxUrl + opts.url, options)
.fetch("" + config._baseAjaxUrl + opts.url.replace(/^\/+/, ''), options)
.then(function (res) { return __awaiter(_this, void 0, void 0, function () {

@@ -176,0 +179,0 @@ var _a, _b, _c, error, body;

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

var _b = _a === void 0 ? {} : _a, _c = _b.headers, headers = _c === void 0 ? {} : _c, fetch = _b.fetch;
this._baseCommandUrl = 'http://command.com/';
// private _baseCommandUrl: string = 'http://command.com/'
this._baseAjaxUrl = 'http://icreate.com/';

@@ -112,2 +112,5 @@ this.isChromely = !!window['CefSharp'];

var _a, _b;
if (!_this.isChromely) {
return Promise.reject('浏览器下暂时不支持,正在适配中...');
}
var options = __assign(__assign({}, config), opts);

@@ -134,3 +137,3 @@ if (options.headers) {

var res = config
.fetch("" + config._baseAjaxUrl + opts.url, options)
.fetch("" + config._baseAjaxUrl + opts.url.replace(/^\/+/, ''), options)
.then(function (res) { return __awaiter(_this, void 0, void 0, function () {

@@ -137,0 +140,0 @@ var _a, _b, _c, error, body;

import InterceptorManager from './lib/Interceptor-manage';
import { IMedxResponse } from './interfaces/interfaces';
declare class IcsChromelyClient {
private _baseCommandUrl;
private _baseAjaxUrl;

@@ -6,0 +5,0 @@ isChromely: boolean;

{
"name": "@icreate/ics-chromely-js-sdk",
"version": "0.0.7-beat.2",
"version": "0.0.7-beat.3",
"description": "",

@@ -5,0 +5,0 @@ "keywords": [],

Sorry, the diff of this file is not supported yet

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