@graphcommerce/next-ui 8.0.1-canary.3 → 8.0.1
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/CHANGELOG.md +14 -0
- package/hooks/useUrlQuery.ts +1 -1
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 8.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#2191](https://github.com/graphcommerce-org/graphcommerce/pull/2191) [`13ffa6b`](https://github.com/graphcommerce-org/graphcommerce/commit/13ffa6b945f1c72bf1fdc9298e4ce5dd76b48d73) - When a user was logging in from the checkout react would be caught in an infinite loop and thus the page would hang
|
|
8
|
+
([@JoshuaS98](https://github.com/JoshuaS98))
|
|
9
|
+
|
|
10
|
+
## 8.0.1-canary.4
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [#2191](https://github.com/graphcommerce-org/graphcommerce/pull/2191) [`13ffa6b`](https://github.com/graphcommerce-org/graphcommerce/commit/13ffa6b945f1c72bf1fdc9298e4ce5dd76b48d73) - When a user was logging in from the checkout react would be caught in an infinite loop and thus the page would hang
|
|
15
|
+
([@JoshuaS98](https://github.com/JoshuaS98))
|
|
16
|
+
|
|
3
17
|
## 8.0.1-canary.3
|
|
4
18
|
|
|
5
19
|
## 8.0.1-canary.2
|
package/hooks/useUrlQuery.ts
CHANGED
|
@@ -11,7 +11,7 @@ export function useUrlQuery<T extends Record<string, string | null>>() {
|
|
|
11
11
|
Object.entries({ ...current, ...incoming }).filter(([, value]) => value !== null),
|
|
12
12
|
)
|
|
13
13
|
|
|
14
|
-
if (JSON.stringify(current) === JSON.stringify(newQuery)) return
|
|
14
|
+
if (JSON.stringify(current) === JSON.stringify(newQuery)) return Promise.resolve(true)
|
|
15
15
|
|
|
16
16
|
return replace({ query: newQuery }, undefined, { shallow: true })
|
|
17
17
|
},
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/next-ui",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "8.0.1
|
|
5
|
+
"version": "8.0.1",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
"typescript": "5.3.3"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"@graphcommerce/eslint-config-pwa": "^8.0.1
|
|
29
|
-
"@graphcommerce/framer-next-pages": "^8.0.1
|
|
30
|
-
"@graphcommerce/framer-scroller": "^8.0.1
|
|
31
|
-
"@graphcommerce/framer-utils": "^8.0.1
|
|
32
|
-
"@graphcommerce/image": "^8.0.1
|
|
33
|
-
"@graphcommerce/lingui-next": "^8.0.1
|
|
34
|
-
"@graphcommerce/prettier-config-pwa": "^8.0.1
|
|
35
|
-
"@graphcommerce/typescript-config-pwa": "^8.0.1
|
|
28
|
+
"@graphcommerce/eslint-config-pwa": "^8.0.1",
|
|
29
|
+
"@graphcommerce/framer-next-pages": "^8.0.1",
|
|
30
|
+
"@graphcommerce/framer-scroller": "^8.0.1",
|
|
31
|
+
"@graphcommerce/framer-utils": "^8.0.1",
|
|
32
|
+
"@graphcommerce/image": "^8.0.1",
|
|
33
|
+
"@graphcommerce/lingui-next": "^8.0.1",
|
|
34
|
+
"@graphcommerce/prettier-config-pwa": "^8.0.1",
|
|
35
|
+
"@graphcommerce/typescript-config-pwa": "^8.0.1",
|
|
36
36
|
"@lingui/core": "^4.2.1",
|
|
37
37
|
"@lingui/macro": "^4.2.1",
|
|
38
38
|
"@lingui/react": "^4.2.1",
|