Skip to content

Commit

Permalink
🔖 (release) [NO-ISSUE]: DMK 0.6 + Transport WebHid/WebBLE 1.0.0 + Sol…
Browse files Browse the repository at this point in the history
…ana 1.1.0 (#640)
  • Loading branch information
valpinkman authored Jan 27, 2025
2 parents 64311bf + 849c4f1 commit 1d52407
Show file tree
Hide file tree
Showing 1,247 changed files with 63,178 additions and 19,816 deletions.
5 changes: 5 additions & 0 deletions .changeset/breezy-bikes-train.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/device-signer-kit-ethereum": patch
---

Add generic parser enums support
5 changes: 5 additions & 0 deletions .changeset/breezy-crabs-boil.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/device-management-kit-sample": patch
---

Signer Btc view
5 changes: 5 additions & 0 deletions .changeset/chatty-penguins-count.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/device-signer-kit-ethereum": minor
---

Improve error handling
5 changes: 5 additions & 0 deletions .changeset/chatty-rings-collect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/device-signer-kit-ethereum": patch
---

Polish readme
6 changes: 6 additions & 0 deletions .changeset/chilly-carpets-press.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@ledgerhq/device-transport-kit-mockserver": minor
"@ledgerhq/device-management-kit-sample": minor
---

Extract Transports to their own module
5 changes: 5 additions & 0 deletions .changeset/chilly-dancers-yell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/device-management-kit-sample": patch
---

SignerBtcView various improvements
5 changes: 5 additions & 0 deletions .changeset/chilly-kangaroos-applaud.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/context-module": patch
---

Add generic parser enums support
5 changes: 5 additions & 0 deletions .changeset/clean-bobcats-greet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/context-module": patch
---

Iterate on transaction calldata to avoid empty object
5 changes: 5 additions & 0 deletions .changeset/clever-badgers-pull.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/device-management-kit-sample": minor
---

Add GetAddress Solana Signer use case
6 changes: 5 additions & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
"fixed": [],
"linked": [],
"access": "public",
"privatePackages": {
"version": false
},
"bumpVersionsWithWorkspaceProtocolOnly": true,
"baseBranch": "develop",
"updateInternalDependencies": "patch",
"ignore": ["@ledgerhq/keyring-btc"]
"ignore": []
}
5 changes: 5 additions & 0 deletions .changeset/eighty-ravens-love.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/device-signer-kit-ethereum": patch
---

Add eip7730 constant support
5 changes: 5 additions & 0 deletions .changeset/funny-rockets-glow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/device-signer-kit-ethereum": patch
---

Add user interaction for sign typed object device action that was removed before
5 changes: 5 additions & 0 deletions .changeset/fuzzy-dryers-speak.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/device-management-kit-sample": patch
---

Pretty print buffers in device actions logs
5 changes: 5 additions & 0 deletions .changeset/hungry-kangaroos-compete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/context-module": patch
---

Add eip7730 constant support
5 changes: 5 additions & 0 deletions .changeset/large-mirrors-approve.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/device-signer-kit-ethereum": patch
---

Use clear signing with Nano S
5 changes: 5 additions & 0 deletions .changeset/lemon-islands-pretend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/context-module": patch
---

challenge is optional for loading context
5 changes: 5 additions & 0 deletions .changeset/moody-beds-smash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/device-management-kit-sample": patch
---

Rename keyring to signer
5 changes: 5 additions & 0 deletions .changeset/nasty-islands-pretend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/device-management-kit-sample": minor
---

Add solana getAppConfiguration use case
5 changes: 5 additions & 0 deletions .changeset/nervous-kangaroos-visit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/context-module": patch
---

Align array element with slice parameters
5 changes: 5 additions & 0 deletions .changeset/nine-readers-roll.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/device-signer-kit-ethereum": minor
---

Breaking change: remove ethers from api dependency and use only raw tx for signTransaction
5 changes: 5 additions & 0 deletions .changeset/nine-tools-bow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/device-management-kit-sample": patch
---

Implement basic Flipper client for the Ledger Device Management Kit
5 changes: 5 additions & 0 deletions .changeset/popular-waves-exist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/device-signer-kit-ethereum": minor
---

Allow to slice static leafs
5 changes: 5 additions & 0 deletions .changeset/shy-ads-suffer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/device-signer-kit-ethereum": patch
---

Fallback to blind sign if provide in error
5 changes: 5 additions & 0 deletions .changeset/six-buses-pump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/device-signer-kit-ethereum": patch
---

Fallback to blind signing if commands are not supported
5 changes: 5 additions & 0 deletions .changeset/smart-games-brush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/device-management-kit-sample": patch
---

Add mockserver integration with transport
5 changes: 5 additions & 0 deletions .changeset/smart-shrimps-cheer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/device-signer-kit-ethereum": patch
---

Don't open Ethereum app if a plugin is already active
5 changes: 5 additions & 0 deletions .changeset/spicy-toes-ring.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/device-management-kit-sample": patch
---

Add signTransaction usecase for Solana signer
5 changes: 5 additions & 0 deletions .changeset/tame-crabs-design.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/device-signer-kit-ethereum": patch
---

Update signTransaction transaction parameter with new api
5 changes: 5 additions & 0 deletions .changeset/tiny-hornets-grin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/device-management-kit-sample": patch
---

