@jscutlery/operators 0.2.0 → 0.2.2

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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,19 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [0.2.2](https://github.com/jscutlery/devkit/compare/operators-0.2.1...operators-0.2.2) (2023-01-16)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **operators:** 🏷️ fix typing errors ([91c084c](https://github.com/jscutlery/devkit/commit/91c084c29c6ad760376c10bc17004a2bfcd3a306))
11
+
12
+
13
+
14
+ ## [0.2.1](https://github.com/jscutlery/devkit/compare/operators-0.2.0...operators-0.2.1) (2022-12-26)
15
+
16
+
17
+
5
18
  # [0.2.0](https://github.com/jscutlery/devkit/compare/operators-0.1.8...operators-0.2.0) (2022-12-02)
6
19
 
7
20
 
package/README.md CHANGED
@@ -124,7 +124,7 @@ export class MyComponent {
124
124
 
125
125
  ## Alternatives
126
126
 
127
- - [@rx-angular/state's rxLet](https://github.com/rx-angular/rx-angular/blob/master/libs/template/docs/api/let-directive.md#using-the-template-binding)
127
+ - [@rx-angular/state's rxLet](https://www.rx-angular.io/docs/template/api/let-directive)
128
128
 
129
129
  ## F.A.Q.
130
130
 
package/index.cjs CHANGED
@@ -1119,7 +1119,7 @@ function _suspensify(projector) {
1119
1119
  finalized,
1120
1120
  pending: false
1121
1121
  };
1122
- }, undefined), operators.startWith(initialState));
1122
+ }, initialState), operators.startWith(initialState));
1123
1123
  return projector != null ? result$.pipe(operators.map(projector)) : result$;
1124
1124
  };
1125
1125
  }
package/index.js CHANGED
@@ -1115,7 +1115,7 @@ function _suspensify(projector) {
1115
1115
  finalized,
1116
1116
  pending: false
1117
1117
  };
1118
- }, undefined), startWith(initialState));
1118
+ }, initialState), startWith(initialState));
1119
1119
  return projector != null ? result$.pipe(map(projector)) : result$;
1120
1120
  };
1121
1121
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jscutlery/operators",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "repository": {
5
5
  "url": "https://github.com/jscutlery/devkit"
6
6
  },
@@ -10,5 +10,5 @@
10
10
  "module": "./index.js",
11
11
  "main": "./index.cjs",
12
12
  "type": "module",
13
- "types": "./index.d.ts"
13
+ "types": "./src/index.d.ts"
14
14
  }
File without changes
@@ -14,3 +14,4 @@ export interface Suspense<T> {
14
14
  */
15
15
  export declare function suspensify<T, R = Suspense<T>>(): OperatorFunction<T, R>;
16
16
  export declare function suspensify<T, R>(projector: (data: Suspense<T>) => R): OperatorFunction<T, R>;
17
+ export declare function suspensify<T, R = Suspense<T>>(projector?: (data: Suspense<T>) => R): OperatorFunction<T, R | Suspense<T>>;