@badisi/ngx-safe-subscribe 4.0.0 → 4.0.1

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.
Files changed (2) hide show
  1. package/README.md +32 -16
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,18 +1,39 @@
1
- # @badisi/ngx-safe-subscribe
2
-
3
- Automatically unsubscribe from RxJS observables in Angular components.
4
-
5
- [![npm version](https://img.shields.io/npm/v/@badisi/ngx-safe-subscribe?color=blue&logo=npm)][npm]
6
- [![npm downloads](https://img.shields.io/npm/dw/@badisi/ngx-safe-subscribe.svg?color=7986CB&logo=npm)][npm-dl]
7
- [![license](https://img.shields.io/npm/l/@badisi/ngx-safe-subscribe.svg?color=ff69b4)][license]
8
-
9
- [![build status](https://github.com/Badisi/ngx-safe-subscribe/actions/workflows/ci_tests.yml/badge.svg)][ci-tests]
10
- [![PRs welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)][pullrequest]
1
+ <h1 align="center">
2
+ @badisi/ngx-safe-subscribe
3
+ </h1>
4
+
5
+ <p align="center">
6
+ <i>⛑️ Automatically unsubscribe from RxJS observables in Angular components.</i><br/>
7
+ </p>
8
+
9
+ <p align="center">
10
+ <a href="https://www.npmjs.com/package/@badisi/ngx-safe-subscribe">
11
+ <img src="https://img.shields.io/npm/v/@badisi/ngx-safe-subscribe?color=blue&logo=npm" alt="npm version" />
12
+ </a>
13
+ <a href="https://npmcharts.com/compare/@badisi/ngx-safe-subscribe?minimal=true">
14
+ <img src="https://img.shields.io/npm/dw/@badisi/ngx-safe-subscribe.svg?color=7986CB&logo=npm" alt="npm donwloads" />
15
+ </a>
16
+ <a href="https://github.com/Badisi/ngx-safe-subscribe/blob/main/LICENSE">
17
+ <img src="https://img.shields.io/npm/l/@badisi/ngx-safe-subscribe.svg?color=ff69b4" alt="license" />
18
+ </a>
19
+ </p>
20
+
21
+ <p align="center">
22
+ <a href="https://github.com/Badisi/ngx-safe-subscribe/actions/workflows/ci_tests.yml">
23
+ <img src="https://github.com/Badisi/ngx-safe-subscribe/actions/workflows/ci_tests.yml/badge.svg" alt="build status" />
24
+ </a>
25
+ <a href="https://github.com/badisi/ngx-safe-subscribe/blob/main/CONTRIBUTING.md#-submitting-a-pull-request-pr">
26
+ <img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" alt="PRs welcome" />
27
+ </a>
28
+ </p>
29
+
30
+ <hr/>
11
31
 
12
32
  :zap: *Angular <= 13 version available [here](https://github.com/Badisi/ngx-safe-subscribe/releases/tag/2.2.9)*
13
33
 
14
34
  :zap: *RxJS 5.x version available [here](https://github.com/Badisi/ngx-safe-subscribe/tree/rxjs-5x)*
15
35
 
36
+ <hr/>
16
37
 
17
38
  ## Installation
18
39
 
@@ -73,7 +94,7 @@ export class MyObject {
73
94
 
74
95
  __Arguments__
75
96
 
76
- * `destructorName: string` *(default: "ngOnDestroy")* - The name of the method that will called when the object is supposed to be destroyed.
97
+ * `destructorName: string` *(default: "ngOnDestroy")* - The name of the method that will be called when the object is supposed to be destroyed.
77
98
 
78
99
  ---
79
100
 
@@ -130,10 +151,5 @@ Please read and follow the [Code of Conduct][codeofconduct] and help me keep thi
130
151
 
131
152
 
132
153
 
133
- [npm]: https://www.npmjs.com/package/@badisi/ngx-safe-subscribe
134
- [npm-dl]: https://npmcharts.com/compare/@badisi/ngx-safe-subscribe?minimal=true
135
- [ci-tests]: https://github.com/Badisi/ngx-safe-subscribe/actions/workflows/ci_tests.yml
136
- [pullrequest]: https://github.com/badisi/ngx-safe-subscribe/blob/main/CONTRIBUTING.md#-submitting-a-pull-request-pr
137
- [license]: https://github.com/Badisi/ngx-safe-subscribe/blob/main/LICENSE
138
154
  [contributing]: https://github.com/badisi/latest-version/blob/main/CONTRIBUTING.md
139
155
  [codeofconduct]: https://github.com/badisi/latest-version/blob/main/CODE_OF_CONDUCT.md
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@badisi/ngx-safe-subscribe",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "description": "Easy way to automatically unsubscribe from RxJS observables in Angular components",
5
5
  "homepage": "https://github.com/badisi/ngx-safe-subscribe",
6
6
  "license": "MIT",