Add unlock timeout input in open app device action
5 changes: 5 additions & 0 deletions .changeset/tiny-otters-draw.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/device-management-kit-sample": minor
---

Add keyring eth provider
5 changes: 5 additions & 0 deletions .changeset/tricky-olives-rest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/device-management-kit-sample": patch
---

Use type keyword when importing type
5 changes: 5 additions & 0 deletions .changeset/twelve-snakes-agreeing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/device-management-kit-sample": patch
---

New use case listenToKnownDevices
5 changes: 5 additions & 0 deletions .changeset/wise-ducks-whisper.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/device-management-kit-sample": patch
---

Rework context module builder
5 changes: 5 additions & 0 deletions .changeset/yellow-onions-lay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/device-management-kit-sample": patch
---

Rename SDK to DMK
19 changes: 1 addition & 18 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,22 +52,5 @@ updates:
typescript:
patterns:
- "typescript*"
- "@types*"
exclude-patterns:
- "typescript-eslint"

# Sample App dependencies for pnpm
- package-ecosystem: "npm"
directory: "/apps/sample"
schedule:
interval: "weekly"
day: "sunday"
timezone: "Europe/Paris"
labels:
- "dependencies"
reviewers:
- "LedgerHQ/live-devices"
commit-message:
prefix: "⬆️ (sample) [NO-ISSUE]: "
ignore:
- dependency-name: "typescript"
- "typescript-eslint"
7 changes: 4 additions & 3 deletions .github/workflows/generate_sbom.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Generate SBOM
name: "[Automation] Generate SBOM"

on:
push:
Expand All @@ -9,10 +9,11 @@ on:

jobs:
generate-sbom:
runs-on: ubuntu-latest
name: Generate SBOM
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4

- uses: LedgerHQ/device-sdk-ts/.github/actions/setup-toolchain-composite@develop

- uses: ./.github/actions/generate-sbom-composite
- uses: LedgerHQ/device-sdk-ts/.github/actions/generate-sbom-composite@develop
28 changes: 28 additions & 0 deletions .github/workflows/merge_queue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: "[Checks] Merge Queue"
on:
merge_group:

env:
FORCE_COLOR: "1"

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name != 'develop' && github.ref || github.run_id }}
cancel-in-progress: true

jobs:
checks:
name: Run health check and unit tests
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4

- uses: LedgerHQ/device-sdk-ts/.github/actions/setup-toolchain-composite@develop

- name: Health check
id: health-check
run: pnpm health-check

- name: Tests
id: unit-tests
if: ${{ steps.health-check.conclusion == 'success' }}
run: pnpm test -- -- --maxWorkers=50%
20 changes: 11 additions & 9 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: Pull Request Checks
name: "[Checks] Pull Request"
on:
pull_request:
types: [opened, synchronize, reopened, edited]
branches-ignore:
- main

env:
FORCE_COLOR: "1"
Expand All @@ -13,13 +15,13 @@ concurrency:
jobs:
auto-assign:
name: Auto assign
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: toshimaru/[email protected]

danger:
name: Run Danger check
runs-on: [ubuntu-latest]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4

Expand All @@ -36,7 +38,7 @@ jobs:
checks:
name: Run health check and unit tests
needs: [danger]
runs-on: ${{ github.event.pull_request.head.repo.fork == 'true' && 'ubuntu-latest' || 'ledgerhq-device-sdk' }}
runs-on: ${{ !github.event.pull_request.head.repo.fork && 'ledgerhq-device-sdk' || 'ubuntu-22.04' }}
steps:
- uses: actions/checkout@v4

Expand All @@ -49,10 +51,10 @@ jobs:
- name: Tests
id: unit-tests
if: ${{ steps.health-check.conclusion == 'success' }}
run: pnpm test:coverage -- --max-warnings=0
run: pnpm test:coverage -- --maxWorkers=50%

- uses: sonarsource/sonarqube-scan-action@v3
if: ${{ steps.unit-tests.conclusion == 'success' && github.actor != 'dependabot[bot]' && github.event.pull_request.head.repo.fork == 'false' }}
- uses: sonarsource/sonarqube-scan-action@v4
if: ${{ steps.unit-tests.conclusion == 'success' && github.actor != 'dependabot[bot]' && !github.event.pull_request.head.repo.fork }}
env:
SONAR_TOKEN: ${{ secrets.GREEN_SONAR_TOKEN }}
SONAR_HOST_URL: ${{ vars.GREEN_SONAR_HOST_URL }}
SONAR_TOKEN: ${{ secrets.PUBLIC_GREEN_SONAR_TOKEN }}
SONAR_HOST_URL: ${{ vars.PUBLIC_SONAR_HOST_URL }}
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish npm packages
name: "[Release] Publish Packages"
on:
push:
branches:
Expand All @@ -24,7 +24,7 @@ jobs:

- uses: LedgerHQ/device-sdk-ts/.github/actions/setup-toolchain-composite@develop

- name: build libraries
- name: Build libraries
run: pnpm build:libs

- name: Login to internal JFrog registry
Expand All @@ -46,9 +46,8 @@ jobs:

- name: Publish
id: changesets
uses: changesets/action@v1
uses: ledgerhq/changeset-action-ledger@main
with:
version: echo "not running version"
publish: pnpm release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
Loading

0 comments on commit 1d52407

Please sign in to comment.