@smithery/sdk 1.5.8 → 1.5.9

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.
@@ -5,6 +5,7 @@ export interface SmitheryUrlOptions {
5
5
  profile?: string;
6
6
  config?: object;
7
7
  }
8
+ export declare function appendConfigAsDotParams(url: URL, config: unknown): void;
8
9
  /**
9
10
  * Creates a URL to connect to the Smithery MCP server.
10
11
  * @param baseUrl The base URL of the Smithery server
@@ -4,7 +4,7 @@ import { zodToJsonSchema } from "zod-to-json-schema";
4
4
  function isPlainObject(value) {
5
5
  return value !== null && typeof value === "object" && !Array.isArray(value);
6
6
  }
7
- function appendConfigAsDotParams(url, config) {
7
+ export function appendConfigAsDotParams(url, config) {
8
8
  function add(pathParts, value) {
9
9
  if (Array.isArray(value)) {
10
10
  for (let index = 0; index < value.length; index++) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithery/sdk",
3
- "version": "1.5.8",
3
+ "version": "1.5.9",
4
4
  "description": "SDK to develop with Smithery",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",