Skip to content

Commit ecf3898

Browse files
chore: version packages (#113)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 11a0ddd commit ecf3898

File tree

11 files changed

+40
-43
lines changed

11 files changed

+40
-43
lines changed

.changeset/bright-schools-learn.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# tempo.ts
22

3+
## 0.10.3
4+
5+
### Patch Changes
6+
7+
- [#112](https://github.com/tempoxyz/tempo-ts/pull/112) [`11a0ddd`](https://github.com/tempoxyz/tempo-ts/commit/11a0ddd97f8a923152415e3454e063647d9284fa) Thanks [@gorried](https://github.com/gorried)! - Added `nonce` Actions & Hooks.
8+
39
## 0.10.2
410

511
### Patch Changes

examples/_template-example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"@tanstack/react-query": "^5",
1616
"react": "^19",
1717
"react-dom": "^19",
18-
"tempo.ts": "~0.10.2",
18+
"tempo.ts": "~0.10.3",
1919
"viem": "^2",
2020
"wagmi": "^3"
2121
},

examples/accounts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"ox": "~0.9.17",
1818
"react": "^19",
1919
"react-dom": "^19",
20-
"tempo.ts": "~0.10.2",
20+
"tempo.ts": "~0.10.3",
2121
"viem": "^2",
2222
"wagmi": "^3"
2323
},

examples/exchange/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"@tanstack/react-query": "^5",
1313
"react": "^19",
1414
"react-dom": "^19",
15-
"tempo.ts": "~0.10.2",
15+
"tempo.ts": "~0.10.3",
1616
"viem": "^2",
1717
"wagmi": "^3"
1818
},

examples/issuance/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"@tanstack/react-query": "^5",
1313
"react": "^19",
1414
"react-dom": "^19",
15-
"tempo.ts": "~0.10.2",
15+
"tempo.ts": "~0.10.3",
1616
"viem": "^2",
1717
"wagmi": "^3"
1818
},

examples/payments/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"@tanstack/react-query": "^5",
1616
"react": "^19",
1717
"react-dom": "^19",
18-
"tempo.ts": "~0.10.2",
18+
"tempo.ts": "~0.10.3",
1919
"viem": "^2",
2020
"wagmi": "^3"
2121
},

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"[!start-pkg]": "",
7070
"name": "tempo.ts",
7171
"type": "module",
72-
"version": "0.10.2",
72+
"version": "0.10.3",
7373
"dependencies": {
7474
"@remix-run/fetch-router": "~0.12.0",
7575
"idb-keyval": "^6.2.2",

src/viem/Actions/nonce.test.ts

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -75,30 +75,21 @@ describe('getNonce', () => {
7575
describe('getNonceKeyCount', () => {
7676
test('default', async () => {
7777
// Get active nonce key count for a fresh account
78-
const count = await actions.nonce.getNonceKeyCount(
79-
clientWithAccount,
80-
{
81-
account: account.address,
82-
},
83-
)
78+
const count = await actions.nonce.getNonceKeyCount(clientWithAccount, {
79+
account: account.address,
80+
})
8481

8582
// Fresh account should have 0 active nonce keys
8683
expect(count).toBe(0n)
8784
})
8885

8986
test('behavior: different accounts are independent', async () => {
90-
const count1 = await actions.nonce.getNonceKeyCount(
91-
clientWithAccount,
92-
{
93-
account: account.address,
94-
},
95-
)
96-
const count2 = await actions.nonce.getNonceKeyCount(
97-
clientWithAccount,
98-
{
99-
account: account2.address,
100-
},
101-
)
87+
const count1 = await actions.nonce.getNonceKeyCount(clientWithAccount, {
88+
account: account.address,
89+
})
90+
const count2 = await actions.nonce.getNonceKeyCount(clientWithAccount, {
91+
account: account2.address,
92+
})
10293

10394
// Both should be 0 for fresh accounts
10495
expect(count1).toBe(0n)

src/viem/Actions/nonce.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
import {
2-
type Account,
3-
type Address,
4-
type Chain,
5-
type Client,
6-
type ExtractAbiItem,
7-
type GetEventArgs,
8-
type ReadContractReturnType,
9-
type Transport,
10-
type Log as viem_Log,
11-
type WatchContractEventParameters,
1+
import type {
2+
Account,
3+
Address,
4+
Chain,
5+
Client,
6+
ExtractAbiItem,
7+
GetEventArgs,
8+
ReadContractReturnType,
9+
Transport,
10+
Log as viem_Log,
11+
WatchContractEventParameters,
1212
} from 'viem'
1313
import { readContract, watchContractEvent } from 'viem/actions'
1414
import type { UnionOmit } from '../../internal/types.js'

0 commit comments

Comments
 (0)