@avalabs/core-snowtrace-sdk 3.1.0-alpha.8 → 3.1.0-alpha.80
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.
- package/README.md +1 -1
- package/dist/index.d.ts +2 -1
- package/esm/models.d.ts +1 -1
- package/package.json +13 -4
- /package/dist/{index.js → index.cjs} +0 -0
package/README.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -101,4 +101,5 @@ declare function getNormalTxs(address: string, isMainnet?: boolean, queries?: Sh
|
|
|
101
101
|
declare function filterDuplicateTransactions<Tx extends Erc20Tx | NormalTx>(txs: Tx[]): Tx[];
|
|
102
102
|
declare function applyQueries(params: URLSearchParams, queries: SharedQueries): void;
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { SNOWTRACE_MAINNET, SNOWTRACE_TESTNET, applyQueries, filterDuplicateTransactions, getABIForContract, getErc20Txs, getNormalTxs, getSourceForContract };
|
|
105
|
+
export type { ContractSourceCodeResponse, Erc20Tx, NormalTx, SharedQueries, SnowtraceResponse, SortType };
|
package/esm/models.d.ts
CHANGED
|
@@ -69,4 +69,4 @@ interface ContractSourceCodeResponse {
|
|
|
69
69
|
SwarmSource: string;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
export { ContractSourceCodeResponse, Erc20Tx, NormalTx, SharedQueries, SnowtraceResponse, SortType };
|
|
72
|
+
export type { ContractSourceCodeResponse, Erc20Tx, NormalTx, SharedQueries, SnowtraceResponse, SortType };
|
package/package.json
CHANGED
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@avalabs/core-snowtrace-sdk",
|
|
3
|
-
"version": "3.1.0-alpha.
|
|
3
|
+
"version": "3.1.0-alpha.80",
|
|
4
4
|
"license": "Limited Ecosystem License",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
5
|
"private": false,
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "dist/index.cjs",
|
|
7
8
|
"module": "esm/index.js",
|
|
8
9
|
"typings": "dist/index.d.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./esm/index.d.ts",
|
|
13
|
+
"import": "./esm/index.js",
|
|
14
|
+
"require": "./dist/index.cjs",
|
|
15
|
+
"default": "./esm/index.js"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
9
18
|
"files": [
|
|
10
19
|
"esm",
|
|
11
20
|
"dist"
|
|
@@ -17,7 +26,7 @@
|
|
|
17
26
|
"lint": "eslint --fix -c ./.eslintrc.cjs \"src/**/*.ts*\""
|
|
18
27
|
},
|
|
19
28
|
"dependencies": {
|
|
20
|
-
"@avalabs/core-utils-sdk": "3.1.0-alpha.
|
|
29
|
+
"@avalabs/core-utils-sdk": "3.1.0-alpha.80"
|
|
21
30
|
},
|
|
22
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "fac1eece40ef40bb0c4d927f95152064afc0ace0"
|
|
23
32
|
}
|
|
File without changes
|