diff --git a/README.md b/README.md index a09a109..0bb5c88 100644 --- a/README.md +++ b/README.md @@ -107,7 +107,7 @@ source emsdk/emsdk_env.sh ## npm usage ```ts -import { loadPinball, attachTouchControls } from 'vpinball-wasm'; +import { loadPinball, attachTouchControls } from '@valknar/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). Published as `vpinball-wasm` on this project's Gitea npm registry — see `package.json`. +See `examples/basic/index.html` for a complete working page (loading progress, file upload, touch controls, fullscreen). Published as `@valknar/vpinball-wasm` on this project's Gitea npm registry — see `package.json`. ## Known limitations diff --git a/package.json b/package.json index a0f3559..cfcb30b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "vpinball-wasm", - "version": "0.1.0", + "name": "@valknar/vpinball-wasm", + "version": "0.2.0", "description": "Visual Pinball's engine compiled to WebAssembly - real .vpx tables, real VBScript, WebGL2 rendering, in the browser", "license": "SEE LICENSE IN LICENSE", "type": "module",