@cheqd/sdk 5.1.0-develop.11 → 5.1.0-develop.13

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 (76) hide show
  1. package/build/cjs/index.d.ts +5 -3
  2. package/build/cjs/index.d.ts.map +1 -1
  3. package/build/cjs/index.js +40 -2
  4. package/build/cjs/index.js.map +1 -1
  5. package/build/cjs/modules/did.d.ts +9 -7
  6. package/build/cjs/modules/did.d.ts.map +1 -1
  7. package/build/cjs/modules/did.js +265 -2
  8. package/build/cjs/modules/did.js.map +1 -1
  9. package/build/cjs/modules/feeabstraction.d.ts +134 -0
  10. package/build/cjs/modules/feeabstraction.d.ts.map +1 -0
  11. package/build/cjs/modules/feeabstraction.js +262 -0
  12. package/build/cjs/modules/feeabstraction.js.map +1 -0
  13. package/build/cjs/modules/feemarket.d.ts +14 -4
  14. package/build/cjs/modules/feemarket.d.ts.map +1 -1
  15. package/build/cjs/modules/feemarket.js +16 -0
  16. package/build/cjs/modules/feemarket.js.map +1 -1
  17. package/build/cjs/modules/resource.d.ts +2 -2
  18. package/build/cjs/modules/resource.d.ts.map +1 -1
  19. package/build/cjs/modules/resource.js.map +1 -1
  20. package/build/cjs/package.json +7 -7
  21. package/build/cjs/querier.d.ts.map +1 -1
  22. package/build/cjs/querier.js.map +1 -1
  23. package/build/cjs/signer.d.ts +2 -2
  24. package/build/cjs/signer.js +2 -2
  25. package/build/cjs/types.d.ts +6 -1
  26. package/build/cjs/types.d.ts.map +1 -1
  27. package/build/cjs/types.js.map +1 -1
  28. package/build/cjs/utils.d.ts +3 -3
  29. package/build/cjs/utils.d.ts.map +1 -1
  30. package/build/cjs/utils.js +14 -12
  31. package/build/cjs/utils.js.map +1 -1
  32. package/build/esm/index.d.ts +6 -4
  33. package/build/esm/index.d.ts.map +1 -1
  34. package/build/esm/index.js +8 -2
  35. package/build/esm/index.js.map +1 -1
  36. package/build/esm/modules/did.d.ts +9 -7
  37. package/build/esm/modules/did.d.ts.map +1 -1
  38. package/build/esm/modules/did.js +277 -2
  39. package/build/esm/modules/did.js.map +1 -1
  40. package/build/esm/modules/feeabstraction.d.ts +134 -0
  41. package/build/esm/modules/feeabstraction.d.ts.map +1 -0
  42. package/build/esm/modules/feeabstraction.js +243 -0
  43. package/build/esm/modules/feeabstraction.js.map +1 -0
  44. package/build/esm/modules/feemarket.d.ts +14 -4
  45. package/build/esm/modules/feemarket.d.ts.map +1 -1
  46. package/build/esm/modules/feemarket.js +16 -0
  47. package/build/esm/modules/feemarket.js.map +1 -1
  48. package/build/esm/modules/resource.d.ts +2 -2
  49. package/build/esm/modules/resource.d.ts.map +1 -1
  50. package/build/esm/modules/resource.js.map +1 -1
  51. package/build/esm/package.json +8 -8
  52. package/build/esm/signer.d.ts +2 -2
  53. package/build/esm/signer.js +2 -2
  54. package/build/esm/types.d.ts +6 -1
  55. package/build/esm/types.d.ts.map +1 -1
  56. package/build/esm/types.js.map +1 -1
  57. package/build/esm/utils.d.ts +3 -3
  58. package/build/esm/utils.d.ts.map +1 -1
  59. package/build/esm/utils.js +12 -12
  60. package/build/esm/utils.js.map +1 -1
  61. package/build/types/index.d.ts +6 -4
  62. package/build/types/index.d.ts.map +1 -1
  63. package/build/types/modules/did.d.ts +9 -7
  64. package/build/types/modules/did.d.ts.map +1 -1
  65. package/build/types/modules/feeabstraction.d.ts +134 -0
  66. package/build/types/modules/feeabstraction.d.ts.map +1 -0
  67. package/build/types/modules/feemarket.d.ts +14 -4
  68. package/build/types/modules/feemarket.d.ts.map +1 -1
  69. package/build/types/modules/resource.d.ts +2 -2
  70. package/build/types/modules/resource.d.ts.map +1 -1
  71. package/build/types/signer.d.ts +2 -2
  72. package/build/types/types.d.ts +6 -1
  73. package/build/types/types.d.ts.map +1 -1
  74. package/build/types/utils.d.ts +3 -3
  75. package/build/types/utils.d.ts.map +1 -1
  76. package/package.json +131 -128
