@covalenthq/client-sdk 2.0.3 → 2.1.1
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 +3 -3
- package/dist/cjs/index.d.ts +1 -6
- package/dist/cjs/index.js +1793 -690
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/services/BaseService.d.ts +1 -1
- package/dist/cjs/src/services/NftService.d.ts +1 -1
- package/dist/cjs/src/services/PricingService.d.ts +1 -1
- package/dist/cjs/src/services/TransactionService.d.ts +4 -3
- package/dist/cjs/src/utils/functions/paginateEndpoint.d.ts +4 -4
- package/dist/cjs/src/utils/types/BalanceService.types.d.ts +52 -52
- package/dist/cjs/src/utils/types/BaseService.types.d.ts +55 -55
- package/dist/cjs/src/utils/types/Generic.types.d.ts +16 -8
- package/dist/cjs/src/utils/types/NftService.types.d.ts +53 -53
- package/dist/cjs/src/utils/types/PricingService.types.d.ts +7 -7
- package/dist/cjs/src/utils/types/SecurityService.types.d.ts +15 -15
- package/dist/cjs/src/utils/types/TransactionService.types.d.ts +47 -53
- package/dist/esm/index.d.ts +1 -6
- package/dist/esm/index.js +1794 -689
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/services/BaseService.d.ts +1 -1
- package/dist/esm/src/services/NftService.d.ts +1 -1
- package/dist/esm/src/services/PricingService.d.ts +1 -1
- package/dist/esm/src/services/TransactionService.d.ts +4 -3
- package/dist/esm/src/utils/functions/paginateEndpoint.d.ts +4 -4
- package/dist/esm/src/utils/types/BalanceService.types.d.ts +52 -52
- package/dist/esm/src/utils/types/BaseService.types.d.ts +55 -55
- package/dist/esm/src/utils/types/Generic.types.d.ts +16 -8
- package/dist/esm/src/utils/types/NftService.types.d.ts +53 -53
- package/dist/esm/src/utils/types/PricingService.types.d.ts +7 -7
- package/dist/esm/src/utils/types/SecurityService.types.d.ts +15 -15
- package/dist/esm/src/utils/types/TransactionService.types.d.ts +47 -53
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -76,7 +76,7 @@ The GoldRush SDK is the fastest way to integrate the GoldRush API for working wi
|
|
|
76
76
|
The GoldRush SDK natively resolves the underlying wallet address for the following
|
|
77
77
|
|
|
78
78
|
1. ENS Domains (e.g. `demo.eth`)
|
|
79
|
-
2. Lens Handles (e.g.
|
|
79
|
+
2. Lens Handles (e.g. `demo.lens`)
|
|
80
80
|
3. Unstoppable Domains (e.g. `demo.x`)
|
|
81
81
|
4. RNS Domains (e.g. `demo.ron`)
|
|
82
82
|
|
|
@@ -106,8 +106,8 @@ For example, explicitly typecasting the response
|
|
|
106
106
|
```ts
|
|
107
107
|
import {
|
|
108
108
|
GoldRushClient,
|
|
109
|
-
BalancesResponse,
|
|
110
|
-
BalanceItem,
|
|
109
|
+
type BalancesResponse,
|
|
110
|
+
type BalanceItem,
|
|
111
111
|
} from "@covalenthq/client-sdk";
|
|
112
112
|
|
|
113
113
|
const resp = await client.BalanceService.getTokenBalancesForWalletAddress(
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
export {
|
|
2
|
-
/**
|
|
3
|
-
* @deprecated Please use `GoldRushClient` going forward!
|
|
4
|
-
* `CovalentClient` will be removed after Aug 30, 2024.
|
|
5
|
-
*/
|
|
6
|
-
GoldRushClient as CovalentClient, GoldRushClient, } from "./src/GoldRushClient";
|
|
1
|
+
export { GoldRushClient } from "./src/GoldRushClient";
|
|
7
2
|
export { bigIntParser } from "./src/utils/functions/bigIntParser";
|
|
8
3
|
export { calculatePrettyBalance } from "./src/utils/functions/calculatePrettyBalance";
|
|
9
4
|
export { isValidApiKey } from "./src/utils/functions/isValidApiKey";
|