Skip to content

Commit

Permalink
fix(ProxyManager): Expose proxy name and group in registration event
Browse files Browse the repository at this point in the history
  • Loading branch information
floryst committed Feb 7, 2018
1 parent 0e6195b commit fd601a7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Sources/Proxy/Core/ProxyManager/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ export default function addRegistrationAPI(publicAPI, model) {
publicAPI.invokeProxyRegistrationChange({
action: 'register',
proxyId: proxy.getProxyId(),
proxyName: proxy.getProxyName(),
proxyGroup: proxy.getProxyGroup(),
proxy,
});
}
Expand All @@ -47,6 +49,8 @@ export default function addRegistrationAPI(publicAPI, model) {
publicAPI.invokeProxyRegistrationChange({
action: 'unregister',
proxyId: id,
proxyName: proxy.getProxyName(),
proxyGroup: proxy.getProxyGroup(),
});
return proxy;
}
Expand Down

0 comments on commit fd601a7

Please sign in to comment.