@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
package/dist/index.modern.mjs
CHANGED
|
@@ -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) {
|