@ng-web-apis/payment-request
Advanced tools
Comparing version 4.1.3 to 4.2.0
{ | ||
"name": "@ng-web-apis/payment-request", | ||
"version": "4.1.3", | ||
"version": "4.2.0", | ||
"description": "This is a library for declarative use of Payment Request API with Angular", | ||
@@ -30,3 +30,3 @@ "keywords": [ | ||
"@angular/core": ">=16.0.0", | ||
"@ng-web-apis/common": ">=4.1.2", | ||
"@ng-web-apis/common": ">=4.1.3", | ||
"rxjs": ">=7.0.0" | ||
@@ -33,0 +33,0 @@ }, |
import { InjectionToken } from '@angular/core'; | ||
export declare const WA_PAYMENT_METHODS: InjectionToken<PaymentMethodData[]>; | ||
/** | ||
* @deprecated: drop in v5.0, use {@link WA_PAYMENT_METHODS} | ||
*/ | ||
export declare const PAYMENT_METHODS: InjectionToken<PaymentMethodData[]>; |
import { InjectionToken } from '@angular/core'; | ||
/** | ||
* @deprecated | ||
*/ | ||
export interface PaymentOptions { | ||
export interface WaPaymentOptions { | ||
requestBillingAddress?: boolean; | ||
@@ -14,5 +11,6 @@ requestPayerEmail?: boolean; | ||
/** | ||
* @deprecated | ||
* @deprecated: drop in v5.0, use {@link WaPaymentOptions} | ||
*/ | ||
export interface PaymentShippingOption { | ||
export type PaymentOptions = WaPaymentOptions; | ||
export interface WaPaymentShippingOption { | ||
amount: PaymentCurrencyAmount; | ||
@@ -24,4 +22,9 @@ id: string; | ||
/** | ||
* @deprecated | ||
* @deprecated: drop in v5.0, use {@link WaPaymentShippingOption} | ||
*/ | ||
export declare const PAYMENT_OPTIONS: InjectionToken<PaymentOptions>; | ||
export type PaymentShippingOption = WaPaymentShippingOption; | ||
export declare const WA_PAYMENT_OPTIONS: InjectionToken<WaPaymentOptions>; | ||
/** | ||
* @deprecated: drop in v5.0, use {@link WA_PAYMENT_OPTIONS} | ||
*/ | ||
export declare const PAYMENT_OPTIONS: InjectionToken<WaPaymentOptions>; |
@@ -7,2 +7,6 @@ import { InjectionToken } from '@angular/core'; | ||
} | ||
export declare const WA_PAYMENT_REQUEST_SUPPORT: InjectionToken<boolean>; | ||
/** | ||
* @deprecated: drop in v5.0, use {@link WA_PAYMENT_REQUEST_SUPPORT} | ||
*/ | ||
export declare const PAYMENT_REQUEST_SUPPORT: InjectionToken<boolean>; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
80894
478