@series-inc/venus-sdk 3.0.1 → 3.0.3
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-354W7EXH.mjs → chunk-JO6V5EXF.mjs} +12 -4
- package/dist/chunk-JO6V5EXF.mjs.map +1 -0
- package/dist/index.cjs +10 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/venus-api/index.cjs +10 -2
- 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-354W7EXH.mjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -3582,7 +3582,7 @@ function initializeTime(venusApi, host) {
|
|
|
3582
3582
|
}
|
|
3583
3583
|
|
|
3584
3584
|
// src/version.ts
|
|
3585
|
-
var SDK_VERSION = "3.0.
|
|
3585
|
+
var SDK_VERSION = "3.0.3";
|
|
3586
3586
|
|
|
3587
3587
|
// src/shared-assets/consts.ts
|
|
3588
3588
|
var BurgerTimeAssetsCdnPath = "burger-time/Core.stow";
|
|
@@ -4146,8 +4146,15 @@ var MockHost = class {
|
|
|
4146
4146
|
}
|
|
4147
4147
|
initialize(options) {
|
|
4148
4148
|
this._isInitialized = true;
|
|
4149
|
+
const controls = this.updateUiControls();
|
|
4149
4150
|
return Promise.resolve({
|
|
4150
|
-
initializeAsleep: false
|
|
4151
|
+
initializeAsleep: false,
|
|
4152
|
+
hudInsets: {
|
|
4153
|
+
top: controls.feedHeader.height,
|
|
4154
|
+
bottom: 0,
|
|
4155
|
+
left: 0,
|
|
4156
|
+
right: 0
|
|
4157
|
+
}
|
|
4151
4158
|
});
|
|
4152
4159
|
}
|
|
4153
4160
|
updateUiControls() {
|
|
@@ -4300,6 +4307,7 @@ var MockHost = class {
|
|
|
4300
4307
|
tryResume() {
|
|
4301
4308
|
if (this.state === 1 /* PAUSED */) {
|
|
4302
4309
|
this.triggerLifecycleEvent("RESUME" /* RESUME */);
|
|
4310
|
+
this.state = 0 /* PLAYING */;
|
|
4303
4311
|
}
|
|
4304
4312
|
}
|
|
4305
4313
|
async showAdOverlay(type) {
|