Skip to content

Commit

Permalink
refactor: use final version 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
schoero committed Nov 10, 2023
1 parent fbf2e1c commit 932a893
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions docs/importing.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ PDFKit provides a pre-built bundle that can be used directly in the browser. Sim

```html
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/pdfkit@0/js/pdfkit.standalone.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/blob-stream@0.1.3/+esm"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/blob-stream@latest/+esm"></script>
```

```html
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/swissqrbill@beta/lib/bundle/swissqrbill.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/swissqrbill@latest/lib/bundle/swissqrbill.js"></script>
```

The bundle exposes all exports in the global variable `SwissQRBill`.
Expand Down
4 changes: 2 additions & 2 deletions docs/migration-v3-to-v4.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ If you previously used the pre built bundle, provided by SwissQRBill, you now ha
```html
<!-- SwissQRBill >= v4 -->
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/pdfkit@0/js/pdfkit.standalone.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/blob-stream@0.1.3/+esm"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/swissqrbill@beta/lib/bundle/swissqrbill.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/blob-stream@latest/+esm"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/swissqrbill@latest/lib/bundle/swissqrbill.js"></script>
```

Again, please have a look at the [importing documentation](./importing.md) for more information and examples on how to import the library now.
Expand Down
2 changes: 1 addition & 1 deletion examples/browser-bundling-with-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"dependencies": {
"blob-stream": "^0.1.3",
"pdfkit": "^0.13.0",
"swissqrbill": "beta"
"swissqrbill": "^4.0.0"
},
"devDependencies": {
"assert": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/browser-pre-built-bundle/pdf.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
></script>
<script
type="text/javascript"
src="https://cdn.jsdelivr.net/npm/swissqrbill@beta/lib/bundle/swissqrbill.js"
src="https://cdn.jsdelivr.net/npm/swissqrbill@latest/lib/bundle/swissqrbill.js"
></script>
<script type="module" src="./src/pdf.js"></script>
</head>
Expand Down
2 changes: 1 addition & 1 deletion examples/browser-pre-built-bundle/svg.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<script
type="text/javascript"
src="https://cdn.jsdelivr.net/npm/swissqrbill@beta/lib/bundle/swissqrbill.js"
src="https://cdn.jsdelivr.net/npm/swissqrbill@latest/lib/bundle/swissqrbill.js"
></script>
<script type="module" src="./src/svg.js"></script>
</head>
Expand Down
2 changes: 1 addition & 1 deletion examples/how-to-create-a-complete-qr-bill/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"pdfkit": "^0.13.0",
"swissqrbill": "beta"
"swissqrbill": "^4.0.0"
},
"devDependencies": {
"serve": "^14.2.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/node-cjs-javascript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dependencies": {
"pdfkit": "^0.13.0",
"swissqrbill": "beta"
"swissqrbill": "^4.0.0"
},
"devDependencies": {
"serve": "^14.2.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/node-esm-javascript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dependencies": {
"pdfkit": "^0.13.0",
"swissqrbill": "beta"
"swissqrbill": "^4.0.0"
},
"devDependencies": {
"serve": "^14.2.1"
Expand Down

0 comments on commit 932a893

Please sign in to comment.