@avine/rx-data-store
Advanced tools
Comparing version 0.1.4 to 0.1.5
import { Observable } from 'rxjs'; | ||
export declare type Mutation<T, R> = [R, ((data: T, response: R) => T) | undefined]; | ||
export type Mutation<T, R> = [R, ((data: T, response: R) => T) | undefined]; | ||
export declare class RequestsQueue<T, R> { | ||
@@ -4,0 +4,0 @@ private requestsCount; |
{ | ||
"name": "@avine/rx-data-store", | ||
"description": "From data source to reactive data store.", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"private": false, | ||
@@ -23,3 +23,3 @@ "repository": { | ||
"peerDependencies": { | ||
"rxjs": "^7.5.0" | ||
"rxjs": ">= 7.5.0" | ||
}, | ||
@@ -29,7 +29,3 @@ "dependencies": { | ||
}, | ||
"module": "fesm2015/avine-rx-data-store.mjs", | ||
"es2020": "fesm2020/avine-rx-data-store.mjs", | ||
"esm2020": "esm2020/avine-rx-data-store.mjs", | ||
"fesm2020": "fesm2020/avine-rx-data-store.mjs", | ||
"fesm2015": "fesm2015/avine-rx-data-store.mjs", | ||
"module": "fesm2022/avine-rx-data-store.mjs", | ||
"typings": "index.d.ts", | ||
@@ -42,7 +38,5 @@ "exports": { | ||
"types": "./index.d.ts", | ||
"esm2020": "./esm2020/avine-rx-data-store.mjs", | ||
"es2020": "./fesm2020/avine-rx-data-store.mjs", | ||
"es2015": "./fesm2015/avine-rx-data-store.mjs", | ||
"node": "./fesm2015/avine-rx-data-store.mjs", | ||
"default": "./fesm2020/avine-rx-data-store.mjs" | ||
"esm2022": "./esm2022/avine-rx-data-store.mjs", | ||
"esm": "./esm2022/avine-rx-data-store.mjs", | ||
"default": "./fesm2022/avine-rx-data-store.mjs" | ||
} | ||
@@ -49,0 +43,0 @@ }, |
@@ -18,4 +18,4 @@ # rx-data-store | ||
```ts | ||
import { HttpClient } from '@angular/common/http'; | ||
import { Injectable } from '@angular/core'; | ||
import { HttpClient } from '@angular/common/http'; | ||
@@ -35,4 +35,4 @@ @Injectable() | ||
```ts | ||
import { Component, Injectable, OnInit } from '@angular/core'; | ||
import { map, ReplaySubject, tap } from 'rxjs'; | ||
import { Component, Injectable, OnInit } from '@angular/core'; | ||
@@ -50,3 +50,3 @@ @Injectable() | ||
tap((user) => this._user$.next(user)), | ||
map(() => undefined) // Force the developer to get the user data from `user$` | ||
map(() => undefined), // Force the developer to get the user data from `user$` | ||
); | ||
@@ -53,0 +53,0 @@ } |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
74049
12
678
1