@avalabs/core-coingecko-sdk 3.1.0-alpha.6 → 3.1.0-alpha.60

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 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, CoinMarket, CoinMarketChartParams, CoinMarketChartRangeParams, CoinMarketChartRangeResponse, CoinMarketChartResponse, CoinsContractInfoParams, CoinsContractInfoResponse, CoinsInfoParams, CoinsInfoResponse, CoinsMarketParams, CoinsSearchParams, CoinsSearchResponse, ContractMarketChartParams, ContractMarketChartRangeParams, ContractMarketChartResponse, DEV_COINGECKO_PROXY_URL, DEV_PROXY_API_WORKER_URL, DaysValueType, MarketTuple, PROXY_API_WORKER_URL, SimplePriceInCurrency, SimplePriceParams, SimplePriceResponse, SimpleTokenPriceParams, SimpleTokenPriceResponse, VsCurrencyType, coinsContractInfo, coinsContractMarketChart, coinsContractMarketChartRange, coinsInfo, coinsMarket, coinsMarketChart, coinsMarketChartRange, coinsSearch, getBasicCoingeckoHttp, getCoinGeckoHttp, getDevProxiedCoingeckoHttp, getProCoingeckoHttp, getProxiedCoingeckoHttp, simplePrice, simpleTokenPrice };
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,COINGECKO_PROXY_URL as r,DEV_COINGECKO_PROXY_URL as o,COINGECKO_PRO_URL as u}from"./constants.js";function e(r=t,o={}){return new n(r,o)}function i(n={}){return e(r,{...n,method:"POST"})}function c(n={}){return e(o,{...n,method:"POST"})}function f(n={}){return e(t,n)}function m(n={}){return e(u,n)}export{f as getBasicCoingeckoHttp,e as getCoinGeckoHttp,c as getDevProxiedCoingeckoHttp,m as getProCoingeckoHttp,i as getProxiedCoingeckoHttp};
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 { CoinMarket, CoinMarketChartParams, CoinMarketChartRangeParams, CoinMarketChartRangeResponse, CoinMarketChartResponse, CoinsContractInfoParams, CoinsContractInfoResponse, CoinsInfoParams, CoinsInfoResponse, CoinsMarketParams, CoinsSearchParams, CoinsSearchResponse, ContractMarketChartParams, ContractMarketChartRangeParams, ContractMarketChartResponse, DaysValueType, MarketTuple, SimplePriceInCurrency, SimplePriceParams, SimplePriceResponse, SimpleTokenPriceParams, SimpleTokenPriceResponse, VsCurrencyType };
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.6",
3
+ "version": "3.1.0-alpha.60",
4
4
  "license": "Limited Ecosystem License",
5
5
  "private": false,
6
- "main": "dist/index.js",
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.js \"src/**/*.ts*\""
26
+ "lint": "eslint --fix -c ./.eslintrc.cjs \"src/**/*.ts*\""
18
27
  },
19
28
  "dependencies": {
20
- "@avalabs/core-utils-sdk": "3.1.0-alpha.6"
29
+ "@avalabs/core-utils-sdk": "3.1.0-alpha.60"
21
30
  },
22
- "gitHead": "ee355dd2e49356401bc627399d8b365939c5a097"
31
+ "gitHead": "9659709ad71ca8f1ee32b490cfb239311111f067"
23
32
  }
File without changes