Skip to content

Commit deb5d9f

Browse files
committed
Merge remote-tracking branch 'origin/master' into WP-5415-express-migrate-api-v2-coin-wallet-generate-to-typed-routes
TICKET: WP-5415
2 parents dd59e8d + 3a9322c commit deb5d9f

File tree

267 files changed

+5265
-1966
lines changed

Some content is hidden

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

267 files changed

+5265
-1966
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

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
engine-strict=true

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: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
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/abstract-cosmos@11.15.0...@bitgo/abstract-cosmos@11.15.1) (2025-09-29)
7+
8+
**Note:** Version bump only for package @bitgo/abstract-cosmos
9+
10+
# [11.15.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-cosmos@11.14.2...@bitgo/abstract-cosmos@11.15.0) (2025-09-25)
11+
12+
### Features
13+
14+
- configure learn to skip git operations ([ee3a622](https://github.com/BitGo/BitGoJS/commit/ee3a6220496476aa7f4545b5f4a9a3bf97d9bdb9))
15+
616
## [11.14.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-cosmos@11.14.1...@bitgo/abstract-cosmos@11.14.2) (2025-09-03)
717

818
### Bug Fixes

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.14.2",
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.8.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": "^57.8.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: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,21 @@
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/abstract-eth@24.13.0...@bitgo/abstract-eth@24.13.1) (2025-09-29)
7+
8+
**Note:** Version bump only for package @bitgo/abstract-eth
9+
10+
# [24.13.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-eth@24.12.0...@bitgo/abstract-eth@24.13.0) (2025-09-25)
11+
12+
### Bug Fixes
13+
14+
- **abstract-eth:** follow up updates from PR 6882 ([36a87de](https://github.com/BitGo/BitGoJS/commit/36a87de002c6b6ab8c72429b186c0660ccc88e92))
15+
16+
### Features
17+
18+
- **abstract-eth:** add flush token support for ERC721 and ERC1155 ([5d4fa35](https://github.com/BitGo/BitGoJS/commit/5d4fa353088b2bd99ed5e6423bf17d3e1c300e35))
19+
- configure learn to skip git operations ([ee3a622](https://github.com/BitGo/BitGoJS/commit/ee3a6220496476aa7f4545b5f4a9a3bf97d9bdb9))
20+
621
# [24.12.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-eth@24.11.3...@bitgo/abstract-eth@24.12.0) (2025-09-03)
722

823
### 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.12.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.8.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": "^57.8.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.68.3",
64-
"@bitgo/sdk-test": "^9.0.9",
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: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,30 @@
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/abstract-lightning@7.1.0...@bitgo/abstract-lightning@7.1.1) (2025-09-29)
7+
8+
### Bug Fixes
9+
10+
- removed transfer data from payment withdraw ([53dcd91](https://github.com/BitGo/BitGoJS/commit/53dcd91b28a4728a15e80a33dfef7c2cfa8f782a))
11+
12+
# [7.1.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-lightning@7.0.0...@bitgo/abstract-lightning@7.1.0) (2025-09-25)
13+
14+
### Bug Fixes
15+
16+
- coinspecific update in withdraw fix ([50faef5](https://github.com/BitGo/BitGoJS/commit/50faef5fb3c8c6230c0606bd849cdf75ee3932ce))
17+
- removed fund psbt request codec ([0cfbaf4](https://github.com/BitGo/BitGoJS/commit/0cfbaf4d3812d65835b3586b436225a046ac5483))
18+
19+
### Features
20+
21+
- added bip174 to abstract lightning ([6031d76](https://github.com/BitGo/BitGoJS/commit/6031d762c1b27e79a50c87e342a562297f8455ce))
22+
- added fundpsbtrequest codec ([af7cc28](https://github.com/BitGo/BitGoJS/commit/af7cc28134ff3da88e52169f504a60d2811ca7df))
23+
- bumped public types ([6bd0aec](https://github.com/BitGo/BitGoJS/commit/6bd0aecb700a740f76c169b1476e1832bc3abe22))
24+
- configure learn to skip git operations ([ee3a622](https://github.com/BitGo/BitGoJS/commit/ee3a6220496476aa7f4545b5f4a9a3bf97d9bdb9))
25+
- import onchain withdraw from public types ([c01af4f](https://github.com/BitGo/BitGoJS/commit/c01af4f541efc3406a31e615e338adef7e31b39e))
26+
- only accounts required for custody ([f7a26ad](https://github.com/BitGo/BitGoJS/commit/f7a26adb139bc3ae3ba8b5c12d70ef9a6a9149d1))
27+
- optional only create addrees accounts lightning ([c15c011](https://github.com/BitGo/BitGoJS/commit/c15c011b000c7f11d93c4c567b9ddd916ce25886))
28+
- verify psbt withdraw lightning ([e2befa7](https://github.com/BitGo/BitGoJS/commit/e2befa7cca34f553e355e02450626ad6eee08f86))
29+
630
# [7.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-lightning@6.5.1...@bitgo/abstract-lightning@7.0.0) (2025-09-03)
731

832
### Features

0 commit comments

Comments
 (0)