Skip to content

Commit

Permalink
v0.4.20
Browse files Browse the repository at this point in the history
  • Loading branch information
hazelnutcloud committed Aug 4, 2023
1 parent 6219921 commit 92628cf
Show file tree
Hide file tree
Showing 14 changed files with 22 additions and 14 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# v0.4.20
- Add two new utility functions:
- `getClosestTimestamp`
- `getTimestampFromBlockNumber`
- Update manifest validator to not use arktype
- change --public options to --private in `arkiver deploy`
- Updated examples

# v0.4.19
- Adds factory sources. added an example factory-source to showcase this. API looks like:
```typescript
Expand Down
2 changes: 1 addition & 1 deletion cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
} from './cli/mod.ts'
import 'https://deno.land/[email protected]/dotenv/load.ts'

export const version = 'v0.4.19'
export const version = 'v0.4.20'

const command = new Command()
.name('arkiver')
Expand Down
2 changes: 1 addition & 1 deletion examples/block-handler-vaults/deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ export {
createEntity,
type EventHandlerFor,
Manifest,
} from 'https://deno.land/x/[email protected].19/mod.ts'
} from 'hhttps://deno.land/x/[email protected].20/mod.ts'
2 changes: 1 addition & 1 deletion examples/block-handler-vaults/handlers/vault.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { formatUnits, getContract } from 'npm:viem'
import { type BlockHandler } from 'https://deno.land/x/[email protected].19/mod.ts'
import { type BlockHandler } from 'hhttps://deno.land/x/[email protected].20/mod.ts'
import { VaultSnapshot } from '../entities/vault.ts'
import { YEARN_V2_ABI } from '../abis/YearnV2.ts'

Expand Down
2 changes: 1 addition & 1 deletion examples/block-handler-vaults/manifest.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Manifest } from 'https://deno.land/x/[email protected].19/mod.ts'
import { Manifest } from 'hhttps://deno.land/x/[email protected].20/mod.ts'
import { VaultSnapshot } from './entities/vault.ts'
import { snapshotVault } from './handlers/vault.ts'

Expand Down
2 changes: 1 addition & 1 deletion examples/erc20-balance-history/entities.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createEntity } from 'https://deno.land/x/[email protected].19/mod.ts'
import { createEntity } from 'hhttps://deno.land/x/[email protected].20/mod.ts'

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

Expand Down
2 changes: 1 addition & 1 deletion examples/erc20-balance-history/handlers.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { formatUnits, fromHex, numberToHex } from 'npm:viem'
import { type EventHandlerFor } from 'https://deno.land/x/[email protected].19/mod.ts'
import { type EventHandlerFor } from 'hhttps://deno.land/x/[email protected].20/mod.ts'
import erc20 from './erc20.ts'
import { Balance, BalanceHistory, Transfer } from './entities.ts'

Expand Down
2 changes: 1 addition & 1 deletion examples/erc20-balance-history/manifest.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Manifest } from 'https://deno.land/x/[email protected].19/mod.ts'
import { Manifest } from 'hhttps://deno.land/x/[email protected].20/mod.ts'
import { ERC_20_ABI } from './Erc20.ts'
import { Entities } from './entities.ts'
import { onTransfer } from './handlers.ts'
Expand Down
2 changes: 1 addition & 1 deletion examples/erc20-events/entities.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createEntity } from 'https://deno.land/x/[email protected].19/mod.ts'
import { createEntity } from 'hhttps://deno.land/x/[email protected].20/mod.ts'

// @note: "Index: true" enhances graphql queries
export const Transfer = createEntity<any>('Transfer', {
Expand Down
2 changes: 1 addition & 1 deletion examples/erc20-events/handlers.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { formatUnits } from 'npm:viem'
import { type EventHandlerFor } from 'https://deno.land/x/[email protected].19/mod.ts'
import { type EventHandlerFor } from 'hhttps://deno.land/x/[email protected].20/mod.ts'
import { ERC_20_ABI } from './Erc20.ts'
import { Approval, Transfer } from './entities.ts'

Expand Down
2 changes: 1 addition & 1 deletion examples/erc20-events/manifest.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Manifest } from 'https://deno.land/x/[email protected].19/mod.ts'
import { Manifest } from 'hhttps://deno.land/x/[email protected].20/mod.ts'
import { ERC_20_ABI } from './Erc20.ts'
import { Approval, Transfer } from './entities.ts'
import { onApproval, onTransfer } from './handlers.ts'
Expand Down
2 changes: 1 addition & 1 deletion examples/event-wildcard/deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ export {
createEntity,
type EventHandlerFor,
Manifest,
} from 'https://deno.land/x/[email protected].19/mod.ts'
} from 'hhttps://deno.land/x/[email protected].20/mod.ts'
4 changes: 2 additions & 2 deletions examples/library/deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ export {
createEntity,
type EventHandlerFor,
Manifest,
} from 'https://deno.land/x/[email protected].19/mod.ts'
} from 'hhttps://deno.land/x/[email protected].20/mod.ts'
export {
Erc721Lib,
type Erc721Opts,
} from 'https://deno.land/x/[email protected].19/libs.ts'
} from 'hhttps://deno.land/x/[email protected].20/libs.ts'
2 changes: 1 addition & 1 deletion examples/simple/deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ export {
createEntity,
type EventHandlerFor,
Manifest,
} from 'https://deno.land/x/[email protected].19/mod.ts'
} from 'hhttps://deno.land/x/[email protected].20/mod.ts'

0 comments on commit 92628cf

Please sign in to comment.