chemicaljs 1.4.6 → 1.4.7

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.
package/README.md CHANGED
@@ -84,7 +84,7 @@ In your project create a folder to store your static assets. Create an index.htm
84
84
  If you want to set the wisp server to an external server just change the `wisp` attribute.
85
85
 
86
86
  ```html
87
- <script wisp="wss://wisp.mercurywork.shop" src="/chemical.js"></script>
87
+ <script wisp="wss://wisp.mercurywork.shop/" src="/chemical.js"></script>
88
88
  ```
89
89
 
90
90
  If you want to set the transport just change the `transport` attribute. Choose `libcurl` (default becuase it supports Firefox) or `epoxy`.
@@ -122,7 +122,7 @@ window.addEventListener("chemicalLoaded", function(e) {
122
122
  4. Change the transport and Wisp URL with `chemicalTransport`
123
123
 
124
124
  ```js
125
- await chemicalTransport("libcurl", "wss://wisp.mercurywork.shop")
125
+ await chemicalTransport("libcurl", "wss://wisp.mercurywork.shop/")
126
126
  ```
127
127
 
128
128
  Below is a simple example of a simple input that redirects to the encoded URL when the user presses enter. It checks if there is any input and if Chemical has loaded before loading.
@@ -9,7 +9,7 @@
9
9
  "version": "1.0.0",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
- "chemicaljs": "^1.4.5",
12
+ "chemicaljs": "^1.4.6",
13
13
  "express": "^4.19.2"
14
14
  }
15
15
  },
@@ -1167,9 +1167,9 @@
1167
1167
  }
1168
1168
  },
1169
1169
  "node_modules/chemicaljs": {
1170
- "version": "1.4.5",
1171
- "resolved": "https://registry.npmjs.org/chemicaljs/-/chemicaljs-1.4.5.tgz",
1172
- "integrity": "sha512-QfSAhF6Mv/84cWSm09HJrSDVQTHAxVYo5NmNzx4jauDqZtLogqgftKbhws2nP0g1PH0ZQ2wmesWbiE5EcxuUNw==",
1170
+ "version": "1.4.6",
1171
+ "resolved": "https://registry.npmjs.org/chemicaljs/-/chemicaljs-1.4.6.tgz",
1172
+ "integrity": "sha512-GxE/Z2GjklXH16cU5pXCf/fAndiVGdy+FlLT27YUk4fxZwb2W/fD9+O3sC4e9oeCT2CJ3y1g/vkQ0y0Yr4I/Ow==",
1173
1173
  "dependencies": {
1174
1174
  "@mercuryworkshop/bare-mux": "^2.0.2",
1175
1175
  "@mercuryworkshop/epoxy-transport": "^2.1.3",
@@ -18,7 +18,7 @@
18
18
  },
19
19
  "homepage": "https://github.com/chemicaljs/chemical#readme",
20
20
  "dependencies": {
21
- "chemicaljs": "^1.4.5",
21
+ "chemicaljs": "^1.4.6",
22
22
  "express": "^4.19.2"
23
23
  }
24
24
  }
@@ -9,7 +9,7 @@
9
9
  "version": "1.0.0",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
- "chemicaljs": "^1.4.5",
12
+ "chemicaljs": "^1.4.6",
13
13
  "express": "^4.19.2"
14
14
  }
15
15
  },
@@ -1167,9 +1167,9 @@
1167
1167
  }
1168
1168
  },
1169
1169
  "node_modules/chemicaljs": {
1170
- "version": "1.4.5",
1171
- "resolved": "https://registry.npmjs.org/chemicaljs/-/chemicaljs-1.4.5.tgz",
1172
- "integrity": "sha512-QfSAhF6Mv/84cWSm09HJrSDVQTHAxVYo5NmNzx4jauDqZtLogqgftKbhws2nP0g1PH0ZQ2wmesWbiE5EcxuUNw==",
1170
+ "version": "1.4.6",
1171
+ "resolved": "https://registry.npmjs.org/chemicaljs/-/chemicaljs-1.4.6.tgz",
1172
+ "integrity": "sha512-GxE/Z2GjklXH16cU5pXCf/fAndiVGdy+FlLT27YUk4fxZwb2W/fD9+O3sC4e9oeCT2CJ3y1g/vkQ0y0Yr4I/Ow==",
1173
1173
  "dependencies": {
1174
1174
  "@mercuryworkshop/bare-mux": "^2.0.2",
1175
1175
  "@mercuryworkshop/epoxy-transport": "^2.1.3",
@@ -18,7 +18,7 @@
18
18
  },
19
19
  "homepage": "https://github.com/chemicaljs/chemical#readme",
20
20
  "dependencies": {
21
- "chemicaljs": "^1.4.5",
21
+ "chemicaljs": "^1.4.6",
22
22
  "express": "^4.19.2"
23
23
  }
24
24
  }
