Skip to content

Commit

Permalink
Published updated npm package
Browse files Browse the repository at this point in the history
  • Loading branch information
Stevenic committed Nov 15, 2017
1 parent 693f234 commit ea8984e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Node/core/lib/bots/ChatConnector.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ var urlJoin = require("url-join");
var pjson = require('../../package.json');
var MAX_DATA_LENGTH = 65000;
var USER_AGENT = "Microsoft-BotFramework/3.1 (BotBuilder Node.js/" + pjson.version + ")";
var StateApiDreprecatedMessage = "The Bot State API is deprecated. Please refer to https://aka.ms/I6swrh for details on how to replace with your own storage.";
var ChatConnector = (function () {
function ChatConnector(settings) {
if (settings === void 0) { settings = {}; }
Expand Down Expand Up @@ -264,6 +265,7 @@ var ChatConnector = (function () {
ChatConnector.prototype.getData = function (context, callback) {
var _this = this;
try {
console.warn(StateApiDreprecatedMessage);
var root = this.getStoragePath(context.address);
var list = [];
if (context.userId) {
Expand Down Expand Up @@ -343,6 +345,7 @@ var ChatConnector = (function () {
};
ChatConnector.prototype.saveData = function (context, data, callback) {
var _this = this;
console.warn(StateApiDreprecatedMessage);
var list = [];
function addWrite(field, botData, url) {
var hashKey = field + 'Hash';
Expand Down
2 changes: 1 addition & 1 deletion Node/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "botbuilder",
"author": "Microsoft Corp.",
"description": "Bot Builder is a dialog system for building rich bots on virtually any platform.",
"version": "3.11.0",
"version": "3.12.0",
"license": "MIT",
"keywords": [
"botbuilder",
Expand Down

0 comments on commit ea8984e

Please sign in to comment.