@devvit/runtime-lite 0.12.0-next-2025-04-30-5d2b49b36.0 → 0.12.0-next-2025-08-12-20-06-14-50f19bb3e.0

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # @devvit/runtime-lite
2
2
 
3
- runtime-lite is a local runtime for executing apps in the browser (shreddit, d2x, :play), Android, iOS, and packages/ui-renderer/scripts/build-layouts.js clients. As much as possible is executed locally. Anything that can't be executed locally kicks back to the remote runtime where it is re-executed. This means anything that executes locally must be undoable so a partial failed execution can be repeated remotely.
3
+ runtime-lite is a local runtime for executing apps in the browser (shreddit), Android, iOS, and packages/ui-renderer/scripts/build-layouts.js clients. As much as possible is executed locally. Anything that can't be executed locally kicks back to the remote runtime where it is re-executed. This means anything that executes locally must be undoable so a partial failed execution can be repeated remotely.
4
4
 
5
5
  Intended for internal use only.
6
6
 
@@ -27,7 +27,6 @@ runtime-lite supports the following entrypoints.
27
27
 
28
28
  - dist/**browser-lite.worker**.js: d2x and shreddit entrypoint.
29
29
  - dist/**mobile-lite**.js: Android and iOS entrypoint.
30
- - **UnsandboxedRuntimeLite**: preview (:play) entrypoint.
31
30
 
32
31
  ## Boundaries, Environments, and Messaging
33
32
 
@@ -35,7 +34,7 @@ runtime-lite supports the following entrypoints.
35
34
 
36
35
  Apps are servers that usually have clients. Runtimes execute apps on request.
37
36
 
38
- Apps are compiled and bundled to usually\* looks like this:
37
+ Apps are compiled and bundled to usually looks like this:
39
38
 
40
39
  ```
41
40
  ┌──────────────────┐
@@ -46,8 +45,6 @@ Apps are compiled and bundled to usually\* looks like this:
46
45
  └──────────────────┘
47
46
  ```
48
47
 
49
- \*:play apps do not bundle @devvit/public-api. This is injected by the @devvit/previews scripts into the environment.
50
-
51
48
  ### Runtime and App Execution Environment
52
49
 
53
50
  #### Sandboxed
@@ -133,16 +130,3 @@ RuntimeLiteWorker (translates postMessage/onmessage() to/from runtime)
133
130
  UnsandboxedRuntimeLite (loadBundle(), call(), and getCallState())
134
131
  app (Protobuf service APIs and runtime env)
135
132
  ```
136
-
137
- #### :play
138
-
139
- ```
140
- PlayPreview
141
- DevvitPreview (element methods and events)
142
- BrowserLiteClient (loadBundle(), call(), and getCallState())
143
- ─── web worker boundary: postMessage/onmessage() ───
144
- RuntimeLiteWorker (translates postMessage/onmessage() to/from runtime)
145
- Un/SandboxedRuntime (transparent; sprinkles in @devvit/public-api)
146
- UnsandboxedRuntimeLite (loadBundle(), call(), and getCallState())
147
- app (Protobuf service APIs and runtime env)
148
- ```