Skip to content

Commit

Permalink
chore: version packages (#307)
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] authored Aug 9, 2023
1 parent f813a1d commit ba10337
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 21 deletions.
19 changes: 0 additions & 19 deletions .changeset/few-teachers-run.md

This file was deleted.

20 changes: 20 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# @ponder/core

## 0.0.81

### Patch Changes

- [#306](https://github.com/0xOlias/ponder/pull/306) [`f813a1d`](https://github.com/0xOlias/ponder/commit/f813a1d518afcb73da7e29a72ff9403ab72434c4) Thanks [@0xOlias](https://github.com/0xOlias)! - Added support for update functions in the entity store `update` and `upsert` API methods. This allows you to update an entity based on its current state, and solves a common ergonomics issue where users were manually constructing this operation using a combination of `findUnique`, `create`, and `update`.

```ts filename="src/index.ts"
ponder.on("ERC20:Transfer", async ({ event, context }) => {
const { Account } = context.entities;

const recipient = await Account.update({
id: event.params.to,
data: ({ current }) => ({
balance: current.balance + event.params.value,
}),
});
// { id: "0x5D92..", balance: 11800000005n }
});
```

## 0.0.80

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ponder/core",
"version": "0.0.80",
"version": "0.0.81",
"description": "An open-source framework for crypto application backends",
"license": "MIT",
"files": [
Expand Down
2 changes: 2 additions & 0 deletions packages/create-ponder/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# create-ponder

## 0.0.81

## 0.0.80

## 0.0.79
Expand Down
2 changes: 1 addition & 1 deletion packages/create-ponder/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-ponder",
"version": "0.0.80",
"version": "0.0.81",
"description": "A CLI tool to create Ponder apps",
"license": "MIT",
"files": [
Expand Down

1 comment on commit ba10337

@vercel
Copy link

@vercel vercel bot commented on ba10337 Aug 9, 2023

Choose a reason for hiding this comment

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

Please sign in to comment.