@bloonio/lokotro-pay 1.3.0 → 1.5.0
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bloonio/lokotro-pay",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"description": "Angular SDK for Lokotro Pay - Clean white-surface payment checkout with themeable brand colors and support for cards, mobile money, e-wallets, and more.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"url": "https://github.com/bloonio/lokotro-pay-angular.git"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"@angular/common": "^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0",
|
|
22
|
-
"@angular/core": "^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0",
|
|
23
|
-
"@angular/forms": "^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0",
|
|
21
|
+
"@angular/common": "^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0 || ^22.0.0",
|
|
22
|
+
"@angular/core": "^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0 || ^22.0.0",
|
|
23
|
+
"@angular/forms": "^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0 || ^22.0.0",
|
|
24
24
|
"rxjs": "^7.8.0"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
@@ -1437,6 +1437,33 @@ declare class LokotroPayEnv {
|
|
|
1437
1437
|
static reset(): void;
|
|
1438
1438
|
}
|
|
1439
1439
|
|
|
1440
|
+
/**
|
|
1441
|
+
* Lokotro Pay - Feature Flags
|
|
1442
|
+
*
|
|
1443
|
+
* Compile-time switches for capabilities that are partially wired into the SDK
|
|
1444
|
+
* but not yet ready to expose to end users. Flip a flag to `true` once the
|
|
1445
|
+
* feature is implemented end-to-end.
|
|
1446
|
+
*/
|
|
1447
|
+
|
|
1448
|
+
declare const LOKOTRO_PAY_FEATURE_FLAGS: {
|
|
1449
|
+
/**
|
|
1450
|
+
* Native wallet payments — Google Pay and Apple Pay.
|
|
1451
|
+
*
|
|
1452
|
+
* The models and method-flag plumbing already understand these methods, but
|
|
1453
|
+
* the native tokenisation flows are not implemented end-to-end yet. While
|
|
1454
|
+
* this is `false` the SDK hides Google Pay / Apple Pay from the
|
|
1455
|
+
* payment-method selection UI so they can never be shown or selected. Set to
|
|
1456
|
+
* `true` once the native integrations are complete.
|
|
1457
|
+
*/
|
|
1458
|
+
readonly nativeWalletsEnabled: false;
|
|
1459
|
+
};
|
|
1460
|
+
/**
|
|
1461
|
+
* Returns the payment methods that should be visible to the user, dropping any
|
|
1462
|
+
* hidden behind a disabled feature flag (currently Google / Apple Pay). The
|
|
1463
|
+
* list is returned unchanged once the relevant flag is enabled.
|
|
1464
|
+
*/
|
|
1465
|
+
declare function visiblePaymentMethods(methods: LokotroPaymentMethod[]): LokotroPaymentMethod[];
|
|
1466
|
+
|
|
1440
1467
|
/**
|
|
1441
1468
|
* Lokotro Pay - Payment Status Component
|
|
1442
1469
|
* Entry point for tracking payment status by payment ID only
|
|
@@ -1567,5 +1594,5 @@ declare class LokotroPaymentStatusComponent implements OnInit, OnDestroy {
|
|
|
1567
1594
|
static ɵcmp: i0.ɵɵComponentDeclaration<LokotroPaymentStatusComponent, "lokotro-payment-status", never, { "statusConfig": { "alias": "statusConfig"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; }; }, { "statusChange": "statusChange"; "paymentComplete": "paymentComplete"; "paymentFailed": "paymentFailed"; "onClose": "onClose"; "onDoneEvent": "onDoneEvent"; }, never, never, true, never>;
|
|
1568
1595
|
}
|
|
1569
1596
|
|
|
1570
|
-
export { LOKOTRO_ENV_CONFIG, LOKOTRO_PAY_CONFIG, LokotroHttpClientService, LokotroLoadingComponent, LokotroLocalizationService, LokotroOtpVerificationComponent, LokotroPayApiResponseCode, LokotroPayApiResponseCodeInfo, LokotroPayChannel, LokotroPayChannelInfo, LokotroPayCheckoutComponent, LokotroPayColors, LokotroPayEnv, LokotroPayFillingInfo, LokotroPayLanguage, LokotroPayLanguageInfo, LokotroPayModule, LokotroPayResultScreen, LokotroPayScreenNavigation, LokotroPayScreenNavigationInfo, LokotroPaymentFormComponent, LokotroPaymentMethodSelectionComponent, LokotroPaymentService, LokotroPaymentStatus, LokotroPaymentStatusComponent, LokotroProcessingComponent, LokotroResultComponent };
|
|
1597
|
+
export { LOKOTRO_ENV_CONFIG, LOKOTRO_PAY_CONFIG, LOKOTRO_PAY_FEATURE_FLAGS, LokotroHttpClientService, LokotroLoadingComponent, LokotroLocalizationService, LokotroOtpVerificationComponent, LokotroPayApiResponseCode, LokotroPayApiResponseCodeInfo, LokotroPayChannel, LokotroPayChannelInfo, LokotroPayCheckoutComponent, LokotroPayColors, LokotroPayEnv, LokotroPayFillingInfo, LokotroPayLanguage, LokotroPayLanguageInfo, LokotroPayModule, LokotroPayResultScreen, LokotroPayScreenNavigation, LokotroPayScreenNavigationInfo, LokotroPaymentFormComponent, LokotroPaymentMethodSelectionComponent, LokotroPaymentService, LokotroPaymentStatus, LokotroPaymentStatusComponent, LokotroProcessingComponent, LokotroResultComponent, visiblePaymentMethods };
|
|
1571
1598
|
export type { LokotroCheckoutConfig, LokotroHttpResponse, LokotroMerchantInfo, LokotroOtpVerifyRequest, LokotroOtpVerifyResponse, LokotroPayConfig, LokotroPayError, LokotroPayOnError, LokotroPayOnResponse, LokotroPayResponse, LokotroPayThemeConfig, LokotroPaymentBody, LokotroPaymentFormData, LokotroPaymentInfo, LokotroPaymentMethod, LokotroPaymentMethodListItem, LokotroPaymentStatusConfig, LokotroPaymentStatusResponse, LokotroPaymentSubmitRequest, LokotroPaymentSubmitResponse, LokotroTransactionDetails };
|