@series-inc/venus-sdk 3.0.2 → 3.0.4
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/README.md +186 -0
- package/dist/{chunk-NQGU2VZM.mjs → chunk-PXWCNWJ6.mjs} +8 -6
- package/dist/chunk-PXWCNWJ6.mjs.map +1 -0
- package/dist/index.cjs +6 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/venus-api/index.cjs +6 -4
- package/dist/venus-api/index.cjs.map +1 -1
- package/dist/venus-api/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-NQGU2VZM.mjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1195,7 +1195,8 @@ var MockCdnApi = class {
|
|
|
1195
1195
|
return index === pathParts.length - 1 ? encodeURIComponent(part) : part;
|
|
1196
1196
|
});
|
|
1197
1197
|
const encodedSubPath = encodedParts.join("/");
|
|
1198
|
-
const
|
|
1198
|
+
const cacheBust = Date.now();
|
|
1199
|
+
const fullUrl = `${this.baseUrl}${encodedSubPath}?cacheBust=${cacheBust}`;
|
|
1199
1200
|
return fullUrl;
|
|
1200
1201
|
}
|
|
1201
1202
|
resolveAvatarAssetUrl(subPath) {
|
|
@@ -1588,10 +1589,10 @@ function initializeLifecycleApi(venusApi, host) {
|
|
|
1588
1589
|
// src/logging/MockLoggingApi.ts
|
|
1589
1590
|
var MockLoggingApi = class {
|
|
1590
1591
|
logDebug(message, ...args) {
|
|
1591
|
-
console.log(`[Venus Mock] ${message}`, args);
|
|
1592
|
+
console.log(`[Venus Mock] ${message}`, ...args);
|
|
1592
1593
|
}
|
|
1593
1594
|
logError(message, ...args) {
|
|
1594
|
-
console.error(`[Venus Mock] ${message}`, args);
|
|
1595
|
+
console.error(`[Venus Mock] ${message}`, ...args);
|
|
1595
1596
|
}
|
|
1596
1597
|
};
|
|
1597
1598
|
|
|
@@ -3582,7 +3583,7 @@ function initializeTime(venusApi, host) {
|
|
|
3582
3583
|
}
|
|
3583
3584
|
|
|
3584
3585
|
// src/version.ts
|
|
3585
|
-
var SDK_VERSION = "3.0.
|
|
3586
|
+
var SDK_VERSION = "3.0.4";
|
|
3586
3587
|
|
|
3587
3588
|
// src/shared-assets/consts.ts
|
|
3588
3589
|
var BurgerTimeAssetsCdnPath = "burger-time/Core.stow";
|
|
@@ -4307,6 +4308,7 @@ var MockHost = class {
|
|
|
4307
4308
|
tryResume() {
|
|
4308
4309
|
if (this.state === 1 /* PAUSED */) {
|
|
4309
4310
|
this.triggerLifecycleEvent("RESUME" /* RESUME */);
|
|
4311
|
+
this.state = 0 /* PLAYING */;
|
|
4310
4312
|
}
|
|
4311
4313
|
}
|
|
4312
4314
|
async showAdOverlay(type) {
|