@avalabs/core-coingecko-sdk 3.1.0-alpha.47 → 3.1.0-alpha.49
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/dist/index.d.ts +2 -1
- package/esm/http.js +1 -1
- package/esm/models.d.ts +2 -1
- package/package.json +14 -5
- /package/dist/{index.js → index.cjs} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -442,4 +442,5 @@ declare function simpleTokenPrice(http: HttpClient, { assetPlatformId, tokenAddr
|
|
|
442
442
|
*/
|
|
443
443
|
declare function simplePrice(http: HttpClient, { coinIds, currencies, marketCap, vol24, change24, lastUpdated, coinGeckoProApiKey, shouldThrow, }: SimplePriceParams): Promise<SimplePriceResponse>;
|
|
444
444
|
|
|
445
|
-
export { COINGECKO_PROXY_URL, COINGECKO_PRO_URL, COINGECKO_URL,
|
|
445
|
+
export { COINGECKO_PROXY_URL, COINGECKO_PRO_URL, COINGECKO_URL, DEV_COINGECKO_PROXY_URL, DEV_PROXY_API_WORKER_URL, PROXY_API_WORKER_URL, VsCurrencyType, coinsContractInfo, coinsContractMarketChart, coinsContractMarketChartRange, coinsInfo, coinsMarket, coinsMarketChart, coinsMarketChartRange, coinsSearch, getBasicCoingeckoHttp, getCoinGeckoHttp, getDevProxiedCoingeckoHttp, getProCoingeckoHttp, getProxiedCoingeckoHttp, simplePrice, simpleTokenPrice };
|
|
446
|
+
export type { CoinMarket, CoinMarketChartParams, CoinMarketChartRangeParams, CoinMarketChartRangeResponse, CoinMarketChartResponse, CoinsContractInfoParams, CoinsContractInfoResponse, CoinsInfoParams, CoinsInfoResponse, CoinsMarketParams, CoinsSearchParams, CoinsSearchResponse, ContractMarketChartParams, ContractMarketChartRangeParams, ContractMarketChartResponse, DaysValueType, MarketTuple, SimplePriceInCurrency, SimplePriceParams, SimplePriceResponse, SimpleTokenPriceParams, SimpleTokenPriceResponse };
|
package/esm/http.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{HttpClient as n}from"@avalabs/core-utils-sdk";import{COINGECKO_URL as t,
|
|
1
|
+
import{HttpClient as n}from"@avalabs/core-utils-sdk";import{COINGECKO_URL as t,DEV_COINGECKO_PROXY_URL as r,COINGECKO_PRO_URL as o,COINGECKO_PROXY_URL as u}from"./constants.js";function e(r=t,o={}){return new n(r,o)}function i(n={}){return e(u,{...n,method:"POST"})}function c(n={}){return e(r,{...n,method:"POST"})}function f(n={}){return e(t,n)}function m(n={}){return e(o,n)}export{f as getBasicCoingeckoHttp,e as getCoinGeckoHttp,c as getDevProxiedCoingeckoHttp,m as getProCoingeckoHttp,i as getProxiedCoingeckoHttp};
|
package/esm/models.d.ts
CHANGED
|
@@ -294,4 +294,5 @@ type CoinsMarketParams = {
|
|
|
294
294
|
};
|
|
295
295
|
type CoinsInfoResponse = Omit<CoinsContractInfoResponse, 'contract_address'>;
|
|
296
296
|
|
|
297
|
-
export {
|
|
297
|
+
export { VsCurrencyType };
|
|
298
|
+
export type { CoinMarket, CoinMarketChartParams, CoinMarketChartRangeParams, CoinMarketChartRangeResponse, CoinMarketChartResponse, CoinsContractInfoParams, CoinsContractInfoResponse, CoinsInfoParams, CoinsInfoResponse, CoinsMarketParams, CoinsSearchParams, CoinsSearchResponse, ContractMarketChartParams, ContractMarketChartRangeParams, ContractMarketChartResponse, DaysValueType, MarketTuple, SimplePriceInCurrency, SimplePriceParams, SimplePriceResponse, SimpleTokenPriceParams, SimpleTokenPriceResponse };
|
package/package.json
CHANGED
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@avalabs/core-coingecko-sdk",
|
|
3
|
-
"version": "3.1.0-alpha.
|
|
3
|
+
"version": "3.1.0-alpha.49",
|
|
4
4
|
"license": "Limited Ecosystem License",
|
|
5
5
|
"private": false,
|
|
6
|
-
"
|
|
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
|
"dist",
|
|
11
20
|
"esm"
|
|
@@ -14,10 +23,10 @@
|
|
|
14
23
|
"scripts": {
|
|
15
24
|
"start": "rollup -c --watch",
|
|
16
25
|
"build": "rollup -c",
|
|
17
|
-
"lint": "eslint --fix -c ./.eslintrc.
|
|
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.49"
|
|
21
30
|
},
|
|
22
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "d12930d90067eeb62294faeaedff83043bfd535b"
|
|
23
32
|
}
|
|
File without changes
|