@onyx.dev/onyx-database 2.1.0 → 2.1.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.
- package/README.md +1 -1
- package/dist/{aggregates-DREvey7b.d.cts → aggregates-BFOBBZkW.d.cts} +1 -1
- package/dist/{aggregates-DREvey7b.d.ts → aggregates-BFOBBZkW.d.ts} +1 -1
- package/dist/edge.cjs +1 -2
- package/dist/edge.cjs.map +1 -1
- package/dist/edge.d.cts +2 -2
- package/dist/edge.d.ts +2 -2
- package/dist/edge.js +1 -2
- package/dist/edge.js.map +1 -1
- package/dist/gen/cli/generate.cjs +5 -7
- package/dist/gen/cli/generate.cjs.map +1 -1
- package/dist/index.cjs +1 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/dist/schema/cli/schema.cjs +0 -1
- package/dist/schema/cli/schema.cjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -91,7 +91,7 @@ Set these environment variables for your database:
|
|
|
91
91
|
|
|
92
92
|
| Variable | Purpose | Default when unset |
|
|
93
93
|
| --- | --- | --- |
|
|
94
|
-
| `ONYX_DATABASE_ID` |
|
|
94
|
+
| `ONYX_DATABASE_ID` | Optional database scope for env credentials; omit to use file/profile/default context | optional |
|
|
95
95
|
| `ONYX_DATABASE_BASE_URL` | Base URL for DB API | `https://api.onyx.dev` |
|
|
96
96
|
| `ONYX_DATABASE_API_KEY` | API key | required |
|
|
97
97
|
| `ONYX_DATABASE_API_SECRET` | API secret | required |
|
package/dist/edge.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
// package.json
|
|
4
4
|
var name = "@onyx.dev/onyx-database";
|
|
5
|
-
var version = "2.1.
|
|
5
|
+
var version = "2.1.1";
|
|
6
6
|
|
|
7
7
|
// src/config/defaults.ts
|
|
8
8
|
var DEFAULT_BASE_URL = "https://api.onyx.dev";
|
|
@@ -100,7 +100,6 @@ async function resolveConfig(input) {
|
|
|
100
100
|
const maxRetries = retryConfig.maxRetries ?? 3;
|
|
101
101
|
const retryInitialDelayMs = retryConfig.initialDelayMs ?? 300;
|
|
102
102
|
const missing = [];
|
|
103
|
-
if (!databaseId) missing.push("databaseId");
|
|
104
103
|
if (!apiKey) missing.push("apiKey");
|
|
105
104
|
if (!apiSecret) missing.push("apiSecret");
|
|
106
105
|
if (missing.length) {
|