Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 0 additions & 52 deletions .changeset/mighty-games-brake.md

This file was deleted.

53 changes: 53 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,58 @@
# tempo.ts

## 0.12.0

### Minor Changes

- [#129](https://github.com/tempoxyz/tempo-ts/pull/129) [`c17b66c`](https://github.com/tempoxyz/tempo-ts/commit/c17b66c3c4902f0c5fd723062c2b6a02b44a47b8) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** As of `[email protected]`, `tempo.ts/chains` and `tempo.ts/viem` have been upstreamed into Viem, and are no longer maintained in this repository.

```bash
pnpm i [email protected]
```

### Modify `chain` configuration

The `tempo` chain has been renamed to `tempoTestnet`, and now becomes a standard chain object that can be `.extend`ed with a fee token, instead of a function.

```diff
const client = createClient({
- chain: tempo({
- feeToken: '0x20c0000000000000000000000000000000000001'
- }),
+ chain: tempoTestnet.extend({
+ feeToken: '0x20c0000000000000000000000000000000000001'
+ }),
transport: http(),
})
```

### Removed `tempo` chain

The `tempo` chain has been removed. Use `tempoTestnet` instead.

```diff
- import { tempo } from 'tempo.ts/chains'
+ import { tempoTestnet } from 'viem/chains'
```

### `Account#assignKeyAuthorization` has been removed

The `Account#assignKeyAuthorization` function has been removed. Instead, you will need to assign the key authorization on a transaction manually on the next transaction.

```diff
const accessKey = Account.fromP256(generatePrivateKey(), {
access: account,
})

const keyAuthorization = await account.signKeyAuthorization(accessKey)
- await account.assignKeyAuthorization(keyAuthorization)

const receipt = await client.sendTransactionSync({
account: accessKey,
+ keyAuthorization,
})
```

## 0.11.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/_template-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@tanstack/react-query": "^5",
"react": "^19",
"react-dom": "^19",
"tempo.ts": "~0.11.1",
"tempo.ts": "~0.12.0",
"viem": "^2",
"wagmi": "^3"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/accounts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"ox": "~0.9.17",
"react": "^19",
"react-dom": "^19",
"tempo.ts": "~0.11.1",
"tempo.ts": "~0.12.0",
"viem": "^2",
"wagmi": "^3"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/exchange/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@tanstack/react-query": "^5",
"react": "^19",
"react-dom": "^19",
"tempo.ts": "~0.11.1",
"tempo.ts": "~0.12.0",
"viem": "^2",
"wagmi": "^3"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/issuance/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@tanstack/react-query": "^5",
"react": "^19",
"react-dom": "^19",
"tempo.ts": "~0.11.1",
"tempo.ts": "~0.12.0",
"viem": "^2",
"wagmi": "^3"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/payments/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@tanstack/react-query": "^5",
"react": "^19",
"react-dom": "^19",
"tempo.ts": "~0.11.1",
"tempo.ts": "~0.12.0",
"viem": "^2",
"wagmi": "^3"
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"[!start-pkg]": "",
"name": "tempo.ts",
"type": "module",
"version": "0.11.1",
"version": "0.12.0",
"dependencies": {
"@remix-run/fetch-router": "~0.12.0",
"idb-keyval": "^6.2.2",
Expand Down
Loading