@paydock/client-sdk 1.102.1 → 1.103.1
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/README.md +4273 -740
- package/bundles/widget.umd.js +3 -29
- package/bundles/widget.umd.min.js +1 -1
- package/lib/api/api-base.d.ts +2 -1
- package/lib/api/api-base.js +2 -1
- package/lib/api/api-base.js.map +1 -1
- package/lib/api/api-charge.d.ts +2 -2
- package/lib/api/api-charge.js +2 -1
- package/lib/api/api-charge.js.map +1 -1
- package/lib/api/api.d.ts +2 -1
- package/lib/api/api.js +2 -1
- package/lib/api/api.js.map +1 -1
- package/lib/canvas-3ds/canvas-3ds.d.ts +2 -2
- package/lib/canvas-3ds/canvas-3ds.js +2 -1
- package/lib/canvas-3ds/canvas-3ds.js.map +1 -1
- package/lib/checkout-button/afterpay/afterpay-checkout-button.d.ts +2 -1
- package/lib/checkout-button/afterpay/afterpay-checkout-button.js +2 -1
- package/lib/checkout-button/afterpay/afterpay-checkout-button.js.map +1 -1
- package/lib/checkout-button/checkout-button.d.ts +2 -1
- package/lib/checkout-button/checkout-button.js +2 -1
- package/lib/checkout-button/checkout-button.js.map +1 -1
- package/lib/checkout-button/paypal/paypal-checkout-button.d.ts +2 -1
- package/lib/checkout-button/paypal/paypal-checkout-button.js +2 -1
- package/lib/checkout-button/paypal/paypal-checkout-button.js.map +1 -1
- package/lib/checkout-button/zipmoney/zipmoney-checkout-button.d.ts +2 -1
- package/lib/checkout-button/zipmoney/zipmoney-checkout-button.js +2 -1
- package/lib/checkout-button/zipmoney/zipmoney-checkout-button.js.map +1 -1
- package/lib/components/background.d.ts +2 -1
- package/lib/components/background.js +2 -1
- package/lib/components/background.js.map +1 -1
- package/lib/configs/env/env.d.ts +0 -3
- package/lib/configs/env/env.js +0 -9
- package/lib/configs/env/env.js.map +1 -1
- package/lib/configs/sdk.js +1 -1
- package/lib/payment-source-widget/html-payment-source-widget.d.ts +2 -1
- package/lib/payment-source-widget/html-payment-source-widget.js +2 -1
- package/lib/payment-source-widget/html-payment-source-widget.js.map +1 -1
- package/lib/payment-source-widget/payment-source-widget.d.ts +2 -1
- package/lib/payment-source-widget/payment-source-widget.js +2 -1
- package/lib/payment-source-widget/payment-source-widget.js.map +1 -1
- package/lib/secure-remote-commerce/secure-remote-commerce.d.ts +2 -1
- package/lib/secure-remote-commerce/secure-remote-commerce.js +2 -1
- package/lib/secure-remote-commerce/secure-remote-commerce.js.map +1 -1
- package/lib/vault-display-widget/vault-display-widget.d.ts +2 -1
- package/lib/vault-display-widget/vault-display-widget.js +2 -1
- package/lib/vault-display-widget/vault-display-widget.js.map +1 -1
- package/lib/wallet-buttons/flypay-v2.wallet-service.js +1 -1
- package/lib/wallet-buttons/flypay-v2.wallet-service.js.map +1 -1
- package/lib/wallet-buttons/wallet-buttons.d.ts +2 -1
- package/lib/wallet-buttons/wallet-buttons.js +2 -1
- package/lib/wallet-buttons/wallet-buttons.js.map +1 -1
- package/lib/widget/configuration.d.ts +2 -1
- package/lib/widget/configuration.js +2 -1
- package/lib/widget/configuration.js.map +1 -1
- package/lib/widget/html-multi-widget.d.ts +2 -1
- package/lib/widget/html-multi-widget.js +2 -1
- package/lib/widget/html-multi-widget.js.map +1 -1
- package/lib/widget/html-widget.d.ts +2 -1
- package/lib/widget/html-widget.js +2 -1
- package/lib/widget/html-widget.js.map +1 -1
- package/lib/widget/multi-widget.d.ts +2 -1
- package/lib/widget/multi-widget.js +2 -1
- package/lib/widget/multi-widget.js.map +1 -1
- package/package.json +1 -1
package/bundles/widget.umd.js
CHANGED
|
@@ -684,7 +684,7 @@
|
|
|
684
684
|
// the empty string is set in case if version not provided.
|
|
685
685
|
//
|
|
686
686
|
// e.g: grunt build --sdk-version=v1.0.0
|
|
687
|
-
SDK._version = 'v1.
|
|
687
|
+
SDK._version = 'v1.103.1';
|
|
688
688
|
|
|
689
689
|
var ENV = {
|
|
690
690
|
SANDBOX: 'sandbox',
|
|
@@ -707,10 +707,7 @@
|
|
|
707
707
|
STAGING_12: 'staging_12',
|
|
708
708
|
STAGING_13: 'staging_13',
|
|
709
709
|
STAGING_14: 'staging_14',
|
|
710
|
-
STAGING_15: 'staging_15'
|
|
711
|
-
STAGING_CBA: 'staging_cba',
|
|
712
|
-
PREPROD_CBA: 'preproduction_cba',
|
|
713
|
-
PROD_CBA: 'production_cba'
|
|
710
|
+
STAGING_15: 'staging_15'
|
|
714
711
|
};
|
|
715
712
|
var WIDGET_URL = [{
|
|
716
713
|
env: ENV.SANDBOX,
|
|
@@ -775,15 +772,6 @@
|
|
|
775
772
|
}, {
|
|
776
773
|
env: ENV.STAGING_15,
|
|
777
774
|
url: 'https://widsta-15.'
|
|
778
|
-
}, {
|
|
779
|
-
env: ENV.STAGING_CBA,
|
|
780
|
-
url: 'https://widget.staging.powerboard.'
|
|
781
|
-
}, {
|
|
782
|
-
env: ENV.PREPROD_CBA,
|
|
783
|
-
url: 'https://widget.preproduction.powerboard.'
|
|
784
|
-
}, {
|
|
785
|
-
env: ENV.PROD_CBA,
|
|
786
|
-
url: 'https://widget.powerboard.'
|
|
787
775
|
}];
|
|
788
776
|
var API_URL = [{
|
|
789
777
|
env: ENV.SANDBOX,
|
|
@@ -839,15 +827,6 @@
|
|
|
839
827
|
}, {
|
|
840
828
|
env: ENV.STAGING_15,
|
|
841
829
|
url: 'https://apista-15.'
|
|
842
|
-
}, {
|
|
843
|
-
env: ENV.STAGING_CBA,
|
|
844
|
-
url: 'https://api.staging.powerboard.'
|
|
845
|
-
}, {
|
|
846
|
-
env: ENV.PREPROD_CBA,
|
|
847
|
-
url: 'https://api.preproduction.powerboard.'
|
|
848
|
-
}, {
|
|
849
|
-
env: ENV.PROD_CBA,
|
|
850
|
-
url: 'https://api.powerboard.'
|
|
851
830
|
}];
|
|
852
831
|
var ADDITIONAL_ENV = [ENV.SANDBOX_KOVENA, ENV.SANDBOX_DEMO_KOVENA];
|
|
853
832
|
var REGEX_ALIAS = '^([a-zA-Z0-9](?:(?:[a-zA-Z0-9-.]*(?!-)\\.(?![-.]))*[a-zA-Z0-9]+)?)$';
|
|
@@ -6275,11 +6254,6 @@
|
|
|
6275
6254
|
}]);
|
|
6276
6255
|
return CheckoutButton;
|
|
6277
6256
|
}();
|
|
6278
|
-
/**
|
|
6279
|
-
* @interface IEventCheckoutFinishData
|
|
6280
|
-
*
|
|
6281
|
-
* @param {string} [payment_source_token]
|
|
6282
|
-
*/
|
|
6283
6257
|
|
|
6284
6258
|
/**
|
|
6285
6259
|
* Class ZipmoneyCheckoutButton is wrapper of CheckoutButton transform usual button into checkout
|
|
@@ -8714,7 +8688,7 @@
|
|
|
8714
8688
|
mode: "express"
|
|
8715
8689
|
}), {
|
|
8716
8690
|
clientId: ((_a = this.meta) === null || _a === void 0 ? void 0 : _a.gateway_mode) === 'live' ? 'dbbd114e-3583-4db5-915e-59f1b3dcd08b' : '924ac1ce-00f4-44e4-8277-06cae751ef1a',
|
|
8717
|
-
url: ((_b = this.meta) === null || _b === void 0 ? void 0 : _b.gateway_mode) === 'live' ? 'https://checkout.
|
|
8691
|
+
url: ((_b = this.meta) === null || _b === void 0 ? void 0 : _b.gateway_mode) === 'live' ? 'https://checkout.cxbflypay.com.au' : 'https://checkout.sandbox.cxbflypay.com.au',
|
|
8718
8692
|
onCheckoutClosed: function onCheckoutClosed() {
|
|
8719
8693
|
var button = document.getElementById('flypay-v2-button');
|
|
8720
8694
|
if (button) button.disabled = false;
|