@chainfuse/types 2.0.0 → 2.1.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.
@@ -282,7 +282,6 @@ export declare const azureCatalog: readonly [{
282
282
  readonly outputTokenCost: 0.000002;
283
283
  }, {
284
284
  readonly name: "gpt-4-turbo";
285
- readonly inputTokenCost: 0.00001;
286
285
  readonly outputTokenCost: 0.00003;
287
286
  }, {
288
287
  readonly name: "gpt-4o-mini";
@@ -543,7 +542,6 @@ export declare const azureCatalog: readonly [{
543
542
  readonly outputTokenCost: 0.00001;
544
543
  }, {
545
544
  readonly name: "gpt-4-turbo";
546
- readonly inputTokenCost: 0.00001;
547
545
  readonly outputTokenCost: 0.00003;
548
546
  }, {
549
547
  readonly name: "gpt-4o-mini";
@@ -347,7 +347,6 @@ export const azureCatalog = [
347
347
  },
348
348
  {
349
349
  name: 'gpt-4-turbo',
350
- inputTokenCost: 0.00001,
351
350
  outputTokenCost: 0.00003,
352
351
  },
353
352
  {
@@ -671,7 +670,6 @@ export const azureCatalog = [
671
670
  },
672
671
  {
673
672
  name: 'gpt-4-turbo',
674
- inputTokenCost: 0.00001,
675
673
  outputTokenCost: 0.00003,
676
674
  },
677
675
  {
@@ -0,0 +1 @@
1
+ export type D0Blob = [number, ...number[]];
@@ -0,0 +1 @@
1
+ export {};
@@ -2,11 +2,10 @@ import type { Buffer } from 'node:buffer';
2
2
  export * from './tenants/index.js';
3
3
  export * from './users/index.js';
4
4
  export type PrefixedUuid = `${'t_' | 'd_' | 'u_'}${UuidExport['utf8']}${'' | '_p'}`;
5
- export type D1Blob = [number, ...number[]];
6
5
  export interface UuidExport {
7
6
  utf8: ReturnType<typeof crypto.randomUUID>;
8
7
  hex: string;
9
- blob: (typeof Uint8Array)['prototype']['buffer'] | Buffer['buffer'];
8
+ blob: Buffer | Buffer['buffer'] | (typeof Uint8Array)['prototype']['buffer'];
10
9
  base64: string;
11
10
  base64url: string;
12
11
  }
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export * from './ai-tools/index.js';
2
+ export * from './d0/index.js';
2
3
  export * from './d1/index.js';
3
4
  export * from './discourse/index.js';
4
5
  type MethodKeys<T> = {
package/dist/index.js CHANGED
@@ -1,3 +1,4 @@
1
1
  export * from './ai-tools/index.js';
2
+ export * from './d0/index.js';
2
3
  export * from './d1/index.js';
3
4
  export * from './discourse/index.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chainfuse/types",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "description": "",
5
5
  "author": "ChainFuse",
6
6
  "homepage": "https://github.com/ChainFuse/packages/tree/main/packages/types#readme",
@@ -43,6 +43,10 @@
43
43
  "import": "./dist/index.js",
44
44
  "types": "./dist/index.d.ts"
45
45
  },
46
+ "./d0": {
47
+ "import": "./dist/d0/index.js",
48
+ "types": "./dist/d0/index.d.ts"
49
+ },
46
50
  "./d1": {
47
51
  "import": "./dist/d1/index.js",
48
52
  "types": "./dist/d1/index.d.ts"
@@ -84,5 +88,5 @@
84
88
  "devDependencies": {
85
89
  "@cloudflare/workers-types": "^4.20250320.0"
86
90
  },
87
- "gitHead": "60babb051a4005d8495655784427e446fc7c7bcb"
91
+ "gitHead": "5879ee852f2629bd5b1e718602204165e097fb2d"
88
92
  }