@akinon/next 1.97.0 → 1.98.0
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
CHANGED
package/data/client/checkout.ts
CHANGED
|
@@ -181,10 +181,7 @@ export const checkoutApi = api.injectEndpoints({
|
|
|
181
181
|
endpoints: (build) => ({
|
|
182
182
|
fetchCheckout: build.query<CheckoutResponse, void>({
|
|
183
183
|
query: () => ({
|
|
184
|
-
url: buildClientRequestUrl(
|
|
185
|
-
`${checkout.fetchCheckout}?page=IndexPage`,
|
|
186
|
-
{}
|
|
187
|
-
)
|
|
184
|
+
url: buildClientRequestUrl(checkout.fetchCheckout, {})
|
|
188
185
|
}),
|
|
189
186
|
providesTags: ['Checkout']
|
|
190
187
|
}),
|
|
@@ -884,8 +881,7 @@ export const checkoutApi = api.injectEndpoints({
|
|
|
884
881
|
method: 'POST',
|
|
885
882
|
body: formData
|
|
886
883
|
};
|
|
887
|
-
}
|
|
888
|
-
invalidatesTags: ['Checkout']
|
|
884
|
+
}
|
|
889
885
|
})
|
|
890
886
|
}),
|
|
891
887
|
overrideExisting: false
|
|
@@ -4,6 +4,7 @@ import { Buffer } from 'buffer';
|
|
|
4
4
|
import logger from '../utils/log';
|
|
5
5
|
import { getUrlPathWithLocale } from '../utils/localization';
|
|
6
6
|
import { PzNextRequest } from '.';
|
|
7
|
+
import { ServerVariables } from '../utils/server-variables';
|
|
7
8
|
|
|
8
9
|
const streamToString = async (stream: ReadableStream<Uint8Array> | null) => {
|
|
9
10
|
if (stream) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akinon/next",
|
|
3
3
|
"description": "Core package for Project Zero Next",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.98.0",
|
|
5
5
|
"private": false,
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"bin": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"set-cookie-parser": "2.6.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@akinon/eslint-plugin-projectzero": "1.
|
|
37
|
+
"@akinon/eslint-plugin-projectzero": "1.98.0",
|
|
38
38
|
"@babel/core": "7.26.10",
|
|
39
39
|
"@babel/preset-env": "7.26.9",
|
|
40
40
|
"@babel/preset-typescript": "7.27.0",
|