Skip to content

Commit 1960bc9

Browse files
chore: version packages
1 parent c756c40 commit 1960bc9

File tree

8 files changed

+50
-49
lines changed

8 files changed

+50
-49
lines changed

.changeset/mighty-games-brake.md

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

CHANGELOG.md

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

3+
## 0.12.0
4+
5+
### Minor Changes
6+
7+
- [#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.
8+
9+
```bash
10+
11+
```
12+
13+
### Modify `chain` configuration
14+
15+
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.
16+
17+
```diff
18+
const client = createClient({
19+
- chain: tempo({
20+
- feeToken: '0x20c0000000000000000000000000000000000001'
21+
- }),
22+
+ chain: tempoTestnet.extend({
23+
+ feeToken: '0x20c0000000000000000000000000000000000001'
24+
+ }),
25+
transport: http(),
26+
})
27+
```
28+
29+
### `Account#assignKeyAuthorization` has been removed
30+
31+
The `Account#assignKeyAuthorization` function has been removed. Instead, you will need to assign the key authorization on a transaction manually on the next transaction.
32+
33+
```diff
34+
const accessKey = Account.fromP256(generatePrivateKey(), {
35+
access: account,
36+
})
37+
38+
const keyAuthorization = await account.signKeyAuthorization(accessKey)
39+
- await account.assignKeyAuthorization(keyAuthorization)
40+
41+
const receipt = await client.sendTransactionSync({
42+
account: accessKey,
43+
+ keyAuthorization,
44+
})
45+
```
46+
347
## 0.11.1
448

549
### 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.11.1",
18+
"tempo.ts": "~0.12.0",
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.11.1",
20+
"tempo.ts": "~0.12.0",
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.11.1",
15+
"tempo.ts": "~0.12.0",
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.11.1",
15+
"tempo.ts": "~0.12.0",
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.11.1",
18+
"tempo.ts": "~0.12.0",
1919
"viem": "^2",
2020
"wagmi": "^3"
2121
},

package.json

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

0 commit comments

Comments
 (0)