Skip to content

Commit 92628cf

Browse files
committed
v0.4.20
1 parent 6219921 commit 92628cf

File tree

14 files changed

+22
-14
lines changed

14 files changed

+22
-14
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# v0.4.20
2+
- Add two new utility functions:
3+
- `getClosestTimestamp`
4+
- `getTimestampFromBlockNumber`
5+
- Update manifest validator to not use arktype
6+
- change --public options to --private in `arkiver deploy`
7+
- Updated examples
8+
19
# v0.4.19
210
- Adds factory sources. added an example factory-source to showcase this. API looks like:
311
```typescript

cli.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import {
1717
} from './cli/mod.ts'
1818
import 'https://deno.land/std@0.179.0/dotenv/load.ts'
1919

20-
export const version = 'v0.4.19'
20+
export const version = 'v0.4.20'
2121

2222
const command = new Command()
2323
.name('arkiver')

examples/block-handler-vaults/deps.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ export {
33
createEntity,
44
type EventHandlerFor,
55
Manifest,
6-
} from 'https://deno.land/x/robo_arkiver@v0.4.19/mod.ts'
6+
} from 'hhttps://deno.land/x/robo_arkiver@v0.4.20/mod.ts'

examples/block-handler-vaults/handlers/vault.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { formatUnits, getContract } from 'npm:viem'
2-
import { type BlockHandler } from 'https://deno.land/x/robo_arkiver@v0.4.19/mod.ts'
2+
import { type BlockHandler } from 'hhttps://deno.land/x/robo_arkiver@v0.4.20/mod.ts'
33
import { VaultSnapshot } from '../entities/vault.ts'
44
import { YEARN_V2_ABI } from '../abis/YearnV2.ts'
55

examples/block-handler-vaults/manifest.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Manifest } from 'https://deno.land/x/robo_arkiver@v0.4.19/mod.ts'
1+
import { Manifest } from 'hhttps://deno.land/x/robo_arkiver@v0.4.20/mod.ts'
22
import { VaultSnapshot } from './entities/vault.ts'
33
import { snapshotVault } from './handlers/vault.ts'
44

examples/erc20-balance-history/entities.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { createEntity } from 'https://deno.land/x/robo_arkiver@v0.4.19/mod.ts'
1+
import { createEntity } from 'hhttps://deno.land/x/robo_arkiver@v0.4.20/mod.ts'
22

33
// @note: "Index: true" enhances graphql queries
44

examples/erc20-balance-history/handlers.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { formatUnits, fromHex, numberToHex } from 'npm:viem'
2-
import { type EventHandlerFor } from 'https://deno.land/x/robo_arkiver@v0.4.19/mod.ts'
2+
import { type EventHandlerFor } from 'hhttps://deno.land/x/robo_arkiver@v0.4.20/mod.ts'
33
import erc20 from './erc20.ts'
44
import { Balance, BalanceHistory, Transfer } from './entities.ts'
55

examples/erc20-balance-history/manifest.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Manifest } from 'https://deno.land/x/robo_arkiver@v0.4.19/mod.ts'
1+
import { Manifest } from 'hhttps://deno.land/x/robo_arkiver@v0.4.20/mod.ts'
22
import { ERC_20_ABI } from './Erc20.ts'
33
import { Entities } from './entities.ts'
44
import { onTransfer } from './handlers.ts'

examples/erc20-events/entities.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { createEntity } from 'https://deno.land/x/robo_arkiver@v0.4.19/mod.ts'
1+
import { createEntity } from 'hhttps://deno.land/x/robo_arkiver@v0.4.20/mod.ts'
22

33
// @note: "Index: true" enhances graphql queries
44
export const Transfer = createEntity<any>('Transfer', {

examples/erc20-events/handlers.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { formatUnits } from 'npm:viem'
2-
import { type EventHandlerFor } from 'https://deno.land/x/robo_arkiver@v0.4.19/mod.ts'
2+
import { type EventHandlerFor } from 'hhttps://deno.land/x/robo_arkiver@v0.4.20/mod.ts'
33
import { ERC_20_ABI } from './Erc20.ts'
44
import { Approval, Transfer } from './entities.ts'
55

examples/erc20-events/manifest.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Manifest } from 'https://deno.land/x/robo_arkiver@v0.4.19/mod.ts'
1+
import { Manifest } from 'hhttps://deno.land/x/robo_arkiver@v0.4.20/mod.ts'
22
import { ERC_20_ABI } from './Erc20.ts'
33
import { Approval, Transfer } from './entities.ts'
44
import { onApproval, onTransfer } from './handlers.ts'

examples/event-wildcard/deps.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ export {
33
createEntity,
44
type EventHandlerFor,
55
Manifest,
6-
} from 'https://deno.land/x/robo_arkiver@v0.4.19/mod.ts'
6+
} from 'hhttps://deno.land/x/robo_arkiver@v0.4.20/mod.ts'

examples/library/deps.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ export {
33
createEntity,
44
type EventHandlerFor,
55
Manifest,
6-
} from 'https://deno.land/x/robo_arkiver@v0.4.19/mod.ts'
6+
} from 'hhttps://deno.land/x/robo_arkiver@v0.4.20/mod.ts'
77
export {
88
Erc721Lib,
99
type Erc721Opts,
10-
} from 'https://deno.land/x/robo_arkiver@v0.4.19/libs.ts'
10+
} from 'hhttps://deno.land/x/robo_arkiver@v0.4.20/libs.ts'

examples/simple/deps.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ export {
33
createEntity,
44
type EventHandlerFor,
55
Manifest,
6-
} from 'https://deno.land/x/robo_arkiver@v0.4.19/mod.ts'
6+
} from 'hhttps://deno.land/x/robo_arkiver@v0.4.20/mod.ts'

0 commit comments

Comments
 (0)