@skalenetwork/skale-contracts-ethers-v5 0.0.3-main.2 → 0.1.0-develop.0

Sign up to get free protection for your applications and to get access to all the features.
package/lib/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  import { SkaleContracts } from "./skaleContracts";
2
+ export { Instance } from "./skaleContracts";
2
3
  export declare const skaleContracts: SkaleContracts;
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,qDAAkD;AAErC,QAAA,cAAc,GAAG,IAAI,+BAAc,EAAE,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,qDAAkD;AAIrC,QAAA,cAAc,GAAG,IAAI,+BAAc,EAAE,CAAC"}
@@ -1,6 +1,8 @@
1
1
  import { BaseContract } from "ethers";
2
+ import { Instance as BaseInstance } from "@skalenetwork/skale-contracts/lib/instance";
2
3
  import { SkaleContracts as BaseSkaleContracts } from "@skalenetwork/skale-contracts";
3
4
  import { Provider } from "@ethersproject/providers";
5
+ export type Instance = BaseInstance<BaseContract>;
4
6
  export declare class SkaleContracts extends BaseSkaleContracts<BaseContract> {
5
7
  getNetworkByChainId(chainId: number): Promise<import("@skalenetwork/skale-contracts/lib/network").Network<BaseContract>>;
6
8
  getNetworkByProvider(provider: Provider): Promise<import("@skalenetwork/skale-contracts/lib/network").Network<BaseContract>>;
@@ -1 +1 @@
1
- {"version":3,"file":"skaleContracts.js","sourceRoot":"","sources":["../src/skaleContracts.ts"],"names":[],"mappings":";;;AAAA,mCAA8C;AAC9C,mEAEuC;AACvC,qDAAkD;AAIlD,MAAa,cAAe,SAAQ,gCAAgC;IAChE,mBAAmB,CAAE,OAAe;QAChC,OAAO,IAAI,CAAC,oBAAoB,CAAC,eAAM,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC,CAAC;IACzE,CAAC;IAED,oBAAoB,CAAE,QAAkB;QACpC,OAAO,IAAI,CAAC,mBAAmB,CAAC,IAAI,+BAAc,CAAC,QAAQ,CAAC,CAAC,CAAC;IAClE,CAAC;CACJ;AARD,wCAQC"}
1
+ {"version":3,"file":"skaleContracts.js","sourceRoot":"","sources":["../src/skaleContracts.ts"],"names":[],"mappings":";;;AAAA,mCAA8C;AAI9C,mEAEuC;AACvC,qDAAkD;AAKlD,MAAa,cAAe,SAAQ,gCAAgC;IAChE,mBAAmB,CAAE,OAAe;QAChC,OAAO,IAAI,CAAC,oBAAoB,CAAC,eAAM,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC,CAAC;IACzE,CAAC;IAED,oBAAoB,CAAE,QAAkB;QACpC,OAAO,IAAI,CAAC,mBAAmB,CAAC,IAAI,+BAAc,CAAC,QAAQ,CAAC,CAAC,CAAC;IAClE,CAAC;CACJ;AARD,wCAQC"}
package/package.json CHANGED
@@ -23,8 +23,8 @@
23
23
  },
24
24
  "types": "lib/index.d.ts",
25
25
  "dependencies": {
26
- "@skalenetwork/skale-contracts": "0.0.3-main.2",
26
+ "@skalenetwork/skale-contracts": "0.1.0-develop.0",
27
27
  "ethers": "^5.7.2"
28
28
  },
29
- "version": "0.0.3-main.2"
29
+ "version": "0.1.0-develop.0"
30
30
  }