revojs 0.0.45 → 0.0.46

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/dist/index.js CHANGED
@@ -801,12 +801,11 @@ const createLocale = (options) => {
801
801
  const locale = createState(options.defaultLocale);
802
802
  const messages = createState();
803
803
  const registerLocaleContext = async (scope) => {
804
- const { inputs, navigator, navigate } = useRouter(scope);
804
+ const { inputs, navigator } = useRouter(scope);
805
805
  const fetch$1 = async () => {
806
806
  if (options.input) {
807
807
  const input = inputs.value?.[options.input];
808
808
  if (input && input in options.locales) locale.value = input;
809
- else navigate("/" + (locale.value ?? ""));
810
809
  }
811
810
  if (locale.value) {
812
811
  const target = options.locales[locale.value];
package/dist/jsx/index.js CHANGED
@@ -1,4 +1,3 @@
1
-
2
1
  //#region src/signals/index.ts
3
2
  function defineContext(key) {
4
3
  return key;
@@ -1,4 +1,3 @@
1
-
2
1
  //#region src/presets/deno.ts
3
2
  console.log("Hello from Deno");
4
3
 
@@ -1,4 +1,3 @@
1
-
2
1
  //#region src/presets/node.ts
3
2
  console.log("Hello from Node");
4
3
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revojs",
3
- "version": "0.0.45",
3
+ "version": "0.0.46",
4
4
  "type": "module",
5
5
  "repository": "coverbase/revojs",
6
6
  "license": "MIT",