@gr4vy/sdk 0.18.9 → 0.18.11

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/bin/mcp-server.js CHANGED
@@ -4020,15 +4020,15 @@ var ServerProduction = "production", ServerSandbox = "sandbox", ServerList, SDK_
4020
4020
  var init_config = __esm(() => {
4021
4021
  init_url();
4022
4022
  ServerList = {
4023
- [ServerProduction]: "https://api.example.gr4vy.app",
4023
+ [ServerProduction]: "https://api.{id}.gr4vy.app",
4024
4024
  [ServerSandbox]: "https://api.sandbox.{id}.gr4vy.app"
4025
4025
  };
4026
4026
  SDK_METADATA = {
4027
4027
  language: "typescript",
4028
4028
  openapiDocVersion: "1.0.0",
4029
- sdkVersion: "0.18.9",
4029
+ sdkVersion: "0.18.11",
4030
4030
  genVersion: "2.593.3",
4031
- userAgent: "speakeasy-sdk/typescript 0.18.9 2.593.3 1.0.0 @gr4vy/sdk"
4031
+ userAgent: "speakeasy-sdk/typescript 0.18.11 2.593.3 1.0.0 @gr4vy/sdk"
4032
4032
  };
4033
4033
  });
4034
4034
 
@@ -34058,9 +34058,6 @@ var init_mcp = __esm(() => {
34058
34058
  };
34059
34059
  });
34060
34060
 
34061
- // src/hooks/registration.ts
34062
- function initHooks(hooks) {}
34063
-
34064
34061
  // src/hooks/hooks.ts
34065
34062
  class SDKHooks {
34066
34063
  sdkInitHooks = [];
@@ -34087,7 +34084,6 @@ class SDKHooks {
34087
34084
  this.registerAfterErrorHook(hook);
34088
34085
  }
34089
34086
  }
34090
- initHooks(this);
34091
34087
  }
34092
34088
  registerSDKInitHook(hook) {
34093
34089
  this.sdkInitHooks.push(hook);
@@ -34139,7 +34135,6 @@ class SDKHooks {
34139
34135
  return { response: res, error: err };
34140
34136
  }
34141
34137
  }
34142
- var init_hooks = () => {};
34143
34138
 
34144
34139
  // src/models/errors/httpclienterrors.ts
34145
34140
  var HTTPClientError, UnexpectedClientError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, ConnectionError;
@@ -34990,7 +34985,6 @@ async function logResponse(logger, res, req) {
34990
34985
  }
34991
34986
  var gt, webWorkerLike, isBrowserLike, jsonLikeContentTypeRE, jsonlLikeContentTypeRE;
34992
34987
  var init_sdks = __esm(() => {
34993
- init_hooks();
34994
34988
  init_httpclienterrors();
34995
34989
  init_base64();
34996
34990
  init_config();
@@ -55989,7 +55983,7 @@ Void a previously authorized transaction.`,
55989
55983
  function createMCPServer(deps) {
55990
55984
  const server = new McpServer({
55991
55985
  name: "Gr4vy",
55992
- version: "0.18.9"
55986
+ version: "0.18.11"
55993
55987
  });
55994
55988
  const client = new Gr4vyCore({
55995
55989
  bearerAuth: deps.bearerAuth,
@@ -57347,7 +57341,7 @@ var routes = an({
57347
57341
  var app = He(routes, {
57348
57342
  name: "mcp",
57349
57343
  versionInfo: {
57350
- currentVersion: "0.18.9"
57344
+ currentVersion: "0.18.11"
57351
57345
  }
57352
57346
  });
57353
57347
  zt(app, process3.argv.slice(2), buildContext(process3));
@@ -57355,5 +57349,5 @@ export {
57355
57349
  app
57356
57350
  };
57357
57351
 
57358
- //# debugId=AE7B6E0150AF4F9E64756E2164756E21
57352
+ //# debugId=70645691CB5C22F664756E2164756E21
57359
57353
  //# sourceMappingURL=mcp-server.js.map