Skip to content

Commit

Permalink
Version Packages (alpha) (#105)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] committed Feb 28, 2023
1 parent 6bb8ce4 commit e3a93cc
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"brave-hairs-notice",
"breezy-jobs-poke",
"breezy-ligers-press",
"brown-insects-sip",
"calm-games-teach",
"cuddly-knives-tickle",
"curly-cows-help",
Expand All @@ -49,6 +50,7 @@
"popular-cycles-sleep",
"purple-eyes-beam",
"rare-cats-unite",
"real-carrots-begin",
"red-cougars-dream",
"rich-fans-remember",
"rich-poets-explain",
Expand All @@ -62,6 +64,7 @@
"sour-turtles-switch",
"stale-ads-reply",
"tame-flies-refuse",
"tasty-ants-chew",
"thick-peas-remember",
"twenty-spiders-learn",
"unlucky-poems-rush",
Expand Down
38 changes: 38 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,43 @@
# viem

## 0.0.1-alpha.36

### Patch Changes

- [#100](https://github.com/wagmi-dev/viem/pull/100) [`6bb8ce4`](https://github.com/wagmi-dev/viem/commit/6bb8ce4eafff68989281f19fb315c0ea2f22b01a) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** Renamed `requestAccounts` Wallet Action to `requestAddresses`

**Breaking:** Renamed `getAccounts` Wallet Action to `getAddresses`

* [#100](https://github.com/wagmi-dev/viem/pull/100) [`6bb8ce4`](https://github.com/wagmi-dev/viem/commit/6bb8ce4eafff68989281f19fb315c0ea2f22b01a) Thanks [@jxom](https://github.com/jxom)! - Added support for Externally Owned Accounts.

- [#100](https://github.com/wagmi-dev/viem/pull/100) [`6bb8ce4`](https://github.com/wagmi-dev/viem/commit/6bb8ce4eafff68989281f19fb315c0ea2f22b01a) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** The `from` argument has been removed from Actions in favour of `account` to distinguish between [Account types](https://viem.sh/docs/clients/wallet):

```diff
+ import { getAccount } from 'viem'

const [address] = await walletClient.requestAddresses()
+ const account = getAccount(address)

const hash = await walletClient.sendTransaction({
- from: address,
+ account,
to: '0x70997970c51812dc3a010c7d01b50e0d17dc79c8',
value: 1000000000000000000n
})
```

Affected actions:

- `call`
- `estimateGas`
- `sendTransaction`
- `signMessage`
- `estimateContractGas`
- `multicall`
- `readContract`
- `simulateContract`
- `writeContract`

## 0.0.1-alpha.35

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "viem",
"description": "TypeScript Interface for Ethereum",
"version": "0.0.1-alpha.35",
"version": "0.0.1-alpha.36",
"scripts": {
"anvil": "source .env && anvil --fork-url $VITE_ANVIL_FORK_URL --fork-block-number $VITE_ANVIL_BLOCK_NUMBER --block-time $VITE_ANVIL_BLOCK_TIME",
"bench": "vitest bench --no-threads",
Expand Down

2 comments on commit e3a93cc

@vercel
Copy link

@vercel vercel bot commented on e3a93cc Feb 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

viem-playground – ./playgrounds/browser

viem-playground-wagmi-dev.vercel.app
viem-playground-git-main-wagmi-dev.vercel.app
viem-playground.vercel.app

@vercel
Copy link

@vercel vercel bot commented on e3a93cc Feb 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

viem-site – ./site

viem-site-wagmi-dev.vercel.app
viem-site-git-main-wagmi-dev.vercel.app
viem-site.vercel.app
www.viem.sh
viem.sh

Please sign in to comment.