Skip to content

Commit

Permalink
tmp: copy before store
Browse files Browse the repository at this point in the history
  • Loading branch information
wighawag committed Nov 26, 2023
1 parent 95865e8 commit 1e935d2
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 4 deletions.
7 changes: 7 additions & 0 deletions examples/mud/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# web-demo

## 0.1.56

### Patch Changes

- Updated dependencies
- ethereum-indexer-browser@0.6.26

## 0.1.55

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/mud/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mud-demo",
"private": true,
"version": "0.1.55",
"version": "0.1.56",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
7 changes: 7 additions & 0 deletions examples/web-demo/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# web-demo

## 0.1.56

### Patch Changes

- Updated dependencies
- ethereum-indexer-browser@0.6.26

## 0.1.55

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/web-demo/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "web-demo",
"private": true,
"version": "0.1.55",
"version": "0.1.56",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
6 changes: 6 additions & 0 deletions packages/ethereum-indexer-browser/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# ethereum-indexer-browser

## 0.6.26

### Patch Changes

- tmp: copy before store

## 0.6.25

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ethereum-indexer-browser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ethereum-indexer-browser",
"version": "0.6.25",
"version": "0.6.26",
"publishConfig": {
"access": "public"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/ethereum-indexer-browser/src/IndexerState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export function createIndexerState<ABI extends Abi, ProcessResultType, Processor
const {set: setStatus, readable: readableStatus} = createStore<StatusState>({state: 'Idle'});
const initialState_frozen = Object.isFrozen(initialState);
console.log({initialState_frozen});
const {set: setState, readable: readableState} = createRootStore<ProcessResultType>(initialState);
const {set: setState, readable: readableState} = createRootStore<ProcessResultType>({...initialState});
const initialState_store_frozen = Object.isFrozen(initialState);
console.log({initialState_store_frozen});

Expand Down

0 comments on commit 1e935d2

Please sign in to comment.