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
4
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 3.0.5 to 3.0.6

2

package.json
{
"name": "@ng-web-apis/payment-request",
"version": "3.0.5",
"version": "3.0.6",
"description": "This is a library for declarative use of Payment Request API with Angular",

@@ -5,0 +5,0 @@ "keywords": [

@@ -48,7 +48,20 @@ # ![ng-web-apis logo](https://raw.githubusercontent.com/taiga-family/ng-web-apis/main/libs/payment-request/logo.svg) Payment Request API for Angular

```html
<div waPayment [paymentTotal]="total">
<div *ngFor="let item of items" waPaymentItem [paymentLabel]="item.label" [paymentAmount]="item.amount">
<div
waPayment
[paymentTotal]="total"
>
<div
*ngFor="let item of items"
waPaymentItem
[paymentLabel]="item.label"
[paymentAmount]="item.amount"
>
{{item.label}} ({{item.amount}})
</div>
<button (waPaymentSubmit)="onPaymentSubmit($event)" (waPaymentError)="onPaymentError($event)">Buy</button>
<button
(waPaymentSubmit)="onPaymentSubmit($event)"
(waPaymentError)="onPaymentError($event)"
>
Buy
</button>
</div>

@@ -84,3 +97,8 @@ ```

```html
<any-element waPayment [paymentTotal]="total">...</any-element>
<any-element
waPayment
[paymentTotal]="total"
>
...
</any-element>
```

@@ -115,4 +133,12 @@

```html
<any-element waPayment [paymentTotal]="total">
<any-element *ngFor="let item of items" waPaymentItem [paymentLabel]="item.label" [paymentAmount]="item.amount">
<any-element
waPayment
[paymentTotal]="total"
>
<any-element
*ngFor="let item of items"
waPaymentItem
[paymentLabel]="item.label"
[paymentAmount]="item.amount"
>
{{item.label}}

@@ -145,5 +171,13 @@ </any-element>

```html
<any-element waPayment [paymentTotal]="total">
<any-element
waPayment
[paymentTotal]="total"
>
...
<button (waPaymentSubmit)="onPayment($event)" (waPaymentError)="onPaymentError($event)">Buy</button>
<button
(waPaymentSubmit)="onPayment($event)"
(waPaymentError)="onPaymentError($event)"
>
Buy
</button>
</any-element>

@@ -150,0 +184,0 @@ ```

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