haystack-react
Advanced tools
Comparing version 3.0.11 to 3.0.13
@@ -65,3 +65,3 @@ /* | ||
export const ClientContext = createContext(new Client({ | ||
base: new URL(window.location.href), | ||
base: new URL(globalThis?.location.href || 'http://localhost'), | ||
})); | ||
@@ -68,0 +68,0 @@ ClientContext.displayName = 'Client'; |
{ | ||
"name": "haystack-react", | ||
"version": "3.0.11", | ||
"version": "3.0.13", | ||
"description": "Project Haystack utilities for building React applications", | ||
@@ -37,5 +37,5 @@ "main": "dist/index", | ||
"eslint-plugin-react": "^7.31.1", | ||
"haystack-core": "^2.0.38", | ||
"haystack-nclient": "^3.0.28", | ||
"haystack-units": "^1.0.20", | ||
"haystack-core": "^2.0.40", | ||
"haystack-nclient": "^3.0.29", | ||
"haystack-units": "^1.0.21", | ||
"husky": "^8.0.1", | ||
@@ -54,5 +54,5 @@ "lint-staged": "^13.0.3", | ||
"peerDependencies": { | ||
"haystack-core": "^2.0.38", | ||
"haystack-nclient": "^3.0.28", | ||
"haystack-units": "^1.0.20" | ||
"haystack-core": "^2.0.40", | ||
"haystack-nclient": "^3.0.29", | ||
"haystack-units": "^1.0.21" | ||
}, | ||
@@ -59,0 +59,0 @@ "husky": { |
@@ -135,3 +135,3 @@ /* | ||
new Client({ | ||
base: new URL(window.location.href), | ||
base: new URL(globalThis?.location.href || 'http://localhost'), | ||
}) | ||
@@ -138,0 +138,0 @@ ) |
Sorry, the diff of this file is not supported yet
86108