@gr4vy/sdk 0.18.8 → 0.18.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.
- package/bin/mcp-server.js +6 -6
- package/bin/mcp-server.js.map +4 -4
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
package/jsr.json
CHANGED
package/lib/config.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export declare const ServerSandbox = "sandbox";
|
|
|
7
7
|
* Contains the list of servers available to the SDK
|
|
8
8
|
*/
|
|
9
9
|
export declare const ServerList: {
|
|
10
|
-
readonly production: "https://api.
|
|
10
|
+
readonly production: "https://api.example.gr4vy.app";
|
|
11
11
|
readonly sandbox: "https://api.sandbox.{id}.gr4vy.app";
|
|
12
12
|
};
|
|
13
13
|
export type SDKOptions = {
|
|
@@ -40,8 +40,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
40
40
|
export declare const SDK_METADATA: {
|
|
41
41
|
readonly language: "typescript";
|
|
42
42
|
readonly openapiDocVersion: "1.0.0";
|
|
43
|
-
readonly sdkVersion: "0.18.
|
|
43
|
+
readonly sdkVersion: "0.18.9";
|
|
44
44
|
readonly genVersion: "2.593.3";
|
|
45
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.18.
|
|
45
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.18.9 2.593.3 1.0.0 @gr4vy/sdk";
|
|
46
46
|
};
|
|
47
47
|
//# sourceMappingURL=config.d.ts.map
|
package/lib/config.js
CHANGED
|
@@ -12,7 +12,7 @@ exports.ServerSandbox = "sandbox";
|
|
|
12
12
|
* Contains the list of servers available to the SDK
|
|
13
13
|
*/
|
|
14
14
|
exports.ServerList = {
|
|
15
|
-
[exports.ServerProduction]: "https://api.
|
|
15
|
+
[exports.ServerProduction]: "https://api.example.gr4vy.app",
|
|
16
16
|
[exports.ServerSandbox]: "https://api.sandbox.{id}.gr4vy.app",
|
|
17
17
|
};
|
|
18
18
|
function serverURLFromOptions(options) {
|
|
@@ -37,8 +37,8 @@ function serverURLFromOptions(options) {
|
|
|
37
37
|
exports.SDK_METADATA = {
|
|
38
38
|
language: "typescript",
|
|
39
39
|
openapiDocVersion: "1.0.0",
|
|
40
|
-
sdkVersion: "0.18.
|
|
40
|
+
sdkVersion: "0.18.9",
|
|
41
41
|
genVersion: "2.593.3",
|
|
42
|
-
userAgent: "speakeasy-sdk/typescript 0.18.
|
|
42
|
+
userAgent: "speakeasy-sdk/typescript 0.18.9 2.593.3 1.0.0 @gr4vy/sdk",
|
|
43
43
|
};
|
|
44
44
|
//# sourceMappingURL=config.js.map
|
package/lib/config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/lib/config.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AA8CH,oDAsBC;AA/DD,qCAA8C;AAEjC,QAAA,gBAAgB,GAAG,YAAY,CAAC;AAChC,QAAA,aAAa,GAAG,SAAS,CAAC;AACvC;;GAEG;AACU,QAAA,UAAU,GAAG;IACxB,CAAC,wBAAgB,CAAC,EAAE
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/lib/config.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AA8CH,oDAsBC;AA/DD,qCAA8C;AAEjC,QAAA,gBAAgB,GAAG,YAAY,CAAC;AAChC,QAAA,aAAa,GAAG,SAAS,CAAC;AACvC;;GAEG;AACU,QAAA,UAAU,GAAG;IACxB,CAAC,wBAAgB,CAAC,EAAE,+BAA+B;IACnD,CAAC,qBAAa,CAAC,EAAE,oCAAoC;CAC7C,CAAC;AA+BX,SAAgB,oBAAoB,CAAC,OAAmB;IACtD,IAAI,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;IAElC,MAAM,YAAY,GAA2B;QAC3C,YAAY,EAAE;YACZ,IAAI,EAAE,OAAO,CAAC,EAAE,IAAI,SAAS;SAC9B;QACD,SAAS,EAAE;YACT,IAAI,EAAE,OAAO,CAAC,EAAE,IAAI,SAAS;SAC9B;KACF,CAAC;IAEF,IAAI,MAAM,GAAW,EAAE,CAAC;IAExB,IAAI,CAAC,SAAS,EAAE,CAAC;QACf,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,IAAI,wBAAgB,CAAC;QAClD,SAAS,GAAG,kBAAU,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;QACrC,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;IACtC,CAAC;IAED,MAAM,CAAC,GAAG,IAAA,mBAAU,EAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;IACxC,OAAO,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC;AACpB,CAAC;AAEY,QAAA,YAAY,GAAG;IAC1B,QAAQ,EAAE,YAAY;IACtB,iBAAiB,EAAE,OAAO;IAC1B,UAAU,EAAE,QAAQ;IACpB,UAAU,EAAE,SAAS;IACrB,SAAS,EAAE,0DAA0D;CAC7D,CAAC"}
|
package/mcp-server/mcp-server.js
CHANGED
|
@@ -22,7 +22,7 @@ const routes = (0, core_1.buildRouteMap)({
|
|
|
22
22
|
exports.app = (0, core_1.buildApplication)(routes, {
|
|
23
23
|
name: "mcp",
|
|
24
24
|
versionInfo: {
|
|
25
|
-
currentVersion: "0.18.
|
|
25
|
+
currentVersion: "0.18.9",
|
|
26
26
|
},
|
|
27
27
|
});
|
|
28
28
|
(0, core_1.run)(exports.app, node_process_1.default.argv.slice(2), (0, cli_js_1.buildContext)(node_process_1.default));
|
package/mcp-server/server.js
CHANGED
|
@@ -75,7 +75,7 @@ const transactionsVoid_js_1 = require("./tools/transactionsVoid.js");
|
|
|
75
75
|
function createMCPServer(deps) {
|
|
76
76
|
const server = new mcp_js_1.McpServer({
|
|
77
77
|
name: "Gr4vy",
|
|
78
|
-
version: "0.18.
|
|
78
|
+
version: "0.18.9",
|
|
79
79
|
});
|
|
80
80
|
const client = new core_js_1.Gr4vyCore({
|
|
81
81
|
bearerAuth: deps.bearerAuth,
|
package/package.json
CHANGED
package/src/lib/config.ts
CHANGED
|
@@ -13,7 +13,7 @@ export const ServerSandbox = "sandbox";
|
|
|
13
13
|
* Contains the list of servers available to the SDK
|
|
14
14
|
*/
|
|
15
15
|
export const ServerList = {
|
|
16
|
-
[ServerProduction]: "https://api.
|
|
16
|
+
[ServerProduction]: "https://api.example.gr4vy.app",
|
|
17
17
|
[ServerSandbox]: "https://api.sandbox.{id}.gr4vy.app",
|
|
18
18
|
} as const;
|
|
19
19
|
|
|
@@ -73,7 +73,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
73
73
|
export const SDK_METADATA = {
|
|
74
74
|
language: "typescript",
|
|
75
75
|
openapiDocVersion: "1.0.0",
|
|
76
|
-
sdkVersion: "0.18.
|
|
76
|
+
sdkVersion: "0.18.9",
|
|
77
77
|
genVersion: "2.593.3",
|
|
78
|
-
userAgent: "speakeasy-sdk/typescript 0.18.
|
|
78
|
+
userAgent: "speakeasy-sdk/typescript 0.18.9 2.593.3 1.0.0 @gr4vy/sdk",
|
|
79
79
|
} as const;
|