package/package.json CHANGED
@@ -1,129 +1,132 @@
1
1
  {
2
- "name": "@cheqd/sdk",
3
- "version": "5.1.0-develop.11",
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
- }
2
+ "name": "@cheqd/sdk",
3
+ "version": "5.1.0-develop.13",
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 && npm run format",
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
+ "dependencies": {
61
+ "@cheqd/ts-proto": "^4.0.0",
62
+ "@cheqd/ts-proto-cjs": "npm:@cheqd/ts-proto@~2.4.1",
63
+ "@cosmjs/amino": "^0.32.4",
64
+ "@cosmjs/amino-cjs": "npm:@cosmjs/amino@~0.30.1",
65
+ "@cosmjs/crypto": "^0.32.4",
66
+ "@cosmjs/crypto-cjs": "npm:@cosmjs/crypto@~0.30.1",
67
+ "@cosmjs/encoding": "^0.32.4",
68
+ "@cosmjs/encoding-cjs": "npm:@cosmjs/encoding@~0.30.1",
69
+ "@cosmjs/math": "^0.32.4",
70
+ "@cosmjs/math-cjs": "npm:@cosmjs/math@~0.30.1",
71
+ "@cosmjs/proto-signing": "^0.32.4",
72
+ "@cosmjs/proto-signing-cjs": "npm:@cosmjs/proto-signing@~0.30.1",
73
+ "@cosmjs/stargate": "^0.32.4",
74
+ "@cosmjs/stargate-cjs": "npm:@cosmjs/stargate@~0.30.1",
75
+ "@cosmjs/tendermint-rpc": "^0.32.4",
76
+ "@cosmjs/tendermint-rpc-cjs": "npm:@cosmjs/tendermint-rpc@~0.30.1",
77
+ "@cosmjs/utils": "^0.32.4",
78
+ "@cosmjs/utils-cjs": "npm:@cosmjs/utils@~0.30.1",
79
+ "@stablelib/ed25519": "^1.0.3",
80
+ "@stablelib/ed25519-cjs": "npm:@stablelib/ed25519@^1.0.3",
81
+ "@types/secp256k1": "^4.0.6",
82
+ "@types/secp256k1-cjs": "npm:@types/secp256k1@^4.0.6",
83
+ "cosmjs-types": "^0.9.0",
84
+ "cosmjs-types-cjs": "npm:cosmjs-types@^0.7.2",
85
+ "did-jwt": "^8.0.8",
86
+ "did-jwt-cjs": "npm:did-jwt@^8.0.8",
87
+ "did-resolver": "^4.1.0",
88
+ "did-resolver-cjs": "npm:did-resolver@^4.1.0",
89
+ "exponential-backoff": "^3.1.2",
90
+ "exponential-backoff-cjs": "npm:exponential-backoff@^3.1.2",
91
+ "file-type": "^19.6.0",
92
+ "file-type-cjs": "npm:file-type@^16.5.4",
93
+ "long-cjs": "npm:long@^4.0.0",
94
+ "multiformats": "^13.3.2",
95
+ "multiformats-cjs": "npm:multiformats@^9.9.0",
96
+ "secp256k1": "^5.0.1",
97
+ "secp256k1-cjs": "npm:secp256k1@^5.0.1",
98
+ "uint8arrays": "^5.1.0",
99
+ "uint8arrays-cjs": "npm:uint8arrays@^3.1.1",
100
+ "uuid": "^11.0.5",
101
+ "uuid-cjs": "npm:uuid@~10.0.0"
102
+ },
103
+ "devDependencies": {
104
+ "@semantic-release/changelog": "^6.0.3",
105
+ "@semantic-release/commit-analyzer": "^11.1.0",
106
+ "@semantic-release/git": "^10.0.1",
107
+ "@semantic-release/github": "^11.0.1",
108
+ "@semantic-release/npm": "^11.0.3",
109
+ "@semantic-release/release-notes-generator": "^12.1.0",
110
+ "@types/jest": "^29.5.14",
111
+ "@types/long-cjs": "npm:@types/long@^4.0.2",
112
+ "@types/node": "^20.17.19",
113
+ "@types/node-cjs": "npm:@types/node@^18.19.47",
114
+ "@types/uuid": "^10.0.0",
115
+ "@types/uuid-cjs": "npm:@types/uuid@^10.0.0",
116
+ "conventional-changelog-conventionalcommits": "^7.0.2",
117
+ "cross-env": "^7.0.3",
118
+ "husky": "^9.1.7",
119
+ "jest": "^29.7.0",
120
+ "prettier": "^3.5.1",
121
+ "semantic-release": "^24.2.3",
122
+ "ts-jest": "^29.2.5",
123
+ "typescript": "^5.7.3"
124
+ },
125
+ "publishConfig": {
126
+ "registry": "https://registry.npmjs.org/",
127
+ "access": "public"
128
+ },
129
+ "engines": {
130
+ "node": ">=20.0.0"
131
+ }
132
+ }