@@ -9,7 +9,7 @@
9
9
  "version": "1.0.0",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
- "chemicaljs": "^1.4.5",
12
+ "chemicaljs": "^1.4.6",
13
13
  "express": "^4.19.2"
14
14
  }
15
15
  },
@@ -1167,9 +1167,9 @@
1167
1167
  }
1168
1168
  },
1169
1169
  "node_modules/chemicaljs": {
1170
- "version": "1.4.5",
1171
- "resolved": "https://registry.npmjs.org/chemicaljs/-/chemicaljs-1.4.5.tgz",
1172
- "integrity": "sha512-QfSAhF6Mv/84cWSm09HJrSDVQTHAxVYo5NmNzx4jauDqZtLogqgftKbhws2nP0g1PH0ZQ2wmesWbiE5EcxuUNw==",
1170
+ "version": "1.4.6",
1171
+ "resolved": "https://registry.npmjs.org/chemicaljs/-/chemicaljs-1.4.6.tgz",
1172
+ "integrity": "sha512-GxE/Z2GjklXH16cU5pXCf/fAndiVGdy+FlLT27YUk4fxZwb2W/fD9+O3sC4e9oeCT2CJ3y1g/vkQ0y0Yr4I/Ow==",
1173
1173
  "dependencies": {
1174
1174
  "@mercuryworkshop/bare-mux": "^2.0.2",
1175
1175
  "@mercuryworkshop/epoxy-transport": "^2.1.3",
@@ -18,7 +18,7 @@
18
18
  },
19
19
  "homepage": "https://github.com/chemicaljs/chemical#readme",
20
20
  "dependencies": {
21
- "chemicaljs": "^1.4.5",
21
+ "chemicaljs": "^1.4.6",
22
22
  "express": "^4.19.2"
23
23
  }
24
24
  }
@@ -6,7 +6,7 @@
6
6
  "": {
7
7
  "name": "chemical-example-vite",
8
8
  "dependencies": {
9
- "chemicaljs": "^1.4.5",
9
+ "chemicaljs": "^1.4.6",
10
10
  "express": "^4.19.2",
11
11
  "preact": "^10.22.1"
12
12
  },
@@ -1730,9 +1730,9 @@
1730
1730
  }
1731
1731
  },
1732
1732
  "node_modules/chemicaljs": {
1733
- "version": "1.4.5",
1734
- "resolved": "https://registry.npmjs.org/chemicaljs/-/chemicaljs-1.4.5.tgz",
1735
- "integrity": "sha512-QfSAhF6Mv/84cWSm09HJrSDVQTHAxVYo5NmNzx4jauDqZtLogqgftKbhws2nP0g1PH0ZQ2wmesWbiE5EcxuUNw==",
1733
+ "version": "1.4.6",
1734
+ "resolved": "https://registry.npmjs.org/chemicaljs/-/chemicaljs-1.4.6.tgz",
1735
+ "integrity": "sha512-GxE/Z2GjklXH16cU5pXCf/fAndiVGdy+FlLT27YUk4fxZwb2W/fD9+O3sC4e9oeCT2CJ3y1g/vkQ0y0Yr4I/Ow==",
1736
1736
  "dependencies": {
1737
1737
  "@mercuryworkshop/bare-mux": "^2.0.2",
1738
1738
  "@mercuryworkshop/epoxy-transport": "^2.1.3",
@@ -8,7 +8,7 @@
8
8
  "build": "vite build"
9
9
  },
10
10
  "dependencies": {
11
- "chemicaljs": "^1.4.5",
11
+ "chemicaljs": "^1.4.6",
12
12
  "express": "^4.19.2",
13
13
  "preact": "^10.22.1"
14
14
  },
package/index.js CHANGED
@@ -13,6 +13,8 @@ import createRammerhead from "rammerhead/src/server/index.js";
13
13
 
14
14
  const __dirname = dirname(fileURLToPath(import.meta.url));
15
15
 
16
+ logging.set_level(logging.ERROR)
17
+
16
18
  class ChemicalServer {
17
19
  constructor(options) {
18
20
  if (options) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chemicaljs",
3
- "version": "1.4.6",
3
+ "version": "1.4.7",
4
4
  "description": "Easily create your own web proxy with no experience required.",
5
5
  "repository": {
6
6
  "type": "git",