@compass-labs/api-sdk 0.0.4 → 0.0.6

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.
@@ -604,7 +604,7 @@ async function run() {
604
604
  const result = await compassApiSDK.universal.wrapEth({
605
605
  amount: 1.5,
606
606
  chain: "base:mainnet",
607
- sender: "<value>",
607
+ sender: "0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B",
608
608
  });
609
609
 
610
610
  // Handle the result
@@ -632,7 +632,7 @@ async function run() {
632
632
  const res = await universalWrapEth(compassApiSDK, {
633
633
  amount: 1.5,
634
634
  chain: "base:mainnet",
635
- sender: "<value>",
635
+ sender: "0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B",
636
636
  });
637
637
 
638
638
  if (!res.ok) {
@@ -686,7 +686,7 @@ async function run() {
686
686
  const result = await compassApiSDK.universal.unwrapWeth({
687
687
  amount: 1.5,
688
688
  chain: "arbitrum:mainnet",
689
- sender: "<value>",
689
+ sender: "0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B",
690
690
  });
691
691
 
692
692
  // Handle the result
@@ -714,7 +714,7 @@ async function run() {
714
714
  const res = await universalUnwrapWeth(compassApiSDK, {
715
715
  amount: 1.5,
716
716
  chain: "arbitrum:mainnet",
717
- sender: "<value>",
717
+ sender: "0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B",
718
718
  });
719
719
 
720
720
  if (!res.ok) {
@@ -769,7 +769,7 @@ async function run() {
769
769
  token: "osETH",
770
770
  to: "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc44",
771
771
  chain: "base:mainnet",
772
- sender: "<value>",
772
+ sender: "0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B",
773
773
  });
774
774
 
775
775
  // Handle the result
@@ -799,7 +799,7 @@ async function run() {
799
799
  token: "osETH",
800
800
  to: "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc44",
801
801
  chain: "base:mainnet",
802
- sender: "<value>",
802
+ sender: "0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B",
803
803
  });
804
804
 
805
805
  if (!res.ok) {
@@ -853,7 +853,7 @@ async function run() {
853
853
  amount: 1.5,
854
854
  to: "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc44",
855
855
  chain: "arbitrum:mainnet",
856
- sender: "<value>",
856
+ sender: "0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B",
857
857
  });
858
858
 
859
859
  // Handle the result
@@ -882,7 +882,7 @@ async function run() {
882
882
  amount: 1.5,
883
883
  to: "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc44",
884
884
  chain: "arbitrum:mainnet",
885
- sender: "<value>",
885
+ sender: "0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B",
886
886
  });
887
887
 
888
888
  if (!res.ok) {
@@ -943,7 +943,7 @@ async function run() {
943
943
  contractName: "AaveV3Pool",
944
944
  amount: 1.5,
945
945
  chain: "ethereum:mainnet",
946
- sender: "<value>",
946
+ sender: "0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B",
947
947
  });
948
948
 
949
949
  // Handle the result
@@ -973,7 +973,7 @@ async function run() {
973
973
  contractName: "AaveV3Pool",
974
974
  amount: 1.5,
975
975
  chain: "ethereum:mainnet",
976
- sender: "<value>",
976
+ sender: "0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B",
977
977
  });
978
978
 
979
979
  if (!res.ok) {
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@compass-labs/api-sdk",
5
- "version": "0.0.4",
5
+ "version": "0.0.6",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models/errors": "./src/models/errors/index.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compass-labs/api-sdk",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "author": "royalnine",
5
5
  "type": "module",
6
6
  "bin": {
@@ -18,8 +18,6 @@ import {
18
18
  SDKInitOptions,
19
19
  } from "./types.js";
20
20
 
21
- import { initHooks } from "./registration.js";
22
-
23
21
  export class SDKHooks implements Hooks {
24
22
  sdkInitHooks: SDKInitHook[] = [];
25
23
  beforeCreateRequestHooks: BeforeCreateRequestHook[] = [];
@@ -47,7 +45,6 @@ export class SDKHooks implements Hooks {
47
45
  this.registerAfterErrorHook(hook);
48
46
  }
49
47
  }
50
- initHooks(this);
51
48
  }
52
49
 
53
50
  registerSDKInitHook(hook: SDKInitHook) {
package/src/lib/config.ts CHANGED
@@ -57,8 +57,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
57
57
  export const SDK_METADATA = {
58
58
  language: "typescript",
59
59
  openapiDocVersion: "0.0.1",
60
- sdkVersion: "0.0.4",
61
- genVersion: "2.595.4",
60
+ sdkVersion: "0.0.6",
61
+ genVersion: "2.596.2",
62
62
  userAgent:
63
- "speakeasy-sdk/typescript 0.0.4 2.595.4 0.0.1 @compass-labs/api-sdk",
63
+ "speakeasy-sdk/typescript 0.0.6 2.596.2 0.0.1 @compass-labs/api-sdk",
64
64
  } as const;
@@ -19,7 +19,7 @@ const routes = buildRouteMap({
19
19
  export const app = buildApplication(routes, {
20
20
  name: "mcp",
21
21
  versionInfo: {
22
- currentVersion: "0.0.4",
22
+ currentVersion: "0.0.6",
23
23
  },
24
24
  });
25
25
 
@@ -76,7 +76,7 @@ export function createMCPServer(deps: {
76
76
  }) {
77
77
  const server = new McpServer({
78
78
  name: "CompassApiSDK",
79
- version: "0.0.4",
79
+ version: "0.0.6",
80
80
  });
81
81
 
82
82
  const client = new CompassApiSDKCore({