@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.
- package/dist/cjs/index.js +1 -1
- package/dist/esm/index.js +1 -1
- package/package.json +30 -17
- package/dist/es/index.d.ts +0 -17
- package/dist/es/index.js +0 -2854
- package/dist/es/index.js.map +0 -1
- package/dist/es/src/GoldRushClient.d.ts +0 -20
- package/dist/es/src/services/BalanceService.d.ts +0 -125
- package/dist/es/src/services/BaseService.d.ts +0 -161
- package/dist/es/src/services/NftService.d.ts +0 -157
- package/dist/es/src/services/PricingService.d.ts +0 -25
- package/dist/es/src/services/SecurityService.d.ts +0 -28
- package/dist/es/src/services/TransactionService.d.ts +0 -128
- package/dist/es/src/utils/functions/bigIntParser.d.ts +0 -1
- package/dist/es/src/utils/functions/calculatePrettyBalance.d.ts +0 -1
- package/dist/es/src/utils/functions/debugOutput.d.ts +0 -2
- package/dist/es/src/utils/functions/endpointGenerator.d.ts +0 -4
- package/dist/es/src/utils/functions/execution.d.ts +0 -11
- package/dist/es/src/utils/functions/isValidApiKey.d.ts +0 -1
- package/dist/es/src/utils/functions/paginateEndpoint.d.ts +0 -7
- package/dist/es/src/utils/functions/prettifyCurrency.d.ts +0 -2
- package/dist/es/src/utils/types/BalanceService.types.d.ts +0 -442
- package/dist/es/src/utils/types/BaseService.types.d.ts +0 -326
- package/dist/es/src/utils/types/Generic.types.d.ts +0 -477
- package/dist/es/src/utils/types/NftService.types.d.ts +0 -273
- package/dist/es/src/utils/types/PricingService.types.d.ts +0 -39
- package/dist/es/src/utils/types/SecurityService.types.d.ts +0 -122
- package/dist/es/src/utils/types/TransactionService.types.d.ts +0 -474
package/dist/cjs/index.js
CHANGED
package/dist/esm/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,17 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@covalenthq/client-sdk",
|
|
3
|
-
"version": "2.0.
|
|
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
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
61
|
+
".": {
|
|
62
|
+
"default": "./dist/esm/index.js",
|
|
63
|
+
"import": "./dist/esm/index.js",
|
|
64
|
+
"require": "./dist/cjs/index.js"
|
|
55
65
|
},
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
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
|
}
|
package/dist/es/index.d.ts
DELETED
|
@@ -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";
|