@abapify/adt-tui 0.4.40 → 0.4.43
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/README.md +4 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -17,7 +17,10 @@ npm install @abapify/adt-tui
|
|
|
17
17
|
import { run } from '@abapify/adt-tui';
|
|
18
18
|
|
|
19
19
|
await run({
|
|
20
|
-
fetch: (uri) =>
|
|
20
|
+
fetch: async (uri) => {
|
|
21
|
+
const data = await client.fetch(uri);
|
|
22
|
+
return typeof data === 'string' ? data : JSON.stringify(data);
|
|
23
|
+
},
|
|
21
24
|
startUrl: '/sap/bc/adt/repository/nodestructure',
|
|
22
25
|
});
|
|
23
26
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abapify/adt-tui",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.43",
|
|
4
4
|
"description": "Terminal UI components for ADT - page-based navigation with Ink",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"README.md"
|
|
18
18
|
],
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@abapify/adt-contracts": "0.4.
|
|
20
|
+
"@abapify/adt-contracts": "0.4.43",
|
|
21
21
|
"fast-xml-parser": "^5.3.1",
|
|
22
22
|
"ink": "5.1.0",
|
|
23
23
|
"ink-select-input": "^6.0.0",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@types/react": "18.3.0"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
|
-
"@abapify/adt-client": "0.4.
|
|
32
|
+
"@abapify/adt-client": "0.4.43"
|
|
33
33
|
},
|
|
34
34
|
"repository": {
|
|
35
35
|
"type": "git",
|