@smartico/public-api 0.0.395 → 0.0.396

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
@@ -10298,6 +10298,7 @@ var SmarticoAPI = /*#__PURE__*/function () {
10298
10298
  }
10299
10299
  var isString = typeof value === 'string';
10300
10300
  var source = isString ? value : JSON.stringify(value);
10301
+ if (!source.includes('smr.vc')) return value; // ← skip even the regex
10301
10302
  var replaced = source.replace(SMR_DOMAIN_REGEX, function (match) {
10302
10303
  return SMR_TO_CLOUDFRONT_DOMAINS[match];
10303
10304
  });