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

@superset-ui/connection

Package Overview
Dependencies
Maintainers
13
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@superset-ui/connection - npm Package Compare versions

Comparing version 0.13.21 to 0.13.25

22

esm/SupersetClient.js

@@ -12,8 +12,8 @@ "use strict";

function getInstance(maybeClient) {
if (!maybeClient) {
function getInstance() {
if (!singletonClient) {
throw new Error('You must call SupersetClient.configure(...) before calling other methods');
}
return maybeClient;
return singletonClient;
}

@@ -26,13 +26,13 @@

},
delete: request => getInstance(singletonClient).delete(request),
get: request => getInstance(singletonClient).get(request),
delete: request => getInstance().delete(request),
get: request => getInstance().get(request),
getInstance,
init: force => getInstance(singletonClient).init(force),
isAuthenticated: () => getInstance(singletonClient).isAuthenticated(),
post: request => getInstance(singletonClient).post(request),
put: request => getInstance(singletonClient).put(request),
reAuthenticate: () => getInstance(singletonClient).init(
init: force => getInstance().init(force),
isAuthenticated: () => getInstance().isAuthenticated(),
post: request => getInstance().post(request),
put: request => getInstance().put(request),
reAuthenticate: () => getInstance().init(
/* force = */
true),
request: _request => getInstance(singletonClient).request(_request),
request: _request => getInstance().request(_request),
reset: () => {

@@ -39,0 +39,0 @@ singletonClient = undefined;

@@ -12,8 +12,8 @@ "use strict";

function getInstance(maybeClient) {
if (!maybeClient) {
function getInstance() {
if (!singletonClient) {
throw new Error('You must call SupersetClient.configure(...) before calling other methods');
}
return maybeClient;
return singletonClient;
}

@@ -26,13 +26,13 @@

},
delete: request => getInstance(singletonClient).delete(request),
get: request => getInstance(singletonClient).get(request),
delete: request => getInstance().delete(request),
get: request => getInstance().get(request),
getInstance,
init: force => getInstance(singletonClient).init(force),
isAuthenticated: () => getInstance(singletonClient).isAuthenticated(),
post: request => getInstance(singletonClient).post(request),
put: request => getInstance(singletonClient).put(request),
reAuthenticate: () => getInstance(singletonClient).init(
init: force => getInstance().init(force),
isAuthenticated: () => getInstance().isAuthenticated(),
post: request => getInstance().post(request),
put: request => getInstance().put(request),
reAuthenticate: () => getInstance().init(
/* force = */
true),
request: _request => getInstance(singletonClient).request(_request),
request: _request => getInstance().request(_request),
reset: () => {

@@ -39,0 +39,0 @@ singletonClient = undefined;

{
"name": "@superset-ui/connection",
"version": "0.13.21",
"version": "0.13.25",
"description": "Superset UI connection",

@@ -41,3 +41,3 @@ "sideEffects": false,

},
"gitHead": "14aeb4f70403e02e228f73a47a3e932d0eb5505c"
"gitHead": "b7031236343fab154df8f856b1b9ccd43ab8e31d"
}
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