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

@looker/extension-sdk-react

Package Overview
Dependencies
Maintainers
7
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@looker/extension-sdk-react - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

1

lib/components/ExtensionProvider/components/RouteChangeListener/RouteChangeListener.js

@@ -24,2 +24,3 @@ "use strict";

;
extensionHost.clientRouteChanged(location.pathname);

@@ -26,0 +27,0 @@ }, [location]);

4

lib/components/ExtensionProvider/components/RouteChangeListener/types.d.ts

@@ -1,5 +0,5 @@

import { ExtensionHostApi } from "@looker/extension-sdk";
import { ExtensionSDK } from "@looker/extension-sdk";
export interface RouteChangeListenerProps {
onPathnameChange?: (pathname: string) => void;
extensionHost: ExtensionHostApi;
extensionHost: ExtensionSDK;
}

@@ -103,3 +103,5 @@ "use strict";

setExtensionData(ctx);
})["catch"](console.error);
})["catch"](function (error) {
return console.error(error);
});
}, []);

@@ -106,0 +108,0 @@

@@ -1,2 +0,2 @@

import { ExtensionHostApi } from "@looker/extension-sdk";
import { ExtensionSDK } from "@looker/extension-sdk";
import { LookerSDK } from "@looker/sdk/dist/sdk/methods";

@@ -8,5 +8,5 @@ /**

/**
* Extension API.
* Extension SDK.
*/
extensionSDK: ExtensionHostApi;
extensionSDK: ExtensionSDK;
/**

@@ -13,0 +13,0 @@ * Looker SDK. Note that SDK calls are made by the extension host.

{
"name": "@looker/extension-sdk-react",
"version": "0.1.5",
"version": "0.1.6",
"description": "Looker Extension SDK for React",

@@ -46,2 +46,3 @@ "main": "lib/index",

"peerDependencies": {
"@looker/extension-sdk": "^0.1.6",
"@looker/sdk": "^0.1.3-beta.8",

@@ -48,0 +49,0 @@ "@types/react": "^16.8",

@@ -1,6 +0,6 @@

import { ExtensionHostApi } from "@looker/extension-sdk"
import { ExtensionSDK } from "@looker/extension-sdk"
export interface RouteChangeListenerProps {
onPathnameChange?: (pathname: string) => void
extensionHost: ExtensionHostApi
extensionHost: ExtensionSDK
}

@@ -25,3 +25,3 @@ /*

import { ExtensionHostApi } from "@looker/extension-sdk"
import { ExtensionSDK } from "@looker/extension-sdk"
import { LookerSDK } from "@looker/sdk/dist/sdk/methods"

@@ -34,5 +34,5 @@

/**
* Extension API.
* Extension SDK.
*/
extensionSDK: ExtensionHostApi
extensionSDK: ExtensionSDK
/**

@@ -39,0 +39,0 @@ * Looker SDK. Note that SDK calls are made by the extension host.

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