skedyul 1.2.13 → 1.2.14

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/cli/index.js CHANGED
@@ -2635,8 +2635,8 @@ function createCallToolHandler(registry, state, onMaxRequests) {
2635
2635
  baseUrl: requestEnv.SKEDYUL_API_URL ?? process.env.SKEDYUL_API_URL ?? "",
2636
2636
  apiToken: requestEnv.SKEDYUL_API_TOKEN ?? process.env.SKEDYUL_API_TOKEN ?? ""
2637
2637
  };
2638
- const functionResult = await runWithLogContext({ invocation }, async () => {
2639
- return await runWithConfig(requestConfig, async () => {
2638
+ const functionResult = await runWithConfig(requestConfig, async () => {
2639
+ return await runWithLogContext({ invocation }, async () => {
2640
2640
  return await fn(inputs, executionContext);
2641
2641
  });
2642
2642
  });
@@ -457,8 +457,8 @@ function createCallToolHandler(registry, state, onMaxRequests) {
457
457
  baseUrl: requestEnv.SKEDYUL_API_URL ?? process.env.SKEDYUL_API_URL ?? "",
458
458
  apiToken: requestEnv.SKEDYUL_API_TOKEN ?? process.env.SKEDYUL_API_TOKEN ?? ""
459
459
  };
460
- const functionResult = await runWithLogContext({ invocation }, async () => {
461
- return await runWithConfig(requestConfig, async () => {
460
+ const functionResult = await runWithConfig(requestConfig, async () => {
461
+ return await runWithLogContext({ invocation }, async () => {
462
462
  return await fn(inputs, executionContext);
463
463
  });
464
464
  });
@@ -2135,8 +2135,8 @@ function createCallToolHandler(registry, state, onMaxRequests) {
2135
2135
  baseUrl: requestEnv.SKEDYUL_API_URL ?? process.env.SKEDYUL_API_URL ?? "",
2136
2136
  apiToken: requestEnv.SKEDYUL_API_TOKEN ?? process.env.SKEDYUL_API_TOKEN ?? ""
2137
2137
  };
2138
- const functionResult = await runWithLogContext({ invocation }, async () => {
2139
- return await runWithConfig(requestConfig, async () => {
2138
+ const functionResult = await runWithConfig(requestConfig, async () => {
2139
+ return await runWithLogContext({ invocation }, async () => {
2140
2140
  return await fn(inputs, executionContext);
2141
2141
  });
2142
2142
  });
package/dist/index.js CHANGED
@@ -2300,8 +2300,8 @@ function createCallToolHandler(registry, state, onMaxRequests) {
2300
2300
  baseUrl: requestEnv.SKEDYUL_API_URL ?? process.env.SKEDYUL_API_URL ?? "",
2301
2301
  apiToken: requestEnv.SKEDYUL_API_TOKEN ?? process.env.SKEDYUL_API_TOKEN ?? ""
2302
2302
  };
2303
- const functionResult = await runWithLogContext({ invocation }, async () => {
2304
- return await runWithConfig(requestConfig, async () => {
2303
+ const functionResult = await runWithConfig(requestConfig, async () => {
2304
+ return await runWithLogContext({ invocation }, async () => {
2305
2305
  return await fn(inputs, executionContext);
2306
2306
  });
2307
2307
  });
package/dist/server.js CHANGED
@@ -457,8 +457,8 @@ function createCallToolHandler(registry, state, onMaxRequests) {
457
457
  baseUrl: requestEnv.SKEDYUL_API_URL ?? process.env.SKEDYUL_API_URL ?? "",
458
458
  apiToken: requestEnv.SKEDYUL_API_TOKEN ?? process.env.SKEDYUL_API_TOKEN ?? ""
459
459
  };
460
- const functionResult = await runWithLogContext({ invocation }, async () => {
461
- return await runWithConfig(requestConfig, async () => {
460
+ const functionResult = await runWithConfig(requestConfig, async () => {
461
+ return await runWithLogContext({ invocation }, async () => {
462
462
  return await fn(inputs, executionContext);
463
463
  });
464
464
  });
@@ -396,8 +396,8 @@ function createCallToolHandler(registry, state, onMaxRequests) {
396
396
  baseUrl: requestEnv.SKEDYUL_API_URL ?? process.env.SKEDYUL_API_URL ?? "",
397
397
  apiToken: requestEnv.SKEDYUL_API_TOKEN ?? process.env.SKEDYUL_API_TOKEN ?? ""
398
398
  };
399
- const functionResult = await runWithLogContext({ invocation }, async () => {
400
- return await runWithConfig(requestConfig, async () => {
399
+ const functionResult = await runWithConfig(requestConfig, async () => {
400
+ return await runWithLogContext({ invocation }, async () => {
401
401
  return await fn(inputs, executionContext);
402
402
  });
403
403
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skedyul",
3
- "version": "1.2.13",
3
+ "version": "1.2.14",
4
4
  "description": "The Skedyul SDK for Node.js",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",