@compass-labs/api-sdk 1.0.18 → 1.0.20
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 +31 -31
- package/bin/mcp-server.js.map +9 -9
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/components/unsignedmulticalltransaction.d.ts +12 -12
- package/dist/commonjs/models/components/unsignedmulticalltransaction.js +12 -12
- package/dist/commonjs/models/components/unsignedmulticalltransaction.js.map +1 -1
- package/dist/commonjs/models/components/unsignedtransaction.d.ts +12 -12
- package/dist/commonjs/models/components/unsignedtransaction.js +12 -12
- package/dist/commonjs/models/components/unsignedtransaction.js.map +1 -1
- package/dist/commonjs/models/components/useroperationresponse.d.ts +2 -2
- package/dist/commonjs/models/components/useroperationresponse.js +2 -2
- package/dist/commonjs/models/components/useroperationresponse.js.map +1 -1
- package/dist/commonjs/models/operations/v1skyposition.d.ts +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/components/unsignedmulticalltransaction.d.ts +12 -12
- package/dist/esm/models/components/unsignedmulticalltransaction.js +12 -12
- package/dist/esm/models/components/unsignedmulticalltransaction.js.map +1 -1
- package/dist/esm/models/components/unsignedtransaction.d.ts +12 -12
- package/dist/esm/models/components/unsignedtransaction.js +12 -12
- package/dist/esm/models/components/unsignedtransaction.js.map +1 -1
- package/dist/esm/models/components/useroperationresponse.d.ts +2 -2
- package/dist/esm/models/components/useroperationresponse.js +2 -2
- package/dist/esm/models/components/useroperationresponse.js.map +1 -1
- package/dist/esm/models/operations/v1skyposition.d.ts +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/unsignedmulticalltransaction.ts +24 -24
- package/src/models/components/unsignedtransaction.ts +24 -24
- package/src/models/components/useroperationresponse.ts +4 -4
- package/src/models/operations/v1skyposition.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useroperationresponse.js","sourceRoot":"","sources":["../../../../src/models/components/useroperationresponse.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAmBjD,gBAAgB;AAChB,MAAM,CAAC,MAAM,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE
|
|
1
|
+
{"version":3,"file":"useroperationresponse.js","sourceRoot":"","sources":["../../../../src/models/components/useroperationresponse.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAmBjD,gBAAgB;AAChB,MAAM,CAAC,MAAM,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC;AASH,gBAAgB;AAChB,MAAM,CAAC,MAAM,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,KAAW,sBAAsB,CAOtC;AAPD,WAAiB,sBAAsB;IACrC,qEAAqE;IACxD,oCAAa,GAAG,mCAAmC,CAAC;IACjE,sEAAsE;IACzD,qCAAc,GAAG,oCAAoC,CAAC;AAGrE,CAAC,EAPgB,sBAAsB,KAAtB,sBAAsB,QAOtC;AAED,MAAM,UAAU,2BAA2B,CACzC,qBAA4C;IAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,oCAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,6BAA6B,CAC3C,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,mCAAmC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/D,mDAAmD,CACpD,CAAC;AACJ,CAAC"}
|
|
@@ -9,7 +9,7 @@ export type V1SkyPositionChain = ClosedEnum<typeof V1SkyPositionChain>;
|
|
|
9
9
|
export type V1SkyPositionRequest = {
|
|
10
10
|
chain?: V1SkyPositionChain | undefined;
|
|
11
11
|
/**
|
|
12
|
-
* The user
|
|
12
|
+
* The user-address of the desired position.
|
|
13
13
|
*/
|
|
14
14
|
userAddress?: string | undefined;
|
|
15
15
|
};
|
package/jsr.json
CHANGED
package/package.json
CHANGED
package/src/lib/config.ts
CHANGED
|
@@ -61,8 +61,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
61
61
|
export const SDK_METADATA = {
|
|
62
62
|
language: "typescript",
|
|
63
63
|
openapiDocVersion: "0.0.1",
|
|
64
|
-
sdkVersion: "1.0.
|
|
64
|
+
sdkVersion: "1.0.20",
|
|
65
65
|
genVersion: "2.684.0",
|
|
66
66
|
userAgent:
|
|
67
|
-
"speakeasy-sdk/typescript 1.0.
|
|
67
|
+
"speakeasy-sdk/typescript 1.0.20 2.684.0 0.0.1 @compass-labs/api-sdk",
|
|
68
68
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -17,7 +17,7 @@ export type UnsignedMulticallTransaction = {
|
|
|
17
17
|
/**
|
|
18
18
|
* The chain id of the transaction
|
|
19
19
|
*/
|
|
20
|
-
chainId:
|
|
20
|
+
chainId: string;
|
|
21
21
|
/**
|
|
22
22
|
* The data of the transaction
|
|
23
23
|
*/
|
|
@@ -29,7 +29,7 @@ export type UnsignedMulticallTransaction = {
|
|
|
29
29
|
/**
|
|
30
30
|
* The gas of the transaction
|
|
31
31
|
*/
|
|
32
|
-
gas:
|
|
32
|
+
gas: string;
|
|
33
33
|
/**
|
|
34
34
|
* The recipient of the transaction
|
|
35
35
|
*/
|
|
@@ -37,19 +37,19 @@ export type UnsignedMulticallTransaction = {
|
|
|
37
37
|
/**
|
|
38
38
|
* The value of the transaction
|
|
39
39
|
*/
|
|
40
|
-
value:
|
|
40
|
+
value: string;
|
|
41
41
|
/**
|
|
42
42
|
* The nonce of the address
|
|
43
43
|
*/
|
|
44
|
-
nonce:
|
|
44
|
+
nonce: string;
|
|
45
45
|
/**
|
|
46
46
|
* The max fee per gas of the transaction
|
|
47
47
|
*/
|
|
48
|
-
maxFeePerGas:
|
|
48
|
+
maxFeePerGas: string;
|
|
49
49
|
/**
|
|
50
50
|
* The max priority fee per gas of the transaction
|
|
51
51
|
*/
|
|
52
|
-
maxPriorityFeePerGas:
|
|
52
|
+
maxPriorityFeePerGas: string;
|
|
53
53
|
/**
|
|
54
54
|
* EIP-7702 authorization
|
|
55
55
|
*/
|
|
@@ -62,29 +62,29 @@ export const UnsignedMulticallTransaction$inboundSchema: z.ZodType<
|
|
|
62
62
|
z.ZodTypeDef,
|
|
63
63
|
unknown
|
|
64
64
|
> = z.object({
|
|
65
|
-
chainId: z.
|
|
65
|
+
chainId: z.string(),
|
|
66
66
|
data: z.string(),
|
|
67
67
|
from: z.string(),
|
|
68
|
-
gas: z.
|
|
68
|
+
gas: z.string(),
|
|
69
69
|
to: z.string(),
|
|
70
|
-
value: z.
|
|
71
|
-
nonce: z.
|
|
72
|
-
maxFeePerGas: z.
|
|
73
|
-
maxPriorityFeePerGas: z.
|
|
70
|
+
value: z.string(),
|
|
71
|
+
nonce: z.string(),
|
|
72
|
+
maxFeePerGas: z.string(),
|
|
73
|
+
maxPriorityFeePerGas: z.string(),
|
|
74
74
|
authorizationList: z.array(SignedAuthorization$inboundSchema).optional(),
|
|
75
75
|
});
|
|
76
76
|
|
|
77
77
|
/** @internal */
|
|
78
78
|
export type UnsignedMulticallTransaction$Outbound = {
|
|
79
|
-
chainId:
|
|
79
|
+
chainId: string;
|
|
80
80
|
data: string;
|
|
81
81
|
from: string;
|
|
82
|
-
gas:
|
|
82
|
+
gas: string;
|
|
83
83
|
to: string;
|
|
84
|
-
value:
|
|
85
|
-
nonce:
|
|
86
|
-
maxFeePerGas:
|
|
87
|
-
maxPriorityFeePerGas:
|
|
84
|
+
value: string;
|
|
85
|
+
nonce: string;
|
|
86
|
+
maxFeePerGas: string;
|
|
87
|
+
maxPriorityFeePerGas: string;
|
|
88
88
|
authorizationList?: Array<SignedAuthorization$Outbound> | undefined;
|
|
89
89
|
};
|
|
90
90
|
|
|
@@ -94,15 +94,15 @@ export const UnsignedMulticallTransaction$outboundSchema: z.ZodType<
|
|
|
94
94
|
z.ZodTypeDef,
|
|
95
95
|
UnsignedMulticallTransaction
|
|
96
96
|
> = z.object({
|
|
97
|
-
chainId: z.
|
|
97
|
+
chainId: z.string(),
|
|
98
98
|
data: z.string(),
|
|
99
99
|
from: z.string(),
|
|
100
|
-
gas: z.
|
|
100
|
+
gas: z.string(),
|
|
101
101
|
to: z.string(),
|
|
102
|
-
value: z.
|
|
103
|
-
nonce: z.
|
|
104
|
-
maxFeePerGas: z.
|
|
105
|
-
maxPriorityFeePerGas: z.
|
|
102
|
+
value: z.string(),
|
|
103
|
+
nonce: z.string(),
|
|
104
|
+
maxFeePerGas: z.string(),
|
|
105
|
+
maxPriorityFeePerGas: z.string(),
|
|
106
106
|
authorizationList: z.array(SignedAuthorization$outboundSchema).optional(),
|
|
107
107
|
});
|
|
108
108
|
|
|
@@ -11,7 +11,7 @@ export type UnsignedTransaction = {
|
|
|
11
11
|
/**
|
|
12
12
|
* The chain id of the transaction
|
|
13
13
|
*/
|
|
14
|
-
chainId:
|
|
14
|
+
chainId: string;
|
|
15
15
|
/**
|
|
16
16
|
* The data of the transaction
|
|
17
17
|
*/
|
|
@@ -23,7 +23,7 @@ export type UnsignedTransaction = {
|
|
|
23
23
|
/**
|
|
24
24
|
* The gas of the transaction
|
|
25
25
|
*/
|
|
26
|
-
gas:
|
|
26
|
+
gas: string;
|
|
27
27
|
/**
|
|
28
28
|
* The recipient of the transaction
|
|
29
29
|
*/
|
|
@@ -31,19 +31,19 @@ export type UnsignedTransaction = {
|
|
|
31
31
|
/**
|
|
32
32
|
* The value of the transaction
|
|
33
33
|
*/
|
|
34
|
-
value:
|
|
34
|
+
value: string;
|
|
35
35
|
/**
|
|
36
36
|
* The nonce of the address
|
|
37
37
|
*/
|
|
38
|
-
nonce:
|
|
38
|
+
nonce: string;
|
|
39
39
|
/**
|
|
40
40
|
* The max fee per gas of the transaction
|
|
41
41
|
*/
|
|
42
|
-
maxFeePerGas:
|
|
42
|
+
maxFeePerGas: string;
|
|
43
43
|
/**
|
|
44
44
|
* The max priority fee per gas of the transaction
|
|
45
45
|
*/
|
|
46
|
-
maxPriorityFeePerGas:
|
|
46
|
+
maxPriorityFeePerGas: string;
|
|
47
47
|
};
|
|
48
48
|
|
|
49
49
|
/** @internal */
|
|
@@ -52,28 +52,28 @@ export const UnsignedTransaction$inboundSchema: z.ZodType<
|
|
|
52
52
|
z.ZodTypeDef,
|
|
53
53
|
unknown
|
|
54
54
|
> = z.object({
|
|
55
|
-
chainId: z.
|
|
55
|
+
chainId: z.string(),
|
|
56
56
|
data: z.string(),
|
|
57
57
|
from: z.string(),
|
|
58
|
-
gas: z.
|
|
58
|
+
gas: z.string(),
|
|
59
59
|
to: z.string(),
|
|
60
|
-
value: z.
|
|
61
|
-
nonce: z.
|
|
62
|
-
maxFeePerGas: z.
|
|
63
|
-
maxPriorityFeePerGas: z.
|
|
60
|
+
value: z.string(),
|
|
61
|
+
nonce: z.string(),
|
|
62
|
+
maxFeePerGas: z.string(),
|
|
63
|
+
maxPriorityFeePerGas: z.string(),
|
|
64
64
|
});
|
|
65
65
|
|
|
66
66
|
/** @internal */
|
|
67
67
|
export type UnsignedTransaction$Outbound = {
|
|
68
|
-
chainId:
|
|
68
|
+
chainId: string;
|
|
69
69
|
data: string;
|
|
70
70
|
from: string;
|
|
71
|
-
gas:
|
|
71
|
+
gas: string;
|
|
72
72
|
to: string;
|
|
73
|
-
value:
|
|
74
|
-
nonce:
|
|
75
|
-
maxFeePerGas:
|
|
76
|
-
maxPriorityFeePerGas:
|
|
73
|
+
value: string;
|
|
74
|
+
nonce: string;
|
|
75
|
+
maxFeePerGas: string;
|
|
76
|
+
maxPriorityFeePerGas: string;
|
|
77
77
|
};
|
|
78
78
|
|
|
79
79
|
/** @internal */
|
|
@@ -82,15 +82,15 @@ export const UnsignedTransaction$outboundSchema: z.ZodType<
|
|
|
82
82
|
z.ZodTypeDef,
|
|
83
83
|
UnsignedTransaction
|
|
84
84
|
> = z.object({
|
|
85
|
-
chainId: z.
|
|
85
|
+
chainId: z.string(),
|
|
86
86
|
data: z.string(),
|
|
87
87
|
from: z.string(),
|
|
88
|
-
gas: z.
|
|
88
|
+
gas: z.string(),
|
|
89
89
|
to: z.string(),
|
|
90
|
-
value: z.
|
|
91
|
-
nonce: z.
|
|
92
|
-
maxFeePerGas: z.
|
|
93
|
-
maxPriorityFeePerGas: z.
|
|
90
|
+
value: z.string(),
|
|
91
|
+
nonce: z.string(),
|
|
92
|
+
maxFeePerGas: z.string(),
|
|
93
|
+
maxPriorityFeePerGas: z.string(),
|
|
94
94
|
});
|
|
95
95
|
|
|
96
96
|
/**
|
|
@@ -19,7 +19,7 @@ export type UserOperationResponse = {
|
|
|
19
19
|
/**
|
|
20
20
|
* The ETH value to send with the operation
|
|
21
21
|
*/
|
|
22
|
-
value:
|
|
22
|
+
value: string;
|
|
23
23
|
};
|
|
24
24
|
|
|
25
25
|
/** @internal */
|
|
@@ -30,14 +30,14 @@ export const UserOperationResponse$inboundSchema: z.ZodType<
|
|
|
30
30
|
> = z.object({
|
|
31
31
|
to: z.string(),
|
|
32
32
|
data: z.string(),
|
|
33
|
-
value: z.
|
|
33
|
+
value: z.string(),
|
|
34
34
|
});
|
|
35
35
|
|
|
36
36
|
/** @internal */
|
|
37
37
|
export type UserOperationResponse$Outbound = {
|
|
38
38
|
to: string;
|
|
39
39
|
data: string;
|
|
40
|
-
value:
|
|
40
|
+
value: string;
|
|
41
41
|
};
|
|
42
42
|
|
|
43
43
|
/** @internal */
|
|
@@ -48,7 +48,7 @@ export const UserOperationResponse$outboundSchema: z.ZodType<
|
|
|
48
48
|
> = z.object({
|
|
49
49
|
to: z.string(),
|
|
50
50
|
data: z.string(),
|
|
51
|
-
value: z.
|
|
51
|
+
value: z.string(),
|
|
52
52
|
});
|
|
53
53
|
|
|
54
54
|
/**
|
|
@@ -17,7 +17,7 @@ export type V1SkyPositionChain = ClosedEnum<typeof V1SkyPositionChain>;
|
|
|
17
17
|
export type V1SkyPositionRequest = {
|
|
18
18
|
chain?: V1SkyPositionChain | undefined;
|
|
19
19
|
/**
|
|
20
|
-
* The user
|
|
20
|
+
* The user-address of the desired position.
|
|
21
21
|
*/
|
|
22
22
|
userAddress?: string | undefined;
|
|
23
23
|
};
|