dist/sdk.js
function parseResponse(event) {
            try {
                var response = JSON.parse(event.data);

                // Check for success key to ignore messages being sent
                if (response.namespace === namespace && typeof response.success === 'boolean') {
                    return response;
                }

                return false;
            } catch (e) {}

            return false;
        }
function parseResponse(event) {
            try {
                var response = JSON.parse(event.data);

                // Check for success key to ignore messages being sent
                if (response.namespace === namespace && typeof response.success === 'boolean') {
                    return response;
                }

                return false;
            } catch (e) {}

            return false;
        }
function parseResponse ( event ) { try { var response = JSON . parse ( event . data ) ; // Check for success key to ignore messages being sent if ( response . namespace === namespace && typeof response . success === 'boolean' ) { return response ; } return false ; } catch ( e ) { } return false ; }
Verifies that a message is intended for the transport.
@param {MessageEvent} event
@returns {boolean} - Whether the message was successfully parsed.
Verifies that a message is intended for the transport .