@chainstream-io/sdk 2.0.5 → 2.0.7
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/{chainstream-CEzLVb40.d.cts → chainstream-CB6yyvSf.d.cts} +1270 -228
- package/dist/{chainstream-CEzLVb40.d.ts → chainstream-CB6yyvSf.d.ts} +1270 -228
- package/dist/chainstream.cjs +4 -3
- package/dist/chainstream.cjs.map +1 -1
- package/dist/chainstream.d.cts +1 -1
- package/dist/chainstream.d.ts +1 -1
- package/dist/chainstream.mjs +4 -3
- package/dist/chainstream.mjs.map +1 -1
- package/dist/index.cjs +4 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +4 -3
- package/dist/index.mjs.map +1 -1
- package/dist/stream/index.d.cts +1 -1
- package/dist/stream/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/chainstream.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { C as ChainStreamClient, y as ChainStreamClientOptions, z as ChainStreamRequestContext, gF as PostOptions, T as TokenProvider } from './chainstream-
|
|
1
|
+
export { C as ChainStreamClient, y as ChainStreamClientOptions, z as ChainStreamRequestContext, gF as PostOptions, T as TokenProvider } from './chainstream-CB6yyvSf.cjs';
|
|
2
2
|
import 'axios';
|
package/dist/chainstream.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { C as ChainStreamClient, y as ChainStreamClientOptions, z as ChainStreamRequestContext, gF as PostOptions, T as TokenProvider } from './chainstream-
|
|
1
|
+
export { C as ChainStreamClient, y as ChainStreamClientOptions, z as ChainStreamRequestContext, gF as PostOptions, T as TokenProvider } from './chainstream-CB6yyvSf.js';
|
|
2
2
|
import 'axios';
|
package/dist/chainstream.mjs
CHANGED
|
@@ -11,7 +11,8 @@ import { EventSourcePolyfill } from "event-source-polyfill";
|
|
|
11
11
|
|
|
12
12
|
// src/openapi-client/chainstreamApiClient.ts
|
|
13
13
|
import Axios from "axios";
|
|
14
|
-
import
|
|
14
|
+
import axiosRetryImport, { exponentialDelay } from "axios-retry";
|
|
15
|
+
var axiosRetry = typeof axiosRetryImport === "function" ? axiosRetryImport : axiosRetryImport.default;
|
|
15
16
|
var axiosInstance;
|
|
16
17
|
var currentOptions = void 0;
|
|
17
18
|
var configure = (options) => {
|
|
@@ -1991,9 +1992,9 @@ var getStats = (chain, tokenAddress, options) => {
|
|
|
1991
1992
|
options
|
|
1992
1993
|
);
|
|
1993
1994
|
};
|
|
1994
|
-
var getTopHolders = (chain, tokenAddress, options) => {
|
|
1995
|
+
var getTopHolders = (chain, tokenAddress, params, options) => {
|
|
1995
1996
|
return chainstreamApiClient(
|
|
1996
|
-
{ url: `/v2/token/${chain}/${tokenAddress}/topHolders`, method: "GET" },
|
|
1997
|
+
{ url: `/v2/token/${chain}/${tokenAddress}/topHolders`, method: "GET", params },
|
|
1997
1998
|
options
|
|
1998
1999
|
);
|
|
1999
2000
|
};
|