mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-06-20 06:10:05 +10:00
fixed ForcedExp for custom values
This commit is contained in:
@@ -75,7 +75,7 @@
|
|||||||
"to": ""
|
"to": ""
|
||||||
},
|
},
|
||||||
"match": "((?:{configuration|{resolver|instance):(.).(?:getRemoteConfig|getUrlDispenserServiceClient).+?;)",
|
"match": "((?:{configuration|{resolver|instance):(.).(?:getRemoteConfig|getUrlDispenserServiceClient).+?;)",
|
||||||
"replace": "$1const experiments={enable:[],disable:[],custom:[]},setExpValue=(v,e,val)=>v&&(v.set?v.set(e,val):v[e]&&(v[e].value=val)),config=$2.getRemoteConfigResolver?.()||$2.getRemoteConfiguration?.();config&&((values=>{for(const type in experiments)experiments[type].forEach(exp=>setExpValue(values,type==='custom'?exp.name:exp,type==='enable'));(window.Spotx??={}).RemoteExp=values})(config.values||config.activeProperties));"
|
"replace": "$1const experiments={enable:[],disable:[],custom:[]},setExpValue=(v,e,val)=>v&&(v.set?v.set(e,val):v[e]&&(v[e].value=val)),config=$2.getRemoteConfigResolver?.()||$2.getRemoteConfiguration?.();config&&((values=>{for(const type in experiments)experiments[type].forEach(exp=>setExpValue(values,type==='custom'?exp.name:exp,type==='custom'?exp.value:type==='enable'));(window.Spotx??={}).RemoteExp=values})(config.values||config.activeProperties));"
|
||||||
},
|
},
|
||||||
"DisableExp": {
|
"DisableExp": {
|
||||||
"InAppMessaging": {
|
"InAppMessaging": {
|
||||||
@@ -570,7 +570,7 @@
|
|||||||
"native_description": "Enable dynamic colors for the app",
|
"native_description": "Enable dynamic colors for the app",
|
||||||
"version": {
|
"version": {
|
||||||
"fr": "1.2.47",
|
"fr": "1.2.47",
|
||||||
"to": "1.2.57"
|
"to": "1.2.56"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"EmbeddedNpvAds": {
|
"EmbeddedNpvAds": {
|
||||||
|
|||||||
Reference in New Issue
Block a user