@bbki.ng/site 5.6.4 → 5.6.6
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
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @bbki.ng/site
|
|
2
2
|
|
|
3
|
+
## 5.6.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- dbd0dae: fix url key
|
|
8
|
+
|
|
9
|
+
## 5.6.5
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- fdefcf5: fix btn font
|
|
14
|
+
- Updated dependencies [fdefcf5]
|
|
15
|
+
- @bbki.ng/ui@0.2.19
|
|
16
|
+
|
|
3
17
|
## 5.6.4
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bbki.ng/site",
|
|
3
|
-
"version": "5.6.
|
|
3
|
+
"version": "5.6.6",
|
|
4
4
|
"description": "code behind bbki.ng",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"react-dom": "^18.0.0",
|
|
15
15
|
"react-router-dom": "6",
|
|
16
16
|
"swr": "^2.2.5",
|
|
17
|
-
"@bbki.ng/ui": "0.2.
|
|
17
|
+
"@bbki.ng/ui": "0.2.19"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@eslint/compat": "^1.0.0",
|
|
@@ -27,11 +27,11 @@ export interface StreamingQueryParams {
|
|
|
27
27
|
|
|
28
28
|
// SWR key generator for streaming queries
|
|
29
29
|
const getStreamingKey = (params: StreamingQueryParams) => {
|
|
30
|
-
const parts = [
|
|
30
|
+
const parts = [];
|
|
31
31
|
if (params.before) parts.push(`before=${params.before}`);
|
|
32
32
|
if (params.after) parts.push(`after=${params.after}`);
|
|
33
33
|
if (params.offset) parts.push(`offset=${params.offset}`);
|
|
34
|
-
return parts;
|
|
34
|
+
return 'streaming?' + parts.join('&');
|
|
35
35
|
};
|
|
36
36
|
|
|
37
37
|
interface UseStreamingOptions {
|