@covalenthq/client-sdk 2.0.3 → 2.1.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.
Files changed (32) hide show
  1. package/README.md +3 -3
  2. package/dist/cjs/index.d.ts +1 -6
  3. package/dist/cjs/index.js +1792 -674
  4. package/dist/cjs/index.js.map +1 -1
  5. package/dist/cjs/src/services/BaseService.d.ts +1 -1
  6. package/dist/cjs/src/services/NftService.d.ts +1 -1
  7. package/dist/cjs/src/services/PricingService.d.ts +1 -1
  8. package/dist/cjs/src/services/TransactionService.d.ts +4 -0
  9. package/dist/cjs/src/utils/functions/paginateEndpoint.d.ts +4 -4
  10. package/dist/cjs/src/utils/types/BalanceService.types.d.ts +52 -52
  11. package/dist/cjs/src/utils/types/BaseService.types.d.ts +55 -55
  12. package/dist/cjs/src/utils/types/Generic.types.d.ts +9 -6
  13. package/dist/cjs/src/utils/types/NftService.types.d.ts +53 -53
  14. package/dist/cjs/src/utils/types/PricingService.types.d.ts +7 -7
  15. package/dist/cjs/src/utils/types/SecurityService.types.d.ts +15 -15
  16. package/dist/cjs/src/utils/types/TransactionService.types.d.ts +47 -47
  17. package/dist/esm/index.d.ts +1 -6
  18. package/dist/esm/index.js +1793 -673
  19. package/dist/esm/index.js.map +1 -1
  20. package/dist/esm/src/services/BaseService.d.ts +1 -1
  21. package/dist/esm/src/services/NftService.d.ts +1 -1
  22. package/dist/esm/src/services/PricingService.d.ts +1 -1
  23. package/dist/esm/src/services/TransactionService.d.ts +4 -0
  24. package/dist/esm/src/utils/functions/paginateEndpoint.d.ts +4 -4
  25. package/dist/esm/src/utils/types/BalanceService.types.d.ts +52 -52
  26. package/dist/esm/src/utils/types/BaseService.types.d.ts +55 -55
  27. package/dist/esm/src/utils/types/Generic.types.d.ts +9 -6
  28. package/dist/esm/src/utils/types/NftService.types.d.ts +53 -53
  29. package/dist/esm/src/utils/types/PricingService.types.d.ts +7 -7
  30. package/dist/esm/src/utils/types/SecurityService.types.d.ts +15 -15
  31. package/dist/esm/src/utils/types/TransactionService.types.d.ts +47 -47
  32. 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. `@demo.lens`)
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(
@@ -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";