Skip to content

Commit 1be7c5f

Browse files
committed
TICKET: WP-5417
2 parents 84c683c + ef19b16 commit 1be7c5f

File tree

260 files changed

+5751
-1922
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

260 files changed

+5751
-1922
lines changed

.github/workflows/ci.yml

Lines changed: 44 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
path: |
5555
node_modules
5656
modules/*/node_modules
57-
key: ${{ runner.os }}-node${{matrix.node-version}}-${{ hashFiles('yarn.lock') }}-${{ hashFiles('tsconfig.packages.json') }}-${{ hashFiles('package.json') }}
57+
key: ${{ runner.os }}-node${{matrix.node-version}}-${{ hashFiles('yarn.lock') }}-${{ hashFiles('tsconfig.packages.json') }}-${{ hashFiles('**/package.json') }}
5858

5959
- name: Install Packages
6060
if: steps.lerna-cache.outputs.cache-hit != 'true' || contains( github.event.pull_request.labels.*.name, 'SKIP_CACHE')
@@ -106,7 +106,7 @@ jobs:
106106
path: |
107107
node_modules
108108
modules/*/node_modules
109-
key: ${{ runner.os }}-node20-${{ hashFiles('yarn.lock') }}-${{ hashFiles('tsconfig.packages.json') }}-${{ hashFiles('package.json') }}
109+
key: ${{ runner.os }}-node20-${{ hashFiles('yarn.lock') }}-${{ hashFiles('tsconfig.packages.json') }}-${{ hashFiles('**/package.json') }}
110110

111111
- name: Install Packages
112112
if: steps.lerna-cache.outputs.cache-hit != 'true' || contains( github.event.pull_request.labels.*.name, 'SKIP_CACHE')
@@ -152,7 +152,7 @@ jobs:
152152
path: |
153153
node_modules
154154
modules/*/node_modules
155-
key: ${{ runner.os }}-node22-${{ hashFiles('yarn.lock') }}-${{ hashFiles('tsconfig.packages.json') }}-${{ hashFiles('package.json') }}
155+
key: ${{ runner.os }}-node22-${{ hashFiles('yarn.lock') }}-${{ hashFiles('tsconfig.packages.json') }}-${{ hashFiles('**/package.json') }}
156156

157157
- name: Install Packages
158158
if: steps.lerna-cache.outputs.cache-hit != 'true'
@@ -245,7 +245,7 @@ jobs:
245245
node_modules
246246
modules/*/node_modules
247247
/home/runner/.cache/Cypress
248-
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}-${{ hashFiles('tsconfig.packages.json')}}-${{ hashFiles('package.json') }}
248+
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}-${{ hashFiles('tsconfig.packages.json')}}-${{ hashFiles('**/package.json') }}
249249

