modelfusion 0.33.0 → 0.33.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.
@@ -1,4 +1,4 @@
1
- /// <reference types="node" resolution-mode="require"/>
1
+ /// <reference types="node" />
2
2
  import { z } from "zod";
3
3
  import { ApiCallError } from "./ApiCallError.js";
4
4
  export type ResponseHandler<T> = (options: {
@@ -1,4 +1,4 @@
1
- /// <reference types="node" resolution-mode="require"/>
1
+ /// <reference types="node" />
2
2
  import { BaseModelCallFinishedEvent, BaseModelCallStartedEvent } from "../ModelCallEvent.js";
3
3
  export interface SpeechSynthesisStartedEvent extends BaseModelCallStartedEvent {
4
4
  functionType: "speech-synthesis";
@@ -1,4 +1,4 @@
1
- /// <reference types="node" resolution-mode="require"/>
1
+ /// <reference types="node" />
2
2
  import { ModelFunctionOptions } from "../ModelFunctionOptions.js";
3
3
  import { Model, ModelSettings } from "../Model.js";
4
4
  export interface SpeechSynthesisModelSettings extends ModelSettings {
@@ -1,4 +1,4 @@
1
- /// <reference types="node" resolution-mode="require"/>
1
+ /// <reference types="node" />
2
2
  import { ModelFunctionOptions } from "../ModelFunctionOptions.js";
3
3
  import { ModelFunctionPromise } from "../executeCall.js";
4
4
  import { SpeechSynthesisModel, SpeechSynthesisModelSettings } from "./SpeechSynthesisModel.js";
@@ -1,4 +1,4 @@
1
- /// <reference types="node" resolution-mode="require"/>
1
+ /// <reference types="node" />
2
2
  import { ApiConfiguration } from "../../core/api/ApiConfiguration.js";
3
3
  import { AbstractModel } from "../../model-function/AbstractModel.js";
4
4
  import { ModelFunctionOptions } from "../../model-function/ModelFunctionOptions.js";
@@ -1,4 +1,4 @@
1
- /// <reference types="node" resolution-mode="require"/>
1
+ /// <reference types="node" />
2
2
  import z from "zod";
3
3
  import { ApiConfiguration } from "../../core/api/ApiConfiguration.js";
4
4
  import { AbstractModel } from "../../model-function/AbstractModel.js";
@@ -1,4 +1,4 @@
1
- /// <reference types="node" resolution-mode="require"/>
1
+ /// <reference types="node" />
2
2
  import { AbstractModel } from "../../model-function/AbstractModel.js";
3
3
  import { ApiConfiguration } from "../../core/api/ApiConfiguration.js";
4
4
  import { ModelFunctionOptions } from "../../model-function/ModelFunctionOptions.js";
@@ -1,4 +1,4 @@
1
- /// <reference types="node" resolution-mode="require"/>
1
+ /// <reference types="node" />
2
2
  import z from "zod";
3
3
  import { AbstractModel } from "../../model-function/AbstractModel.js";
4
4
  import { ModelFunctionOptions } from "../../model-function/ModelFunctionOptions.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "modelfusion",
3
3
  "description": "Build multimodal applications, chatbots, and agents with JavaScript and TypeScript.",
4
- "version": "0.33.0",
4
+ "version": "0.33.1",
5
5
  "author": "Lars Grammel",
6
6
  "license": "MIT",
7
7
  "keywords": [
@@ -60,7 +60,7 @@
60
60
  },
61
61
  "devDependencies": {
62
62
  "@pinecone-database/pinecone": "^0.1.6",
63
- "@tsconfig/recommended": "1.0.2",
63
+ "@tsconfig/recommended": "1.0.3",
64
64
  "@types/node": "18.11.9",
65
65
  "@typescript-eslint/eslint-plugin": "^6.1.0",
66
66
  "@typescript-eslint/parser": "^6.1.0",
@@ -71,10 +71,10 @@
71
71
  "lint-staged": "14.0.1",
72
72
  "prettier": "3.0.3",
73
73
  "rimraf": "5.0.1",
74
- "typescript": "5.1.6"
74
+ "typescript": "5.2.2"
75
75
  },
76
76
  "peerDependencies": {
77
- "@pinecone-database/pinecone": "*"
77
+ "@pinecone-database/pinecone": "0.1.6"
78
78
  },
79
79
  "peerDependenciesMeta": {
80
80
  "@pinecone-database/pinecone": {