@puzzle-js/sentry
v0.4.1
Published
PuzzleJS Content Management System
Downloads
56
Readme
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});