@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartico/public-api",
3
- "version": "0.0.395",
3
+ "version": "0.0.397",
4
4
  "description": "Smartico public API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -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 { IntUtils } from "src/IntUtils";
1
+ import { IntUtils } from "../IntUtils";
2
2
  import { AchievementAvailabilityStatus } from "./AchievementAvailabilityStatus";
3
3
  import { AchievementStatus } from "./AchievementStatus";
4
4
  import { UserAchievement } from "./UserAchievement";
@@ -269,6 +269,7 @@ class SmarticoAPI {
269
269
 
270
270
  const isString = typeof value === 'string';
271
271
  const source = isString ? (value as string) : JSON.stringify(value);
272
+ if (!source.includes('smr.vc')) return value as T; // ← skip even the regex
272
273
 
273
274
  const replaced = source.replace(SMR_DOMAIN_REGEX, (match) => SMR_TO_CLOUDFRONT_DOMAINS[match]);
274
275
 
@@ -1,6 +1,6 @@
1
1
  // Generated by dts-bundle-generator v9.5.1
2
2
 
3
- import { BadgesTimeLimitStates } from "src/Missions";
3
+ import { BadgesTimeLimitStates } from "../Missions";
4
4
 
5
5
  declare enum CJMActivityType {
6
6
  Root = 0,
@@ -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
 
4
4
  /** @group GamePick */
@@ -374,8 +374,6 @@ export class WSAPIMiniGames extends WSAPIRaffles {
374
374
  }
375
375
 
376
376
  const r = await this.api.sawSpinRequest(this.userExtId, template_id);
377
- this.api.doAcknowledgeRequest(this.userExtId, r.request_id);
378
-
379
377
  const o: TMiniGamePlayResult = {
380
378
  err_code: r.errCode,
381
379
  err_message: r.errMsg,