Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release/v1.2.0 #268

Merged
merged 13 commits into from
Nov 17, 2023
Merged

chore: release/v1.2.0 #268

merged 13 commits into from
Nov 17, 2023

Conversation

moldy530
Copy link
Collaborator

@moldy530 moldy530 commented Nov 17, 2023

Pull Request Checklist

  • Did you add new tests and confirm existing tests pass? (yarn test)
  • Did you update relevant docs? (docs are found in the site folder, see guidleines below)
  • Do your commits follow the Conventional Commits standard?
  • Does your PR title also follow the Conventional Commits standard?
  • If you have a breaking change, is it [correctly reflected in your commit message](https://www.conventionalcommits.org/en/v1.0.0/#examples? (e.g. feat!: breaking change)
  • Did you run lint (yarn lint:check) and fix any issues? (yarn lint:fix)
  • Is the base branch you're merging into development and not main?

PR-Codex overview

Detailed summary

  • Updated getting-started.md link in Light Account Example section
  • Updated homepage and optionalDependencies in alchemy/package.json
  • Updated getDefaultLightAccountFactoryAddress method description in getDefaultLightAccountFactoryAddress.md
  • Added error handling in web3auth.ts
  • Updated provider-adapter.test.ts to use provider instead of signer
  • Added code snippets in sim-uo-example/sim-middleware.ts and sim-uo-example/sim-method.ts
  • Added enums and interfaces in simulate-uo
  • Added signUserOperationHash method in account/types.ts
  • Updated constants in light-account/e2e-tests/constants.ts
  • Updated links in sponsoring-gas.md, demos.md, README.md, and overview.md
  • Updated account.test.ts to use chain variable
  • Updated link in aa-accounts/index.md
  • Updated alchemy-sdk version in ethers/package.json
  • Updated uri-js version in yarn.lock

The following files were skipped due to too many changes: site/packages/aa-alchemy/index.md, site/packages/aa-ethers/index.md, packages/alchemy/src/middleware/client.ts, packages/alchemy/src/middleware/simulate-uo.ts, site/packages/aa-alchemy/provider/withAlchemyGasManager.md, examples/alchemy-daapp/README.md, packages/accounts/src/kernel-zerodev/e2e-tests/kernel-account.test.ts, site/snippets/provider.ts, site/snippets/getting-started/provider.ts, site/smart-accounts/accounts/light-account.md, site/packages/aa-alchemy/provider/withAlchemyUserOpSimulation.md, site/packages/aa-alchemy/middleware/withAlchemyUserOpSimulation.md, packages/ethers/e2e-tests/simple-account.test.ts, packages/core/src/account/__tests__/simple.test.ts, site/packages/aa-alchemy/provider/withAlchemyEnhancedApis.md, site/snippets/getting-started/send-user-operation.ts, site/index.md, site/smart-accounts/signers/dynamic.md, site/packages/aa-alchemy/provider/simulateUserOperationAssetChanges.md, site/why-account-kit.md, site/packages/aa-core/provider/withUOSimulationMiddleware.md, packages/accounts/src/light-account/__tests__/account.test.ts, packages/alchemy/src/__tests__/provider.test.ts, site/packages/aa-core/provider/checkGasSponsorshipEligibility.md, site/.vitepress/config.ts, packages/core/e2e-tests/simple-account.test.ts, packages/core/src/provider/base.ts, packages/alchemy/src/provider.ts, site/snippets/light-account.ts, site/introduction.md, site/guides/sim-user-operation.md, site/guides/enhanced-apis/nft.md, site/guides/enhanced-apis/token.md, packages/core/src/provider/types.ts, packages/alchemy/src/__tests__/__snapshots__/provider.test.ts.snap, site/overview/getting-started.md, packages/alchemy/e2e-tests/simple-account.test.ts, site/guides/sponsoring-gas/gas-sponsorship-eligibility.md, packages/accounts/src/light-account/e2e-tests/light-account.test.ts

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

avasisht23 and others added 12 commits November 17, 2023 15:47
* docs: guides on how to handle userop not elligible for sponsorship

* Update packages/core/src/provider/types.ts

Co-authored-by: Michael Moldoveanu <michael.moldoveanu@alchemy.com>

* Update site/guides/sponsoring-gas/gas-sponsorship-eligibility.md

Co-authored-by: Ajay Vasisht <43521356+avasisht23@users.noreply.github.com>

* Update site/guides/sponsoring-gas/gas-sponsorship-eligibility.md

Co-authored-by: Ajay Vasisht <43521356+avasisht23@users.noreply.github.com>

* Update site/guides/sponsoring-gas/gas-sponsorship-eligibility.md

Co-authored-by: Ajay Vasisht <43521356+avasisht23@users.noreply.github.com>

---------

Co-authored-by: Michael Moldoveanu <michael.moldoveanu@alchemy.com>
Co-authored-by: Ajay Vasisht <43521356+avasisht23@users.noreply.github.com>
# Pull Request Checklist

- [x] Did you add new tests and confirm existing tests pass? (`yarn test`)
- [x] Did you update relevant docs? (docs are found in the `site` folder, see guidleines below)
- [x] Do your commits follow the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) standard?
- [x] Does your PR title also follow the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) standard?
- [x] If you have a breaking change, is it [correctly reflected in your commit message](https://www.conventionalcommits.org/en/v1.0.0/#examples? (e.g. `feat!: breaking change`)
- [x] Did you run lint (`yarn lint:check`) and fix any issues? (`yarn lint:fix`)
- [x] Is the base branch you're merging into `development` and not `main`?

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on adding the ability to simulate user operation asset changes in the Alchemy provider. 

### Detailed summary
- Added `SimulateUserOperationAssetChangesRequest` and `SimulateUserOperationAssetChangesResponse` types.
- Added `alchemy_simulateUserOperationAssetChanges` method to the provider.
- Added `withAlchemyUserOpSimulation` middleware function.
- Updated tests.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
# Pull Request Checklist

- [ ] Did you add new tests and confirm existing tests pass? (`yarn test`)
- [ ] Did you update relevant docs? (docs are found in the `site` folder, see guidleines below)
- [ ] Do your commits follow the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) standard?
- [ ] Does your PR title also follow the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) standard?
- [ ] If you have a breaking change, is it [correctly reflected in your commit message](https://www.conventionalcommits.org/en/v1.0.0/#examples? (e.g. `feat!: breaking change`)
- [ ] Did you run lint (`yarn lint:check`) and fix any issues? (`yarn lint:fix`)
- [ ] Is the base branch you're merging into `development` and not `main`?

<!-- start pr-codex -->

---

## PR-Codex overview
### Detailed summary
- Added a new method `withAlchemyUserOpSimulation()` to the `AlchemyProvider` class that adds the Alchemy UserOperation Simulation middleware.
- Added a new middleware method `withAlchemyUserOpSimulation()` to the `aa-alchemy` package for simulating asset changes resulting from user operation.
- Added documentation for `withAlchemyUserOpSimulation()` method in the `aa-alchemy` package.
- Added documentation for `simulateUserOperationAssetChanges()` method in the `aa-alchemy` package.
- Added documentation for `withUOSimulationMiddleware()` method in the `aa-core` package.
- Added a new guide on how to simulate a User Operation using Alchemy's Account Kit.

> The following files were skipped due to too many changes: `site/guides/sim-user-operation.md`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
# Pull Request Checklist

- [x] Did you add new tests and confirm existing tests pass? (`yarn test`)
- [x] Did you update relevant docs? (docs are found in the `site` folder, see guidleines below)
- [x] Do your commits follow the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) standard?
- [x] Does your PR title also follow the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) standard?
- [x] If you have a breaking change, is it [correctly reflected in your commit message](https://www.conventionalcommits.org/en/v1.0.0/#examples? (e.g. `feat!: breaking change`)
- [x] Did you run lint (`yarn lint:check`) and fix any issues? (`yarn lint:fix`)
- [x] Is the base branch you're merging into `development` and not `main`?

<!-- start pr-codex -->

---

## PR-Codex overview
### Detailed summary

- Updated URLs in various files to reflect changes in the site structure
- Replaced occurrences of "/getting-started" with "/overview/getting-started"
- Updated links and references to the "Getting Started" page
- Updated links and references to the "Packages Overview" page
- Updated links and references to the "Why Account Kit" page
- Updated links and references to the "Introduction" page

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
Co-authored-by: Matthew Foyle <mfoyle93@gmail.com>
@moldy530 moldy530 changed the title release/v1.2.0 chore: release/v1.2.0 Nov 17, 2023
@moldy530 moldy530 merged commit a0088b3 into main Nov 17, 2023
2 of 3 checks passed
@moldy530 moldy530 deleted the release/v1.2.0 branch November 17, 2023 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants