New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

prague

Package Overview
Dependencies
Maintainers
1
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prague - npm Package Compare versions

Comparing version 0.6.1 to 0.6.2

core/Dialogs.ts

9

core/LUIS.ts

@@ -150,6 +150,7 @@ import { Observable } from 'rxjs';

}
return Observable.ajax.get(this.url + utterance)
.do(ajaxResponse => console.log("LUIS response!", ajaxResponse))
.map(ajaxResponse => ajaxResponse.response as LuisResponse)
.do(luisResponse => this.cache[utterance] = luisResponse);
return Observable.fromPromise(fetch(this.url + utterance).then<LuisResponse>(response => response.json()))
.do(luisResponse => {
console.log("LUIS response!", luisResponse);
this.cache[utterance] = luisResponse;
});
}

@@ -156,0 +157,0 @@

@@ -125,6 +125,7 @@ "use strict";

}
return rxjs_1.Observable.ajax.get(this.url + utterance)
.do(function (ajaxResponse) { return console.log("LUIS response!", ajaxResponse); })
.map(function (ajaxResponse) { return ajaxResponse.response; })
.do(function (luisResponse) { return _this.cache[utterance] = luisResponse; });
return rxjs_1.Observable.fromPromise(fetch(this.url + utterance).then(function (response) { return response.json(); }))
.do(function (luisResponse) {
console.log("LUIS response!", luisResponse);
_this.cache[utterance] = luisResponse;
});
};

@@ -131,0 +132,0 @@ LuisModel.prototype.match = function (match) {

@@ -6,3 +6,3 @@ {

},
"version": "0.6.1",
"version": "0.6.2",
"description": "rules-based app engine",

@@ -9,0 +9,0 @@ "main": "dist/prague.js",

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