@nexart/ai-execution 0.8.0 → 0.9.0
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/dist/index.cjs +85 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +67 -3
- package/dist/index.d.ts +67 -3
- package/dist/index.mjs +83 -1
- package/dist/index.mjs.map +1 -1
- package/dist/providers/anthropic.d.cts +1 -1
- package/dist/providers/anthropic.d.ts +1 -1
- package/dist/providers/openai.d.cts +1 -1
- package/dist/providers/openai.d.ts +1 -1
- package/dist/providers/wrap.d.cts +1 -1
- package/dist/providers/wrap.d.ts +1 -1
- package/dist/{types-CcqCDPrD.d.cts → types-C5t12OK8.d.cts} +2 -0
- package/dist/{types-CcqCDPrD.d.ts → types-C5t12OK8.d.ts} +2 -0
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as ProviderConfig, W as WrappedExecutionParams, v as WrappedExecutionResult } from '../types-
|
|
1
|
+
import { t as ProviderConfig, W as WrappedExecutionParams, v as WrappedExecutionResult } from '../types-C5t12OK8.cjs';
|
|
2
2
|
|
|
3
3
|
declare function wrapProvider<TInput = unknown, TOutput = unknown>(config: ProviderConfig<TInput, TOutput>): {
|
|
4
4
|
execute(params: WrappedExecutionParams & {
|
package/dist/providers/wrap.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as ProviderConfig, W as WrappedExecutionParams, v as WrappedExecutionResult } from '../types-
|
|
1
|
+
import { t as ProviderConfig, W as WrappedExecutionParams, v as WrappedExecutionResult } from '../types-C5t12OK8.js';
|
|
2
2
|
|
|
3
3
|
declare function wrapProvider<TInput = unknown, TOutput = unknown>(config: ProviderConfig<TInput, TOutput>): {
|
|
4
4
|
execute(params: WrappedExecutionParams & {
|
|
@@ -211,6 +211,8 @@ interface AttestOptions {
|
|
|
211
211
|
interface CertifyDecisionParams {
|
|
212
212
|
executionId?: string;
|
|
213
213
|
timestamp?: string;
|
|
214
|
+
/** CER bundle creation timestamp. Defaults to current time if omitted. */
|
|
215
|
+
createdAt?: string;
|
|
214
216
|
provider: string;
|
|
215
217
|
model: string;
|
|
216
218
|
modelVersion?: string | null;
|
|
@@ -211,6 +211,8 @@ interface AttestOptions {
|
|
|
211
211
|
interface CertifyDecisionParams {
|
|
212
212
|
executionId?: string;
|
|
213
213
|
timestamp?: string;
|
|
214
|
+
/** CER bundle creation timestamp. Defaults to current time if omitted. */
|
|
215
|
+
createdAt?: string;
|
|
214
216
|
provider: string;
|
|
215
217
|
model: string;
|
|
216
218
|
modelVersion?: string | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nexart/ai-execution",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "AI Execution Integrity — tamper-evident records and Certified Execution Records (CER) for AI operations",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"scripts": {
|
|
33
33
|
"build": "node \"$(node -p 'require.resolve(\"tsup/dist/cli-default\")')\"",
|
|
34
34
|
"build:tsc": "node \"$(node -p 'require.resolve(\"typescript/bin/tsc\")')\"",
|
|
35
|
-
"test": "node \"$(node -p 'require.resolve(\"typescript/bin/tsc\")')\" && node --test --test-concurrency 1 dist-tsc/__tests__/vectors.test.js dist-tsc/__tests__/fixtures.test.js dist-tsc/__tests__/v020.test.js dist-tsc/__tests__/v030.test.js dist-tsc/__tests__/v040.test.js dist-tsc/__tests__/v041.test.js dist-tsc/__tests__/v042.test.js dist-tsc/__tests__/v050.test.js dist-tsc/__tests__/v060.test.js dist-tsc/__tests__/v070.test.js dist-tsc/__tests__/v071.test.js",
|
|
35
|
+
"test": "node \"$(node -p 'require.resolve(\"typescript/bin/tsc\")')\" && node --test --test-concurrency 1 dist-tsc/__tests__/vectors.test.js dist-tsc/__tests__/fixtures.test.js dist-tsc/__tests__/v020.test.js dist-tsc/__tests__/v030.test.js dist-tsc/__tests__/v040.test.js dist-tsc/__tests__/v041.test.js dist-tsc/__tests__/v042.test.js dist-tsc/__tests__/v050.test.js dist-tsc/__tests__/v060.test.js dist-tsc/__tests__/v070.test.js dist-tsc/__tests__/v071.test.js dist-tsc/__tests__/cerProtocol.test.js",
|
|
36
36
|
"release": "npm run build && npm run test && npm version patch && npm publish --access public",
|
|
37
37
|
"prepublishOnly": "npm run build && npm run test"
|
|
38
38
|
},
|