@lightsparkdev/core 1.1.0 → 1.2.0
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 +6 -0
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/requester/Query.ts +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -135,7 +135,7 @@ type Query<T> = {
|
|
|
135
135
|
* The function that will be called to construct the object from the
|
|
136
136
|
* response. *
|
|
137
137
|
*/
|
|
138
|
-
constructObject: (rawData: any) => T;
|
|
138
|
+
constructObject: (rawData: any) => T | null;
|
|
139
139
|
/** The id of the node that will be used to sign the query. **/
|
|
140
140
|
signingNodeId?: string;
|
|
141
141
|
/** True if auth headers should be omitted for this query. **/
|
package/dist/index.d.ts
CHANGED
|
@@ -135,7 +135,7 @@ type Query<T> = {
|
|
|
135
135
|
* The function that will be called to construct the object from the
|
|
136
136
|
* response. *
|
|
137
137
|
*/
|
|
138
|
-
constructObject: (rawData: any) => T;
|
|
138
|
+
constructObject: (rawData: any) => T | null;
|
|
139
139
|
/** The id of the node that will be used to sign the query. **/
|
|
140
140
|
signingNodeId?: string;
|
|
141
141
|
/** True if auth headers should be omitted for this query. **/
|
package/package.json
CHANGED
package/src/requester/Query.ts
CHANGED
|
@@ -11,7 +11,7 @@ type Query<T> = {
|
|
|
11
11
|
* The function that will be called to construct the object from the
|
|
12
12
|
* response. *
|
|
13
13
|
*/
|
|
14
|
-
constructObject: (rawData: any) => T; // eslint-disable-line @typescript-eslint/no-explicit-any -- LIG-3400
|
|
14
|
+
constructObject: (rawData: any) => T | null; // eslint-disable-line @typescript-eslint/no-explicit-any -- LIG-3400
|
|
15
15
|
|
|
16
16
|
/** The id of the node that will be used to sign the query. **/
|
|
17
17
|
signingNodeId?: string;
|