0.4.1 • Published 4 years ago

@puzzle-js/sentry v0.4.1

Weekly downloads
13
License
MIT
Repository
-
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});