@httpstate/typescript 0.0.40 → 0.0.41

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 +5 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -30,7 +30,7 @@ and retrieve it with
30
30
  const data = await httpstate.get('45fb36540e9244daaa21ca409c6bdab3');
31
31
  ```
32
32
 
33
- You can also get real-time updates
33
+ You can also get realtime updates
34
34
 
35
35
  ```typescript
36
36
  const hs = httpstate('45fb36540e9244daaa21ca409c6bdab3');
@@ -86,14 +86,14 @@ That's it! 🐙
86
86
  <br>
87
87
 
88
88
  - `<HttpState>.addEventListener(type, callback)`
89
- Subscribe to real-time updates (alias for `on`).
89
+ Subscribe to realtime updates (alias for `on`).
90
90
  - `<HttpState>.off(type, callback)`
91
- Unsubscribe from real-time updates.
91
+ Unsubscribe from realtime updates.
92
92
  - `<HttpState>.on(type, callback)`
93
- Subscribe to real-time updates.
93
+ Subscribe to realtime updates.
94
94
  - `change`: fired when state data changes. Callback receives current data as argument.
95
95
  - `<HttpState>.removeEventListener(type, callback)`
96
- Unsubscribe from real-time updates (alias for `off`).
96
+ Unsubscribe from realtime updates (alias for `off`).
97
97
 
98
98
  <br>
99
99
 
package/package.json CHANGED
@@ -25,5 +25,5 @@
25
25
  },
26
26
  "type": "module",
27
27
  "types": "dist/index.d.ts",
28
- "version": "0.0.40"
28
+ "version": "0.0.41"
29
29
  }