bryns-extension-api
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -13,3 +13,3 @@ import { ExtensionHostApi, ExtensionHostApiConfiguration, ExtensionNotification } from './types'; | ||
updateTitle(title: string): void; | ||
updateLocation(url: string, state?: any): void; | ||
updateLocation(url: string, state?: any, target?: string): void; | ||
clientRouteChanged(route: string): void; | ||
@@ -16,0 +16,0 @@ sendAndReceive(type: string, payload?: any): Promise<any>; |
@@ -127,4 +127,4 @@ "use strict"; | ||
}; | ||
ExtensionHostApiImpl.prototype.updateLocation = function (url, state) { | ||
this.send(types_1.ExtensionRequestType.UPDATE_LOCATION, { url: url, state: state }); | ||
ExtensionHostApiImpl.prototype.updateLocation = function (url, state, target) { | ||
this.send(types_1.ExtensionRequestType.UPDATE_LOCATION, { url: url, state: state, target: target }); | ||
}; | ||
@@ -131,0 +131,0 @@ ExtensionHostApiImpl.prototype.clientRouteChanged = function (route) { |
@@ -76,3 +76,3 @@ import { ChattyHostConnection } from '@looker/chatty'; | ||
updateTitle(title: string): void; | ||
updateLocation(url: string, state?: any): void; | ||
updateLocation(url: string, state?: any, target?: string): void; | ||
clientRouteChanged(route: string): void; | ||
@@ -79,0 +79,0 @@ } |
{ | ||
"name": "bryns-extension-api", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "Bryns Extension Client API", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -117,4 +117,4 @@ /* | ||
updateLocation (url: string, state?: any) { | ||
this.send(ExtensionRequestType.UPDATE_LOCATION, { url, state }) | ||
updateLocation (url: string, state?: any, target?: string) { | ||
this.send(ExtensionRequestType.UPDATE_LOCATION, { url, state, target }) | ||
} | ||
@@ -121,0 +121,0 @@ |
@@ -119,3 +119,3 @@ /* | ||
updateTitle (title: string): void | ||
updateLocation (url: string, state?: any): void | ||
updateLocation (url: string, state?: any, target?: string): void | ||
clientRouteChanged (route: string): void | ||
@@ -122,0 +122,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
272971
48