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

@auroradao/datastream-connection

Package Overview
Dependencies
Maintainers
11
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@auroradao/datastream-connection - npm Package Compare versions

Comparing version 1.5.0 to 1.6.0

tsconfig.tsbuildinfo

12

CHANGELOG.md

@@ -6,2 +6,14 @@ # Change Log

# [1.6.0](https://github.com/AuroraDAO/datastream-client-js/compare/v1.5.0...v1.6.0) (2019-04-17)
### Features
* allow token config and setters for key/token ([94fe260](https://github.com/AuroraDAO/datastream-client-js/commit/94fe260))
* upgrade to typescript 3.4 ([feee265](https://github.com/AuroraDAO/datastream-client-js/commit/feee265))
# [1.5.0](https://github.com/AuroraDAO/datastream-client-js/compare/v1.4.1...v1.5.0) (2019-04-08)

@@ -8,0 +20,0 @@

10

lib/connection.js

@@ -273,3 +273,3 @@ "use strict";

}
if (!config.auto) {
if (!config.auto && !force) {
return Infinity;

@@ -346,2 +346,5 @@ }

},
reconnect: function () {
reconnect(true);
},
send: function (message, shouldBufferRequest) {

@@ -376,2 +379,7 @@ if (!message.request) {

},
reset: function () {
if (state === STATE.FATAL) {
state = STATE.IDLE;
}
},
};

@@ -378,0 +386,0 @@ return connection;

@@ -18,2 +18,3 @@ "use strict";

key: config.key,
token: config.token,
}),

@@ -20,0 +21,0 @@ }); },

6

package.json
{
"name": "@auroradao/datastream-connection",
"version": "1.5.0",
"version": "1.6.0",
"description": "Internal package called by @auroradao/datastream-client which maintains the provided connector.",

@@ -27,6 +27,6 @@ "main": "lib/index.js",

"dependencies": {
"@auroradao/datastream-types": "^1.5.0",
"@auroradao/datastream-types": "^1.6.0",
"task-handler": "^2.12.0"
},
"gitHead": "a508ba1a3dec99b777eee3a543fa004973d93140"
"gitHead": "f4a268a015106bbaf2fd634e40227f864cddbf48"
}

@@ -435,3 +435,3 @@ import * as $Datastream from '@auroradao/datastream-types';

}
if (!config.auto) {
if (!config.auto && !force) {
// do not allow reconnect

@@ -535,2 +535,6 @@ return Infinity;

reconnect() {
reconnect(true);
},
/**

@@ -608,2 +612,12 @@ *

},
/**
* Resets a FATAL state if it exists and is only applicable when the `token` or `key` has been
* changed.
*/
reset() {
if (state === STATE.FATAL) {
state = STATE.IDLE;
}
},
};

@@ -610,0 +624,0 @@

@@ -13,3 +13,3 @@ import * as $Datastream from '@auroradao/datastream-types';

handshake: (
config: $Datastream.Configuration
config: $Datastream.Configuration,
): $Datastream.Request<'handshake'> => ({

@@ -22,4 +22,5 @@ request: 'handshake',

key: config.key,
token: config.token,
}),
}),
};

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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