pinejs-client-core 8.5.51 → 8.5.52
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/.versionbot/CHANGELOG.yml +18 -1
- package/CHANGELOG.md +4 -0
- package/package.json +2 -2
- package/src/index.ts +2 -2
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
- commits:
|
|
2
|
+
- subject: Fix the swapped internal typings of `Poll` subscribers
|
|
3
|
+
hash: 78b80b07a8ac1713fec73ab4865e41496ced9a8b
|
|
4
|
+
body: |
|
|
5
|
+
The private `subscribers` field typed `error` handlers as taking the
|
|
6
|
+
response and `data` handlers as taking the error. It had no runtime
|
|
7
|
+
effect (and the public `on` overloads were correct) but meant the
|
|
8
|
+
handlers were not type checked against what they are actually called
|
|
9
|
+
with.
|
|
10
|
+
footer:
|
|
11
|
+
Change-type: patch
|
|
12
|
+
change-type: patch
|
|
13
|
+
author: Pagan Gazzard
|
|
14
|
+
nested: []
|
|
15
|
+
version: 8.5.52
|
|
16
|
+
title: ""
|
|
17
|
+
date: 2026-10-23T11:52:45.466Z
|
|
1
18
|
- commits:
|
|
2
19
|
- subject: Remove `passthroughByMethod` from the per-request `Params` typings
|
|
3
20
|
hash: f62ccf5cc7fd29977fa1601a6fa216e3f5031dec
|
|
@@ -16,7 +33,7 @@
|
|
|
16
33
|
nested: []
|
|
17
34
|
version: 8.5.51
|
|
18
35
|
title: ""
|
|
19
|
-
date: 2026-10-
|
|
36
|
+
date: 2026-10-23T11:46:00.381Z
|
|
20
37
|
- commits:
|
|
21
38
|
- subject: Disallow nested arrays in the `OrderBy` typings
|
|
22
39
|
hash: ae02190fedf74b5def15cdadb9bf2afdf5eb1a58
|
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file
|
|
|
4
4
|
automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
|
|
5
5
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
|
6
6
|
|
|
7
|
+
## 8.5.52 - 2026-10-23
|
|
8
|
+
|
|
9
|
+
* Fix the swapped internal typings of `Poll` subscribers [Pagan Gazzard]
|
|
10
|
+
|
|
7
11
|
## 8.5.51 - 2026-10-23
|
|
8
12
|
|
|
9
13
|
* Remove `passthroughByMethod` from the per-request `Params` typings [Pagan Gazzard]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pinejs-client-core",
|
|
3
|
-
"version": "8.5.
|
|
3
|
+
"version": "8.5.52",
|
|
4
4
|
"description": "This module provides the core tools to enable easier interaction with the pinejs API.",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"browser": "dist",
|
|
@@ -50,6 +50,6 @@
|
|
|
50
50
|
"_": "test/*.ts"
|
|
51
51
|
},
|
|
52
52
|
"versionist": {
|
|
53
|
-
"publishedAt": "2026-10-
|
|
53
|
+
"publishedAt": "2026-10-23T11:52:45.629Z"
|
|
54
54
|
}
|
|
55
55
|
}
|
package/src/index.ts
CHANGED
|
@@ -228,8 +228,8 @@ interface PollOnObj {
|
|
|
228
228
|
}
|
|
229
229
|
class Poll<T extends PromiseResultTypes> {
|
|
230
230
|
private subscribers: {
|
|
231
|
-
error: Array<(
|
|
232
|
-
data: Array<(
|
|
231
|
+
error: Array<(err: any) => void>;
|
|
232
|
+
data: Array<(response: T) => void>;
|
|
233
233
|
} = {
|
|
234
234
|
error: [],
|
|
235
235
|
data: [],
|