@xh/hoist 68.0.0-SNAPSHOT.1726067879775 → 68.0.0-SNAPSHOT.1726237236739
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/admin/columns/Tracking.ts +2 -1
- package/build/types/core/XH.d.ts +5 -0
- package/core/XH.ts +8 -0
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
package/build/types/core/XH.d.ts
CHANGED
|
@@ -123,6 +123,11 @@ export declare class XHApi {
|
|
|
123
123
|
* @see FetchService.fetchJson
|
|
124
124
|
*/
|
|
125
125
|
fetchJson(opts: FetchOptions): Promise<any>;
|
|
126
|
+
/**
|
|
127
|
+
* Send a POST request with a JSON body and decode the response as JSON.
|
|
128
|
+
* @see FetchService.postJson
|
|
129
|
+
*/
|
|
130
|
+
postJson(opts: FetchOptions): Promise<any>;
|
|
126
131
|
/**
|
|
127
132
|
* Read soft configuration values.
|
|
128
133
|
* @see ConfigService.get
|
package/core/XH.ts
CHANGED
|
@@ -272,6 +272,14 @@ export class XHApi {
|
|
|
272
272
|
return this.fetchService.fetchJson(opts);
|
|
273
273
|
}
|
|
274
274
|
|
|
275
|
+
/**
|
|
276
|
+
* Send a POST request with a JSON body and decode the response as JSON.
|
|
277
|
+
* @see FetchService.postJson
|
|
278
|
+
*/
|
|
279
|
+
postJson(opts: FetchOptions): Promise<any> {
|
|
280
|
+
return this.fetchService.postJson(opts);
|
|
281
|
+
}
|
|
282
|
+
|
|
275
283
|
/**
|
|
276
284
|
* Read soft configuration values.
|
|
277
285
|
* @see ConfigService.get
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xh/hoist",
|
|
3
|
-
"version": "68.0.0-SNAPSHOT.
|
|
3
|
+
"version": "68.0.0-SNAPSHOT.1726237236739",
|
|
4
4
|
"description": "Hoist add-on for building and deploying React Applications.",
|
|
5
5
|
"repository": "github:xh/hoist-react",
|
|
6
6
|
"homepage": "https://xh.io",
|