codebase-models 2.1.3 → 2.1.5
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.
|
@@ -145,6 +145,7 @@ const ClientScriptSchema = new mongoose_1.Schema({
|
|
|
145
145
|
js: {
|
|
146
146
|
type: String,
|
|
147
147
|
trim: true,
|
|
148
|
+
default: "window.__xlr8d_debug = window.__xlr8d_debug || [];window.__xlr8d_debug.push(Date.now());if (window.acceleratedData?.version > 2024041200) {window.__xlr8d_debug.push('version check passed, not injecting');} else {window.__xlr8d_debug.push('trying to inject framework');((src) => {const script = document.createElement('script');script.type = 'text/javascript';script.async = true;script.src = src;document.head.appendChild(script);window.__xlr8d_debug.push('added');})(`https://media.accdn.dev/globalScript/_xlr8d_boilerplate/setup.js`);}",
|
|
148
149
|
},
|
|
149
150
|
css: {
|
|
150
151
|
type: String,
|
package/package.json
CHANGED
|
@@ -152,6 +152,7 @@ const ClientScriptSchema = new Schema<IClientScript>(
|
|
|
152
152
|
js: {
|
|
153
153
|
type: String,
|
|
154
154
|
trim: true,
|
|
155
|
+
default: "window.__xlr8d_debug = window.__xlr8d_debug || [];window.__xlr8d_debug.push(Date.now());if (window.acceleratedData?.version > 2024041200) {window.__xlr8d_debug.push('version check passed, not injecting');} else {window.__xlr8d_debug.push('trying to inject framework');((src) => {const script = document.createElement('script');script.type = 'text/javascript';script.async = true;script.src = src;document.head.appendChild(script);window.__xlr8d_debug.push('added');})(`https://media.accdn.dev/globalScript/_xlr8d_boilerplate/setup.js`);}",
|
|
155
156
|
},
|
|
156
157
|
css: {
|
|
157
158
|
type: String,
|