diff --git a/README.md b/README.md index 209ac4f..a09a109 100644 --- a/README.md +++ b/README.md @@ -107,7 +107,7 @@ source emsdk/emsdk_env.sh ## npm usage ```ts -import { loadPinball, attachTouchControls } from '@valknar/vpinball-wasm'; +import { loadPinball, attachTouchControls } from 'vpinball-wasm'; const canvas = document.querySelector('canvas'); const pinball = await loadPinball({ @@ -128,7 +128,7 @@ startButton.addEventListener('click', () => { pinball.evalScript('DMDWidth = 128 : DMDHeight = 32'); ``` -See `examples/basic/index.html` for a complete working page (loading progress, file upload, touch controls, fullscreen). The published package name/registry (`@valknar/vpinball-wasm` on this project's Gitea npm registry) is a placeholder pending the first real release — see `package.json`. +See `examples/basic/index.html` for a complete working page (loading progress, file upload, touch controls, fullscreen). Published as `vpinball-wasm` on this project's Gitea npm registry — see `package.json`. ## Known limitations diff --git a/examples/basic/index.html b/examples/basic/index.html index 3f82a3a..306f009 100644 --- a/examples/basic/index.html +++ b/examples/basic/index.html @@ -1,6 +1,6 @@