diffio 0.1.2 → 0.1.3
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/README.md +1 -1
- package/dist/Client.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ Set the API key with `DIFFIO_API_KEY`. If you need to set the base URL explicitl
|
|
|
21
21
|
|
|
22
22
|
```bash
|
|
23
23
|
export DIFFIO_API_KEY="diffio_live_..."
|
|
24
|
-
export DIFFIO_API_BASE_URL="https://
|
|
24
|
+
export DIFFIO_API_BASE_URL="https://api.diffio.ai/v1"
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
## Request options
|
package/dist/Client.js
CHANGED
|
@@ -43,7 +43,7 @@ const errors_1 = require("./errors");
|
|
|
43
43
|
const serialization_1 = require("./api/serialization");
|
|
44
44
|
const resources_1 = require("./api/resources");
|
|
45
45
|
const mime_types_1 = require("mime-types");
|
|
46
|
-
const DEFAULT_BASE_URL = "https://
|
|
46
|
+
const DEFAULT_BASE_URL = "https://api.diffio.ai";
|
|
47
47
|
const API_PREFIX = "v1";
|
|
48
48
|
const MODEL_ENDPOINTS = {
|
|
49
49
|
"diffio-2": "diffio-2.0-generation",
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const DIFFIO_SDK_VERSION = "0.1.
|
|
1
|
+
export declare const DIFFIO_SDK_VERSION = "0.1.3";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "diffio",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Diffio API client for Node.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,6 +17,8 @@
|
|
|
17
17
|
"scripts": {
|
|
18
18
|
"build": "tsc -p tsconfig.json",
|
|
19
19
|
"prepublishOnly": "npm run build",
|
|
20
|
+
"version:registry": "node scripts/bump-version.mjs",
|
|
21
|
+
"publish:registry": "node scripts/publish.mjs",
|
|
20
22
|
"test": "jest --config jest.config.mjs",
|
|
21
23
|
"test:unit": "jest --selectProjects unit",
|
|
22
24
|
"test:wire": "jest --selectProjects wire"
|