@placeos/ts-client 4.4.1 → 4.4.2

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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.4.1",
2
+ "version": "4.4.2",
3
3
  "license": "MIT",
4
4
  "name": "@placeos/ts-client",
5
5
  "author": "Alex Sorafumo <alex@place.tech>",
@@ -22,6 +22,17 @@ export function queryClusters(query_params: PlaceClusterQueryOptions = {}) {
22
22
  return query({ query_params, fn: process, path: PATH });
23
23
  }
24
24
 
25
+ /**
26
+ * Get the details for a specified cluster
27
+ * @param id ID of the cluster to query
28
+ * @param query_params Query parameters to add the to request URL
29
+ */
30
+ export function showCluster(
31
+ id: string,
32
+ query_params: PlaceClusterQueryOptions = {},
33
+ ) {
34
+ return show({ id, query_params, fn: process, path: PATH });
35
+ }
25
36
  /**
26
37
  * Query the available process for a cluster
27
38
  * @param id ID of the cluster to query