ngx-stripe
Advanced tools
Comparing version 6.1.0 to 6.1.1
{ | ||
"name": "ngx-stripe", | ||
"version": "6.1.0", | ||
"version": "6.1.1", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
@@ -1,4 +0,4 @@ | ||
An Angular 4+ wrapper for StripeJS elements | ||
An Angular 6+ wrapper for StripeJS elements | ||
[![version](https://img.shields.io/npm/v/ngx-stripe.svg)](https://www.npmjs.com/package/ngx-stripe) | ||
[![version](https://img.shields.io/npm/v/ngx-stripe/v6-lts.svg)](https://www.npmjs.com/package/ngx-stripe) | ||
[![license](https://img.shields.io/npm/l/express.svg)](https://www.npmjs.com/package/ngx-stripe) | ||
@@ -11,2 +11,8 @@ | ||
Ngx Stripe is a thin wrapper around [`Stripe Elements`](https://stripe.com/docs/stripe-js). It allows adding Elements to any Angular app. | ||
The [`StripeJS Reference`](https://stripe.com/docs/js) covers complete Elements customization details. | ||
You can use Elements with any Stripe product to collect online payments. To find the right integration path for your business, explore [`Stripe Docs`](https://stripe.com/docs/stripe-js). | ||
- Learn how to use `ngx-stripe` on the **new** [docs site](https://richnologies.gitbook.io/ngx-stripe/) 🤓 | ||
## Notice | ||
@@ -21,4 +27,5 @@ | ||
5. Added [`Container Style`](https://stripe.com/docs/js/element/the_element_container) functionality support | ||
6. All documentation has been moved to a new [site](https://richnologies.gitbook.io/ngx-stripe/) | ||
7. A [`Migration`](https://github.com/richnologies/ngx-stripe/blob/main/MIGRATION.md) guide has been added with details of what have changed | ||
6. A [`Migration`](https://github.com/richnologies/ngx-stripe/blob/main/MIGRATION.md) guide has been added with details of what have changed | ||
7. The new version of library is compatible from Angular 6+ major versions. Check the `Installation` section see how to install an older version. | ||
8. All documentation has been moved to a new [site](https://richnologies.gitbook.io/ngx-stripe/) | ||
@@ -43,6 +50,6 @@ Finally, in order to ease the transition, we are naming the old version of the library `legacy` and we have created some `npm tags` to make it easy to install older versions. | ||
To install an specific version for an older Angular major, use the lts npm tags or check the table below to pick the right version, for example, for v8: | ||
To install an specific version for an older Angular major, use the lts npm tags or check the table below to pick the right version, for example, for v6: | ||
```bash | ||
$ npm install ngx-stripe@v8-lts @stripe/stripe-js | ||
$ npm install ngx-stripe@v6-lts @stripe/stripe-js | ||
``` | ||
@@ -52,6 +59,6 @@ | ||
To install some of the older versions of the library use the legacy npm tags or check the table below to pick the right version, for example, for v7: | ||
To install some of the older versions of the library use the legacy npm tags or check the table below to pick the right version, for example, for v6: | ||
```bash | ||
$ npm install ngx-stripe@v7-legacy | ||
$ npm install ngx-stripe@v6-legacy | ||
``` | ||
@@ -61,11 +68,11 @@ | ||
| Angular | ngx-stripe (legacy) | ngx-stripe | | ||
| ------- | ------------------------- | --------------- | | ||
| 10 | **Not Available** | v10-lts / 10.x+ | | ||
| 9 | v9-legacy / 9.0.x+ | v9-lts / 9.1.x+ | | ||
| 8 | v8-legacy / 7.4.4+ | v8-lts / 8.1.x+ | | ||
| 7 | v7-legacy / 7.x+ | v7-lts / 7.5.x+ | | ||
| 6 | v6-legacy / 0.6.x | v6-lts / 6.1.x+ | | ||
| 5 | v5-legacy / 0.5.x or less | v5-lts / 5.1.x+ | | ||
| 4 | v4-legacy / 0.4.x or less | v4-lts / 4.1.x+ | | ||
| Angular | ngx-stripe (legacy) | ngx-stripe | | ||
| ------- | ------------------- | ----------------- | | ||
| 10 | **Not Available** | v10-lts / 10.x+ | | ||
| 9 | v9-legacy / 9.0.x+ | v9-lts / 9.1.x+ | | ||
| 8 | v8-legacy / 7.4.4+ | v8-lts / 8.1.x+ | | ||
| 7 | v7-legacy / 7.x+ | v7-lts / 7.5.x+ | | ||
| 6 | v6-legacy / 0.6.x | v6-lts / 6.1.x+ | | ||
| 5 | 0.5.x or less | **Not Available** | | ||
| 4 | 0.4.x or less | **Not Available** | | ||
@@ -76,3 +83,3 @@ --- | ||
Most of the documentation has been moved to a new [site](https://richnologies.gitbook.io/ngx-stripe/). We just leave here a very basic examples on getting started. Please check the docs for more details: | ||
Most of the documentation has been moved to a new [site](https://richnologies.gitbook.io/ngx-stripe/). Only a very basic example has been leave here: | ||
@@ -150,3 +157,3 @@ Import the `NgxStripeModule` into your application | ||
export class StripeCreateTokenComponent implements OnInit { | ||
@ViewChild(StripeCardComponent) card: StripeCardComponent; | ||
@ViewChild(StripeCardComponent, { static: false }) card: StripeCardComponent; | ||
@@ -153,0 +160,0 @@ cardOptions: StripeCardElementOptions = { |
1320872
202