@smartico/public-api 0.0.128 → 0.0.130
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/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +2 -2
- package/dist/index.modern.mjs.map +1 -1
- package/package.json +1 -1
- package/src/SmarticoAPI.ts +1 -1
- package/src/WSAPI/WSAPI.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -1690,7 +1690,7 @@ var WSAPI = /*#__PURE__*/function () {
|
|
|
1690
1690
|
_proto.jackpotGet = function jackpotGet(filter) {
|
|
1691
1691
|
try {
|
|
1692
1692
|
var _this36 = this;
|
|
1693
|
-
var signature = filter.jp_template_id + ":" + filter.related_game_id;
|
|
1693
|
+
var signature = (filter == null ? void 0 : filter.jp_template_id) + ":" + (filter == null ? void 0 : filter.related_game_id);
|
|
1694
1694
|
if (signature !== _this36.jackpotGetSignature) {
|
|
1695
1695
|
_this36.jackpotGetSignature = signature;
|
|
1696
1696
|
_this36.jackpotClearCache();
|
|
@@ -2116,7 +2116,7 @@ var SmarticoAPI = /*#__PURE__*/function () {
|
|
|
2116
2116
|
_proto.potGet = function potGet(user_ext_id, filter) {
|
|
2117
2117
|
try {
|
|
2118
2118
|
var _this9 = this;
|
|
2119
|
-
var message = _this9.buildMessage(user_ext_id, exports.ClassId.
|
|
2119
|
+
var message = _this9.buildMessage(user_ext_id, exports.ClassId.JP_GET_LATEST_POTS_REQUEST, filter);
|
|
2120
2120
|
return Promise.resolve(_this9.send(message, exports.ClassId.JP_GET_LATEST_POTS_RESPONSE)).then(function (response) {
|
|
2121
2121
|
return (response == null ? void 0 : response.items) || [];
|
|
2122
2122
|
});
|