@narrative.io/data-collaboration-sdk-ts 2.59.0 → 2.59.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.
@@ -27,7 +27,7 @@ class ModelTrainingApi extends BaseApi {
27
27
  * @returns {Promise<TrainClassifierResponse>} A promise that resolves with the classifier training response.
28
28
  */
29
29
  async trainClassifier(data) {
30
- return await this.post("train-classifier", data);
30
+ return await this.post(`${resourceName}/train-classifier`, data);
31
31
  }
32
32
  }
33
33
  export { ModelTrainingApi, };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@narrative.io/data-collaboration-sdk-ts",
3
- "version": "2.59.0",
3
+ "version": "2.59.1",
4
4
  "main": "build/index.js",
5
5
  "repository": "github:narrative-io/data-collaboration-sdk-ts",
6
6
  "source": "src/index.ts",