@nuxt/bridge-edge 3.0.0-27418474.8adff2e → 3.0.0-27420153.70542a3

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.
@@ -347,6 +347,8 @@ const schemaTemplate = {
347
347
  function setupAppBridge(_options) {
348
348
  const nuxt = useNuxt();
349
349
  nuxt.options.alias["#app"] = resolve(distDir$1, "runtime/index.mjs");
350
+ nuxt.options.alias["nuxt3/app"] = nuxt.options.alias["#app"];
351
+ nuxt.options.alias["nuxt/app"] = nuxt.options.alias["#app"];
350
352
  nuxt.options.alias["#build"] = nuxt.options.buildDir;
351
353
  if (nuxt.options._prepare) {
352
354
  nuxt.hook("builder:prepared", (builder) => {
@@ -3,7 +3,7 @@ import hash from 'hash-sum';
3
3
  import { resolve } from 'pathe';
4
4
  import { genImport, genObjectFromRawEntries } from 'knitwork';
5
5
 
6
- const version = "3.0.0-27418474.8adff2e";
6
+ const version = "3.0.0-27420153.70542a3";
7
7
 
8
8
  const middlewareTemplate = {
9
9
  filename: "middleware.js",
@@ -143,7 +143,7 @@ export const navigateTo = (to) => {
143
143
  if (isProcessingMiddleware()) {
144
144
  return to;
145
145
  }
146
- const router = process.server ? useRouter() : window.$nuxt.router;
146
+ const router = process.server ? useRouter() : window.$nuxt.$router;
147
147
  return router.push(to);
148
148
  };
149
149
  export const abortNavigation = (err) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/bridge-edge",
3
- "version": "3.0.0-27418474.8adff2e",
3
+ "version": "3.0.0-27420153.70542a3",
4
4
  "repository": "nuxt/framework",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -21,10 +21,10 @@
21
21
  "@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7",
22
22
  "@babel/plugin-proposal-optional-chaining": "^7.16.7",
23
23
  "@babel/plugin-transform-typescript": "^7.16.8",
24
- "@nuxt/kit": "npm:@nuxt/kit-edge@3.0.0-27418474.8adff2e",
25
- "@nuxt/nitro": "npm:@nuxt/nitro-edge@3.0.0-27418474.8adff2e",
24
+ "@nuxt/kit": "npm:@nuxt/kit-edge@3.0.0-27420153.70542a3",
25
+ "@nuxt/nitro": "npm:@nuxt/nitro-edge@3.0.0-27420153.70542a3",
26
26
  "@nuxt/postcss8": "^1.1.3",
27
- "@nuxt/schema": "npm:@nuxt/schema-edge@3.0.0-27418474.8adff2e",
27
+ "@nuxt/schema": "npm:@nuxt/schema-edge@3.0.0-27420153.70542a3",
28
28
  "@vitejs/plugin-legacy": "^1.6.4",
29
29
  "@vue/composition-api": "^1.4.6",
30
30
  "@vueuse/head": "^0.7.5",
@@ -45,7 +45,7 @@
45
45
  "mlly": "^0.4.2",
46
46
  "murmurhash-es": "^0.1.1",
47
47
  "node-fetch": "^3.2.0",
48
- "nuxi": "npm:nuxi-edge@3.0.0-27418474.8adff2e",
48
+ "nuxi": "npm:nuxi-edge@3.0.0-27420153.70542a3",
49
49
  "p-debounce": "^4.0.0",
50
50
  "pathe": "^0.2.0",
51
51
  "postcss": "^8",