@covalenthq/client-sdk 2.0.1 → 2.0.2

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 (28) hide show
  1. package/dist/cjs/index.js +1 -1
  2. package/dist/esm/index.js +1 -1
  3. package/package.json +30 -17
  4. package/dist/es/index.d.ts +0 -17
  5. package/dist/es/index.js +0 -2854
  6. package/dist/es/index.js.map +0 -1
  7. package/dist/es/src/GoldRushClient.d.ts +0 -20
  8. package/dist/es/src/services/BalanceService.d.ts +0 -125
  9. package/dist/es/src/services/BaseService.d.ts +0 -161
  10. package/dist/es/src/services/NftService.d.ts +0 -157
  11. package/dist/es/src/services/PricingService.d.ts +0 -25
  12. package/dist/es/src/services/SecurityService.d.ts +0 -28
  13. package/dist/es/src/services/TransactionService.d.ts +0 -128
  14. package/dist/es/src/utils/functions/bigIntParser.d.ts +0 -1
  15. package/dist/es/src/utils/functions/calculatePrettyBalance.d.ts +0 -1
  16. package/dist/es/src/utils/functions/debugOutput.d.ts +0 -2
  17. package/dist/es/src/utils/functions/endpointGenerator.d.ts +0 -4
  18. package/dist/es/src/utils/functions/execution.d.ts +0 -11
  19. package/dist/es/src/utils/functions/isValidApiKey.d.ts +0 -1
  20. package/dist/es/src/utils/functions/paginateEndpoint.d.ts +0 -7
  21. package/dist/es/src/utils/functions/prettifyCurrency.d.ts +0 -2
  22. package/dist/es/src/utils/types/BalanceService.types.d.ts +0 -442
  23. package/dist/es/src/utils/types/BaseService.types.d.ts +0 -326
  24. package/dist/es/src/utils/types/Generic.types.d.ts +0 -477
  25. package/dist/es/src/utils/types/NftService.types.d.ts +0 -273
  26. package/dist/es/src/utils/types/PricingService.types.d.ts +0 -39
  27. package/dist/es/src/utils/types/SecurityService.types.d.ts +0 -122
  28. package/dist/es/src/utils/types/TransactionService.types.d.ts +0 -474
package/dist/cjs/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  var Big = require('big.js');
4
4
 
5
- var version = "2.0.1";
5
+ var version = "2.0.2";
6
6
 
7
7
  const bigIntParser = (val) => {
8
8
  if (val === null || val === undefined) {
package/dist/esm/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import Big from 'big.js';
2
2
 
3
- var version = "2.0.1";
3
+ var version = "2.0.2";
4
4
 
5
5
  const bigIntParser = (val) => {
6
6
  if (val === null || val === undefined) {
package/package.json CHANGED
@@ -1,17 +1,22 @@
1
1
  {
2
2
  "name": "@covalenthq/client-sdk",
3
- "version": "2.0.1",
4
- "types": "dist/index.d.ts",
5
- "files": [
6
- "/dist"
7
- ],
8
- "repository": "https://github.com/covalenthq/covalent-api-sdk-ts",
9
- "author": "@covalenthq",
3
+ "version": "2.0.2",
10
4
  "license": "Apache-2.0",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/covalenthq/covalent-api-sdk-ts.git"
8
+ },
9
+ "author": {
10
+ "name": "covalenthq",
11
+ "url": "https://covalenthq.com"
12
+ },
13
+ "bugs": {
14
+ "url": "https://github.com/covalenthq/covalent-api-sdk-ts/issues"
15
+ },
16
+ "homepage": "https://github.com/covalenthq/covalent-api-sdk-ts#readme",
11
17
  "dependencies": {
12
18
  "big.js": "^6.2.1"
13
19
  },
14
- "homepage": "https://github.com/covalenthq/covalent-api-sdk-ts#readme",
15
20
  "devDependencies": {
16
21
  "@rollup/plugin-commonjs": "^25.0.4",
17
22
  "@rollup/plugin-json": "^6.1.0",
@@ -44,17 +49,25 @@
44
49
  "pretty": "prettier . --write",
45
50
  "prepublishOnly": "npm run clean && npm run build"
46
51
  },
52
+ "publishConfig": {
53
+ "access": "public"
54
+ },
55
+ "files": [
56
+ "/dist"
57
+ ],
47
58
  "main": "dist/cjs/index.js",
48
- "main-es": "dist/es/index.js",
49
59
  "module": "dist/esm/index.js",
50
60
  "exports": {
51
- "node": {
52
- "types": "./dist/index.d.ts",
53
- "require": "./dist/cjs/index.js",
54
- "import": "./dist/cjs/index.js"
61
+ ".": {
62
+ "default": "./dist/esm/index.js",
63
+ "import": "./dist/esm/index.js",
64
+ "require": "./dist/cjs/index.js"
55
65
  },
56
- "package.json": "./package.json",
57
- "types": "./dist/index.d.ts",
58
- "default": "./dist/esm/index.js"
59
- }
66
+ "./cjs": "./cjs/index.js",
67
+ "./esm": "./esm/index.js",
68
+ "./types/cjs": "./types/cjs/index.d.ts",
69
+ "./types/esm": "./types/esm/index.d.ts",
70
+ "./package.json": "./package.json"
71
+ },
72
+ "types": "./dist/esm/index.d.ts"
60
73
  }
@@ -1,17 +0,0 @@
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";
7
- export { bigIntParser } from "./src/utils/functions/bigIntParser";
8
- export { calculatePrettyBalance } from "./src/utils/functions/calculatePrettyBalance";
9
- export { isValidApiKey } from "./src/utils/functions/isValidApiKey";
10
- export { prettifyCurrency } from "./src/utils/functions/prettifyCurrency";
11
- export * from "./src/utils/types/BalanceService.types";
12
- export * from "./src/utils/types/BaseService.types";
13
- export * from "./src/utils/types/Generic.types";
14
- export * from "./src/utils/types/NftService.types";
15
- export * from "./src/utils/types/PricingService.types";
16
- export * from "./src/utils/types/SecurityService.types";
17
- export * from "./src/utils/types/TransactionService.types";