Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

falcor-http-ws-datasource

Package Overview
Dependencies
Maintainers
3
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

falcor-http-ws-datasource - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

README.md

15

dist/falcor-http-ws-datasource.js

@@ -123,2 +123,11 @@ 'use strict';

}, {
key: '_readFeatureFlags',
value: function _readFeatureFlags() {
if (this.config.dynamicHeaders) {
return this.config.dynamicHeaders()['X-LANDR-FEATUREFLAGS'];
}
return null;
}
}, {
key: 'startWS',

@@ -138,3 +147,7 @@ value: function startWS() {

this.socket.on('connect', function () {
_this.socket.emit('authorization', { bearerToken: _this._readBearerTokenFromDynamicHeaders(), tabId: _this.tabId });
_this.socket.emit('authorization', {
bearerToken: _this._readBearerTokenFromDynamicHeaders(),
tabId: _this.tabId,
featureFlags: _this._readFeatureFlags()
});
});

@@ -141,0 +154,0 @@

2

package.json
{
"name": "falcor-http-ws-datasource",
"version": "0.2.2",
"version": "0.2.3",
"description": "Falcor HTTP and WebSocket datasource",

@@ -5,0 +5,0 @@ "homepage": "",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc