omnipin 1.7.0 → 1.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
  <h1>Omnipin</h1>
5
5
 
6
6
  [![GitHub Workflow
7
- Status][gh-actions-img]][github-actions] ![npm](https://img.shields.io/npm/dt/omnipin?style=for-the-badge&logo=npm&color=%232B4AD4&label)
7
+ Status][gh-actions-img]][github-actions] ![npm](https://img.shields.io/npm/dt/omnipin?style=for-the-badge&logo=npm&color=%232B4AD4&label) <a href="https://www.drips.network/app/projects/github/omnipin/omnipin" target="_blank"><img src="https://www.drips.network/api/embed/project/https%3A%2F%2Fgithub.com%2Fomnipin%2Fomnipin/support.png?background=blue&style=drips&text=project&stat=none" alt="Support omnipin on drips.network" height="32"></a>
8
8
 
9
9
  <sub>The ultimate decentralized website deployment toolkit</sub>
10
10
  </div>
package/dist/cli.js CHANGED
@@ -29862,7 +29862,7 @@ var ensAction = async ({
29862
29862
  });
29863
29863
  logger.info(`Signing a Safe transaction with a hash ${safeTxHash}`);
29864
29864
  const senderSignature = await generateSafeTransactionSignature({
29865
- safeAddress: from25,
29865
+ safeAddress: checksum2(from25),
29866
29866
  txData,
29867
29867
  chainId: chain.id,
29868
29868
  privateKey: pk
@@ -29873,14 +29873,15 @@ var ensAction = async ({
29873
29873
  try {
29874
29874
  await proposeTransaction({
29875
29875
  txData,
29876
- safeAddress: from25,
29876
+ safeAddress: checksum2(from25),
29877
29877
  safeTxHash,
29878
29878
  senderSignature: toHex3(senderSignature),
29879
29879
  chainId: chain.id,
29880
29880
  chainName,
29881
29881
  address
29882
29882
  });
29883
- const safeLink = `https://app.safe.global/transactions/queue?safe=${safeAddress}`;
29883
+ const safe2 = safeAddress.endsWith(".eth") ? await resolveEnsName({ name: safeAddress, provider }) : safeAddress;
29884
+ const safeLink = `https://app.safe.global/transactions/queue?safe=${safe2}`;
29884
29885
  logger.success(`Transaction proposed to a Safe wallet.
29885
29886
  Open in a browser: ${isTTY ? styleText2("underline", safeLink) : safeLink}`);
29886
29887
  } catch (e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omnipin",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "author": "v1rtl <hi@v1rtl.site>",
5
5
  "repository": {
6
6
  "type": "git",