@settlemint/sdk-mcp 1.1.16-pr0d9719ab → 1.1.16-pr59b02f90
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 +80 -144
- package/dist/mcp.js.map +4 -4
- package/package.json +3 -3
package/dist/mcp.js
CHANGED
|
@@ -10014,8 +10014,7 @@ var require_mapAsyncIterator = __commonJS((exports) => {
|
|
|
10014
10014
|
if (typeof iterator.return === "function") {
|
|
10015
10015
|
try {
|
|
10016
10016
|
await iterator.return();
|
|
10017
|
-
} catch (_e) {
|
|
10018
|
-
}
|
|
10017
|
+
} catch (_e) {}
|
|
10019
10018
|
}
|
|
10020
10019
|
throw error;
|
|
10021
10020
|
}
|
|
@@ -13988,8 +13987,7 @@ var require_p_limit = __commonJS((exports, module) => {
|
|
|
13988
13987
|
resolve(result);
|
|
13989
13988
|
try {
|
|
13990
13989
|
await result;
|
|
13991
|
-
} catch {
|
|
13992
|
-
}
|
|
13990
|
+
} catch {}
|
|
13993
13991
|
next();
|
|
13994
13992
|
};
|
|
13995
13993
|
const enqueue = (fn, resolve, ...args) => {
|
|
@@ -14037,8 +14035,7 @@ var require_constants = __commonJS((exports, module) => {
|
|
|
14037
14035
|
kListener: Symbol("kListener"),
|
|
14038
14036
|
kStatusCode: Symbol("status-code"),
|
|
14039
14037
|
kWebSocket: Symbol("websocket"),
|
|
14040
|
-
NOOP: () => {
|
|
14041
|
-
}
|
|
14038
|
+
NOOP: () => {}
|
|
14042
14039
|
};
|
|
14043
14040
|
});
|
|
14044
14041
|
|
|
@@ -14116,8 +14113,7 @@ var require_buffer_util = __commonJS((exports, module) => {
|
|
|
14116
14113
|
else
|
|
14117
14114
|
bufferUtil.unmask(buffer, mask);
|
|
14118
14115
|
};
|
|
14119
|
-
} catch (e) {
|
|
14120
|
-
}
|
|
14116
|
+
} catch (e) {}
|
|
14121
14117
|
}
|
|
14122
14118
|
});
|
|
14123
14119
|
|
|
@@ -14596,8 +14592,7 @@ var require_validation2 = __commonJS((exports, module) => {
|
|
|
14596
14592
|
module.exports.isValidUTF8 = function(buf) {
|
|
14597
14593
|
return buf.length < 32 ? _isValidUTF8(buf) : isValidUTF8(buf);
|
|
14598
14594
|
};
|
|
14599
|
-
} catch (e) {
|
|
14600
|
-
}
|
|
14595
|
+
} catch (e) {}
|
|
14601
14596
|
}
|
|
14602
14597
|
});
|
|
14603
14598
|
|
|
@@ -18883,8 +18878,7 @@ var require_utils = __commonJS((exports, module) => {
|
|
|
18883
18878
|
try {
|
|
18884
18879
|
const decoder = new TextDecoder(exports);
|
|
18885
18880
|
return decoder.decode(data);
|
|
18886
|
-
} catch {
|
|
18887
|
-
}
|
|
18881
|
+
} catch {}
|
|
18888
18882
|
}
|
|
18889
18883
|
};
|
|
18890
18884
|
function convertToUTF8(data, charset, hint) {
|
|
@@ -20614,8 +20608,7 @@ var require_multipart = __commonJS((exports, module) => {
|
|
|
20614
20608
|
`);
|
|
20615
20609
|
var BUF_CR = Buffer.from("\r");
|
|
20616
20610
|
var BUF_DASH = Buffer.from("-");
|
|
20617
|
-
function noop() {
|
|
20618
|
-
}
|
|
20611
|
+
function noop() {}
|
|
20619
20612
|
var MAX_HEADER_PAIRS = 2000;
|
|
20620
20613
|
var MAX_HEADER_SIZE = 16 * 1024;
|
|
20621
20614
|
var HPARSER_NAME = 0;
|
|
@@ -20783,10 +20776,8 @@ var require_multipart = __commonJS((exports, module) => {
|
|
|
20783
20776
|
}
|
|
20784
20777
|
}
|
|
20785
20778
|
var ignoreData = {
|
|
20786
|
-
push: (chunk, pos) => {
|
|
20787
|
-
}
|
|
20788
|
-
destroy: () => {
|
|
20789
|
-
}
|
|
20779
|
+
push: (chunk, pos) => {},
|
|
20780
|
+
destroy: () => {}
|
|
20790
20781
|
};
|
|
20791
20782
|
function callAndUnsetCb(self2, err) {
|
|
20792
20783
|
const cb = self2._writecb;
|
|
@@ -24701,8 +24692,7 @@ var require_WritableStream = __commonJS((exports) => {
|
|
|
24701
24692
|
resolve(undefined);
|
|
24702
24693
|
});
|
|
24703
24694
|
}),
|
|
24704
|
-
releaseLock() {
|
|
24705
|
-
},
|
|
24695
|
+
releaseLock() {},
|
|
24706
24696
|
write(chunk) {
|
|
24707
24697
|
if (chunk == null) {
|
|
24708
24698
|
return (0, utils_js_1.fakePromise)();
|
|
@@ -24803,8 +24793,7 @@ var require_TransformStream = __commonJS((exports) => {
|
|
|
24803
24793
|
}
|
|
24804
24794
|
};
|
|
24805
24795
|
const transform = new node_stream_1.Transform({
|
|
24806
|
-
read() {
|
|
24807
|
-
},
|
|
24796
|
+
read() {},
|
|
24808
24797
|
write(chunk, _encoding, callback) {
|
|
24809
24798
|
try {
|
|
24810
24799
|
const result = transformer.transform?.(chunk, controller);
|
|
@@ -25219,8 +25208,7 @@ var require_ValueOrPromise = __commonJS((exports) => {
|
|
|
25219
25208
|
}
|
|
25220
25209
|
if (containsPromise) {
|
|
25221
25210
|
if (rejected) {
|
|
25222
|
-
Promise.all(values).catch(() => {
|
|
25223
|
-
});
|
|
25211
|
+
Promise.all(values).catch(() => {});
|
|
25224
25212
|
return new ValueOrPromise(() => {
|
|
25225
25213
|
throw reason;
|
|
25226
25214
|
});
|
|
@@ -25411,8 +25399,7 @@ var require_dataloader = __commonJS((exports, module) => {
|
|
|
25411
25399
|
var promise;
|
|
25412
25400
|
if (value instanceof Error) {
|
|
25413
25401
|
promise = Promise.reject(value);
|
|
25414
|
-
promise["catch"](function() {
|
|
25415
|
-
});
|
|
25402
|
+
promise["catch"](function() {});
|
|
25416
25403
|
} else {
|
|
25417
25404
|
promise = Promise.resolve(value);
|
|
25418
25405
|
}
|
|
@@ -27662,8 +27649,7 @@ var require_push_directory = __commonJS((exports) => {
|
|
|
27662
27649
|
paths.push(path);
|
|
27663
27650
|
}
|
|
27664
27651
|
};
|
|
27665
|
-
var empty = () => {
|
|
27666
|
-
};
|
|
27652
|
+
var empty = () => {};
|
|
27667
27653
|
function build(root, options) {
|
|
27668
27654
|
const { includeDirs, filters, relativePaths } = options;
|
|
27669
27655
|
if (!includeDirs)
|
|
@@ -27693,8 +27679,7 @@ var require_push_file = __commonJS((exports) => {
|
|
|
27693
27679
|
var pushFile = (filename, paths) => {
|
|
27694
27680
|
paths.push(filename);
|
|
27695
27681
|
};
|
|
27696
|
-
var empty = () => {
|
|
27697
|
-
};
|
|
27682
|
+
var empty = () => {};
|
|
27698
27683
|
function build(options) {
|
|
27699
27684
|
const { excludeFiles, filters, onlyCounts } = options;
|
|
27700
27685
|
if (excludeFiles)
|
|
@@ -27733,8 +27718,7 @@ var require_group_files = __commonJS((exports) => {
|
|
|
27733
27718
|
var groupFiles = (groups, directory, files) => {
|
|
27734
27719
|
groups.push({ directory, files, dir: directory });
|
|
27735
27720
|
};
|
|
27736
|
-
var empty = () => {
|
|
27737
|
-
};
|
|
27721
|
+
var empty = () => {};
|
|
27738
27722
|
function build(options) {
|
|
27739
27723
|
return options.group ? groupFiles : empty;
|
|
27740
27724
|
}
|
|
@@ -29592,8 +29576,7 @@ var require_builder = __commonJS((exports) => {
|
|
|
29592
29576
|
try {
|
|
29593
29577
|
__require.resolve("picomatch");
|
|
29594
29578
|
pm = require_picomatch2();
|
|
29595
|
-
} catch (_e) {
|
|
29596
|
-
}
|
|
29579
|
+
} catch (_e) {}
|
|
29597
29580
|
|
|
29598
29581
|
class Builder {
|
|
29599
29582
|
globCache = {};
|
|
@@ -30327,8 +30310,7 @@ var require_utils7 = __commonJS((exports) => {
|
|
|
30327
30310
|
function numberToBytesBE(n, len) {
|
|
30328
30311
|
return hexToBytes(n.toString(16).padStart(len * 2, "0"));
|
|
30329
30312
|
}
|
|
30330
|
-
var nextTick = async () => {
|
|
30331
|
-
};
|
|
30313
|
+
var nextTick = async () => {};
|
|
30332
30314
|
exports.nextTick = nextTick;
|
|
30333
30315
|
function utf8ToBytes(str) {
|
|
30334
30316
|
if (typeof str !== "string")
|
|
@@ -30791,8 +30773,7 @@ var require_utils8 = __commonJS((exports) => {
|
|
|
30791
30773
|
}
|
|
30792
30774
|
return array2;
|
|
30793
30775
|
}
|
|
30794
|
-
var nextTick = async () => {
|
|
30795
|
-
};
|
|
30776
|
+
var nextTick = async () => {};
|
|
30796
30777
|
exports.nextTick = nextTick;
|
|
30797
30778
|
async function asyncLoop(iters, tick, cb) {
|
|
30798
30779
|
let ts = Date.now();
|
|
@@ -31789,8 +31770,7 @@ var require_modular = __commonJS((exports) => {
|
|
|
31789
31770
|
return root;
|
|
31790
31771
|
};
|
|
31791
31772
|
}
|
|
31792
|
-
if (P % _16n === _9n) {
|
|
31793
|
-
}
|
|
31773
|
+
if (P % _16n === _9n) {}
|
|
31794
31774
|
return tonelliShanks(P);
|
|
31795
31775
|
}
|
|
31796
31776
|
var isNegativeLE = (num, modulo) => (mod(num, modulo) & _1n) === _1n;
|
|
@@ -37158,8 +37138,7 @@ var require_main3 = __commonJS((exports, module) => {
|
|
|
37158
37138
|
logger.success(`✔ set ${key}${withEncryption} (${changedFilepaths.join(",")})`);
|
|
37159
37139
|
} else if (unchangedFilepaths.length > 0) {
|
|
37160
37140
|
logger.info(`no changes (${unchangedFilepaths})`);
|
|
37161
|
-
} else {
|
|
37162
|
-
}
|
|
37141
|
+
} else {}
|
|
37163
37142
|
for (const processedEnv of processedEnvs) {
|
|
37164
37143
|
if (processedEnv.privateKeyAdded) {
|
|
37165
37144
|
logger.success(`✔ key added to ${processedEnv.envKeysFilepath} (${processedEnv.privateKeyName})`);
|
|
@@ -38399,8 +38378,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
38399
38378
|
this._exitCallback = (err) => {
|
|
38400
38379
|
if (err.code !== "commander.executeSubCommandAsync") {
|
|
38401
38380
|
throw err;
|
|
38402
|
-
} else {
|
|
38403
|
-
}
|
|
38381
|
+
} else {}
|
|
38404
38382
|
};
|
|
38405
38383
|
}
|
|
38406
38384
|
return this;
|
|
@@ -42616,8 +42594,7 @@ function getCustomLoaderByPath(path, cwd) {
|
|
|
42616
42594
|
return requiredModule;
|
|
42617
42595
|
}
|
|
42618
42596
|
}
|
|
42619
|
-
} catch (e) {
|
|
42620
|
-
}
|
|
42597
|
+
} catch (e) {}
|
|
42621
42598
|
return null;
|
|
42622
42599
|
}
|
|
42623
42600
|
async function useCustomLoader(loaderPointer, cwd) {
|
|
@@ -42652,8 +42629,7 @@ function useStack(...fns) {
|
|
|
42652
42629
|
return (input) => {
|
|
42653
42630
|
function createNext(i) {
|
|
42654
42631
|
if (i >= fns.length) {
|
|
42655
|
-
return () => {
|
|
42656
|
-
};
|
|
42632
|
+
return () => {};
|
|
42657
42633
|
}
|
|
42658
42634
|
return function next() {
|
|
42659
42635
|
fns[i](input, createNext(i + 1));
|
|
@@ -44587,8 +44563,7 @@ function createClient(options) {
|
|
|
44587
44563
|
})())));
|
|
44588
44564
|
if (socket.readyState === WebSocketImpl.CLOSING)
|
|
44589
44565
|
await throwOnClose;
|
|
44590
|
-
let release = () => {
|
|
44591
|
-
};
|
|
44566
|
+
let release = () => {};
|
|
44592
44567
|
const released = new Promise((resolve) => release = resolve);
|
|
44593
44568
|
return [
|
|
44594
44569
|
socket,
|
|
@@ -44724,8 +44699,7 @@ function createClient(options) {
|
|
|
44724
44699
|
const deferred = {
|
|
44725
44700
|
done: false,
|
|
44726
44701
|
error: null,
|
|
44727
|
-
resolve: () => {
|
|
44728
|
-
}
|
|
44702
|
+
resolve: () => {}
|
|
44729
44703
|
};
|
|
44730
44704
|
const dispose = subscribe(request, {
|
|
44731
44705
|
next(val) {
|
|
@@ -44886,8 +44860,7 @@ if (!shouldSkipPonyfill()) {
|
|
|
44886
44860
|
try {
|
|
44887
44861
|
const nodelibcurlName = "node-libcurl";
|
|
44888
44862
|
globalThis.libcurl = globalThis.libcurl || __require(nodelibcurlName);
|
|
44889
|
-
} catch (e) {
|
|
44890
|
-
}
|
|
44863
|
+
} catch (e) {}
|
|
44891
44864
|
}
|
|
44892
44865
|
var $fetch = ponyfills.fetch;
|
|
44893
44866
|
var $Headers = ponyfills.Headers;
|
|
@@ -45245,8 +45218,7 @@ var Stopped = 2;
|
|
|
45245
45218
|
var Done = 3;
|
|
45246
45219
|
var Rejected = 4;
|
|
45247
45220
|
var MAX_QUEUE_LENGTH = 1024;
|
|
45248
|
-
var NOOP = function() {
|
|
45249
|
-
};
|
|
45221
|
+
var NOOP = function() {};
|
|
45250
45222
|
function consumeExecution(r) {
|
|
45251
45223
|
var err = r.err;
|
|
45252
45224
|
var execution = Promise.resolve(r.execution).then(function(value) {
|
|
@@ -46012,8 +45984,7 @@ async function t(t2, n) {
|
|
|
46012
45984
|
if (d = f2["content-type"], d && ~d.indexOf("application/json"))
|
|
46013
45985
|
try {
|
|
46014
45986
|
r3 = JSON.parse(r3), l3 = true;
|
|
46015
|
-
} catch (e3) {
|
|
46016
|
-
}
|
|
45987
|
+
} catch (e3) {}
|
|
46017
45988
|
if (d = { headers: f2, body: r3, json: l3 }, a ? yield d : c.push(d), t5.slice(0, 2) === "--")
|
|
46018
45989
|
break e;
|
|
46019
45990
|
} else
|
|
@@ -46058,8 +46029,7 @@ async function e2(e3, t2) {
|
|
|
46058
46029
|
if (f = d["content-type"], f && ~f.indexOf("application/json"))
|
|
46059
46030
|
try {
|
|
46060
46031
|
l2 = JSON.parse(String(l2)), i3 = true;
|
|
46061
|
-
} catch (e7) {
|
|
46062
|
-
}
|
|
46032
|
+
} catch (e7) {}
|
|
46063
46033
|
if (f = { headers: d, body: l2, json: i3 }, a ? yield f : s.push(f), n4[0] === 45 && n4[1] === 45)
|
|
46064
46034
|
break e;
|
|
46065
46035
|
} else
|
|
@@ -47765,8 +47735,7 @@ async function executeStreamIterator(initialIndex, iterator, exeContext, fieldNo
|
|
|
47765
47735
|
filterSubsequentPayloads(exeContext, path, asyncPayloadRecord);
|
|
47766
47736
|
asyncPayloadRecord.addItems(null);
|
|
47767
47737
|
if (iterator?.return) {
|
|
47768
|
-
iterator.return().catch(() => {
|
|
47769
|
-
});
|
|
47738
|
+
iterator.return().catch(() => {});
|
|
47770
47739
|
}
|
|
47771
47740
|
return;
|
|
47772
47741
|
}
|
|
@@ -47801,8 +47770,7 @@ function filterSubsequentPayloads(exeContext, nullPath, currentAsyncRecord) {
|
|
|
47801
47770
|
}
|
|
47802
47771
|
}
|
|
47803
47772
|
if (isStreamPayload(asyncRecord) && asyncRecord.iterator?.return) {
|
|
47804
|
-
asyncRecord.iterator.return().catch(() => {
|
|
47805
|
-
});
|
|
47773
|
+
asyncRecord.iterator.return().catch(() => {});
|
|
47806
47774
|
}
|
|
47807
47775
|
exeContext.subsequentPayloads.delete(asyncRecord);
|
|
47808
47776
|
});
|
|
@@ -50660,54 +50628,39 @@ async function fetchProcessedSchema(endpoint, accessToken, adminSecret, timeoutM
|
|
|
50660
50628
|
const schema = await fetchGraphQLSchema(endpoint, accessToken, adminSecret, timeoutMs);
|
|
50661
50629
|
return processSchema(schema);
|
|
50662
50630
|
}
|
|
50631
|
+
var formatField = (name, field) => {
|
|
50632
|
+
const args = field.args.length > 0 ? ` (${field.args.map((arg) => `${arg.name}: ${arg.type}`).join(", ")})` : "";
|
|
50633
|
+
const returnType = ` → ${field.type}`;
|
|
50634
|
+
return `• ${name}${args}${returnType}`;
|
|
50635
|
+
};
|
|
50636
|
+
var formatFields = (fields2) => {
|
|
50637
|
+
return Object.entries(fields2).map(([name, field]) => formatField(name, field));
|
|
50638
|
+
};
|
|
50663
50639
|
var createSchemaDescription = (schema) => {
|
|
50664
50640
|
const parts = [];
|
|
50665
50641
|
const queryType = schema.getQueryType();
|
|
50666
50642
|
if (queryType) {
|
|
50667
|
-
|
|
50668
|
-
for (const [name, field] of Object.entries(fields2)) {
|
|
50669
|
-
const args = field.args.length > 0 ? ` (${field.args.map((arg) => `${arg.name}: ${arg.type}`).join(", ")})` : "";
|
|
50670
|
-
const returnType = ` → ${field.type}`;
|
|
50671
|
-
parts.push(`• ${name}${args}${returnType}`);
|
|
50672
|
-
}
|
|
50673
|
-
parts.push("");
|
|
50643
|
+
parts.push(...formatFields(queryType.getFields()), "");
|
|
50674
50644
|
}
|
|
50675
50645
|
const mutationType = schema.getMutationType();
|
|
50676
50646
|
if (mutationType) {
|
|
50677
|
-
|
|
50678
|
-
for (const [name, field] of Object.entries(fields2)) {
|
|
50679
|
-
const args = field.args.length > 0 ? ` (${field.args.map((arg) => `${arg.name}: ${arg.type}`).join(", ")})` : "";
|
|
50680
|
-
const returnType = ` → ${field.type}`;
|
|
50681
|
-
parts.push(`• ${name}${args}${returnType}`);
|
|
50682
|
-
}
|
|
50683
|
-
parts.push("");
|
|
50647
|
+
parts.push(...formatFields(mutationType.getFields()), "");
|
|
50684
50648
|
}
|
|
50685
50649
|
return parts.join(`
|
|
50686
50650
|
`).trim();
|
|
50687
50651
|
};
|
|
50688
|
-
var
|
|
50689
|
-
|
|
50652
|
+
var extractOperationFields = (schema, getType) => {
|
|
50653
|
+
const type = getType(schema);
|
|
50654
|
+
return type ? type.getFields() : {};
|
|
50690
50655
|
};
|
|
50691
50656
|
var extractQueries = (schema) => {
|
|
50692
|
-
|
|
50693
|
-
if (!queryType) {
|
|
50694
|
-
return {};
|
|
50695
|
-
}
|
|
50696
|
-
return processFields(queryType);
|
|
50657
|
+
return extractOperationFields(schema, (s) => s.getQueryType());
|
|
50697
50658
|
};
|
|
50698
50659
|
var extractMutations = (schema) => {
|
|
50699
|
-
|
|
50700
|
-
if (!mutationType) {
|
|
50701
|
-
return {};
|
|
50702
|
-
}
|
|
50703
|
-
return processFields(mutationType);
|
|
50660
|
+
return extractOperationFields(schema, (s) => s.getMutationType());
|
|
50704
50661
|
};
|
|
50705
50662
|
var extractSubscriptions = (schema) => {
|
|
50706
|
-
|
|
50707
|
-
if (!subscriptionType) {
|
|
50708
|
-
return {};
|
|
50709
|
-
}
|
|
50710
|
-
return processFields(subscriptionType);
|
|
50663
|
+
return extractOperationFields(schema, (s) => s.getSubscriptionType());
|
|
50711
50664
|
};
|
|
50712
50665
|
var extractTypes = (schema) => {
|
|
50713
50666
|
const typeMap = schema.getTypeMap();
|
|
@@ -50787,8 +50740,7 @@ var portalQueries = (server, env3) => {
|
|
|
50787
50740
|
var util;
|
|
50788
50741
|
(function(util2) {
|
|
50789
50742
|
util2.assertEqual = (val) => val;
|
|
50790
|
-
function assertIs(_arg) {
|
|
50791
|
-
}
|
|
50743
|
+
function assertIs(_arg) {}
|
|
50792
50744
|
util2.assertIs = assertIs;
|
|
50793
50745
|
function assertNever(_x) {
|
|
50794
50746
|
throw new Error;
|
|
@@ -56102,8 +56054,7 @@ function parseStringDef(def, refs) {
|
|
|
56102
56054
|
case "trim":
|
|
56103
56055
|
break;
|
|
56104
56056
|
default:
|
|
56105
|
-
((_) => {
|
|
56106
|
-
})(check);
|
|
56057
|
+
((_) => {})(check);
|
|
56107
56058
|
}
|
|
56108
56059
|
}
|
|
56109
56060
|
}
|
|
@@ -58114,8 +58065,7 @@ class Minimatch {
|
|
|
58114
58065
|
}
|
|
58115
58066
|
return false;
|
|
58116
58067
|
}
|
|
58117
|
-
debug(..._) {
|
|
58118
|
-
}
|
|
58068
|
+
debug(..._) {}
|
|
58119
58069
|
make() {
|
|
58120
58070
|
const pattern = this.pattern;
|
|
58121
58071
|
const options = this.options;
|
|
@@ -58947,12 +58897,9 @@ class LRUCache {
|
|
|
58947
58897
|
return !!t2 && !!s && (cachedNow || getNow()) - s > t2;
|
|
58948
58898
|
};
|
|
58949
58899
|
}
|
|
58950
|
-
#updateItemAge = () => {
|
|
58951
|
-
};
|
|
58952
|
-
#
|
|
58953
|
-
};
|
|
58954
|
-
#setItemTTL = () => {
|
|
58955
|
-
};
|
|
58900
|
+
#updateItemAge = () => {};
|
|
58901
|
+
#statusTTL = () => {};
|
|
58902
|
+
#setItemTTL = () => {};
|
|
58956
58903
|
#isStale = () => false;
|
|
58957
58904
|
#initializeSizeTracking() {
|
|
58958
58905
|
const sizes = new ZeroArray(this.#max);
|
|
@@ -58996,10 +58943,8 @@ class LRUCache {
|
|
|
58996
58943
|
}
|
|
58997
58944
|
};
|
|
58998
58945
|
}
|
|
58999
|
-
#removeItemSize = (_i) => {
|
|
59000
|
-
};
|
|
59001
|
-
#addItemSize = (_i, _s, _st) => {
|
|
59002
|
-
};
|
|
58946
|
+
#removeItemSize = (_i) => {};
|
|
58947
|
+
#addItemSize = (_i, _s, _st) => {};
|
|
59003
58948
|
#requireSize = (_k, _v, size, sizeCalculation) => {
|
|
59004
58949
|
if (size || sizeCalculation) {
|
|
59005
58950
|
throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");
|
|
@@ -59798,8 +59743,7 @@ class Pipe {
|
|
|
59798
59743
|
unpipe() {
|
|
59799
59744
|
this.dest.removeListener("drain", this.ondrain);
|
|
59800
59745
|
}
|
|
59801
|
-
proxyErrors(_er) {
|
|
59802
|
-
}
|
|
59746
|
+
proxyErrors(_er) {}
|
|
59803
59747
|
end() {
|
|
59804
59748
|
this.unpipe();
|
|
59805
59749
|
if (this.opts.end)
|
|
@@ -59909,8 +59853,7 @@ class Minipass extends EventEmitter {
|
|
|
59909
59853
|
get aborted() {
|
|
59910
59854
|
return this[ABORTED];
|
|
59911
59855
|
}
|
|
59912
|
-
set aborted(_) {
|
|
59913
|
-
}
|
|
59856
|
+
set aborted(_) {}
|
|
59914
59857
|
write(chunk, encoding, cb) {
|
|
59915
59858
|
if (this[ABORTED])
|
|
59916
59859
|
return false;
|
|
@@ -60082,8 +60025,7 @@ class Minipass extends EventEmitter {
|
|
|
60082
60025
|
return this[BUFFER].shift();
|
|
60083
60026
|
}
|
|
60084
60027
|
[FLUSH](noDrain = false) {
|
|
60085
|
-
do {
|
|
60086
|
-
} while (this[FLUSHCHUNK](this[BUFFERSHIFT]()) && this[BUFFER].length);
|
|
60028
|
+
do {} while (this[FLUSHCHUNK](this[BUFFERSHIFT]()) && this[BUFFER].length);
|
|
60087
60029
|
if (!noDrain && !this[BUFFER].length && !this[EOF])
|
|
60088
60030
|
this.emit("drain");
|
|
60089
60031
|
}
|
|
@@ -61028,8 +60970,7 @@ class PathBase {
|
|
|
61028
60970
|
if (this.#asyncReaddirInFlight) {
|
|
61029
60971
|
await this.#asyncReaddirInFlight;
|
|
61030
60972
|
} else {
|
|
61031
|
-
let resolve = () => {
|
|
61032
|
-
};
|
|
60973
|
+
let resolve = () => {};
|
|
61033
60974
|
this.#asyncReaddirInFlight = new Promise((res) => resolve = res);
|
|
61034
60975
|
try {
|
|
61035
60976
|
for (const e3 of await this.#fs.promises.readdir(fullpath, {
|
|
@@ -62894,7 +62835,7 @@ var {
|
|
|
62894
62835
|
var package_default = {
|
|
62895
62836
|
name: "@settlemint/sdk-mcp",
|
|
62896
62837
|
description: "MCP interface for SettleMint SDK, providing development tools and project management capabilities",
|
|
62897
|
-
version: "1.1.16-
|
|
62838
|
+
version: "1.1.16-pr59b02f90",
|
|
62898
62839
|
type: "module",
|
|
62899
62840
|
private: false,
|
|
62900
62841
|
license: "FSL-1.1-MIT",
|
|
@@ -62937,8 +62878,8 @@ var package_default = {
|
|
|
62937
62878
|
"@graphql-tools/load": "8.0.17",
|
|
62938
62879
|
"@graphql-tools/url-loader": "8.0.29",
|
|
62939
62880
|
"@modelcontextprotocol/sdk": "1.6.1",
|
|
62940
|
-
"@settlemint/sdk-js": "1.1.16-
|
|
62941
|
-
"@settlemint/sdk-utils": "1.1.16-
|
|
62881
|
+
"@settlemint/sdk-js": "1.1.16-pr59b02f90",
|
|
62882
|
+
"@settlemint/sdk-utils": "1.1.16-pr59b02f90",
|
|
62942
62883
|
"@commander-js/extra-typings": "13.1.0",
|
|
62943
62884
|
commander: "13.1.0",
|
|
62944
62885
|
zod: "3.24.2"
|
|
@@ -63757,6 +63698,16 @@ var registerBlockchainConcepts = (server) => {
|
|
|
63757
63698
|
|
|
63758
63699
|
// src/utils/sdl.ts
|
|
63759
63700
|
var import_graphql53 = __toESM(require_graphql2(), 1);
|
|
63701
|
+
var processFieldTypes = (fields2, schema, collectedTypes) => {
|
|
63702
|
+
for (const field of Object.values(fields2)) {
|
|
63703
|
+
collectCustomTypes(field.type, schema, collectedTypes);
|
|
63704
|
+
if ("args" in field && field.args.length > 0) {
|
|
63705
|
+
for (const arg of field.args) {
|
|
63706
|
+
collectCustomTypes(arg.type, schema, collectedTypes);
|
|
63707
|
+
}
|
|
63708
|
+
}
|
|
63709
|
+
}
|
|
63710
|
+
};
|
|
63760
63711
|
var collectCustomTypes = (type, schema, collectedTypes = new Set) => {
|
|
63761
63712
|
const typeName = type.toString().replace(/[\[\]!]/g, "");
|
|
63762
63713
|
if (collectedTypes.has(typeName) || ["String", "Int", "Float", "Boolean", "ID"].includes(typeName)) {
|
|
@@ -63767,20 +63718,9 @@ var collectCustomTypes = (type, schema, collectedTypes = new Set) => {
|
|
|
63767
63718
|
return collectedTypes;
|
|
63768
63719
|
}
|
|
63769
63720
|
collectedTypes.add(typeName);
|
|
63770
|
-
if (import_graphql53.isInputObjectType(schemaType)) {
|
|
63771
|
-
const fields2 = schemaType.getFields();
|
|
63772
|
-
for (const field of Object.values(fields2)) {
|
|
63773
|
-
collectCustomTypes(field.type, schema, collectedTypes);
|
|
63774
|
-
}
|
|
63775
|
-
}
|
|
63776
|
-
if (import_graphql53.isObjectType(schemaType)) {
|
|
63721
|
+
if (import_graphql53.isInputObjectType(schemaType) || import_graphql53.isObjectType(schemaType)) {
|
|
63777
63722
|
const fields2 = schemaType.getFields();
|
|
63778
|
-
|
|
63779
|
-
collectCustomTypes(field.type, schema, collectedTypes);
|
|
63780
|
-
for (const arg of field.args) {
|
|
63781
|
-
collectCustomTypes(arg.type, schema, collectedTypes);
|
|
63782
|
-
}
|
|
63783
|
-
}
|
|
63723
|
+
processFieldTypes(fields2, schema, collectedTypes);
|
|
63784
63724
|
}
|
|
63785
63725
|
return collectedTypes;
|
|
63786
63726
|
};
|
|
@@ -64741,16 +64681,14 @@ function blockString(e4) {
|
|
|
64741
64681
|
function ignored() {
|
|
64742
64682
|
for (var e4 = 0 | i.charCodeAt(n++);e4 === 9 || e4 === 10 || e4 === 13 || e4 === 32 || e4 === 35 || e4 === 44 || e4 === 65279; e4 = 0 | i.charCodeAt(n++)) {
|
|
64743
64683
|
if (e4 === 35) {
|
|
64744
|
-
for (;(e4 = i.charCodeAt(n++)) !== 10 && e4 !== 13; ) {
|
|
64745
|
-
}
|
|
64684
|
+
for (;(e4 = i.charCodeAt(n++)) !== 10 && e4 !== 13; ) {}
|
|
64746
64685
|
}
|
|
64747
64686
|
}
|
|
64748
64687
|
n--;
|
|
64749
64688
|
}
|
|
64750
64689
|
function name() {
|
|
64751
64690
|
var e4 = n;
|
|
64752
|
-
for (var r = 0 | i.charCodeAt(n++);r >= 48 && r <= 57 || r >= 65 && r <= 90 || r === 95 || r >= 97 && r <= 122; r = 0 | i.charCodeAt(n++)) {
|
|
64753
|
-
}
|
|
64691
|
+
for (var r = 0 | i.charCodeAt(n++);r >= 48 && r <= 57 || r >= 65 && r <= 90 || r === 95 || r >= 97 && r <= 122; r = 0 | i.charCodeAt(n++)) {}
|
|
64754
64692
|
if (e4 === n - 1) {
|
|
64755
64693
|
throw error("Name");
|
|
64756
64694
|
}
|
|
@@ -64819,8 +64757,7 @@ function value(e4) {
|
|
|
64819
64757
|
var s;
|
|
64820
64758
|
n++;
|
|
64821
64759
|
var c = false;
|
|
64822
|
-
for (s = 0 | i.charCodeAt(n++);s === 92 && (n++, c = true) || s !== 10 && s !== 13 && s !== 34 && s; s = 0 | i.charCodeAt(n++)) {
|
|
64823
|
-
}
|
|
64760
|
+
for (s = 0 | i.charCodeAt(n++);s === 92 && (n++, c = true) || s !== 10 && s !== 13 && s !== 34 && s; s = 0 | i.charCodeAt(n++)) {}
|
|
64824
64761
|
if (s !== 34) {
|
|
64825
64762
|
throw error("StringValue");
|
|
64826
64763
|
}
|
|
@@ -64843,8 +64780,7 @@ function value(e4) {
|
|
|
64843
64780
|
case 57:
|
|
64844
64781
|
var v = n++;
|
|
64845
64782
|
var f;
|
|
64846
|
-
for (;(f = 0 | i.charCodeAt(n++)) >= 48 && f <= 57; ) {
|
|
64847
|
-
}
|
|
64783
|
+
for (;(f = 0 | i.charCodeAt(n++)) >= 48 && f <= 57; ) {}
|
|
64848
64784
|
var m = i.slice(v, --n);
|
|
64849
64785
|
if ((f = i.charCodeAt(n)) === 46 || f === 69 || f === 101) {
|
|
64850
64786
|
if ((r = advance(o)) == null) {
|
|
@@ -68612,4 +68548,4 @@ main().catch((error2) => {
|
|
|
68612
68548
|
process.exit(1);
|
|
68613
68549
|
});
|
|
68614
68550
|
|
|
68615
|
-
//# debugId=
|
|
68551
|
+
//# debugId=DB95AFAD65B0FBAE64756E2164756E21
|