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

rets-client

Package Overview
Dependencies
Maintainers
2
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rets-client - npm Package Compare versions

Comparing version 5.0.2 to 5.0.3

13

dist/client.js

@@ -97,3 +97,3 @@ // Generated by CoffeeScript 1.10.0

return function(retsContext) {
var hasPermissions, key, missingPermissions, val;
var a1, hasPermissions, key, missingPermissions, retsUaAuth, val;
_this.systemData = retsContext.systemData;

@@ -137,2 +137,7 @@ _this.loginHeaderInfo = retsContext.headerInfo;

}
if (_this.settings.userAgentPassword && _this.settings.sessionId) {
a1 = crypto.createHash('md5').update([_this.settings.userAgent, _this.settings.userAgentPassword].join(":")).digest('hex');
retsUaAuth = crypto.createHash('md5').update([a1, "", _this.settings.sessionId || "", _this.settings.version || _this.headers['RETS-Version']].join(":")).digest('hex');
_this.headers['RETS-UA-Authorization'] = "Digest " + retsUaAuth;
}
return _this;

@@ -161,8 +166,2 @@ };

return Promise["try"](function() {
var a1, retsUaAuth;
if (client.settings.userAgentPassword && client.settings.sessionId) {
a1 = crypto.createHash('md5').update([client.settings.userAgent, client.settings.userAgentPassword].join(":")).digest('hex');
retsUaAuth = crypto.createHash('md5').update([a1, "", client.settings.sessionId || "", client.settings.version || client.headers['RETS-Version']].join(":")).digest('hex');
client.headers['RETS-UA-Authorization'] = "Digest " + retsUaAuth;
}
return handler(client);

@@ -169,0 +168,0 @@ })["finally"](function() {

@@ -161,2 +161,4 @@ // Generated by CoffeeScript 1.10.0

if (err) {
done = true;
partDone = true;
handleError(new errors.RetsProcessingError(retsContext, "Unexpected end of data: " + (errors.getErrorMessage(err))));

@@ -163,0 +165,0 @@ }

{
"name": "rets-client",
"version": "5.0.2",
"version": "5.0.3",
"description": "A RETS client (Real Estate Transaction Standard).",

@@ -5,0 +5,0 @@ "main": "index.js",

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