From 4d8c3c94708c33d2a9ff5c30b3a0784bfc1de42e Mon Sep 17 00:00:00 2001 From: Adithya Krishna Date: Mon, 15 Jul 2024 23:18:05 +0530 Subject: [PATCH] chore: update release to v0.0.53 Signed-off-by: Adithya Krishna --- package-lock.json | 4 ++-- package.json | 2 +- src/client.ts | 4 ++++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 88137ac..071ba29 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "getindexify", - "version": "0.0.52", + "version": "0.0.53", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "getindexify", - "version": "0.0.52", + "version": "0.0.53", "license": "ISC", "dependencies": { "axios": "^1.6.7", diff --git a/package.json b/package.json index 10a96db..13e9710 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "getindexify", - "version": "0.0.52", + "version": "0.0.53", "description": "This is the TypeScript client for interacting with the Indexify service.", "main": "./dist/index.js", "module": "./dist/index.mjs", diff --git a/src/client.ts b/src/client.ts index 1bf08ee..1d3370f 100644 --- a/src/client.ts +++ b/src/client.ts @@ -161,6 +161,7 @@ class IndexifyClient { { httpsAgent: IndexifyClient.getHttpsAgent({ mtlsConfig }) } ); const client = await IndexifyClient.createClient({ namespace: name }); + return client; } @@ -188,6 +189,7 @@ class IndexifyClient { ...(filters !== undefined && { filters }), include_content, }); + return resp.data["results"]; } @@ -444,6 +446,7 @@ class IndexifyClient { input_params: JSON.stringify(input_params), } ); + return resp.data; } @@ -566,6 +569,7 @@ class IndexifyClient { content_source: contentSource, linked_graph_name: linkedGraph, }; + await this.client.post( `namespaces/${this.namespace}/extraction_graphs/${sourceGraph}/links`, req,