Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

chore(api): refresh the snapshots — the video pump takes a nullable module

yhh2cf8fcb3b1b8
diff --git a/sdk/etc/index.api.md b/sdk/etc/index.api.md
index 0425fdb51..980b46e88 100644
--- a/sdk/etc/index.api.md
+++ b/sdk/etc/index.api.md
@@ -7827,7 +7827,7 @@ play: (source: string, options?: VideoPlayOptions) => VideoStreamHandle
setRefResolver: (resolver: ((ref: string) => string) | null) => void
stop: (handle: VideoStreamHandle) => void
stopAll: () => void
-update: (module: ESEngineModule) => void
+update: (module: ESEngineModule | null) => void
static new (backend: PlatformVideoBackend): VideoAPI
static prototype: VideoAPI
```
@@ -7883,7 +7883,7 @@ onError: ((error: unknown) => void) | undefined
onReady: (() => void) | undefined
pause: () => void
play: () => void
-pump: (module: ESEngineModule) => void
+pump: (module: ESEngineModule | null) => void
seek: (timeSeconds: number) => void
setLoop: (loop: boolean) => void
setMuted: (muted: boolean) => void
diff --git a/sdk/etc/index.native.api.md b/sdk/etc/index.native.api.md
index fc59ac94d..e1874afac 100644
--- a/sdk/etc/index.native.api.md
+++ b/sdk/etc/index.native.api.md
@@ -7984,7 +7984,7 @@ play: (source: string, options?: VideoPlayOptions) => VideoStreamHandle
setRefResolver: (resolver: ((ref: string) => string) | null) => void
stop: (handle: VideoStreamHandle) => void
stopAll: () => void
-update: (module: ESEngineModule) => void
+update: (module: ESEngineModule | null) => void
static new (backend: PlatformVideoBackend): VideoAPI
static prototype: VideoAPI
```
@@ -8040,7 +8040,7 @@ onError: ((error: unknown) => void) | undefined
onReady: (() => void) | undefined
pause: () => void
play: () => void
-pump: (module: ESEngineModule) => void
+pump: (module: ESEngineModule | null) => void
seek: (timeSeconds: number) => void
setLoop: (loop: boolean) => void
setMuted: (muted: boolean) => void
diff --git a/sdk/etc/index.node.api.md b/sdk/etc/index.node.api.md
index a8acdb57b..f2cdf7910 100644
--- a/sdk/etc/index.node.api.md
+++ b/sdk/etc/index.node.api.md
@@ -7822,7 +7822,7 @@ play: (source: string, options?: VideoPlayOptions) => VideoStreamHandle
setRefResolver: (resolver: ((ref: string) => string) | null) => void
stop: (handle: VideoStreamHandle) => void
stopAll: () => void
-update: (module: ESEngineModule) => void
+update: (module: ESEngineModule | null) => void
static new (backend: PlatformVideoBackend): VideoAPI
static prototype: VideoAPI
```
@@ -7878,7 +7878,7 @@ onError: ((error: unknown) => void) | undefined
onReady: (() => void) | undefined
pause: () => void
play: () => void
-pump: (module: ESEngineModule) => void
+pump: (module: ESEngineModule | null) => void
seek: (timeSeconds: number) => void
setLoop: (loop: boolean) => void
setMuted: (muted: boolean) => void
diff --git a/sdk/etc/minigame.api.md b/sdk/etc/minigame.api.md
index e0f578c19..491276c81 100644
--- a/sdk/etc/minigame.api.md
+++ b/sdk/etc/minigame.api.md
@@ -8037,7 +8037,7 @@ play: (source: string, options?: VideoPlayOptions) => VideoStreamHandle
setRefResolver: (resolver: ((ref: string) => string) | null) => void
stop: (handle: VideoStreamHandle) => void
stopAll: () => void
-update: (module: ESEngineModule) => void
+update: (module: ESEngineModule | null) => void
static new (backend: PlatformVideoBackend): VideoAPI
static prototype: VideoAPI
```
@@ -8093,7 +8093,7 @@ onError: ((error: unknown) => void) | undefined
onReady: (() => void) | undefined
pause: () => void
play: () => void
-pump: (module: ESEngineModule) => void
+pump: (module: ESEngineModule | null) => void
seek: (timeSeconds: number) => void
setLoop: (loop: boolean) => void
setMuted: (muted: boolean) => void
diff --git a/sdk/etc/wechat.api.md b/sdk/etc/wechat.api.md
index 6d60ff7ae..066e1aff9 100644
--- a/sdk/etc/wechat.api.md
+++ b/sdk/etc/wechat.api.md
@@ -7829,7 +7829,7 @@ play: (source: string, options?: VideoPlayOptions) => VideoStreamHandle
setRefResolver: (resolver: ((ref: string) => string) | null) => void
stop: (handle: VideoStreamHandle) => void
stopAll: () => void
-update: (module: ESEngineModule) => void
+update: (module: ESEngineModule | null) => void
static new (backend: PlatformVideoBackend): VideoAPI
static prototype: VideoAPI
```
@@ -7885,7 +7885,7 @@ onError: ((error: unknown) => void) | undefined
onReady: (() => void) | undefined
pause: () => void
play: () => void
-pump: (module: ESEngineModule) => void
+pump: (module: ESEngineModule | null) => void
seek: (timeSeconds: number) => void
setLoop: (loop: boolean) => void
setMuted: (muted: boolean) => void