@akinon/next 1.108.0-rc.2 → 1.108.0-rc.4

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
@@ -1,5 +1,13 @@
1
1
  # @akinon/next
2
2
 
3
+ ## 1.108.0-rc.4
4
+
5
+ ### Minor Changes
6
+
7
+ - d8883ce: ZERO-3640: Refactor wallet completion handling to accept additional parameters; update related API calls
8
+
9
+ ## 1.108.0-rc.3
10
+
3
11
  ## 1.108.0-rc.2
4
12
 
5
13
  ### Minor Changes
@@ -497,12 +497,20 @@ export const checkoutApi = api.injectEndpoints({
497
497
  dispatch(setPaymentStepBusy(false));
498
498
  }
499
499
  }),
500
- setWalletCompletePage: build.mutation<CheckoutResponse, boolean>({
501
- query: (success: boolean) => ({
500
+ setWalletCompletePage: build.mutation<
501
+ CheckoutResponse,
502
+ {
503
+ success: boolean;
504
+ cko_payment_id?: string;
505
+ [key: string]: any;
506
+ }
507
+ >({
508
+ query: ({ success, ...additionalParams }) => ({
502
509
  url: buildClientRequestUrl(checkout.setWalletCompletePage),
503
510
  method: 'POST',
504
511
  body: {
505
- success
512
+ success,
513
+ ...additionalParams
506
514
  }
507
515
  }),
508
516
  async onQueryStarted(arg, { dispatch, queryFulfilled }) {
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.108.0-rc.2",
4
+ "version": "1.108.0-rc.4",
5
5
  "private": false,
6
6
  "license": "MIT",
7
7
  "bin": {
@@ -35,7 +35,7 @@
35
35
  "set-cookie-parser": "2.6.0"
36
36
  },
37
37
  "devDependencies": {
38
- "@akinon/eslint-plugin-projectzero": "1.108.0-rc.2",
38
+ "@akinon/eslint-plugin-projectzero": "1.108.0-rc.4",
39
39
  "@babel/core": "7.26.10",
40
40
  "@babel/preset-env": "7.26.9",
41
41
  "@babel/preset-typescript": "7.27.0",