haystack-react
Advanced tools
Comparing version 3.0.14 to 3.0.15
@@ -65,3 +65,3 @@ /* | ||
export const ClientContext = createContext(new Client({ | ||
base: new URL(globalThis?.location.href || 'http://localhost'), | ||
base: new URL(globalThis?.location?.href || 'http://localhost'), | ||
})); | ||
@@ -68,0 +68,0 @@ ClientContext.displayName = 'Client'; |
{ | ||
"name": "haystack-react", | ||
"version": "3.0.14", | ||
"version": "3.0.15", | ||
"description": "Project Haystack utilities for building React applications", | ||
@@ -5,0 +5,0 @@ "main": "dist/index", |
@@ -135,3 +135,3 @@ /* | ||
new Client({ | ||
base: new URL(globalThis?.location.href || 'http://localhost'), | ||
base: new URL(globalThis?.location?.href || 'http://localhost'), | ||
}) | ||
@@ -138,0 +138,0 @@ ) |
Sorry, the diff of this file is not supported yet
86110