stentor 1.59.69 → 1.59.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/services/Secrets.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.setEnv =
|
|
3
|
+
exports.setEnv = setEnv;
|
|
4
4
|
/*! Copyright (c) 2019, XAPPmedia */
|
|
5
5
|
const stentor_logger_1 = require("stentor-logger");
|
|
6
6
|
const AWS = require("aws-sdk");
|
|
@@ -46,5 +46,4 @@ function setEnv() {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
}
|
|
49
|
-
exports.setEnv = setEnv;
|
|
50
49
|
//# sourceMappingURL=Secrets.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Secrets.js","sourceRoot":"","sources":["../../src/services/Secrets.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Secrets.js","sourceRoot":"","sources":["../../src/services/Secrets.ts"],"names":[],"mappings":";;AAcA,wBA0CC;AAxDD,oCAAoC;AACpC,mDAAqC;AACrC,+BAAgC;AAEhC,8DAA8D;AAC9D,MAAM,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;AACjC,MAAM,YAAY,GAAG,IAAI,GAAG,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC;AAEhD,MAAM,kBAAkB,GAAG,GAAG,GAAG,IAAI,CAAC,CAAC,YAAY;AACnD,MAAM,MAAM,GAAG,aAAa,CAAC;AAC7B,MAAM,IAAI,GAAG,CAAC,CAAC;AAEf,IAAI,mBAAmB,GAAG,IAAI,CAAC,CAAC,gCAAgC;AAEhE,SAAgB,MAAM;IAClB,MAAM,gBAAgB,GAAG,IAAI,IAAI,EAAE,CAAC,OAAO,EAAE,GAAG,mBAAmB,CAAC;IAEpE,IAAI,gBAAgB,GAAG,kBAAkB,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AE3C,IAAA,oBAAG,GAAE,CAAC,KAAK,CAAC,sEAAsE,OAAO,CAAC,GAAG,CAAC,qBAAqB,EAAE,CAAC,CAAC;YAC3H,CAAC;iBAAM,CAAC;gBACJ,IAAA,oBAAG,GAAE,CAAC,KAAK,CAAC,4BAA4B,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,CAAC,CAAC;YAC9E,CAAC;YAED,OAAO,EAAE,CAAC;QACd,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC"}
|
package/lib/utils/LookupUtils.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.dumpSlots = dumpSlots;
|
|
4
|
+
exports.version = version;
|
|
5
|
+
exports.incrementCount = incrementCount;
|
|
4
6
|
/* Copyright (c) 2019, XAPPmedia */
|
|
5
7
|
const stentor_logger_1 = require("stentor-logger");
|
|
6
8
|
const fs = require("fs");
|
|
@@ -13,7 +15,6 @@ const fs = require("fs");
|
|
|
13
15
|
function dumpSlots(slots) {
|
|
14
16
|
(0, stentor_logger_1.log)().debug(`Slots: ${slots ? JSON.stringify(slots, undefined, 2) : "missing"}`);
|
|
15
17
|
}
|
|
16
|
-
exports.dumpSlots = dumpSlots;
|
|
17
18
|
/**
|
|
18
19
|
* Return the version string from the package.json
|
|
19
20
|
*
|
|
@@ -26,7 +27,6 @@ function version(packageName) {
|
|
|
26
27
|
const json = JSON.parse(fs.readFileSync(packageJson, "utf8"));
|
|
27
28
|
return json.version;
|
|
28
29
|
}
|
|
29
|
-
exports.version = version;
|
|
30
30
|
/**
|
|
31
31
|
* Helper function to increment a count on the session storage for the provided key.
|
|
32
32
|
* @param context - Context with session storage
|
|
@@ -42,5 +42,4 @@ function incrementCount(context, key) {
|
|
|
42
42
|
context.session.set(key, value);
|
|
43
43
|
return value;
|
|
44
44
|
}
|
|
45
|
-
exports.incrementCount = incrementCount;
|
|
46
45
|
//# sourceMappingURL=LookupUtils.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LookupUtils.js","sourceRoot":"","sources":["../../src/utils/LookupUtils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LookupUtils.js","sourceRoot":"","sources":["../../src/utils/LookupUtils.ts"],"names":[],"mappings":";;AAYA,8BAEC;AASD,0BAIC;AAQD,wCAUC;AA7CD,mCAAmC;AACnC,mDAAqC;AACrC,yBAAyB;AAIzB;;;;;GAKG;AACH,SAAgB,SAAS,CAAC,KAAqB;IAC3C,IAAA,oBAAG,GAAE,CAAC,KAAK,CAAC,UAAU,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC,CAAC;AACrF,CAAC;AAED;;;;;;GAMG;AACH,SAAgB,OAAO,CAAC,WAAoB;IACxC,MAAM,WAAW,GAAG,WAAW,CAAC,CAAC,CAAC,eAAe,GAAG,WAAW,GAAG,eAAe,CAAC,CAAC,CAAC,cAAc,CAAC;IACnG,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC,CAAC;IAC9D,OAAO,IAAI,CAAC,OAAO,CAAC;AACxB,CAAC;AAED;;;;;GAKG;AACH,SAAgB,cAAc,CAAC,OAAgB,EAAE,GAAW;IAExD,IAAI,CAAC,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC;QAC/B,OAAO,CAAC,CAAC;IACb,CAAC;IAED,IAAI,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IAC1C,KAAK,GAAG,KAAK,GAAG,CAAC,CAAC;IAClB,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;IAChC,OAAO,KAAK,CAAC;AACjB,CAAC"}
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "1.59.
|
|
7
|
+
"version": "1.59.71",
|
|
8
8
|
"description": "SDK for building omni-channel conversational assistants",
|
|
9
9
|
"types": "lib/index",
|
|
10
10
|
"typings": "lib/index",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"sinon": "18.0.0",
|
|
32
32
|
"sinon-chai": "3.7.0",
|
|
33
33
|
"ts-node": "10.9.2",
|
|
34
|
-
"typescript": "5.
|
|
34
|
+
"typescript": "5.5.2"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"api": "api-extractor run --local",
|
|
@@ -40,31 +40,31 @@
|
|
|
40
40
|
"test": "mocha --recursive -r ts-node/register \"./src/**/*.test.ts\""
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@types/aws-lambda": "8.10.
|
|
43
|
+
"@types/aws-lambda": "8.10.140",
|
|
44
44
|
"@types/body-parser": "1.19.5",
|
|
45
45
|
"@types/express": "4.17.21",
|
|
46
46
|
"@xapp/patterns": "2.0.2",
|
|
47
47
|
"body-parser": "1.20.2",
|
|
48
48
|
"dotenv": "16.4.5",
|
|
49
49
|
"express": "4.19.2",
|
|
50
|
-
"stentor-constants": "1.59.
|
|
51
|
-
"stentor-context": "1.59.
|
|
52
|
-
"stentor-determiner": "1.59.
|
|
53
|
-
"stentor-handler": "1.59.
|
|
54
|
-
"stentor-handler-factory": "1.59.
|
|
55
|
-
"stentor-logger": "1.59.
|
|
56
|
-
"stentor-models": "1.59.
|
|
57
|
-
"stentor-request": "1.59.
|
|
58
|
-
"stentor-response": "1.59.
|
|
59
|
-
"stentor-runtime": "1.59.
|
|
60
|
-
"stentor-service-event": "1.59.
|
|
61
|
-
"stentor-service-fetch": "1.59.
|
|
62
|
-
"stentor-service-ovai": "1.59.
|
|
63
|
-
"stentor-service-studio": "1.59.
|
|
64
|
-
"stentor-utils": "1.59.
|
|
50
|
+
"stentor-constants": "1.59.70",
|
|
51
|
+
"stentor-context": "1.59.70",
|
|
52
|
+
"stentor-determiner": "1.59.70",
|
|
53
|
+
"stentor-handler": "1.59.70",
|
|
54
|
+
"stentor-handler-factory": "1.59.70",
|
|
55
|
+
"stentor-logger": "1.59.70",
|
|
56
|
+
"stentor-models": "1.59.70",
|
|
57
|
+
"stentor-request": "1.59.70",
|
|
58
|
+
"stentor-response": "1.59.70",
|
|
59
|
+
"stentor-runtime": "1.59.70",
|
|
60
|
+
"stentor-service-event": "1.59.70",
|
|
61
|
+
"stentor-service-fetch": "1.59.70",
|
|
62
|
+
"stentor-service-ovai": "1.59.70",
|
|
63
|
+
"stentor-service-studio": "1.59.70",
|
|
64
|
+
"stentor-utils": "1.59.70"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
67
67
|
"aws-sdk": "2.X"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "5223fd8997282639ca2b65fa46b44b6c25c451f8"
|
|
70
70
|
}
|