@aa-sdk/ethers 4.87.0 → 4.87.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.
Files changed (2) hide show
  1. package/README.md +3 -1
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # `@aa-sdk/ethers`
2
2
 
3
+ > **No longer actively maintained.** This package only receives critical fixes. Use [viem](https://viem.sh) instead.
4
+
3
5
  This package contains `EthersProviderAdapter` and `AccountSigner`, respective extensions of the [`JsonRpcProvider`](https://docs.ethers.org/v5/api/providers/jsonrpc-provider/) and [`Signer`](https://docs.ethers.org/v5/api/signer/) classes defined in [`ethers.js`](https://docs.ethers.org/v5/) external library.
4
6
 
5
7
  If you currently rely `ethers.js` for web3 development, you can use these `ethers.js`-compatible `JsonRpcProvider` and `Signer` to integrate Account Abstraction into your dApp. You may also find the [`util`](https://www.alchemy.com/docs/wallets/packages/aa-ethers/utils/introduction) methods helpful.
@@ -52,7 +54,7 @@ const signer: SmartAccountSigner = LocalAccountSigner.mnemonicToAccountSigner(
52
54
  );
53
55
 
54
56
  // 2. Connect the provider to the smart account signer
55
- export const signer = provider.connectToAccount(
57
+ export const connectedAccount = provider.connectToAccount(
56
58
  (rpcClient) =>
57
59
  new LightSmartContractAccount({
58
60
  chain,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aa-sdk/ethers",
3
3
  "license": "MIT",
4
- "version": "4.87.0",
4
+ "version": "4.87.1",
5
5
  "description": "Ethers.js wrapper for @aa-sdk/core",
6
6
  "author": "Alchemy",
7
7
  "type": "module",
@@ -41,13 +41,13 @@
41
41
  "test:run": "vitest run"
42
42
  },
43
43
  "devDependencies": {
44
- "@account-kit/smart-contracts": "^4.87.0",
44
+ "@account-kit/smart-contracts": "^4.87.1",
45
45
  "alchemy-sdk": "^3.0.0",
46
46
  "dotenv": "^16.0.3",
47
47
  "typescript-template": "*"
48
48
  },
49
49
  "dependencies": {
50
- "@aa-sdk/core": "^4.87.0",
50
+ "@aa-sdk/core": "^4.87.1",
51
51
  "@ethersproject/abi": "^5.7.0",
52
52
  "@ethersproject/abstract-signer": "^5.7.0",
53
53
  "@ethersproject/bytes": "^5.7.0",
@@ -67,5 +67,5 @@
67
67
  "bugs": {
68
68
  "url": "https://github.com/alchemyplatform/aa-sdk/issues"
69
69
  },
70
- "gitHead": "b5ec0222378a84f0d66c8b7cdb48e5f4a5da2cc2"
70
+ "gitHead": "eb770f279ecee6baf7b285277748105ac1b701f2"
71
71
  }