@modelrelay/sdk 1.36.0 → 1.42.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.
@@ -1,4 +1,4 @@
1
- import { c as components } from '../api-jqOwvH6O.cjs';
1
+ import { c as components } from '../api-Bb7sw9L4.cjs';
2
2
 
3
3
  /**
4
4
  * Billing client for customer self-service operations.
@@ -1,4 +1,4 @@
1
- import { c as components } from '../api-jqOwvH6O.js';
1
+ import { c as components } from '../api-Bb7sw9L4.js';
2
2
 
3
3
  /**
4
4
  * Billing client for customer self-service operations.
@@ -276,7 +276,7 @@ async function parseErrorResponse(response, retries) {
276
276
  // package.json
277
277
  var package_default = {
278
278
  name: "@modelrelay/sdk",
279
- version: "1.36.0",
279
+ version: "2.0.0",
280
280
  description: "TypeScript SDK for the ModelRelay API",
281
281
  type: "module",
282
282
  main: "dist/index.cjs",
@@ -1,9 +1,3 @@
1
- var __defProp = Object.defineProperty;
2
- var __export = (target, all) => {
3
- for (var name in all)
4
- __defProp(target, name, { get: all[name], enumerable: true });
5
- };
6
-
7
1
  // src/errors.ts
8
2
  var ErrorCodes = {
9
3
  NOT_FOUND: "NOT_FOUND",
@@ -282,7 +276,7 @@ async function parseErrorResponse(response, retries) {
282
276
  // package.json
283
277
  var package_default = {
284
278
  name: "@modelrelay/sdk",
285
- version: "1.30.0",
279
+ version: "1.34.0",
286
280
  description: "TypeScript SDK for the ModelRelay API",
287
281
  type: "module",
288
282
  main: "dist/index.cjs",
@@ -294,6 +288,11 @@ var package_default = {
294
288
  import: "./dist/index.js",
295
289
  require: "./dist/index.cjs"
296
290
  },
291
+ "./billing": {
292
+ types: "./dist/billing/index.d.ts",
293
+ import: "./dist/billing/index.js",
294
+ require: "./dist/billing/index.cjs"
295
+ },
297
296
  "./node": {
298
297
  types: "./dist/node.d.ts",
299
298
  import: "./dist/node.js",
@@ -307,8 +306,8 @@ var package_default = {
307
306
  "dist"
308
307
  ],
309
308
  scripts: {
310
- build: "tsup src/index.ts src/node.ts --format esm,cjs --dts --external playwright",
311
- dev: "tsup src/index.ts src/node.ts --format esm,cjs --dts --watch",
309
+ build: "tsup src/index.ts src/node.ts src/billing/index.ts --format esm,cjs --dts --external playwright",
310
+ dev: "tsup src/index.ts src/node.ts src/billing/index.ts --format esm,cjs --dts --watch",
312
311
  lint: "tsc --noEmit --project tsconfig.lint.json",
313
312
  test: "vitest run",
314
313
  "generate:types": "openapi-typescript ../../api/openapi/api.json -o src/generated/api.ts"
@@ -1122,7 +1121,6 @@ async function executeWithRetry(registry, toolCalls, options = {}) {
1122
1121
  }
1123
1122
 
1124
1123
  export {
1125
- __export,
1126
1124
  ErrorCodes,
1127
1125
  ModelRelayError,
1128
1126
  ConfigError,
@@ -282,7 +282,7 @@ async function parseErrorResponse(response, retries) {
282
282
  // package.json
283
283
  var package_default = {
284
284
  name: "@modelrelay/sdk",
285
- version: "1.29.0",
285
+ version: "1.34.0",
286
286
  description: "TypeScript SDK for the ModelRelay API",
287
287
  type: "module",
288
288
  main: "dist/index.cjs",