@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.
@@ -7015,7 +7015,6 @@ class WSAPIMiniGames extends WSAPIRaffles {
7015
7015
  this.onUpdateCallback.set(onUpdateContextKey.Saw, onUpdate);
7016
7016
  }
7017
7017
  const r = await this.api.sawSpinRequest(this.userExtId, template_id);
7018
- this.api.doAcknowledgeRequest(this.userExtId, r.request_id);
7019
7018
  const o = {
7020
7019
  err_code: r.errCode,
7021
7020
  err_message: r.errMsg,
@@ -9553,6 +9552,7 @@ class SmarticoAPI {
9553
9552
  }
9554
9553
  const isString = typeof value === 'string';
9555
9554
  const source = isString ? value : JSON.stringify(value);
9555
+ if (!source.includes('smr.vc')) return value; // ← skip even the regex
9556
9556
  const replaced = source.replace(SMR_DOMAIN_REGEX, match => SMR_TO_CLOUDFRONT_DOMAINS[match]);
9557
9557
  // No domain matched: skip the JSON re-parse and return the input untouched.
9558
9558
  if (replaced === source) {