@synapcores/sdk 0.4.0 → 0.4.1
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/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -2039,6 +2039,10 @@ var GraphEdgeApi = class {
|
|
|
2039
2039
|
properties: data.properties ?? props
|
|
2040
2040
|
};
|
|
2041
2041
|
}
|
|
2042
|
+
/** Delete an edge by id. Mirrors `graph.nodes.delete`. */
|
|
2043
|
+
async delete(id) {
|
|
2044
|
+
await this.synapCores._getHttpClient().delete(`/graph/edges/${id}`);
|
|
2045
|
+
}
|
|
2042
2046
|
};
|
|
2043
2047
|
var GraphIndexesApi = class {
|
|
2044
2048
|
constructor(synapCores) {
|