chemicaljs 3.0.2 → 3.0.3

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/Chemical.svelte +1 -13
  2. package/package.json +1 -1
package/Chemical.svelte CHANGED
@@ -15,7 +15,6 @@
15
15
  } = $props();
16
16
 
17
17
  let defaultConfig;
18
- let rewriteUrl;
19
18
  let Controller;
20
19
  let HttpCachePlugin;
21
20
  let UrlWatcherPlugin;
@@ -74,7 +73,7 @@
74
73
 
75
74
  async function initialize() {
76
75
  [
77
- { defaultConfig, rewriteUrl },
76
+ { defaultConfig },
78
77
  { Controller },
79
78
  {
80
79
  HttpCachePlugin,
@@ -115,17 +114,6 @@
115
114
  }
116
115
  }
117
116
 
118
- export function url(url, plugins = []) {
119
- if (ready) {
120
- let newFrame = controller.createFrame(null, plugins);
121
-
122
- return rewriteUrl(url, newFrame.context, {
123
- origin: new URL(location.href),
124
- base: new URL(location.href),
125
- });
126
- }
127
- }
128
-
129
117
  export function createFrame(...props) {
130
118
  return controller.createFrame(...props);
131
119
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chemicaljs",
3
- "version": "3.0.2",
3
+ "version": "3.0.3",
4
4
  "description": "Easily create your own web proxy with no experience required.",
5
5
  "author": "Nebelung",
6
6
  "license": "AGPL-3.0-only",