@cheqd/sdk 1.3.8 → 1.3.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.3.10](https://github.com/cheqd/sdk/compare/1.3.9...1.3.10) (2022-10-27)
4
+
5
+
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.9](https://github.com/cheqd/sdk/compare/1.3.8...1.3.9) (2022-10-26)
12
+
3
13
  ## [1.3.8](https://github.com/cheqd/sdk/compare/1.3.7...1.3.8) (2022-10-25)
4
14
 
5
15
  ## [1.3.7](https://github.com/cheqd/sdk/compare/1.3.6...1.3.7) (2022-10-17)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cheqd/sdk",
3
- "version": "1.3.8",
3
+ "version": "1.3.10",
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 --detectOpenHandles",
11
+ "test": "jest --passWithNoTests --maxWorkers 1 --maxConcurrency 1",
12
12
  "test:watch": "jest --passWithNoTests --watch",
13
13
  "build": "tsc"
14
14
  },
@@ -33,28 +33,28 @@
33
33
  "@semantic-release/npm": "^9.0.1",
34
34
  "@semantic-release/release-notes-generator": "^10.0.3",
35
35
  "@types/jest": "^28.1.8",
36
- "@types/node": "^18.11.0",
36
+ "@types/node": "^18.11.5",
37
37
  "@types/uuid": "^8.3.4",
38
38
  "conventional-changelog-conventionalcommits": "^5.0.0",
39
- "jest": "^28.1.3",
40
- "ts-jest": "^28.0.8",
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
- "@cheqd/ts-proto": "^1.0.13",
46
- "@cosmjs/amino": "^0.29.2",
47
- "@cosmjs/encoding": "^0.29.2",
48
- "@cosmjs/math": "^0.29.2",
49
- "@cosmjs/proto-signing": "^0.29.2",
50
- "@cosmjs/stargate": "^0.29.2",
51
- "@cosmjs/tendermint-rpc": "^0.29.2",
52
- "@cosmjs/utils": "^0.29.2",
46
+ "@cheqd/ts-proto": "^1.0.14",
47
+ "@cosmjs/amino": "^0.29.3",
48
+ "@cosmjs/encoding": "^0.29.3",
49
+ "@cosmjs/math": "^0.29.3",
50
+ "@cosmjs/proto-signing": "^0.29.3",
51
+ "@cosmjs/stargate": "^0.29.3",
52
+ "@cosmjs/tendermint-rpc": "^0.29.3",
53
+ "@cosmjs/utils": "^0.29.3",
53
54
  "@stablelib/ed25519": "^1.0.3",
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 = 20000
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 = 20000
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
- // "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
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. */