Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ng-web-apis/payment-request

Package Overview
Dependencies
Maintainers
0
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ng-web-apis/payment-request - npm Package Compare versions

Comparing version 4.1.3 to 4.2.0

4

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc