@roku-sdk/rsg-ts 2.18.0 → 2.19.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
@@ -4,7 +4,7 @@ Core SDK package for building Roku SceneGraph applications with TypeScript. Re-e
4
4
 
5
5
  ## DCL module registry
6
6
 
7
- `@roku-sdk/rsg-ts/module-registry` is an opt-in side-effect import for apps that host TypeScript DCLs. It publishes the SDK barrels on `globalThis.__ROKU_MODULES__` so a DCL's `require()` calls resolve. The main entry point no longer imports it, so ordinary apps tree-shake the runtime APIs they do not use. See [DCL: host app entry point](../../documentation/core-concepts/dcl.md#host-app-entry-point-opt-in-to-the-module-registry).
7
+ `@roku-sdk/rsg-ts/module-registry` is an opt-in side-effect import for apps that host TypeScript DCLs. It publishes the SDK barrels on `globalThis.__ROKU_MODULES__` so a DCL's `require()` calls resolve. The main entry point no longer imports it, so ordinary apps tree-shake the runtime APIs they do not use. See [DCL: host app entry point](../../documentation/core-concepts/dcl.md#opting-in-to-the-module-registry).
8
8
 
9
9
  ## Documentation
10
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roku-sdk/rsg-ts",
3
- "version": "2.18.0",
3
+ "version": "2.19.0",
4
4
  "description": "Roku SceneGraph TypeScript Components",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -33,8 +33,8 @@
33
33
  },
34
34
  "devDependencies": {
35
35
  "@jest/globals": "^30.4.1",
36
- "@roku-sdk/testing-library": "2.18.0",
37
- "@roku-sdk/dev-tools": "2.18.0"
36
+ "@roku-sdk/dev-tools": "2.19.0",
37
+ "@roku-sdk/testing-library": "2.19.0"
38
38
  },
39
39
  "author": "Roku Inc",
40
40
  "license": "MIT",
@@ -51,14 +51,14 @@
51
51
  "access": "public"
52
52
  },
53
53
  "dependencies": {
54
- "@roku-sdk/interfaces": "2.18.0",
55
- "@roku-sdk/native": "2.18.0",
56
- "@roku-sdk/common": "2.18.0",
57
- "@roku-sdk/runtime": "2.18.0",
58
- "@roku-sdk/sdk-config": "2.18.0",
59
- "@roku-sdk/components": "2.18.0",
60
- "@roku-sdk/solid": "2.18.0",
61
- "@roku-sdk/ts-core": "2.18.0"
54
+ "@roku-sdk/components": "2.19.0",
55
+ "@roku-sdk/common": "2.19.0",
56
+ "@roku-sdk/runtime": "2.19.0",
57
+ "@roku-sdk/native": "2.19.0",
58
+ "@roku-sdk/interfaces": "2.19.0",
59
+ "@roku-sdk/sdk-config": "2.19.0",
60
+ "@roku-sdk/solid": "2.19.0",
61
+ "@roku-sdk/ts-core": "2.19.0"
62
62
  },
63
63
  "scripts": {
64
64
  "rk": "rk",
package/src/runtime.ts CHANGED
@@ -21,7 +21,8 @@ export type { InputEventsHook } from "@roku-sdk/runtime/input";
21
21
  export { useLifecycle } from "@roku-sdk/runtime/lifecycle";
22
22
  export { getFileSystem, useFileSystem } from "@roku-sdk/runtime/file-system";
23
23
  export { crypto } from "@roku-sdk/runtime/crypto";
24
- export { getFontMeasure } from "@roku-sdk/runtime/font";
24
+ export { getFontMeasure, whenFontReady, createFontReady } from "@roku-sdk/runtime/font";
25
+ export type { FontReadyAbortSignal, WhenFontReadyOptions } from "@roku-sdk/runtime/font";
25
26
  export type { LifecycleEventsHook } from "@roku-sdk/runtime/lifecycle";
26
27
  export { getAudioGuide } from "@roku-sdk/runtime/audio-guide";
27
28
  export { getTextToSpeech } from "@roku-sdk/runtime/text-to-speech";