@krizaka/orazaka-client 0.2.0 → 0.2.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/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @krizaka/orazaka-client
|
|
2
2
|
|
|
3
|
-
One client of Orazaka's edge for every Krizaka TypeScript product, instead of one copy per product (Yomizaka,
|
|
3
|
+
One client of Orazaka's edge for every Krizaka TypeScript product, instead of one copy per product (Yomizaka, soon Akinaza): start a Studio run, read its status and its outputs, wait for it. The base URL, the key and the clock are **parameters** — this package reads no environment and no wall clock.
|
|
4
4
|
|
|
5
5
|
```ts
|
|
6
6
|
import { createOrazakaClient, outputOf } from "@krizaka/orazaka-client";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@krizaka/orazaka-client",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "One Orazaka client for the TypeScript products: start a Studio run (safe to retry with an idempotency key), read its status and outputs, wait for it, with typed errors with stable codes, a time limit and a circuit breaker. Base URL, key and clock are parameters; no environment, no framework.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"krizaka",
|
|
@@ -47,13 +47,13 @@
|
|
|
47
47
|
"tsup": "^8.5.0",
|
|
48
48
|
"typescript": "^5.9.3",
|
|
49
49
|
"vitest": "^4.1.11",
|
|
50
|
-
"@krizaka/config": "^0.
|
|
50
|
+
"@krizaka/config": "^0.17.0"
|
|
51
51
|
},
|
|
52
52
|
"scripts": {
|
|
53
53
|
"build": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\" && tsup",
|
|
54
54
|
"lint": "eslint . --max-warnings 0 && tsc --noEmit",
|
|
55
55
|
"typecheck": "tsc --noEmit",
|
|
56
|
-
"test": "vitest run",
|
|
56
|
+
"test": "vitest run --coverage --coverage.provider=v8 --coverage.reporter=lcov --coverage.reporter=text-summary \"--coverage.include=src/**/*.ts\"",
|
|
57
57
|
"check": "pnpm run lint && pnpm run test && pnpm run build"
|
|
58
58
|
}
|
|
59
59
|
}
|