@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.
@@ -1,4 +1,4 @@
1
- import { SAWTemplate } from "src/MiniGames";
1
+ import { SAWTemplate } from "../MiniGames";
2
2
  import { QuizAnswersValueType } from "./MarketsAnswers";
3
3
  import { SAWGPMarketType } from "./MarketsType";
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { BadgesTimeLimitStates } from "src/Missions";
1
+ import { BadgesTimeLimitStates } from "../Missions";
2
2
  declare enum CJMActivityType {
3
3
  Root = 0,
4
4
  Journey_Started = 1,
@@ -1,4 +1,4 @@
1
- import { GamePickGameInfo, GamePickRequestParams, GamePickRound, GamePickRoundBoard, GamePickRoundRequestParams, GamePickUserInfo, GamesApiResponse } from 'src/GamePick';
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
  });