pw-js-api 0.0.10-dev.541514c → 0.1.1-dev.dfeb897

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.
Files changed (2) hide show
  1. package/README.md +4 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -26,16 +26,18 @@ Bun:
26
26
  bun i pw-js-api
27
27
  ```
28
28
 
29
+ NOTE: installing pw-js-api#dev is also available if you wish, there may be no difference but if so, it could be from minor to major changes that changes the way the lib works.
30
+
29
31
  ## Install (Browser)
30
32
 
31
33
  You could use a CDN like jsdelivr or unpkg. You can put this in your HTML page:
32
34
 
33
35
  ```html
34
- <script src="https://cdn.jsdelivr.net/npm/pw-js-api@0.0.9/browser/pw.prod.js"></script>
36
+ <script src="https://cdn.jsdelivr.net/npm/pw-js-api@0.1.0/browser/pw.prod.js"></script>
35
37
  ```
36
38
 
37
39
  ```html
38
- <script src="https://cdn.jsdelivr.net/npm/pw-js-api@0.0.9/browser/pw.dev.js"></script>
40
+ <script src="https://cdn.jsdelivr.net/npm/pw-js-api@0.1.0/browser/pw.dev.js"></script>
39
41
  ```
40
42
 
41
43
  When you have these scripts in your HTML file, you will be able to use the global variable PW which contains PWGameClient, PWApiClient and Constants.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pw-js-api",
3
- "version": "0.0.10-dev.541514c",
3
+ "version": "0.1.1-dev.dfeb897",
4
4
  "description": "A PixelWalker Library, aims to be minimal with support for browsers.",
5
5
  "exports": {
6
6
  "bun": "./dist/index.js",