Skip to content

Commit

Permalink
Merge branch 'main' into feature/directives-v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Kolezhniuk committed Nov 27, 2024
2 parents 7e011dc + 339a4cc commit 9d7cd9a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@0xpolygonid/js-sdk",
"version": "1.23.0",
"version": "1.23.1",
"description": "SDK to work with Polygon ID",
"main": "dist/node/cjs/index.js",
"module": "dist/node/esm/index.js",
Expand Down
1 change: 1 addition & 0 deletions src/storage/blockchain/erc20-permit-sig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export async function getPermitSignature(
const nonce = await erc20PermitContract.nonces(await signer.getAddress());
const domainData = await erc20PermitContract.eip712Domain();
const domain = {
name: domainData[1],
version: domainData[2],
chainId: domainData[3],
verifyingContract: tokenAddress
Expand Down
2 changes: 1 addition & 1 deletion tests/handlers/payment.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ describe('payment-request handler', () => {
};

if (data.features?.includes(PaymentFeatures.EIP_2612)) {
const permitSignature = getPermitSignature(
const permitSignature = await getPermitSignature(
ethSigner,
data.tokenAddress,
await payContract.getAddress(),
Expand Down

0 comments on commit 9d7cd9a

Please sign in to comment.