250250
- name: Install Packages
251251
if: steps.lerna-cache.outputs.cache-hit != 'true' || contains( github.event.pull_request.labels.*.name, 'SKIP_CACHE')
@@ -270,5 +270,44 @@ jobs:
270270
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
271271
with:
272272
ref: ${{ github.event.pull_request.head.sha }}
273+
274+
- name: Setup Docker compatibility with Podman
275+
run: sudo ln -sf /usr/bin/podman /usr/local/bin/docker
276+
273277
- name: Build BitGoJS Express Docker Image
274-
run: podman build .
278+
run: ./scripts/build-docker-express.sh
279+
280+
dockerfile-check:
281+
runs-on: ubuntu-latest
282+
283+
steps:
284+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
285+
with:
286+
ref: ${{ github.event.pull_request.head.sha }}
287+
288+
- name: Setup node 22
289+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
290+
with:
291+
node-version: 22
292+
293+
- name: restore lerna dependencies
294+
id: lerna-cache
295+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 #v4.2.3
296+
with:
297+
path: |
298+
node_modules
299+
modules/*/node_modules
300+
key: ${{ runner.os }}-node22-${{ hashFiles('yarn.lock') }}-${{ hashFiles('tsconfig.packages.json') }}-${{ hashFiles('package.json') }}
301+
302+
- name: Install Packages
303+
if: steps.lerna-cache.outputs.cache-hit != 'true' || contains( github.event.pull_request.labels.*.name, 'SKIP_CACHE')
304+
run: yarn install --with-frozen-lockfile --ignore-scripts
305+
306+
- name: Check Dockerfile is up to date
307+
run: |
308+
yarn update-dockerfile
309+
if ! git diff --quiet; then
310+
echo "Dockerfile is not up to date. Please run 'yarn update-dockerfile' and commit the changes."
311+
git diff
312+
exit 1
313+
fi

.iyarc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
GHSA-3gc7-fjrx-p6mg

Dockerfile

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ COPY --from=builder /tmp/bitgo/modules/sdk-coin-icp /var/modules/sdk-coin-icp/
8888
COPY --from=builder /tmp/bitgo/modules/sdk-coin-initia /var/modules/sdk-coin-initia/
8989
COPY --from=builder /tmp/bitgo/modules/sdk-coin-injective /var/modules/sdk-coin-injective/
9090
COPY --from=builder /tmp/bitgo/modules/sdk-coin-islm /var/modules/sdk-coin-islm/
91-
COPY --from=builder /tmp/bitgo/modules/sdk-coin-mantra /var/modules/sdk-coin-mantra/
9291
COPY --from=builder /tmp/bitgo/modules/sdk-coin-mon /var/modules/sdk-coin-mon/
9392
COPY --from=builder /tmp/bitgo/modules/sdk-coin-near /var/modules/sdk-coin-near/
9493
COPY --from=builder /tmp/bitgo/modules/sdk-coin-oas /var/modules/sdk-coin-oas/
@@ -185,7 +184,6 @@ cd /var/modules/sdk-coin-icp && yarn link && \
185184
cd /var/modules/sdk-coin-initia && yarn link && \
186185
cd /var/modules/sdk-coin-injective && yarn link && \
187186
cd /var/modules/sdk-coin-islm && yarn link && \
188-
cd /var/modules/sdk-coin-mantra && yarn link && \
189187
cd /var/modules/sdk-coin-mon && yarn link && \
190188
cd /var/modules/sdk-coin-near && yarn link && \
191189
cd /var/modules/sdk-coin-oas && yarn link && \
@@ -285,7 +283,6 @@ RUN cd /var/bitgo-express && \
285283
yarn link @bitgo/sdk-coin-initia && \
286284
yarn link @bitgo/sdk-coin-injective && \
287285
yarn link @bitgo/sdk-coin-islm && \
288-
yarn link @bitgo/sdk-coin-mantra && \
289286
yarn link @bitgo/sdk-coin-mon && \
290287
yarn link @bitgo/sdk-coin-near && \
291288
yarn link @bitgo/sdk-coin-oas && \
@@ -333,14 +330,16 @@ RUN cd /var/bitgo-express && \
333330
yarn link @bitgo/sdk-coin-zec
334331
#LINK_END
335332

336-
#LABEL_START
337-
LABEL created="Thu, 04 Sep 2025 18:59:30 GMT"
338-
LABEL version=15.0.0
339-
LABEL git_hash=bbdf6e60b720b25e3212f3a4c5bdc81732a505e8
340-
#LABEL_END
333+
ARG BUILD_DATE
334+
ARG VERSION
335+
ARG GIT_HASH
336+
337+
LABEL created=${BUILD_DATE}
338+
LABEL version=${VERSION}
339+
LABEL git_hash=${GIT_HASH}
341340

342341
USER node
343-
ENV NODE_ENV production
344-
ENV BITGO_BIND 0.0.0.0
342+
ENV NODE_ENV=production
343+
ENV BITGO_BIND=0.0.0.0
345344
EXPOSE 3080
346345
ENTRYPOINT ["/usr/bin/tini", "--", "/usr/local/bin/node", "/var/bitgo-express/bin/bitgo-express"]

examples/ts/btc/lightning/list-transactions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ async function main(): Promise<void> {
6666
if (endDate) queryParams.endDate = endDate;
6767

6868
// List transactions with the provided filters
69-
const transactions = await lightning.listTransactions(queryParams);
69+
const { transactions } = await lightning.listTransactions(queryParams);
7070

7171
// Display transaction summary
7272
console.log(`\nFound ${transactions.length} transactions:`);

modules/abstract-cosmos/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [11.15.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-09-29)
7+
8+
**Note:** Version bump only for package @bitgo/abstract-cosmos
9+
610
# [11.15.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-09-25)
711

812
### Features

modules/abstract-cosmos/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@bitgo/abstract-cosmos",
3-
"version": "11.15.0",
3+
"version": "11.15.1",
44
"description": "BitGo SDK coin library for COSMOS base implementation",
55
"main": "./dist/src/index.js",
66
"types": "./dist/src/index.d.ts",
@@ -38,10 +38,10 @@
3838
]
3939
},
4040
"dependencies": {
41-
"@bitgo/sdk-core": "^36.9.0",
41+
"@bitgo/sdk-core": "^36.10.0",
4242
"@bitgo/sdk-lib-mpc": "^10.7.0",
4343
"@bitgo/secp256k1": "^1.5.0",
44-
"@bitgo/statics": "^58.0.0",
44+
"@bitgo/statics": "^58.1.0",
4545
"@cosmjs/amino": "^0.29.5",
4646
"@cosmjs/crypto": "^0.30.1",
4747
"@cosmjs/encoding": "^0.29.5",

modules/abstract-eth/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [24.13.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-09-29)
7+
8+
**Note:** Version bump only for package @bitgo/abstract-eth
9+
610
# [24.13.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-09-25)
711

812
### Bug Fixes

modules/abstract-eth/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@bitgo/abstract-eth",
3-
"version": "24.13.0",
3+
"version": "24.13.1",
44
"description": "BitGo SDK coin library for ETH base implementation",
55
"main": "./dist/src/index.js",
66
"types": "./dist/src/index.d.ts",
@@ -40,10 +40,10 @@
4040
]
4141
},
4242
"dependencies": {
43-
"@bitgo/sdk-core": "^36.9.0",
43+
"@bitgo/sdk-core": "^36.10.0",
4444
"@bitgo/sdk-lib-mpc": "^10.7.0",
4545
"@bitgo/secp256k1": "^1.5.0",
46-
"@bitgo/statics": "^58.0.0",
46+
"@bitgo/statics": "^58.1.0",
4747
"@ethereumjs/common": "^2.6.5",
4848
"@ethereumjs/rlp": "^4.0.0",
4949
"@ethereumjs/tx": "^3.3.0",
@@ -60,8 +60,8 @@
6060
"superagent": "^9.0.1"
6161
},
6262
"devDependencies": {
63-
"@bitgo/sdk-api": "^1.69.0",
64-
"@bitgo/sdk-test": "^9.1.0",
63+
"@bitgo/sdk-api": "^1.69.1",
64+
"@bitgo/sdk-test": "^9.1.1",
6565
"@types/keccak": "^3.0.5"
6666
},
6767
"gitHead": "18e460ddf02de2dbf13c2aa243478188fb539f0c"

modules/abstract-lightning/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [7.1.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-09-29)
7+
8+
### Bug Fixes
9+
10+
- removed transfer data from payment withdraw ([53dcd91](https://github.com/BitGo/BitGoJS/commit/53dcd91b28a4728a15e80a33dfef7c2cfa8f782a))
11+
612
# [7.1.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-09-25)
713

814
### Bug Fixes

modules/abstract-lightning/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@bitgo/abstract-lightning",
3-
"version": "7.1.0",
3+
"version": "7.1.1",
44
"description": "BitGo SDK coin library for base Lightning Network coin implementation",
55
"main": "./dist/src/index.js",
66
"types": "./dist/src/index.d.ts",
@@ -40,8 +40,8 @@
4040
},
4141
"dependencies": {
4242
"@bitgo/public-types": "5.22.0",
43-
"@bitgo/sdk-core": "^36.9.0",
44-
"@bitgo/statics": "^58.0.0",
43+
"@bitgo/sdk-core": "^36.10.0",
44+
"@bitgo/statics": "^58.1.0",
4545
"@bitgo/utxo-lib": "^11.11.0",
4646
"bip174": "npm:@bitgo-forks/[email protected]",
4747
"bs58check": "^2.1.2",

0 commit comments

Comments
 (0)