Skip to content

Commit 44cd468

Browse files
committed
chore: bump version
1 parent 4a3fa26 commit 44cd468

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

packages/nuxt/dist/module.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"compatibility": {
55
"nuxt": ">=3.5.0"
66
},
7-
"version": "0.11.1",
7+
"version": "0.11.2",
88
"builder": {
99
"@nuxt/module-builder": "0.8.4",
1010
"unbuild": "unknown"

packages/nuxt/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vaxee/nuxt",
3-
"version": "0.11.1",
3+
"version": "0.11.2",
44
"description": "Nuxt Module for Vaxee",
55
"keywords": [
66
"vaxee",

packages/vaxee/dist/vaxee.es.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { reactive, ref, hasInjectionContext, inject, shallowRef, watch, computed, onServerPrefetch, unref } from "vue";
1+
import { reactive, ref, hasInjectionContext, inject, shallowRef, watch, computed, getCurrentInstance, onServerPrefetch, unref } from "vue";
22
class DevalueError extends Error {
33
/**
44
* @param {string} message
@@ -629,7 +629,7 @@ function request(callback, options = {}) {
629629
}
630630
if (options.mode === "auto" || options.mode === "client") {
631631
const promise = options.mode === "auto" || IS_CLIENT && options.mode === "client" ? sendRequest() : Promise.resolve();
632-
if (options.mode === "auto") {
632+
if (options.mode === "auto" && getCurrentInstance()) {
633633
onServerPrefetch(() => promise);
634634
}
635635
q.suspense = async () => {

packages/vaxee/dist/vaxee.iife.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ var vaxee = function(exports, vue2) {
630630
}
631631
if (options.mode === "auto" || options.mode === "client") {
632632
const promise = options.mode === "auto" || IS_CLIENT && options.mode === "client" ? sendRequest() : Promise.resolve();
633-
if (options.mode === "auto") {
633+
if (options.mode === "auto" && vue2.getCurrentInstance()) {
634634
vue2.onServerPrefetch(() => promise);
635635
}
636636
q.suspense = async () => {

packages/vaxee/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vaxee",
3-
"version": "0.11.1",
3+
"version": "0.11.2",
44
"description": "Vaxee is a simple and easy-to-use library for Vue 3 to manage the state of your application.",
55
"scripts": {
66
"prepublishOnly": "pnpm run test && pnpm run build",

0 commit comments

Comments
 (0)