@zoralabs/coins-sdk 0.7.0 → 0.8.0
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/CHANGELOG.md +17 -0
- package/dist/actions/updateCoinURI.d.ts +2 -0
- package/dist/actions/updateCoinURI.d.ts.map +1 -1
- package/dist/actions/updatePayoutRecipient.d.ts +2 -0
- package/dist/actions/updatePayoutRecipient.d.ts.map +1 -1
- package/dist/api/queries.d.ts +12 -1
- package/dist/api/queries.d.ts.map +1 -1
- package/dist/client/sdk.gen.d.ts +78 -1
- package/dist/client/sdk.gen.d.ts.map +1 -1
- package/dist/client/types.gen.d.ts +210 -1
- package/dist/client/types.gen.d.ts.map +1 -1
- package/dist/index.cjs +21 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +20 -0
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/api/queries.ts +25 -0
- package/src/client/sdk.gen.ts +24 -0
- package/src/client/types.gen.ts +217 -1
package/dist/index.js
CHANGED
|
@@ -58,6 +58,18 @@ var getCoinHolders = (options) => {
|
|
|
58
58
|
...options
|
|
59
59
|
});
|
|
60
60
|
};
|
|
61
|
+
var getCoinMergedComments = (options) => {
|
|
62
|
+
return (options.client ?? client).get({
|
|
63
|
+
security: [
|
|
64
|
+
{
|
|
65
|
+
name: "api-key",
|
|
66
|
+
type: "apiKey"
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
url: "/coinMergedComments",
|
|
70
|
+
...options
|
|
71
|
+
});
|
|
72
|
+
};
|
|
61
73
|
var getCoinPriceHistory = (options) => {
|
|
62
74
|
return (options.client ?? client).get({
|
|
63
75
|
security: [
|
|
@@ -426,6 +438,13 @@ var getCoinComments2 = async (query, options) => {
|
|
|
426
438
|
...options
|
|
427
439
|
});
|
|
428
440
|
};
|
|
441
|
+
var getCoinMergedComments2 = async (query, options) => {
|
|
442
|
+
return await getCoinMergedComments({
|
|
443
|
+
query,
|
|
444
|
+
...getApiKeyMeta(),
|
|
445
|
+
...options
|
|
446
|
+
});
|
|
447
|
+
};
|
|
429
448
|
var getProfile2 = async (query, options) => {
|
|
430
449
|
return await getProfile({
|
|
431
450
|
query,
|
|
@@ -1721,6 +1740,7 @@ export {
|
|
|
1721
1740
|
getCoinComments2 as getCoinComments,
|
|
1722
1741
|
getCoinCreateFromLogs,
|
|
1723
1742
|
getCoinHolders2 as getCoinHolders,
|
|
1743
|
+
getCoinMergedComments2 as getCoinMergedComments,
|
|
1724
1744
|
getCoinPriceHistory2 as getCoinPriceHistory,
|
|
1725
1745
|
getCoinSwaps2 as getCoinSwaps,
|
|
1726
1746
|
getCoins2 as getCoins,
|