@skalenetwork/skale-contracts-ethers-v5 0.0.3-main.3 → 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 +1 -0
- package/lib/index.js.map +1 -1
- package/lib/skaleContracts.d.ts +2 -0
- package/lib/skaleContracts.js.map +1 -1
- package/package.json +2 -2
package/lib/index.d.ts
CHANGED
package/lib/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,qDAAkD;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,qDAAkD;AAIrC,QAAA,cAAc,GAAG,IAAI,+BAAc,EAAE,CAAC"}
|
package/lib/skaleContracts.d.ts
CHANGED
@@ -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;
|
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
|
26
|
+
"@skalenetwork/skale-contracts": "0.1.0-develop.0",
|
27
27
|
"ethers": "^5.7.2"
|
28
28
|
},
|
29
|
-
"version": "0.0
|
29
|
+
"version": "0.1.0-develop.0"
|
30
30
|
}
|