Skip to content

Commit

Permalink
v3.4.0 (#601)
Browse files Browse the repository at this point in the history
* bumps dependencies

* update integration test

* bump node in test

* revert eip712 `v` change

* bumps node version to 18

* update getMessageToSign to latest ethers version

* adds iteration index and test

* update iteration

* remove eslint

* remove unused imports

* updates snapshot

* bumps upload artifacts

* fix parse derivation path (#568)

* fix parse derivation path

* fix eslint errors with hardened values in strings

* exports parseDerivationPath

* bumps to v2.7.0 (#570)

* remove extra test files

* fixes issue with fetching addrs by derivation path (#572)

* fixes issue with fetching addrs by derivation path

* fix unit tests

* bump to 2.7.1

* Merge branch 'main' into dev

* bumps dependencies

* update integration test

* bump node in test

* revert eip712 `v` change

* bumps node version to 18

* update getMessageToSign to latest ethers version

* adds iteration index and test

* update iteration

* remove eslint

* remove unused imports

* updates snapshot

* bumps upload artifacts

* fix parse derivation path (#568)

* fix parse derivation path

* fix eslint errors with hardened values in strings

* exports parseDerivationPath

* bumps to v2.7.0 (#570)

* remove extra test files

* adds client interoperability for apis (#577)

* adds client interoperability for apis

* skip interop right now

* Feat/async client state (#576)

* feat(client): adjust function calls to async/await

* feat(repo): add nightly builds to pkg.pr.new

* fix merge conflicts

* remove nightly

---------

Co-authored-by: netbonus <[email protected]>

* swaps out .d.ts files .ts files (#578)

* swap .d.ts type files for .ts files

* fixes type errors

* fix encoding

* automatically fetches calldata from `sign()` (#579)

* automatically fetches calldata from `sign()`

* remove vitest form tsconfig to fix build

* remove extra script

* updates build system (#580)

* automatically fetches calldata from `sign()`

* remove vitest form tsconfig to fix build

* remove extra script

* updates packages to latest and cleans up build output

* update to use pnpm

* update patched vitest loader

* fix linting issues

* fix patch

* fix deps for docs

* fix test paths

* bump node version

* re-add the bn.js pckg

* fix rejected tx

* adds a test for long primary types like hyperliquid (#558)

* swaps cbor lib for bignumber handling (#582)

* v2.7.1 (#575) (#583)

* bumps dependencies

* update integration test

* bump node in test

* revert eip712 `v` change

* bumps node version to 18

* update getMessageToSign to latest ethers version

* adds iteration index and test

* update iteration

* remove eslint

* remove unused imports

* updates snapshot

* bumps upload artifacts

* fix parse derivation path (#568)

* fix parse derivation path

* fix eslint errors with hardened values in strings

* exports parseDerivationPath

* bumps to v2.7.0 (#570)

* remove extra test files

* fixes issue with fetching addrs by derivation path (#572)

* fixes issue with fetching addrs by derivation path

* fix unit tests

* bump to 2.7.1

* Merge branch 'main' into dev

* bumps dependencies

* update integration test

* bump node in test

* revert eip712 `v` change

* bumps node version to 18

* update getMessageToSign to latest ethers version

* adds iteration index and test

* update iteration

* remove eslint

* remove unused imports

* updates snapshot

* bumps upload artifacts

* fix parse derivation path (#568)

* fix parse derivation path

* fix eslint errors with hardened values in strings

* exports parseDerivationPath

* bumps to v2.7.0 (#570)

* remove extra test files

* fixes types in esm projects (#585)

* fixes types in esm projects

* remove response error

* bumps to v3.0.1

* bumps to v3.0.1 (#586)

* revert build system (#588)

* reverts build system

* bump pnpm in ci

* fix lint

* moves ethers and lodash to deps (#590)

* move ethers/lodash to deps

* bump 3.1.1

* chore(build): add tsup (#593)

* bump to v3.2.0 (#594)

* fix lockfile

* adds bitcoin xpub support (#596)

* adds bitcoin xpub support

* fix xpub handling

* adds eslint ignore

* bump to v3.3.0 (#598)

* bump to v3.3.0

* Update docs-build-deploy.yml

* update msg length (#600)

* update msg length

* fix offset

* fix pubkey len

* fix sig

* fix decoder

* fix docs build

* revert encdata change

* bump to v3.4.0

---------

Co-authored-by: Tomek Marciniak <[email protected]>
  • Loading branch information
netbonus and mrcnk authored Feb 7, 2025
1 parent 0b5e419 commit 8ff289c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs-build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
working-directory: ./docs

- name: Upload production-ready build files
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: production-files
path: docs/build
Expand All @@ -46,7 +46,7 @@ jobs:

steps:
- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: production-files
path: docs/build
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gridplus-sdk",
"version": "3.3.0",
"version": "3.4.0",
"type": "module",
"description": "SDK to interact with GridPlus Lattice1 device",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions src/__test__/unit/__snapshots__/decoders.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3529,8 +3529,8 @@ exports[`decoders > sign - bitcoin 1`] = `
"type": "Buffer",
},
],
"tx": "0200000000010135fa06fcfd26567f9d8f57073c34705df0a69339ce717654bcd24033dddbefb20000000000ffffffff02701101000000000017a9147d816ef0a39d6497963ebcf24d05242d51ada7438774090000000000001600146bb07ddb748b655c8478581af3e128335c16eca00248304502210084e356184a7dc1e05a08808cb6da03f9e5d1c37be0f382a761eac2a266a4737f0220172d99b82cf78bf5bb4299e4e663f13e1e4578d144ffeabc474631fb1ac1a4fe0121000000000000000000000000000000000000000002d423e4c1cc57744a0e73659500000000",
"txHash": "cc9f6840abe1ef0b2b106ebc5d87c8b013d42060da91cfeae1f7ce3b71638458",
"tx": "0200000000010135fa06fcfd26567f9d8f57073c34705df0a69339ce717654bcd24033dddbefb20000000000ffffffff02701101000000000017a9147d816ef0a39d6497963ebcf24d05242d51ada7438774090000000000001600146bb07ddb748b655c8478581af3e128335c16eca00248304502210084e356184a7dc1e05a08808cb6da03f9e5d1c37be0f382a761eac2a266a4737f0220172d99b82cf78bf5bb4299e4e663f13e1e4578d144ffeabc474631fb1ac1a4fe012102d423e4c1cc57744a0e7365954e7a632ab272f5d0167337f69227c58e6e2d113e00000000",
"txHash": "e5e2c39d225a689a46d5cb8b9f1eb3efa94d532ae65ac78dd54c6d7212268dbf",
}
`;

Expand Down
2 changes: 1 addition & 1 deletion src/functions/sign.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export const decodeSignResponse = ({
if (currency === CURRENCIES.BTC) {
const btcRequest = request as BitcoinSignRequest;
const pkhLen = 20; // Pubkeyhashes are 20 bytes
const sigsLen = 740; // Up to 10x DER signatures
const sigsLen = 760; // Up to 10x DER signatures
const changeVersion = bitcoin.getAddressFormat(
btcRequest.origData.changePath,
);
Expand Down

0 comments on commit 8ff289c

Please sign in to comment.