pricetoken 0.3.0 → 0.3.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 CHANGED
@@ -74,7 +74,7 @@ Access bundled pricing without network calls:
74
74
  ```typescript
75
75
  import { STATIC_PRICING } from 'pricetoken';
76
76
 
77
- console.log(STATIC_PRICING.length); // 16 models
77
+ console.log(STATIC_PRICING.length); // 21 models
78
78
  ```
79
79
 
80
80
  ## API
package/dist/index.d.mts CHANGED
@@ -89,4 +89,4 @@ declare function calculateModelCost(modelId: string, inputTokens: number, output
89
89
 
90
90
  declare const STATIC_PRICING: ModelPricing[];
91
91
 
92
- export { type CostEstimate, type DataConfidence, type ModelHistory, type ModelPricing, type ModelStatus, type PriceHistoryPoint, PriceTokenClient, type PriceTokenError, type PriceTokenResponse, type ProviderSummary, STATIC_PRICING, calculateCost, calculateModelCost };
92
+ export { type ClientOptions, type CostEstimate, type DataConfidence, type ModelHistory, type ModelPricing, type ModelStatus, type PriceHistoryPoint, PriceTokenClient, type PriceTokenError, type PriceTokenResponse, type ProviderSummary, STATIC_PRICING, calculateCost, calculateModelCost };
package/dist/index.d.ts CHANGED
@@ -89,4 +89,4 @@ declare function calculateModelCost(modelId: string, inputTokens: number, output
89
89
 
90
90
  declare const STATIC_PRICING: ModelPricing[];
91
91
 
92
- export { type CostEstimate, type DataConfidence, type ModelHistory, type ModelPricing, type ModelStatus, type PriceHistoryPoint, PriceTokenClient, type PriceTokenError, type PriceTokenResponse, type ProviderSummary, STATIC_PRICING, calculateCost, calculateModelCost };
92
+ export { type ClientOptions, type CostEstimate, type DataConfidence, type ModelHistory, type ModelPricing, type ModelStatus, type PriceHistoryPoint, PriceTokenClient, type PriceTokenError, type PriceTokenResponse, type ProviderSummary, STATIC_PRICING, calculateCost, calculateModelCost };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pricetoken",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Real-time LLM pricing data — typed client, cost calculator, and static pricing",
5
5
  "keywords": [
6
6
  "llm",
@@ -48,5 +48,8 @@
48
48
  "tsup": "^8.0.0",
49
49
  "typescript": "^5.6.0",
50
50
  "vitest": "^2.0.0"
51
+ },
52
+ "engines": {
53
+ "node": ">=18"
51
54
  }
52
55
  }