openai-api-mock 0.1.16 → 0.1.18

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/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "openai-api-mock",
3
- "version": "0.1.16",
3
+ "version": "0.1.18",
4
4
  "description": "A Node.js module for mocking OpenAI API responses in a development environment",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/chihebnabil/openai-api-mock.git"
8
8
  },
9
+ "type": "module",
9
10
  "keywords": [
10
11
  "openai",
11
12
  "mock",
@@ -22,7 +23,7 @@
22
23
  "license": "MIT",
23
24
  "main": "main.js",
24
25
  "dependencies": {
25
- "@faker-js/faker": "^8.4.1",
26
+ "@faker-js/faker": "^9.0.0",
26
27
  "nock": "^13.5.4"
27
28
  },
28
29
  "devDependencies": {
package/readme.md CHANGED
@@ -1,8 +1,14 @@
1
1
  # OpenAI API Mock
2
2
 
3
3
  This is a Node.js module for mocking OpenAI API responses in a development environment.
4
+
4
5
  It's useful for testing and development purposes when you don't want to make actual API calls.
5
- The module also supports mocking function_calling
6
+
7
+ The module supports the following OpenAI API endpoints:
8
+ - chat completions
9
+ - chat completions with streaming
10
+ - chat completions with functions
11
+ - image generations
6
12
 
7
13
 
8
14
  ## Installation
package/renovate.json CHANGED
@@ -1,6 +1,4 @@
1
1
  {
2
2
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
3
- "extends": [
4
- "config:recommended"
5
- ]
3
+ "extends": ["config:recommended", ":dependencyDashboard"]
6
4
  }