Skip to content

Commit ea8984e

Browse files
committed
Published updated npm package
1 parent 693f234 commit ea8984e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Node/core/lib/bots/ChatConnector.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ var urlJoin = require("url-join");
1212
var pjson = require('../../package.json');
1313
var MAX_DATA_LENGTH = 65000;
1414
var USER_AGENT = "Microsoft-BotFramework/3.1 (BotBuilder Node.js/" + pjson.version + ")";
15+
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.";
1516
var ChatConnector = (function () {
1617
function ChatConnector(settings) {
1718
if (settings === void 0) { settings = {}; }
@@ -264,6 +265,7 @@ var ChatConnector = (function () {
264265
ChatConnector.prototype.getData = function (context, callback) {
265266
var _this = this;
266267
try {
268+
console.warn(StateApiDreprecatedMessage);
267269
var root = this.getStoragePath(context.address);
268270
var list = [];
269271
if (context.userId) {
@@ -343,6 +345,7 @@ var ChatConnector = (function () {
343345
};
344346
ChatConnector.prototype.saveData = function (context, data, callback) {
345347
var _this = this;
348+
console.warn(StateApiDreprecatedMessage);
346349
var list = [];
347350
function addWrite(field, botData, url) {
348351
var hashKey = field + 'Hash';

Node/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "botbuilder",
33
"author": "Microsoft Corp.",
44
"description": "Bot Builder is a dialog system for building rich bots on virtually any platform.",
5-
"version": "3.11.0",
5+
"version": "3.12.0",
66
"license": "MIT",
77
"keywords": [
88
"botbuilder",

0 commit comments

Comments
 (0)