evg_observable 1.12.51 → 1.12.53

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 +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -260,7 +260,7 @@ observable$.next(TARGET_DATA);
260
260
 
261
261
  To convert the observable's data to JSON format, you can use the serialize method. This method turns the observer's
262
262
  input data into a JSON string before sending them to subscribers.
263
- Return Value: An ISetup<string> object
263
+ Return Value: An ISetup&lt;string&gt; object
264
264
  Usage Example:
265
265
 
266
266
  ```ts
@@ -280,11 +280,11 @@ observable
280
280
  observable.next(rawObject);
281
281
  ```
282
282
 
283
- ### pipe().serialize()
283
+ ### pipe().deserialize&lt;K&gt;()
284
284
 
285
285
  The deserialize method is used to convert data received from the observer from a JSON string back into a JavaScript
286
286
  object.
287
- Return Value: An ISetup<K> object, where K is the type of data resulting from the transformation.
287
+ Return Value: An ISetup&lt;K&gt; object, where K is the type of data resulting from the transformation.
288
288
  Usage Example:
289
289
 
290
290
  ```ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evg_observable",
3
- "version": "1.12.51",
3
+ "version": "1.12.53",
4
4
  "description": "Alternative fast and light library version - observable.",
5
5
  "directories": {
6
6
  "test": "test"