Skip to content

Commit

Permalink
fix: update cheqd to 2.4.2 (openwallet-foundation#1817)
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Glastra <timo@animo.id>
  • Loading branch information
TimoGlastra committed Apr 4, 2024
1 parent 30ba4a1 commit 8154df4
Show file tree
Hide file tree
Showing 5 changed files with 175 additions and 214 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/continuous-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ jobs:
- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: 18
# Node 18.20 and 20.13 broke ffi-napi
# https://github.com/nodejs/node/issues/52240
node-version: 18.19
cache: 'yarn'
registry-url: 'https://registry.npmjs.org/'

Expand Down Expand Up @@ -68,7 +70,9 @@ jobs:
- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: 18
# Node 18.20 and 20.13 broke ffi-napi
# https://github.com/nodejs/node/issues/52240
node-version: 18.19
cache: 'yarn'
registry-url: 'https://registry.npmjs.org/'

Expand Down
16 changes: 12 additions & 4 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ jobs:
- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: 18
# Node 18.20 and 20.13 broke ffi-napi
# https://github.com/nodejs/node/issues/52240
node-version: 18.19
cache: 'yarn'

- name: Install dependencies
Expand All @@ -77,7 +79,9 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [18.x, 20.x]
# Node 18.20 and 20.12 broke ffi-napi
# https://github.com/nodejs/node/issues/52240
node-version: [18.19, 20.11]
# Each shard runs a set of the tests
# Make sure to UPDATE THE TEST command with the total length of
# the shards if you change this!!
Expand Down Expand Up @@ -114,7 +118,9 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [18.x, 20.x]
# Node 18.20 and 20.12 broke ffi-napi
# https://github.com/nodejs/node/issues/52240
node-version: [18.19, 20.11]

steps:
- name: Checkout credo
Expand Down Expand Up @@ -174,7 +180,9 @@ jobs:
- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: 18
# Node 18.20 and 20.13 broke ffi-napi
# https://github.com/nodejs/node/issues/52240
node-version: 18.19
cache: 'yarn'

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:21
FROM node:20.11

# Set working directory
WORKDIR /www
Expand Down
8 changes: 4 additions & 4 deletions packages/cheqd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
"test": "jest"
},
"dependencies": {
"@cheqd/sdk": "cjs",
"@cheqd/ts-proto": "cjs",
"@cosmjs/crypto": "^0.29.5",
"@cosmjs/proto-signing": "^0.31.0",
"@cheqd/sdk": "^2.4.2",
"@cheqd/ts-proto": "^2.3.1",
"@cosmjs/crypto": "^0.32.3",
"@cosmjs/proto-signing": "^0.32.3",
"@credo-ts/anoncreds": "0.5.1",
"@credo-ts/core": "0.5.1",
"@stablelib/ed25519": "^1.0.3",
Expand Down
Loading

0 comments on commit 8154df4

Please sign in to comment.