@osovitny/anatoly 3.20.32 → 3.20.34
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.
|
@@ -1355,9 +1355,6 @@ class GoServiceBase {
|
|
|
1355
1355
|
this.isDevMode = IsDevMode;
|
|
1356
1356
|
this.currentApp = getCurrentApp();
|
|
1357
1357
|
}
|
|
1358
|
-
getHomeUrl() {
|
|
1359
|
-
return this.currentApp.root;
|
|
1360
|
-
}
|
|
1361
1358
|
navigate(commands, extras, reload = false) {
|
|
1362
1359
|
this.router.navigate(commands, extras).then(() => {
|
|
1363
1360
|
if (reload) {
|
|
@@ -1365,14 +1362,17 @@ class GoServiceBase {
|
|
|
1365
1362
|
}
|
|
1366
1363
|
});
|
|
1367
1364
|
}
|
|
1368
|
-
|
|
1369
|
-
|
|
1365
|
+
getHomeUrl() {
|
|
1366
|
+
return this.currentApp.root;
|
|
1370
1367
|
}
|
|
1371
1368
|
locationReload() {
|
|
1372
1369
|
window.location.reload();
|
|
1373
1370
|
}
|
|
1374
|
-
home() {
|
|
1375
|
-
this.
|
|
1371
|
+
home(reload = false) {
|
|
1372
|
+
this.navigate([this.currentApp.root], {}, reload);
|
|
1373
|
+
}
|
|
1374
|
+
dashboard(reload = false) {
|
|
1375
|
+
this.navigate([this.currentApp.root + '/dashboard'], {}, reload);
|
|
1376
1376
|
}
|
|
1377
1377
|
//Accounts
|
|
1378
1378
|
accountClosed() {
|
|
@@ -5696,6 +5696,9 @@ class BraintreeDialog extends DialogBase {
|
|
|
5696
5696
|
Created:
|
|
5697
5697
|
14 Jun 2024
|
|
5698
5698
|
|
|
5699
|
+
SDK:
|
|
5700
|
+
https://developer.paypal.com/sdk/js/configuration/#query-parameters
|
|
5701
|
+
|
|
5699
5702
|
Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
|
|
5700
5703
|
</file>
|
|
5701
5704
|
*/
|
|
@@ -6145,7 +6148,7 @@ class PaypalButtonComponent extends ComponentBase {
|
|
|
6145
6148
|
let totalPrice = this.ps.getTotal().toString();
|
|
6146
6149
|
let currency = this.ps.currency;
|
|
6147
6150
|
this.payPalConfig = {
|
|
6148
|
-
intent: '
|
|
6151
|
+
intent: 'capture',
|
|
6149
6152
|
clientId: clientId,
|
|
6150
6153
|
currency: currency,
|
|
6151
6154
|
advanced: {
|
|
@@ -6161,7 +6164,7 @@ class PaypalButtonComponent extends ComponentBase {
|
|
|
6161
6164
|
color: 'white'
|
|
6162
6165
|
},
|
|
6163
6166
|
createOrderOnClient: (data) => ({
|
|
6164
|
-
intent: '
|
|
6167
|
+
intent: 'capture',
|
|
6165
6168
|
application_context: {
|
|
6166
6169
|
shipping_preference: "NO_SHIPPING"
|
|
6167
6170
|
},
|