@smartico/public-api 0.0.395 → 0.0.397
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/GamePick/GamePickTypes.d.ts +1 -1
- package/dist/SmarticoLib/index.d.ts +1 -1
- package/dist/WSAPI/WSAPIGamePick.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +1 -1
- package/dist/index.modern.mjs.map +1 -1
- package/package.json +1 -1
- package/src/GamePick/GamePickTypes.ts +1 -1
- package/src/Missions/MissionsUtils.ts +1 -1
- package/src/SmarticoAPI.ts +1 -0
- package/src/SmarticoLib/index.ts +1 -1
- package/src/WSAPI/WSAPIGamePick.ts +1 -1
- package/src/WSAPI/WSAPIMiniGames.ts +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GamePickGameInfo, GamePickRequestParams, GamePickRound, GamePickRoundBoard, GamePickRoundRequestParams, GamePickUserInfo, GamesApiResponse } from '
|
|
1
|
+
import { GamePickGameInfo, GamePickRequestParams, GamePickRound, GamePickRoundBoard, GamePickRoundRequestParams, GamePickUserInfo, GamesApiResponse } from '../GamePick';
|
|
2
2
|
import { WSAPIAvatars } from './WSAPIAvatars';
|
|
3
3
|
/** @group GamePick */
|
|
4
4
|
export declare class WSAPIGamePick extends WSAPIAvatars {
|
package/dist/index.js
CHANGED
|
@@ -7466,7 +7466,6 @@ var WSAPIMiniGames = /*#__PURE__*/function (_WSAPIRaffles) {
|
|
|
7466
7466
|
_this3.onUpdateCallback.set(onUpdateContextKey.Saw, onUpdate);
|
|
7467
7467
|
}
|
|
7468
7468
|
return Promise.resolve(_this3.api.sawSpinRequest(_this3.userExtId, template_id)).then(function (r) {
|
|
7469
|
-
_this3.api.doAcknowledgeRequest(_this3.userExtId, r.request_id);
|
|
7470
7469
|
var o = {
|
|
7471
7470
|
err_code: r.errCode,
|
|
7472
7471
|
err_message: r.errMsg,
|
|
@@ -10298,6 +10297,7 @@ var SmarticoAPI = /*#__PURE__*/function () {
|
|
|
10298
10297
|
}
|
|
10299
10298
|
var isString = typeof value === 'string';
|
|
10300
10299
|
var source = isString ? value : JSON.stringify(value);
|
|
10300
|
+
if (!source.includes('smr.vc')) return value; // ← skip even the regex
|
|
10301
10301
|
var replaced = source.replace(SMR_DOMAIN_REGEX, function (match) {
|
|
10302
10302
|
return SMR_TO_CLOUDFRONT_DOMAINS[match];
|
|
10303
10303
|
});
|