@hopple/sdk 0.1.0-rc.3 → 1.0.0-next.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/index.js CHANGED
@@ -1,41 +1,14 @@
1
- /*! @hopple/sdk 0.1.0-rc.3 | Copyright (c) 2026 The Hopple authors | MIT License */
1
+ /*! @hopple/sdk 1.0.0-next.4 | Copyright (c) 2026 The Hopple authors | MIT License */
2
2
  // The SDK runs from the runtime the page loads as its first script, which
3
3
  // defines the global `Hopple`; this forwards each export to it.
4
4
  const runtime = globalThis.Hopple;
5
5
  if (typeof runtime !== "object" || runtime === null) {
6
- throw new Error("The Hopple runtime is not loaded. Put <script src=\"_rt/1/hopple.js\"></script> in index.html, before any other script: @hopple/sdk forwards to the runtime that tag loads.");
6
+ throw new Error("The Hopple runtime is not loaded. Put <script src=\"_rt/hopple.js\"></script> in index.html, before any other script: @hopple/sdk forwards to the runtime that tag loads.");
7
7
  }
8
- export const ACHIEVEMENT_VALUE_MAX = runtime.ACHIEVEMENT_VALUE_MAX;
9
- export const AUDIO_FULL = runtime.AUDIO_FULL;
10
- export const AUDIO_MASTER = runtime.AUDIO_MASTER;
11
- export const AUDIO_VOLUME_MAX = runtime.AUDIO_VOLUME_MAX;
12
8
  export const BridgeError = runtime.BridgeError;
13
- export const DEADZONE = runtime.DEADZONE;
14
- export const INPUT_CONTRACT = runtime.INPUT_CONTRACT;
15
- export const INPUT_SCHEMES = runtime.INPUT_SCHEMES;
16
- export const INPUT_SHIM = runtime.INPUT_SHIM;
17
- export const MANIFEST_FILE = runtime.MANIFEST_FILE;
18
- export const MANIFEST_SCHEMA = runtime.MANIFEST_SCHEMA;
19
9
  export const MAX_STEP = runtime.MAX_STEP;
20
- export const PAD_BUTTONS = runtime.PAD_BUTTONS;
21
- export const PAGES = runtime.PAGES;
22
- export const PAUSE_NONE = runtime.PAUSE_NONE;
23
- export const PAUSE_STATES = runtime.PAUSE_STATES;
24
10
  export const SAVE_BYTES = runtime.SAVE_BYTES;
25
- export const SCORE_VALUE_MAX = runtime.SCORE_VALUE_MAX;
26
- export const SET_SHIM = runtime.SET_SHIM;
27
11
  export const SHARE_BYTES = runtime.SHARE_BYTES;
28
12
  export const SHARE_META_BYTES = runtime.SHARE_META_BYTES;
29
- export const SHIM = runtime.SHIM;
30
- export const SHIM_WAIT_MS = runtime.SHIM_WAIT_MS;
31
- export const audioVolumeOf = runtime.audioVolumeOf;
32
- export const findShim = runtime.findShim;
33
- export const hostTransport = runtime.hostTransport;
34
13
  export const init = runtime.init;
35
14
  export const insetsFrom = runtime.insetsFrom;
36
- export const isInputShim = runtime.isInputShim;
37
- export const isShim = runtime.isShim;
38
- export const labelFor = runtime.labelFor;
39
- export const preferredBinding = runtime.preferredBinding;
40
- export const servesScheme = runtime.servesScheme;
41
- export const shimTransport = runtime.shimTransport;