@settlemint/sdk-mcp 2.3.2-main23cb35be → 2.3.2-pr19c2c7d2

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/mcp.js CHANGED
@@ -72274,8 +72274,9 @@ var UrlPathSchema = exports_external2.string().regex(/^\/(?:[a-zA-Z0-9-_]+(?:\/[
72274
72274
  message: "Invalid URL path format. Must start with '/' and can contain letters, numbers, hyphens, and underscores."
72275
72275
  });
72276
72276
  var UrlOrPathSchema = exports_external2.union([UrlSchema, UrlPathSchema]);
72277
+ var STANDALONE_INSTANCE = "standalone";
72277
72278
  var DotEnvSchema = exports_external2.object({
72278
- SETTLEMINT_INSTANCE: UrlSchema.default("https://console.settlemint.com"),
72279
+ SETTLEMINT_INSTANCE: exports_external2.union([UrlSchema, exports_external2.literal(STANDALONE_INSTANCE)]).default("https://console.settlemint.com"),
72279
72280
  SETTLEMINT_ACCESS_TOKEN: ApplicationAccessTokenSchema.optional(),
72280
72281
  SETTLEMINT_PERSONAL_ACCESS_TOKEN: PersonalAccessTokenSchema.optional(),
72281
72282
  SETTLEMINT_WORKSPACE: UniqueNameSchema.optional(),
@@ -72384,8 +72385,9 @@ var UrlPathSchema2 = exports_external2.string().regex(/^\/(?:[a-zA-Z0-9-_]+(?:\/
72384
72385
  message: "Invalid URL path format. Must start with '/' and can contain letters, numbers, hyphens, and underscores."
72385
72386
  });
72386
72387
  var UrlOrPathSchema2 = exports_external2.union([UrlSchema2, UrlPathSchema2]);
72388
+ var STANDALONE_INSTANCE2 = "standalone";
72387
72389
  var DotEnvSchema2 = exports_external2.object({
72388
- SETTLEMINT_INSTANCE: UrlSchema2.default("https://console.settlemint.com"),
72390
+ SETTLEMINT_INSTANCE: exports_external2.union([UrlSchema2, exports_external2.literal(STANDALONE_INSTANCE2)]).default("https://console.settlemint.com"),
72389
72391
  SETTLEMINT_ACCESS_TOKEN: ApplicationAccessTokenSchema2.optional(),
72390
72392
  SETTLEMINT_PERSONAL_ACCESS_TOKEN: PersonalAccessTokenSchema2.optional(),
72391
72393
  SETTLEMINT_WORKSPACE: UniqueNameSchema2.optional(),
@@ -72451,7 +72453,7 @@ var {
72451
72453
  var package_default = {
72452
72454
  name: "@settlemint/sdk-mcp",
72453
72455
  description: "MCP interface for SettleMint SDK, providing development tools and project management capabilities",
72454
- version: "2.3.2-main23cb35be",
72456
+ version: "2.3.2-pr19c2c7d2",
72455
72457
  type: "module",
72456
72458
  private: false,
72457
72459
  license: "FSL-1.1-MIT",
@@ -72493,8 +72495,8 @@ var package_default = {
72493
72495
  "@graphql-tools/load": "8.1.0",
72494
72496
  "@graphql-tools/url-loader": "8.0.31",
72495
72497
  "@modelcontextprotocol/sdk": "1.11.5",
72496
- "@settlemint/sdk-js": "2.3.2-main23cb35be",
72497
- "@settlemint/sdk-utils": "2.3.2-main23cb35be",
72498
+ "@settlemint/sdk-js": "2.3.2-pr19c2c7d2",
72499
+ "@settlemint/sdk-utils": "2.3.2-pr19c2c7d2",
72498
72500
  "@commander-js/extra-typings": "14.0.0",
72499
72501
  commander: "14.0.0",
72500
72502
  zod: "^3.25.0"
@@ -76339,6 +76341,9 @@ function getPincodeVerificationChallengeResponse({
76339
76341
  }
76340
76342
  function createSettleMintClient(options) {
76341
76343
  ensureServer();
76344
+ if (options.instance === STANDALONE_INSTANCE2) {
76345
+ throw new Error("Standalone instances cannot connect to the SettleMint platform");
76346
+ }
76342
76347
  const validatedOptions = options.anonymous ? validate3(exports_external2.object({
76343
76348
  ...ClientOptionsSchema.shape,
76344
76349
  accessToken: exports_external2.literal("")
@@ -78264,4 +78269,4 @@ await main().catch((error36) => {
78264
78269
  process.exit(1);
78265
78270
  });
78266
78271
 
78267
- //# debugId=BD741549C8AB17AD64756E2164756E21
78272
+ //# debugId=2FB054A282BD309564756E2164756E21