@gearbox-protocol/sdk 8.28.1 → 8.28.2

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.
@@ -18,7 +18,7 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var EthCallSpy_exports = {};
20
20
  __export(EthCallSpy_exports, {
21
- default: () => EthCallSpy
21
+ EthCallSpy: () => EthCallSpy
22
22
  });
23
23
  module.exports = __toCommonJS(EthCallSpy_exports);
24
24
  class EthCallSpy {
@@ -79,3 +79,7 @@ class EthCallSpy {
79
79
  this.#detectedCalls.push({ request: data });
80
80
  }
81
81
  }
82
+ // Annotate the CommonJS export names for ESM import in node:
83
+ 0 && (module.exports = {
84
+ EthCallSpy
85
+ });
@@ -57,5 +57,5 @@ class EthCallSpy {
57
57
  }
58
58
  }
59
59
  export {
60
- EthCallSpy as default
60
+ EthCallSpy
61
61
  };
@@ -12,7 +12,7 @@ export type CheckMulticallFn = (data: EthCallMethod) => boolean;
12
12
  /**
13
13
  * Helper to spy on eth_call requests and responses in viem transport
14
14
  */
15
- export default class EthCallSpy {
15
+ export declare class EthCallSpy {
16
16
  #private;
17
17
  enabled: boolean;
18
18
  constructor(check: CheckMulticallFn, logger?: ILogger, enabled?: boolean);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "8.28.1",
3
+ "version": "8.28.2",
4
4
  "description": "Gearbox SDK",
5
5
  "license": "MIT",
6
6
  "main": "./dist/cjs/sdk/index.js",