straumur-web-component 0.3.7 → 0.3.8

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/dist/index.cjs CHANGED
@@ -1362,6 +1362,7 @@ function GooglePayComponent({ configuration, paymentMethods }) {
1362
1362
  currency: paymentMethods.currency
1363
1363
  },
1364
1364
  onError: handleOnError,
1365
+ onAdditionalDetails: handleOnSubmitAdditionalData,
1365
1366
  onPaymentCompleted: (data, _) => {
1366
1367
  console.log("Adyen Payment completed", data);
1367
1368
  configuration.onPaymentCompleted?.();
@@ -1380,7 +1381,6 @@ function GooglePayComponent({ configuration, paymentMethods }) {
1380
1381
  countryCode: "IS",
1381
1382
  environment: configuration.environment,
1382
1383
  onSubmit: handleOnSubmit,
1383
- onAdditionalDetails: handleOnSubmitAdditionalData,
1384
1384
  onPaymentCompleted: (data, _) => {
1385
1385
  console.log("GooglePay Payment completed", data);
1386
1386
  configuration.onPaymentCompleted?.();
package/dist/index.mjs CHANGED
@@ -1342,6 +1342,7 @@ function GooglePayComponent({ configuration, paymentMethods }) {
1342
1342
  currency: paymentMethods.currency
1343
1343
  },
1344
1344
  onError: handleOnError,
1345
+ onAdditionalDetails: handleOnSubmitAdditionalData,
1345
1346
  onPaymentCompleted: (data, _) => {
1346
1347
  console.log("Adyen Payment completed", data);
1347
1348
  configuration.onPaymentCompleted?.();
@@ -1360,7 +1361,6 @@ function GooglePayComponent({ configuration, paymentMethods }) {
1360
1361
  countryCode: "IS",
1361
1362
  environment: configuration.environment,
1362
1363
  onSubmit: handleOnSubmit,
1363
- onAdditionalDetails: handleOnSubmitAdditionalData,
1364
1364
  onPaymentCompleted: (data, _) => {
1365
1365
  console.log("GooglePay Payment completed", data);
1366
1366
  configuration.onPaymentCompleted?.();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "straumur-web-component",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "license": "MIT",
5
5
  "homepage": "https://docs.straumur.is",
6
6
  "type": "module",