@cheqd/sdk 1.4.0-develop.1 → 1.4.0-develop.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/CHANGELOG.md +16 -3
- package/package.json +8 -8
- package/tests/modules/did.test.ts +1 -1
- package/tests/modules/resource.test.ts +1 -2
- package/tsconfig.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,24 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## [1.4.0-develop.
|
|
3
|
+
## [1.4.0-develop.2](https://github.com/cheqd/sdk/compare/1.4.0-develop.1...1.4.0-develop.2) (2022-11-01)
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
###
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **deps:** Downgraded `uint8arrays` due to export config clash ([2e30906](https://github.com/cheqd/sdk/commit/2e3090624e505b666b038828f3453753fd887b58))
|
|
9
|
+
* **deps:** Fixed imports deriving from bumps ([2cccc75](https://github.com/cheqd/sdk/commit/2cccc75090543fec8aff222ba3b19db9afc14b6a))
|
|
10
|
+
|
|
11
|
+
## [1.3.12](https://github.com/cheqd/sdk/compare/1.3.11...1.3.12) (2022-10-31)
|
|
12
|
+
|
|
13
|
+
## [1.3.11](https://github.com/cheqd/sdk/compare/1.3.10...1.3.11) (2022-10-31)
|
|
14
|
+
|
|
15
|
+
## [1.3.10](https://github.com/cheqd/sdk/compare/1.3.9...1.3.10) (2022-10-27)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
7
19
|
|
|
8
|
-
*
|
|
20
|
+
* **deps:** Downgraded `uint8arrays` due to export config clash ([2e30906](https://github.com/cheqd/sdk/commit/2e3090624e505b666b038828f3453753fd887b58))
|
|
21
|
+
* **deps:** Fixed imports deriving from bumps ([2cccc75](https://github.com/cheqd/sdk/commit/2cccc75090543fec8aff222ba3b19db9afc14b6a))
|
|
9
22
|
|
|
10
23
|
## [1.3.9](https://github.com/cheqd/sdk/compare/1.3.8...1.3.9) (2022-10-26)
|
|
11
24
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cheqd/sdk",
|
|
3
|
-
"version": "1.4.0-develop.
|
|
3
|
+
"version": "1.4.0-develop.2",
|
|
4
4
|
"description": "A TypeScript SDK built with CosmJS to interact with cheqd network ledger",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Cheqd Foundation Limited (https://github.com/cheqd)",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"main": "build/index.js",
|
|
9
9
|
"types": "build/index.d.ts",
|
|
10
10
|
"scripts": {
|
|
11
|
-
"test": "jest --passWithNoTests --maxWorkers 1 --
|
|
11
|
+
"test": "jest --passWithNoTests --maxWorkers 1 --maxConcurrency 1",
|
|
12
12
|
"test:watch": "jest --passWithNoTests --watch",
|
|
13
13
|
"build": "tsc"
|
|
14
14
|
},
|
|
@@ -32,14 +32,15 @@
|
|
|
32
32
|
"@semantic-release/github": "^8.0.6",
|
|
33
33
|
"@semantic-release/npm": "^9.0.1",
|
|
34
34
|
"@semantic-release/release-notes-generator": "^10.0.3",
|
|
35
|
-
"@types/jest": "^
|
|
36
|
-
"@types/node": "^18.11.
|
|
35
|
+
"@types/jest": "^29.2.0",
|
|
36
|
+
"@types/node": "^18.11.8",
|
|
37
37
|
"@types/uuid": "^8.3.4",
|
|
38
38
|
"conventional-changelog-conventionalcommits": "^5.0.0",
|
|
39
|
-
"jest": "^
|
|
40
|
-
"ts-jest": "^
|
|
39
|
+
"jest": "^29.2.2",
|
|
40
|
+
"ts-jest": "^29.0.3",
|
|
41
41
|
"ts-node": "^10.9.1",
|
|
42
|
-
"typescript": "^4.8.4"
|
|
42
|
+
"typescript": "^4.8.4",
|
|
43
|
+
"uint8arrays": "^3.1.1"
|
|
43
44
|
},
|
|
44
45
|
"dependencies": {
|
|
45
46
|
"@cheqd/ts-proto": "^1.0.14",
|
|
@@ -54,7 +55,6 @@
|
|
|
54
55
|
"cosmjs-types": "^0.5.2",
|
|
55
56
|
"did-jwt": "^6.9.0",
|
|
56
57
|
"multiformats": "^9.9.0",
|
|
57
|
-
"uint8arrays": "^3.1.1",
|
|
58
58
|
"uuid": "^9.0.0"
|
|
59
59
|
},
|
|
60
60
|
"publishConfig": {
|
|
@@ -8,7 +8,7 @@ import { CheqdSigningStargateClient } from "../../src/signer"
|
|
|
8
8
|
import { DidStdFee, ISignInputs, MethodSpecificIdAlgo, VerificationMethods } from "../../src/types"
|
|
9
9
|
import { createDidPayload, createDidVerificationMethod, createKeyPairBase64, createVerificationKeys, exampleCheqdNetwork, faucet } from "../testutils.test"
|
|
10
10
|
|
|
11
|
-
const defaultAsyncTxTimeout =
|
|
11
|
+
const defaultAsyncTxTimeout = 30000
|
|
12
12
|
|
|
13
13
|
describe('DIDModule', () => {
|
|
14
14
|
describe('constructor', () => {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { DirectSecp256k1HdWallet, GeneratedType } from "@cosmjs/proto-signing"
|
|
2
2
|
import { DeliverTxResponse } from "@cosmjs/stargate"
|
|
3
|
-
import { sign } from "@stablelib/ed25519"
|
|
4
3
|
import { fromString, toString } from 'uint8arrays'
|
|
5
4
|
import { DIDModule, ResourceModule } from "../../src"
|
|
6
5
|
import { createDefaultCheqdRegistry } from "../../src/registry"
|
|
@@ -10,7 +9,7 @@ import { createDidPayload, createDidVerificationMethod, createKeyPairBase64, cre
|
|
|
10
9
|
import { MsgCreateResourcePayload } from '@cheqd/ts-proto/resource/v1/tx';
|
|
11
10
|
import { randomUUID } from "crypto"
|
|
12
11
|
|
|
13
|
-
const defaultAsyncTxTimeout =
|
|
12
|
+
const defaultAsyncTxTimeout = 30000
|
|
14
13
|
|
|
15
14
|
describe('ResourceModule', () => {
|
|
16
15
|
describe('constructor', () => {
|
package/tsconfig.json
CHANGED
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
// "noUncheckedIndexedAccess": true, /* Include 'undefined' in index signature results */
|
|
43
43
|
|
|
44
44
|
/* Module Resolution Options */
|
|
45
|
-
|
|
45
|
+
"moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
|
|
46
46
|
// "baseUrl": "./", /* Base directory to resolve non-absolute module names. */
|
|
47
47
|
// "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
|
|
48
48
|
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
|