@gearbox-protocol/sdk 1.5.9 → 1.5.10

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.
@@ -1,4 +1,4 @@
1
- import { ethers } from "ethers";
1
+ import { ethers, Signer } from "ethers";
2
2
  import { Multicall2 } from "../types";
3
3
  export interface CallData<T extends ethers.utils.Interface> {
4
4
  method: keyof T["functions"];
@@ -15,7 +15,7 @@ export declare class MultiCallContract<T extends ethers.utils.Interface> {
15
15
  private readonly _address;
16
16
  private readonly _interface;
17
17
  protected _multiCall: Multicall2;
18
- constructor(address: string, intrerface: T, provider: ethers.providers.Provider);
18
+ constructor(address: string, intrerface: T, provider: ethers.providers.Provider | Signer);
19
19
  call<R extends Array<any>>(data: Array<CallData<T>>): Promise<R>;
20
20
  get address(): string;
21
21
  get interface(): T;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "1.5.9",
3
+ "version": "1.5.10",
4
4
  "description": "Gearbox SDK",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",