Skip to content

Commit 51cd48c

Browse files
authored
Merge pull request #35 from pronamic/15-use-npm-for-adyenadyen-web
15 use npm for adyenadyen web
2 parents 1be342b + f656126 commit 51cd48c

File tree

7 files changed

+21079
-21
lines changed

7 files changed

+21079
-21
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
/.settings
1515

1616
# Node.js
17-
/package-lock.json
1817
/node_modules/
1918

2019
# PHPLint

js/dist/checkout-drop-in.asset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array(), 'version' => 'a82e7c6c447f5f0921e1');
1+
<?php return array('dependencies' => array(), 'version' => '7484a0414b1b91cf7b60');

js/dist/checkout-drop-in.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/src/checkout-drop-in.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
/* global AdyenCheckout, pronamicPayAdyenCheckout */
1+
/* global pronamicPayAdyenCheckout */
2+
3+
import { AdyenCheckout, Dropin } from '@adyen/adyen-web/auto'
24

35
/**
46
* Adyen checkout error definition.
@@ -51,8 +53,6 @@
5153
},
5254
};
5355

54-
const { AdyenCheckout, Dropin } = window.AdyenWeb;
55-
5656
const checkout = await AdyenCheckout( configuration );
5757

5858
const dropin = new Dropin(

0 commit comments

Comments
 (0)