Skip to content

Commit 6fa9120

Browse files
committed
Fix: source maps missing from NPM package
1 parent f4e23d1 commit 6fa9120

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ An example that scans a static image file:
5252
<pre id="result"></pre>
5353

5454
<script type="module">
55-
import * as zbarWasm from 'https://cdn.jsdelivr.net/npm/@undecaf/[email protected].14/dist/main.js'
55+
import * as zbarWasm from 'https://cdn.jsdelivr.net/npm/@undecaf/[email protected].15/dist/main.js'
5656
5757
(async () => {
5858
const
@@ -86,15 +86,15 @@ Almost identical to the snippet above, just replace the lines
8686
```html
8787
8888
<script type="module">
89-
import * as zbarWasm from 'https://cdn.jsdelivr.net/npm/@undecaf/[email protected].14/dist/main.js'
89+
import * as zbarWasm from 'https://cdn.jsdelivr.net/npm/@undecaf/[email protected].15/dist/main.js'
9090
9191
```
9292
9393
with
9494
9595
```html
9696
97-
<script src="https://cdn.jsdelivr.net/npm/@undecaf/[email protected].14/dist/index.js"></script>
97+
<script src="https://cdn.jsdelivr.net/npm/@undecaf/[email protected].15/dist/index.js"></script>
9898
<script>
9999
100100
```
@@ -105,9 +105,9 @@ with
105105
Installing:
106106
107107
```shell script
108-
$ npm install @undecaf/zbar-wasm@0.9.14
108+
$ npm install @undecaf/zbar-wasm@0.9.15
109109
or
110-
$ yarn add @undecaf/zbar-wasm@0.9.14
110+
$ yarn add @undecaf/zbar-wasm@0.9.15
111111
```
112112
113113
Using:

docs/example/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ <h5>Result</h5>
6363
</div>
6464
</div>
6565

66-
<script src="https://cdn.jsdelivr.net/npm/@undecaf/[email protected].14/dist/index.js"></script>
66+
<script src="https://cdn.jsdelivr.net/npm/@undecaf/[email protected].15/dist/index.js"></script>
6767
<script src="js/main.js"></script>
6868

6969
</body>

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@undecaf/zbar-wasm",
3-
"version": "0.9.14",
3+
"version": "0.9.15",
44
"description": "A WebAssembly build of the C/C++ ZBar barcode reader",
55
"type": "module",
66
"main": "./dist/main.cjs",
@@ -14,7 +14,8 @@
1414
"dist/*.js",
1515
"dist/*.cjs",
1616
"dist/*.d.ts",
17-
"dist/*.wasm"
17+
"dist/*.wasm",
18+
"dist/*.js.map"
1819
],
1920
"types": "./dist/main.d.ts",
2021
"typings": "./dist/main.d.ts",

0 commit comments

Comments
 (0)