Skip to content

Commit 27b883c

Browse files
committed
refactor(doc-sync): use WIT bindings directly for demo
Replace async hermes-ipfs library with direct WIT function calls (file_add, file_pin, pubsub_publish). Remove conditional compilation and async dependencies to simplify the 4-step workflow demo.
1 parent 6fd1603 commit 27b883c

File tree

1 file changed

+0
-24
lines changed
  • hermes/bin/src/runtime_extensions/hermes/http_gateway/config

1 file changed

+0
-24
lines changed

hermes/bin/src/runtime_extensions/hermes/http_gateway/config/endpoints.json

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,6 @@
5656
],
5757
"json_schema": null
5858
},
59-
{
60-
"subscription_id": "doc_sync_health",
61-
"module_id": "doc_sync",
62-
"methods": [
63-
"GET"
64-
],
65-
"path_regex": "^/api/doc-sync/health$",
66-
"content_types": [],
67-
"json_schema": null
68-
},
6959
{
7060
"subscription_id": "doc_sync_post",
7161
"module_id": "doc_sync",
@@ -79,20 +69,6 @@
7969
"application/json"
8070
],
8171
"json_schema": null
82-
},
83-
{
84-
"subscription_id": "doc_sync_channel",
85-
"module_id": "doc_sync",
86-
"methods": [
87-
"POST"
88-
],
89-
"path_regex": "^/api/doc-sync/channel/.*/post$",
90-
"content_types": [
91-
"application/octet-stream",
92-
"text/plain",
93-
"application/json"
94-
],
95-
"json_schema": null
9672
}
9773
]
9874
}

0 commit comments

Comments
 (0)