@smartico/public-api 0.0.427 → 0.0.428
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/SmarticoAPI.d.ts +1 -0
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +8 -4
- package/dist/index.modern.mjs.map +1 -1
- package/package.json +1 -1
- package/src/SmarticoAPI.ts +6 -0
- package/dist/ActivityLog/ActivityLogMapper.d.ts +0 -4
- package/dist/Quiz/MarketsAnswers.d.ts +0 -40
- package/dist/Quiz/MarketsInfo.d.ts +0 -14
- package/dist/Quiz/MarketsPerSport.d.ts +0 -6
- package/dist/Quiz/MarketsType.d.ts +0 -28
- package/dist/Quiz/ScoreResultTypes.d.ts +0 -28
- package/dist/Quiz/SportTypes.d.ts +0 -6
- package/dist/Quiz/index.d.ts +0 -6
package/dist/SmarticoAPI.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -11986,12 +11986,16 @@ var SmarticoAPI = /*#__PURE__*/function () {
|
|
|
11986
11986
|
}
|
|
11987
11987
|
};
|
|
11988
11988
|
_proto.buildGamesApiParams = function buildGamesApiParams() {
|
|
11989
|
-
var _this$tracker$userPub2, _this$tracker$userPub3;
|
|
11989
|
+
var _this$tracker$userPub2, _this$tracker$userPub3, _this$tracker$getHash, _this$tracker;
|
|
11990
11990
|
var params = Object.assign({}, this.baseRgApiParams, {
|
|
11991
11991
|
ext_user_id: (_this$tracker$userPub2 = this.tracker.userPublicProps) == null ? void 0 : _this$tracker$userPub2.user_id,
|
|
11992
11992
|
smartico_ext_user_id: this.tracker.getExtUserId(),
|
|
11993
11993
|
lang: (_this$tracker$userPub3 = this.tracker.userPublicProps) == null ? void 0 : _this$tracker$userPub3.core_user_language
|
|
11994
11994
|
});
|
|
11995
|
+
var user_hash = (_this$tracker$getHash = (_this$tracker = this.tracker).getHash) == null ? void 0 : _this$tracker$getHash.call(_this$tracker);
|
|
11996
|
+
if (user_hash) {
|
|
11997
|
+
params.user_hash = user_hash;
|
|
11998
|
+
}
|
|
11995
11999
|
return params;
|
|
11996
12000
|
};
|
|
11997
12001
|
_proto.sendGamesApi = function sendGamesApi(_ref3) {
|