@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.
- 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 -0
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +1 -0
- 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/dist/index.modern.mjs
CHANGED
|
@@ -9553,6 +9553,7 @@ class SmarticoAPI {
|
|
|
9553
9553
|
}
|
|
9554
9554
|
const isString = typeof value === 'string';
|
|
9555
9555
|
const source = isString ? value : JSON.stringify(value);
|
|
9556
|
+
if (!source.includes('smr.vc')) return value; // ← skip even the regex
|
|
9556
9557
|
const replaced = source.replace(SMR_DOMAIN_REGEX, match => SMR_TO_CLOUDFRONT_DOMAINS[match]);
|
|
9557
9558
|
// No domain matched: skip the JSON re-parse and return the input untouched.
|
|
9558
9559
|
if (replaced === source) {
|