@usequeek/theme-kit 0.1.24 → 0.1.25
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 +8 -0
- package/README.md +1 -1
- package/hooks/use-auth-flow.tsx +1 -1
- package/package.json +6 -6
- package/sdk/error-handler.ts +1 -1
- package/sdk/queek-client.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to `@usequeek/theme-kit`. See the README for the versioning
|
|
4
4
|
policy. Versions before this file started are in the git tags.
|
|
5
5
|
|
|
6
|
+
## 0.1.25 - 2026-10-14
|
|
7
|
+
|
|
8
|
+
### Packaging
|
|
9
|
+
|
|
10
|
+
- The customer SDK moved to the Queek scope: the peer dependency is now
|
|
11
|
+
`@usequeek/client-sdk` `^0.4.0` (was `@queekai/client-sdk`, which is deprecated).
|
|
12
|
+
Install `@usequeek/client-sdk` alongside the kit and remove `@queekai/client-sdk`.
|
|
13
|
+
|
|
6
14
|
## 0.1.24 - 2026-10-12
|
|
7
15
|
|
|
8
16
|
### Added
|
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ end to end.
|
|
|
12
12
|
- **Next.js 15 or later (App Router)**, `react` and `react-dom` 19 or later. The
|
|
13
13
|
kit imports `next` itself (links, navigation, server request headers), so it
|
|
14
14
|
runs inside a Next.js app, not in a bare React app.
|
|
15
|
-
- `@
|
|
15
|
+
- `@usequeek/client-sdk` `^0.4.0`, the Queek customer SDK the auth and checkout
|
|
16
16
|
hooks call.
|
|
17
17
|
- Node.js 22 or later (the version CI tests on).
|
|
18
18
|
- TypeScript with `moduleResolution: bundler` and `jsx: react-jsx`.
|
package/hooks/use-auth-flow.tsx
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import type { JSX } from 'react';
|
|
4
4
|
import { createContext, useContext, useState, type ReactNode } from 'react';
|
|
5
|
-
import { QueekSdkError, type EmailVerifyOtpResponse } from '@
|
|
5
|
+
import { QueekSdkError, type EmailVerifyOtpResponse } from '@usequeek/client-sdk';
|
|
6
6
|
import { useStorefront, useThemeStrings } from '../provider';
|
|
7
7
|
import { getQueekClient, setAuthTokens, QUEEK_AUTH_URL } from '../sdk/queek-client';
|
|
8
8
|
import { useAuthModalStore } from '../stores/auth-modal-store';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usequeek/theme-kit",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.25",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "The runtime a Queek storefront theme is built on: hooks, stores, page renderer, navigation, shared blocks and locale strings.",
|
|
@@ -46,25 +46,25 @@
|
|
|
46
46
|
"!scripts"
|
|
47
47
|
],
|
|
48
48
|
"peerDependencies": {
|
|
49
|
+
"@usequeek/client-sdk": "^0.4.0",
|
|
49
50
|
"next": ">=15",
|
|
50
51
|
"react": ">=19",
|
|
51
|
-
"react-dom": ">=19"
|
|
52
|
-
"@queekai/client-sdk": "^0.3.1 || ^0.4.0"
|
|
52
|
+
"react-dom": ">=19"
|
|
53
53
|
},
|
|
54
54
|
"engines": {
|
|
55
55
|
"node": ">=22"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"
|
|
58
|
+
"html-to-image": "^1.11.0",
|
|
59
59
|
"react-markdown": "^10.0.0",
|
|
60
60
|
"remark-gfm": "^4.0.0",
|
|
61
|
-
"
|
|
61
|
+
"zustand": "^5.0.11"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@queekai/client-sdk": "^0.3.0",
|
|
65
64
|
"@types/node": "^20",
|
|
66
65
|
"@types/react": "^19",
|
|
67
66
|
"@types/react-dom": "^19",
|
|
67
|
+
"@usequeek/client-sdk": "^0.4.0",
|
|
68
68
|
"jsdom": "^28.1.0",
|
|
69
69
|
"next": "^16.0.0",
|
|
70
70
|
"react": "^19.2.3",
|
package/sdk/error-handler.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import { QueekSdkError } from '@
|
|
3
|
+
import { QueekSdkError } from '@usequeek/client-sdk';
|
|
4
4
|
import { useAuthModalStore } from '../stores/auth-modal-store';
|
|
5
5
|
import { useUserStore } from '../stores/user-store';
|
|
6
6
|
import { isReauthSuppressed } from './reauth-guard';
|
package/sdk/queek-client.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import { createQueekClient, type QueekClientInstance, type StorageAdapter } from '@
|
|
3
|
+
import { createQueekClient, type QueekClientInstance, type StorageAdapter } from '@usequeek/client-sdk';
|
|
4
4
|
import { triggerReauth } from './error-handler';
|
|
5
5
|
import { getActivePlatform } from './platform';
|
|
6
6
|
|