0.4.0 • Published 4 years ago

@puzzle-js/sentry-ui v0.4.0

Weekly downloads
10
License
MIT
Repository
github
Last release
4 years ago

Configurations

Gateway Configuration

Get Configurations of a Gateway

const gatewayName = 'customGatewayName';
socket.on(`configurations.gateway.${gatewayName}`, response => console.log('gateway configs: ', response.data));
socket.emit('configurations.gateway.get', {name: gatewayName});

Get Configurations of a Storefront

const storefrontName = 'customStorefrontName';
socket.on(`configurations.storefront.${storefrontName}`, response => console.log('storefront configs: ', response.data));
socket.emit('configurations.storefront.get', {name: storefrontName});