@placeos/ts-client 4.2.7 → 4.3.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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.2.7",
2
+ "version": "4.3.0",
3
3
  "license": "MIT",
4
4
  "name": "@placeos/ts-client",
5
5
  "author": "Alex Sorafumo <alex@place.tech>",
@@ -100,3 +100,11 @@ export function reloadDriver(id: string) {
100
100
  export function isDriverCompiled(id: string) {
101
101
  return task({ id, task_name: 'compiled', method: 'get', path: PATH });
102
102
  }
103
+
104
+ /**
105
+ * Get the drivers readme file if available
106
+ * @param id ID of the driver
107
+ */
108
+ export function driverReadme(id: string) {
109
+ return task<string>({ id, task_name: 'readme', method: 'get', path: PATH });
110
+ }