@cheqd/sdk 5.1.0-develop.1 → 5.1.0-develop.10

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 (39) hide show
  1. package/build/cjs/index.d.ts +2 -2
  2. package/build/cjs/index.d.ts.map +1 -1
  3. package/build/cjs/index.js +2 -2
  4. package/build/cjs/index.js.map +1 -1
  5. package/build/cjs/modules/_.d.ts +1 -1
  6. package/build/cjs/modules/_.d.ts.map +1 -1
  7. package/build/cjs/modules/did.d.ts +4 -4
  8. package/build/cjs/modules/did.d.ts.map +1 -1
  9. package/build/cjs/modules/did.js +11 -11
  10. package/build/cjs/modules/did.js.map +1 -1
  11. package/build/cjs/modules/feemarket.d.ts +4 -4
  12. package/build/cjs/modules/feemarket.d.ts.map +1 -1
  13. package/build/cjs/modules/feemarket.js +8 -8
  14. package/build/cjs/modules/feemarket.js.map +1 -1
  15. package/build/cjs/modules/resource.d.ts +4 -4
  16. package/build/cjs/modules/resource.d.ts.map +1 -1
  17. package/build/cjs/modules/resource.js +11 -11
  18. package/build/cjs/modules/resource.js.map +1 -1
  19. package/build/cjs/package.json +59 -0
  20. package/build/cjs/querier.d.ts +2 -2
  21. package/build/cjs/querier.d.ts.map +1 -1
  22. package/build/cjs/querier.js +6 -6
  23. package/build/cjs/querier.js.map +1 -1
  24. package/build/cjs/registry.d.ts +1 -1
  25. package/build/cjs/registry.d.ts.map +1 -1
  26. package/build/cjs/registry.js +4 -4
  27. package/build/cjs/registry.js.map +1 -1
  28. package/build/cjs/signer.d.ts +9 -9
  29. package/build/cjs/signer.d.ts.map +1 -1
  30. package/build/cjs/signer.js +32 -32
  31. package/build/cjs/signer.js.map +1 -1
  32. package/build/cjs/types.d.ts +6 -6
  33. package/build/cjs/types.d.ts.map +1 -1
  34. package/build/cjs/utils.d.ts +7 -7
  35. package/build/cjs/utils.d.ts.map +1 -1
  36. package/build/cjs/utils.js +27 -27
  37. package/build/cjs/utils.js.map +1 -1
  38. package/build/esm/package.json +59 -0
  39. package/package.json +128 -75
@@ -0,0 +1,59 @@
1
+ {
2
+ "name": "@cheqd/sdk-esm",
3
+ "private": true,
4
+ "version": "5.0.1",
5
+ "description": "A TypeScript SDK built with CosmJS to interact with cheqd network ledger",
6
+ "license": "Apache-2.0",
7
+ "author": "Cheqd Foundation Limited (https://github.com/cheqd)",
8
+ "type": "module",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./build/types/index.d.ts",
12
+ "import": "./build/index.js",
13
+ "default": "./build/index.js"
14
+ },
15
+ "./*": {
16
+ "types": "./build/types/*.d.ts",
17
+ "import": "./build/*.js",
18
+ "default": "./build/*.js"
19
+ }
20
+ },
21
+ "scripts": {
22
+ "test": "cross-env NODE_OPTIONS='--experimental-vm-modules' jest --colors --passWithNoTests --maxWorkers 1 --maxConcurrency 1",
23
+ "test:watch": "cross-env NODE_OPTIONS='--experimental-vm-modules' jest --colors --passWithNoTests --maxWorkers 1 --maxConcurrency 1 --watch",
24
+ "build": "npm run build:types && npm run build:esm",
25
+ "build:types": "tsc -p tsconfig.types.json",
26
+ "build:esm": "tsc -p tsconfig.json",
27
+ "format": "prettier --write '**/*.{js,ts,cjs,mjs,json}'"
28
+ },
29
+ "dependencies": {
30
+ "@cheqd/ts-proto": "^4.0.0",
31
+ "@cosmjs/amino": "^0.32.4",
32
+ "@cosmjs/crypto": "^0.32.4",
33
+ "@cosmjs/encoding": "^0.32.4",
34
+ "@cosmjs/math": "^0.32.4",
35
+ "@cosmjs/proto-signing": "^0.32.4",
36
+ "@cosmjs/stargate": "^0.32.4",
37
+ "@cosmjs/tendermint-rpc": "^0.32.4",
38
+ "@cosmjs/utils": "^0.32.4",
39
+ "@stablelib/ed25519": "^1.0.3",
40
+ "@types/secp256k1": "^4.0.6",
41
+ "cosmjs-types": "^0.9.0",
42
+ "did-jwt": "^8.0.4",
43
+ "did-resolver": "^4.1.0",
44
+ "exponential-backoff": "^3.1.1",
45
+ "file-type": "^19.5.0",
46
+ "multiformats": "^13.3.0",
47
+ "secp256k1": "^5.0.0",
48
+ "uuid": "^10.0.0",
49
+ "uint8arrays": "^5.1.0"
50
+ },
51
+ "devDependencies": {
52
+ "@types/node": "^20.16.5",
53
+ "@types/uuid": "^10.0.0",
54
+ "cross-env": "^7.0.3"
55
+ },
56
+ "engines": {
57
+ "node": ">=20.0.0"
58
+ }
59
+ }
package/package.json CHANGED
@@ -1,76 +1,129 @@
1
1
  {
2
- "name": "@cheqd/sdk",
3
- "version": "5.1.0-develop.1",
4
- "description": "A TypeScript SDK built with CosmJS to interact with the cheqd network ledger",
5
- "license": "Apache-2.0",
6
- "author": "Cheqd Foundation Limited (https://github.com/cheqd)",
7
- "main": "./build/cjs/index.js",
8
- "module": "./build/esm/index.js",
9
- "exports": {
10
- ".": {
11
- "types": "./build/types/index.d.ts",
12
- "import": "./build/esm/index.js",
13
- "require": "./build/cjs/index.js",
14
- "default": "./build/esm/index.js"
15
- },
16
- "./*": {
17
- "types": "./build/types/*.d.ts",
18
- "import": "./build/esm/*.js",
19
- "require": "./build/cjs/*.js",
20
- "default": "./build/esm/*.js"
21
- }
22
- },
23
- "scripts": {
24
- "clean": "rm -rf node_modules && rm -rf esm/node_modules && rm -rf cjs/node_modules && rm -f package-lock.json",
25
- "build": "rm -rf build && npm run build:esm && npm run build:cjs && npm run build:types",
26
- "build:esm": "cd esm && tsc -p tsconfig.json",
27
- "build:cjs": "cd cjs && tsc -p tsconfig.json",
28
- "build:types": "cd esm && tsc -p tsconfig.types.json",
29
- "test": "npm run test:esm && npm run test:cjs",
30
- "test:esm": "cd esm && npm test",
31
- "test:cjs": "cd cjs && npm test",
32
- "format": "prettier --write '**/*.{js,ts,cjs,mjs,json}'"
33
- },
34
- "workspaces": [
35
- "esm",
36
- "cjs"
37
- ],
38
- "repository": "https://github.com/cheqd/sdk.git",
39
- "keywords": [
40
- "cheqd",
41
- "sdk",
42
- "ssi",
43
- "did",
44
- "vc",
45
- "resources"
46
- ],
47
- "bugs": {
48
- "url": "https://github.com/cheqd/sdk/issues"
49
- },
50
- "homepage": "https://github.com/cheqd/sdk#readme",
51
- "files": [
52
- "build",
53
- "LICENSE",
54
- "package.json",
55
- "README.md"
56
- ],
57
- "devDependencies": {
58
- "@semantic-release/changelog": "^6.0.3",
59
- "@semantic-release/commit-analyzer": "^11.1.0",
60
- "@semantic-release/git": "^10.0.1",
61
- "@semantic-release/github": "^9.2.6",
62
- "@semantic-release/npm": "^11.0.3",
63
- "@semantic-release/release-notes-generator": "^12.1.0",
64
- "@types/jest": "^29.5.12",
65
- "conventional-changelog-conventionalcommits": "^7.0.2",
66
- "jest": "^29.7.0",
67
- "prettier": "^3.3.3",
68
- "semantic-release": "^22.0.12",
69
- "ts-jest": "^29.2.5",
70
- "typescript": "^5.5.4"
71
- },
72
- "publishConfig": {
73
- "registry": "https://registry.npmjs.org/",
74
- "access": "public"
75
- }
76
- }
2
+ "name": "@cheqd/sdk",
3
+ "version": "5.1.0-develop.10",
4
+ "description": "A TypeScript SDK built with CosmJS to interact with the cheqd network ledger",
5
+ "license": "Apache-2.0",
6
+ "author": "Cheqd Foundation Limited (https://github.com/cheqd)",
7
+ "main": "./build/cjs/index.js",
8
+ "module": "./build/esm/index.js",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./build/types/index.d.ts",
12
+ "import": "./build/esm/index.js",
13
+ "require": "./build/cjs/index.js",
14
+ "default": "./build/esm/index.js"
15
+ },
16
+ "./*": {
17
+ "types": "./build/types/*.d.ts",
18
+ "import": "./build/esm/*.js",
19
+ "require": "./build/cjs/*.js",
20
+ "default": "./build/esm/*.js"
21
+ }
22
+ },
23
+ "scripts": {
24
+ "clean": "rm -rf node_modules && rm -rf esm/node_modules && rm -rf cjs/node_modules && rm -f package-lock.json",
25
+ "build": "rm -rf build && npm run build:esm && npm run build:cjs && npm run build:types",
26
+ "build:esm": "cd esm && tsc -p tsconfig.json && cp package.json ../build/esm/package.json",
27
+ "build:cjs": "cd cjs && tsc -p tsconfig.json && cp package.json ../build/cjs/package.json",
28
+ "build:types": "cd esm && tsc -p tsconfig.types.json",
29
+ "tidy": "node tidy-dependencies.js && npm i --save",
30
+ "test": "npm run test:esm && npm run test:cjs",
31
+ "test:esm": "cd esm && npm test",
32
+ "test:cjs": "cd cjs && npm test",
33
+ "format": "prettier --write '**/*.{js,ts,cjs,mjs,json}'",
34
+ "prepare": "husky"
35
+ },
36
+ "workspaces": [
37
+ "esm",
38
+ "cjs"
39
+ ],
40
+ "repository": "https://github.com/cheqd/sdk.git",
41
+ "keywords": [
42
+ "cheqd",
43
+ "sdk",
44
+ "ssi",
45
+ "did",
46
+ "vc",
47
+ "resources"
48
+ ],
49
+ "bugs": {
50
+ "url": "https://github.com/cheqd/sdk/issues"
51
+ },
52
+ "homepage": "https://github.com/cheqd/sdk#readme",
53
+ "files": [
54
+ "build",
55
+ "LICENSE",
56
+ "package.json",
57
+ "preinstall.js",
58
+ "README.md"
59
+ ],
60
+ "devDependencies": {
61
+ "@semantic-release/changelog": "^6.0.3",
62
+ "@semantic-release/commit-analyzer": "^11.1.0",
63
+ "@semantic-release/git": "^10.0.1",
64
+ "@semantic-release/github": "^9.2.6",
65
+ "@semantic-release/npm": "^11.0.3",
66
+ "@semantic-release/release-notes-generator": "^12.1.0",
67
+ "@types/jest": "^29.5.12",
68
+ "conventional-changelog-conventionalcommits": "^7.0.2",
69
+ "husky": "^9.1.7",
70
+ "jest": "^29.7.0",
71
+ "prettier": "^3.3.3",
72
+ "semantic-release": "^22.0.12",
73
+ "ts-jest": "^29.2.5",
74
+ "typescript": "^5.5.4",
75
+ "@types/node": "^20.16.5",
76
+ "@types/uuid": "^10.0.0",
77
+ "cross-env": "^7.0.3",
78
+ "@types/node-cjs": "npm:@types/node@^18.19.47",
79
+ "@types/uuid-cjs": "npm:@types/uuid@^10.0.0",
80
+ "@types/long-cjs": "npm:@types/long@^4.0.0"
81
+ },
82
+ "publishConfig": {
83
+ "registry": "https://registry.npmjs.org/",
84
+ "access": "public"
85
+ },
86
+ "dependencies": {
87
+ "@cheqd/ts-proto": "^4.0.0",
88
+ "@cheqd/ts-proto-cjs": "npm:@cheqd/ts-proto@~2.4.0",
89
+ "@cosmjs/amino": "^0.32.4",
90
+ "@cosmjs/amino-cjs": "npm:@cosmjs/amino@~0.30.1",
91
+ "@cosmjs/crypto": "^0.32.4",
92
+ "@cosmjs/crypto-cjs": "npm:@cosmjs/crypto@~0.30.1",
93
+ "@cosmjs/encoding": "^0.32.4",
94
+ "@cosmjs/encoding-cjs": "npm:@cosmjs/encoding@~0.30.1",
95
+ "@cosmjs/math": "^0.32.4",
96
+ "@cosmjs/math-cjs": "npm:@cosmjs/math@~0.30.1",
97
+ "@cosmjs/proto-signing": "^0.32.4",
98
+ "@cosmjs/proto-signing-cjs": "npm:@cosmjs/proto-signing@~0.30.1",
99
+ "@cosmjs/stargate": "^0.32.4",
100
+ "@cosmjs/stargate-cjs": "npm:@cosmjs/stargate@~0.30.1",
101
+ "@cosmjs/tendermint-rpc": "^0.32.4",
102
+ "@cosmjs/tendermint-rpc-cjs": "npm:@cosmjs/tendermint-rpc@~0.30.1",
103
+ "@cosmjs/utils": "^0.32.4",
104
+ "@cosmjs/utils-cjs": "npm:@cosmjs/utils@~0.30.1",
105
+ "@stablelib/ed25519": "^1.0.3",
106
+ "@stablelib/ed25519-cjs": "npm:@stablelib/ed25519@^1.0.3",
107
+ "@types/secp256k1": "^4.0.6",
108
+ "@types/secp256k1-cjs": "npm:@types/secp256k1@^4.0.6",
109
+ "cosmjs-types": "^0.9.0",
110
+ "cosmjs-types-cjs": "npm:cosmjs-types@^0.7.2",
111
+ "did-jwt": "^8.0.4",
112
+ "did-jwt-cjs": "npm:did-jwt@^8.0.4",
113
+ "did-resolver": "^4.1.0",
114
+ "did-resolver-cjs": "npm:did-resolver@^4.1.0",
115
+ "exponential-backoff": "^3.1.1",
116
+ "exponential-backoff-cjs": "npm:exponential-backoff@^3.1.1",
117
+ "file-type": "^19.5.0",
118
+ "file-type-cjs": "npm:file-type@^16.5.4",
119
+ "long-cjs": "npm:long@^4.0.0",
120
+ "multiformats": "^13.3.0",
121
+ "multiformats-cjs": "npm:multiformats@^9.9.0",
122
+ "secp256k1": "^5.0.0",
123
+ "secp256k1-cjs": "npm:secp256k1@^5.0.0",
124
+ "uuid": "^10.0.0",
125
+ "uuid-cjs": "npm:uuid@^10.0.0",
126
+ "uint8arrays": "^5.1.0",
127
+ "uint8arrays-cjs": "npm:uint8arrays@^3.1.1"
128
+ }
129
+ }