@akinon/pz-tamara-extension 1.82.0 → 2.0.0-beta.7

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/pz-tamara-extension
2
2
 
3
+ ## 2.0.0-beta.7
4
+
5
+ ## 2.0.0-beta.6
6
+
7
+ ### Minor Changes
8
+
9
+ - 8f05f9b: ZERO-3250: Beta branch synchronized with Main branch
10
+
3
11
  ## 1.82.0
4
12
 
5
13
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akinon/pz-tamara-extension",
3
- "version": "1.82.0",
3
+ "version": "2.0.0-beta.7",
4
4
  "license": "MIT",
5
5
  "main": "src/index.tsx",
6
6
  "peerDependencies": {
@@ -7,12 +7,12 @@ type FormComponentProps = {
7
7
  context: any;
8
8
  };
9
9
 
10
- const FormComponent = ({
10
+ const FormComponent = async ({
11
11
  extensionUrl,
12
12
  sessionId,
13
13
  context
14
14
  }: FormComponentProps) => {
15
- const nextCookies = cookies();
15
+ const nextCookies = await cookies();
16
16
 
17
17
  const extensionUrlWithoutSlash = `${extensionUrl}`.endsWith('/')
18
18
  ? extensionUrl.slice(0, -1)
@@ -28,7 +28,7 @@ export const TamaraPaymentGateway = async ({
28
28
  return <></>;
29
29
  }
30
30
 
31
- const nextCookies = cookies();
31
+ const nextCookies = await cookies();
32
32
 
33
33
  const language = settings.localization.locales.find(
34
34
  (item) => item.value === locale