Skip to content

Commit

Permalink
Merge branch 'alchemyplatform:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
moldy530 authored Feb 6, 2024
2 parents 59641c2 + ac86a97 commit 1dbe1b7
Show file tree
Hide file tree
Showing 138 changed files with 1,272 additions and 2,182 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [3.0.0-alpha.4](https://github.com/alchemyplatform/aa-sdk/compare/v3.0.0-alpha.3...v3.0.0-alpha.4) (2024-02-02)

### Bug Fixes

- **aa-alchemy:** fix a test that was dependent on the current version ([d4e4a8f](https://github.com/alchemyplatform/aa-sdk/commit/d4e4a8f339f44c552913d4a64a29af85de7da430))
- alchemy package.json was incorrectly pointing to files ([#423](https://github.com/alchemyplatform/aa-sdk/issues/423)) ([5678def](https://github.com/alchemyplatform/aa-sdk/commit/5678defe4885f1b15724e0208a5813deea07ffa4))
- clarify FAQ section ([d9681e5](https://github.com/alchemyplatform/aa-sdk/commit/d9681e5fc485f3b234e2cf26ca4981fe75f9950b))
- some typos in code and change provider -> client in docs ([#422](https://github.com/alchemyplatform/aa-sdk/issues/422)) ([8533744](https://github.com/alchemyplatform/aa-sdk/commit/8533744bda28aff25b3b039d21827ed79a9d36b1))

# [3.0.0-alpha.3](https://github.com/alchemyplatform/aa-sdk/compare/v3.0.0-alpha.2...v3.0.0-alpha.3) (2024-02-02)

### Features
Expand Down
4 changes: 2 additions & 2 deletions examples/aa-simple-dapp/src/hooks/useAlchemyProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
IMSCA,
SessionKeyPlugin,
createMultiOwnerMSCA,
getDefaultMultiOwnerMSCAFactoryAddress,
getDefaultMultiOwnerModularAccountFactoryAddress,
} from "@alchemy/aa-accounts";
import { AlchemyProvider } from "@alchemy/aa-alchemy";
import {
Expand Down Expand Up @@ -36,7 +36,7 @@ export const useAlchemyProvider = () => {
owner: signer,
chain,
entryPointAddress: getDefaultEntryPointAddress(chain),
factoryAddress: getDefaultMultiOwnerMSCAFactoryAddress(chain),
factoryAddress: getDefaultMultiOwnerModularAccountFactoryAddress(chain),
accountAddress: account,
});
})
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"version": "3.0.0-alpha.3",
"version": "3.0.0-alpha.4",
"npmClient": "yarn",
"conventionalCommits": true,
"conventionalPrerelease": true,
Expand Down
4 changes: 4 additions & 0 deletions packages/accounts/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [3.0.0-alpha.4](https://github.com/alchemyplatform/aa-sdk/compare/v3.0.0-alpha.3...v3.0.0-alpha.4) (2024-02-02)

**Note:** Version bump only for package @alchemy/aa-accounts

# [3.0.0-alpha.3](https://github.com/alchemyplatform/aa-sdk/compare/v3.0.0-alpha.2...v3.0.0-alpha.3) (2024-02-02)

**Note:** Version bump only for package @alchemy/aa-accounts
Expand Down
4 changes: 2 additions & 2 deletions packages/accounts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@alchemy/aa-accounts",
"version": "3.0.0-alpha.3",
"version": "3.0.0-alpha.4",
"description": "A collection of ERC-4337 compliant smart contract account interfaces",
"author": "Alchemy",
"license": "MIT",
Expand Down Expand Up @@ -74,7 +74,7 @@
"homepage": "https://github.com/alchemyplatform/aa-sdk#readme",
"gitHead": "ee46e8bb857de3b631044fa70714ea706d9e317d",
"dependencies": {
"@alchemy/aa-core": "^3.0.0-alpha.3",
"@alchemy/aa-core": "^3.0.0-alpha.4",
"viem": "^2.5.0"
}
}
1 change: 0 additions & 1 deletion packages/accounts/plugindefs/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
export { MultiOwnerPluginGenConfig } from "./multi-owner/config.js";
export { SessionKeyPluginGenConfig } from "./session-key/config.js";
export { TokenReceiverPluginGenConfig } from "./token-receiver/config.js";
6 changes: 4 additions & 2 deletions packages/accounts/plugindefs/multi-owner/config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { sepolia } from "@alchemy/aa-core";
import { baseSepolia, polygon, sepolia } from "@alchemy/aa-core";
import { parseAbiParameters } from "viem";
import type { PluginGenConfig } from "../types";
import { MultiOwnerPluginAbi } from "./abi.js";
Expand All @@ -7,7 +7,9 @@ export const MultiOwnerPluginGenConfig: PluginGenConfig = {
name: "MultiOwnerPlugin",
abi: MultiOwnerPluginAbi,
addresses: {
[sepolia.id]: "0xB76734F322b9f2C8F1dA934252dED3bC3C25b109",
[sepolia.id]: "0x000000E8F14A838A00505d861c6EF15cdfB05455",
[baseSepolia.id]: "0x000000E8F14A838A00505d861c6EF15cdfB05455",
[polygon.id]: "0x000000E8F14A838A00505d861c6EF15cdfB05455",
},
chain: sepolia,
installConfig: {
Expand Down
6 changes: 4 additions & 2 deletions packages/accounts/plugindefs/session-key/config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { sepolia } from "@alchemy/aa-core";
import { baseSepolia, polygon, sepolia } from "@alchemy/aa-core";
import { parseAbiParameters } from "viem";
import { MultiOwnerPluginGenConfig } from "../multi-owner/config.js";
import type { PluginGenConfig } from "../types";
Expand All @@ -8,7 +8,9 @@ export const SessionKeyPluginGenConfig: PluginGenConfig = {
name: "SessionKeyPlugin",
abi: SessionKeyPluginAbi,
addresses: {
[sepolia.id]: "0x70a64501Fd1398b0A236b69006936009d31C1520",
[sepolia.id]: "0x000000AAF83f4cbd58193D30643025ffD6C9e724",
[baseSepolia.id]: "0x000000AAF83f4cbd58193D30643025ffD6C9e724",
[polygon.id]: "0x000000AAF83f4cbd58193D30643025ffD6C9e724",
},
chain: sepolia,
installConfig: {
Expand Down
Loading

0 comments on commit 1dbe1b7

Please sign in to comment.