tempo.ts 0.6.0 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +427 -0
  2. package/package.json +3 -2
package/CHANGELOG.md ADDED
@@ -0,0 +1,427 @@
1
+ # tempo.ts
2
+
3
+ ## 0.6.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`82d51eb`](https://github.com/tempoxyz/tempo-ts/commit/82d51eb5dfa872b0a6b2dfdb6da78660ebb07c4e) Thanks [@jxom](https://github.com/jxom)! - Published CHANGELOG.md
8
+
9
+ ## 0.6.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [#71](https://github.com/tempoxyz/tempo-ts/pull/71) [`95d4649`](https://github.com/tempoxyz/tempo-ts/commit/95d464995bc13d5ba46a91f9e2a6f7b1c14675e0) Thanks [@gorried](https://github.com/gorried)! - Renamed `Instance#faucet.address` to `faucet.addresses` in order to support multiple tokens.
14
+
15
+ - [#78](https://github.com/tempoxyz/tempo-ts/pull/78) [`6c20dc0`](https://github.com/tempoxyz/tempo-ts/commit/6c20dc090b21a092e90855c7244d9c9d5d22930d) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** Removed `feePayer` from `Transaction`. Extract the `feePayer` from `TransactionReceipt` instead.
16
+
17
+ ### Patch Changes
18
+
19
+ - [`57ee208`](https://github.com/tempoxyz/tempo-ts/commit/57ee2084c40929dba587ccd5b4ed1aac4cb327b9) Thanks [@jxom](https://github.com/jxom)! - Removed sig envelope assertions on account signing.
20
+
21
+ - [#74](https://github.com/tempoxyz/tempo-ts/pull/74) [`b604600`](https://github.com/tempoxyz/tempo-ts/commit/b604600fd2c0202807175d4f669db648cb5dae95) Thanks [@gorried](https://github.com/gorried)! - Fixed formatting of `addresses` when starting prool `Instance`
22
+
23
+ - [`e82713f`](https://github.com/tempoxyz/tempo-ts/commit/e82713f192206e94a63e425307cb1566ce800092) Thanks [@jxom](https://github.com/jxom)! - Normalized `credential` before storing.
24
+
25
+ ## 0.5.4
26
+
27
+ ### Patch Changes
28
+
29
+ - [`3961295`](https://github.com/tempoxyz/tempo-ts/commit/3961295ef1079deb6b5031114614216aa69bbd57) Thanks [@jxom](https://github.com/jxom)! - Added `timeout` property to `faucet.fundSync`.
30
+
31
+ ## 0.5.3
32
+
33
+ ### Patch Changes
34
+
35
+ - [`dd6275a`](https://github.com/tempoxyz/tempo-ts/commit/dd6275a11642d2c02c1616c7360fb91aff5bfc85) Thanks [@jxom](https://github.com/jxom)! - Added `fundSync` action and `useFundSync` hook in `tempo.ts/wagmi`.
36
+
37
+ - [`fa39d52`](https://github.com/tempoxyz/tempo-ts/commit/fa39d52fd7f4d164ab7a89a6281c7b95db139fd3) Thanks [@jxom](https://github.com/jxom)! - Fixed fee token preferences when a `feePayer` is supplied to transactions.
38
+
39
+ ## 0.5.2
40
+
41
+ ### Patch Changes
42
+
43
+ - [`6b0e328`](https://github.com/tempoxyz/tempo-ts/commit/6b0e328e4bff2c6e4a701487c4b41e3780396c57) Thanks [@jxom](https://github.com/jxom)! - Added `walletNamespaceCompat` transport to `tempo.ts/viem` so local accounts can leverage `wallet_` RPC actions (`sendCalls`, etc).
44
+
45
+ - [#64](https://github.com/tempoxyz/tempo-ts/pull/64) [`3aa7cb7`](https://github.com/tempoxyz/tempo-ts/commit/3aa7cb7d4fd8a7505d0752372c229ce818c47af8) Thanks [@tmm](https://github.com/tmm)! - Added Wagmi Policy Actions/Hooks
46
+
47
+ ## 0.5.1
48
+
49
+ ### Patch Changes
50
+
51
+ - [`640df1c`](https://github.com/tempoxyz/tempo-ts/commit/640df1cd37820bf6605724d98adb520d2b8e5a33) Thanks [@jxom](https://github.com/jxom)! - Added support for \`eth_fillTransaction\`
52
+
53
+ ## 0.5.0
54
+
55
+ ### Minor Changes
56
+
57
+ - [`8bb03a5`](https://github.com/tempoxyz/tempo-ts/commit/8bb03a594238897c6aa68d87ff93442069a017cc) Thanks [@jxom](https://github.com/jxom)! - **Breaking(`tempo.ts/prool`):** Migrated to support Tempo Docker container from using a standalone Tempo binary.
58
+
59
+ ### Patch Changes
60
+
61
+ - [`8bb03a5`](https://github.com/tempoxyz/tempo-ts/commit/8bb03a594238897c6aa68d87ff93442069a017cc) Thanks [@jxom](https://github.com/jxom)! - Added `tempoTestnet` chain.
62
+
63
+ - [`8bb03a5`](https://github.com/tempoxyz/tempo-ts/commit/8bb03a594238897c6aa68d87ff93442069a017cc) Thanks [@jxom](https://github.com/jxom)! - Updated `tempoDev` chain ID.
64
+
65
+ ## 0.4.4
66
+
67
+ ### Patch Changes
68
+
69
+ - [`fd95d62`](https://github.com/tempoxyz/tempo-ts/commit/fd95d62381006f9e7bdaaee3f362977563852868) Thanks [@tmm](https://github.com/tmm)! - Fixed TSDoc using incorrect role
70
+
71
+ - [`cd5e46b`](https://github.com/tempoxyz/tempo-ts/commit/cd5e46b47d44110c7e32357b94b934f8b390cf70) Thanks [@jxom](https://github.com/jxom)! - Added ERC-5792 compatibility to Wagmi connectors.
72
+
73
+ ## 0.4.3
74
+
75
+ ### Patch Changes
76
+
77
+ - [`9b2ad01`](https://github.com/tempoxyz/tempo-ts/commit/9b2ad016687b06dbadd6bad2e90dfa1b2722c913) Thanks [@jxom](https://github.com/jxom)! - Fixed `feeToken` hoisting.
78
+
79
+ - [`626134c`](https://github.com/tempoxyz/tempo-ts/commit/626134c7a144af051daadc175c80f3727c4d445c) Thanks [@jxom](https://github.com/jxom)! - Enhanced wallet compatibility.
80
+
81
+ ## 0.4.2
82
+
83
+ ### Patch Changes
84
+
85
+ - [`e6af89f`](https://github.com/tempoxyz/tempo-ts/commit/e6af89f725633da4320d618e58d13952e758f66e) Thanks [@jxom](https://github.com/jxom)! - Tweaked Wagmi types for `feeToken`.
86
+
87
+ ## 0.4.1
88
+
89
+ ### Patch Changes
90
+
91
+ - [`b3aa00d`](https://github.com/tempoxyz/tempo-ts/commit/b3aa00dfa60ecf60b888104616002239d2b54323) Thanks [@jxom](https://github.com/jxom)! - Added `rpId` parameter to `webAuthn` connector.
92
+
93
+ ## 0.4.0
94
+
95
+ ### Minor Changes
96
+
97
+ - [#49](https://github.com/tempoxyz/tempo-ts/pull/49) [`28f1853`](https://github.com/tempoxyz/tempo-ts/commit/28f18537eda6c0e93badf0175154cc452cbd96ab) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** Renamed `dex.getPriceLevel` to `dex.getTickLevel`.
98
+
99
+ ## 0.3.0
100
+
101
+ ### Minor Changes
102
+
103
+ - [`6230a60`](https://github.com/tempoxyz/tempo-ts/commit/6230a60f3bd55f6d98b682ea2b6bc34629c5386d) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** Modified `fee.getUserToken` to return `null` when no user token is set.
104
+
105
+ ### Patch Changes
106
+
107
+ - [#46](https://github.com/tempoxyz/tempo-ts/pull/46) [`4bcade6`](https://github.com/tempoxyz/tempo-ts/commit/4bcade6c284cbe6ec5fa245dcc0dd3d705ed7aae) Thanks [@jxom](https://github.com/jxom)! - Pruned `package.json` before publish of unneeded properties.
108
+
109
+ - [`3ecd488`](https://github.com/tempoxyz/tempo-ts/commit/3ecd488c8c3dfe70f6c979d353df959f0081390e) Thanks [@jxom](https://github.com/jxom)! - Added `const` to `Chain.define`
110
+
111
+ - [`5aeecc2`](https://github.com/tempoxyz/tempo-ts/commit/5aeecc2512d5dbd5c06ac5067fbe11113c1103fd) Thanks [@jxom](https://github.com/jxom)! - Fixed \`Chain.define\` type.
112
+
113
+ ## 0.2.1
114
+
115
+ ### Patch Changes
116
+
117
+ - [`db8cfa1`](https://github.com/tempoxyz/tempo-ts/commit/db8cfa1ccf2fdfcd1ec329662bddebffa998e16d) Thanks [@jxom](https://github.com/jxom)! - Added `getOptions.getPublicKey` and `createOptions.getChallenge` to `webAuthn` connector.
118
+
119
+ - [`fec93f9`](https://github.com/tempoxyz/tempo-ts/commit/fec93f903a8ecbf8d196604d91a300b51a569424) Thanks [@jxom](https://github.com/jxom)! - Added `faucet.fund` action.
120
+
121
+ - [#44](https://github.com/tempoxyz/tempo-ts/pull/44) [`58a6a11`](https://github.com/tempoxyz/tempo-ts/commit/58a6a113b10412bde1ef69531153e400e0a95a94) Thanks [@jxom](https://github.com/jxom)! - Added `mintWithValidatorToken` support to `amm.mint` action.
122
+
123
+ ## 0.2.0
124
+
125
+ ### Minor Changes
126
+
127
+ - [`a90d48c`](https://github.com/tempoxyz/tempo-ts/commit/a90d48c049c48601ae4aca78334b13b3ebb2ea85) Thanks [@jxom](https://github.com/jxom)! - Added `reward` Actions on `tempo.ts/viem`.
128
+
129
+ - [`a90d48c`](https://github.com/tempoxyz/tempo-ts/commit/a90d48c049c48601ae4aca78334b13b3ebb2ea85) Thanks [@jxom](https://github.com/jxom)! - Added `dex.getOrderbook` action.
130
+
131
+ - [`a90d48c`](https://github.com/tempoxyz/tempo-ts/commit/a90d48c049c48601ae4aca78334b13b3ebb2ea85) Thanks [@jxom](https://github.com/jxom)! - Added support for Native "Account Abstraction" accounts.
132
+
133
+ New account types supported:
134
+
135
+ ### WebAuthn (P256)
136
+
137
+ ```ts
138
+ import { Account, WebAuthnP256 } from "tempo.ts/viem";
139
+
140
+ const credential = await WebAuthnP256.createCredential({
141
+ name: "Example",
142
+ });
143
+ const account = Account.fromWebAuthnP256(credential);
144
+ ```
145
+
146
+ ### WebCrypto (P256)
147
+
148
+ ```ts
149
+ import { Account, WebCryptoP256 } from "tempo.ts/viem";
150
+
151
+ const keyPair = await WebCryptoP256.createKeyPair();
152
+ const account = Account.fromWebCryptoP256(keyPair);
153
+ ```
154
+
155
+ ### P256
156
+
157
+ ```ts
158
+ import { Account, P256 } from "tempo.ts/viem";
159
+
160
+ const privateKey = P256.randomPrivateKey();
161
+ const account = Account.fromP256(privateKey);
162
+ ```
163
+
164
+ - [`a90d48c`](https://github.com/tempoxyz/tempo-ts/commit/a90d48c049c48601ae4aca78334b13b3ebb2ea85) Thanks [@jxom](https://github.com/jxom)! - Added `dangerous_secp256k1` connector.
165
+
166
+ - [`a90d48c`](https://github.com/tempoxyz/tempo-ts/commit/a90d48c049c48601ae4aca78334b13b3ebb2ea85) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** Removed `amm.getPoolId`. Use `PoolId.from` from `tempo.ts/ox` instead.
167
+
168
+ - [`a90d48c`](https://github.com/tempoxyz/tempo-ts/commit/a90d48c049c48601ae4aca78334b13b3ebb2ea85) Thanks [@jxom](https://github.com/jxom)! - Added Wagmi Actions & Hooks for `fee` and `token`.
169
+
170
+ - [`a90d48c`](https://github.com/tempoxyz/tempo-ts/commit/a90d48c049c48601ae4aca78334b13b3ebb2ea85) Thanks [@jxom](https://github.com/jxom)! - Added `WebAuthnP256`, `P256`, `WebCryptoP256` modules.
171
+
172
+ - [#43](https://github.com/tempoxyz/tempo-ts/pull/43) [`e932099`](https://github.com/tempoxyz/tempo-ts/commit/e9320992d29e26d59646251a3bccc099a002e7a2) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** Removed `Addresses.defaultFeeToken` and `Addresses.defaultQuoteToken`.
173
+
174
+ - [`899c120`](https://github.com/tempoxyz/tempo-ts/commit/899c1201a563121bd08f08b012d84439e9d1b816) Thanks [@jxom](https://github.com/jxom)! - **Breaking:**
175
+ - Renamed `updateQuoteToken` to `prepareUpdateQuoteToken`.
176
+ - Renamed `finalizeUpdateQuoteToken` to `updateQuoteToken`.
177
+
178
+ - [`a90d48c`](https://github.com/tempoxyz/tempo-ts/commit/a90d48c049c48601ae4aca78334b13b3ebb2ea85) Thanks [@jxom](https://github.com/jxom)! - Added support for WebAuthn & P256 accounts with the `Account` module.
179
+
180
+ - [`a90d48c`](https://github.com/tempoxyz/tempo-ts/commit/a90d48c049c48601ae4aca78334b13b3ebb2ea85) Thanks [@jxom](https://github.com/jxom)! - Added `dex.getOrders`.
181
+
182
+ - [`a90d48c`](https://github.com/tempoxyz/tempo-ts/commit/a90d48c049c48601ae4aca78334b13b3ebb2ea85) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** Removed `amm.getTotalSupply`. Use `amm.getPool` instead.
183
+
184
+ - [#43](https://github.com/tempoxyz/tempo-ts/pull/43) [`e932099`](https://github.com/tempoxyz/tempo-ts/commit/e9320992d29e26d59646251a3bccc099a002e7a2) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** Removed `createTempoClient`. Construct your Client with `viem` primitives:
185
+
186
+ ```diff
187
+ -import { createTempoClient } from 'tempo.ts/viem'
188
+ +import { createClient, http } from 'viem'
189
+ +import { tempo } from 'tempo.ts/chains'
190
+
191
+ -const client = createTempoClient()
192
+ +const client = createClient({
193
+ + chain: tempo({
194
+ + feeToken: '0x20c0000000000000000000000000000000000001'
195
+ + }),
196
+ + transport: http(),
197
+ +})
198
+ ```
199
+
200
+ - [`a90d48c`](https://github.com/tempoxyz/tempo-ts/commit/a90d48c049c48601ae4aca78334b13b3ebb2ea85) Thanks [@jxom](https://github.com/jxom)! - Added `tempoDevnet` chain.
201
+
202
+ - [`a90d48c`](https://github.com/tempoxyz/tempo-ts/commit/a90d48c049c48601ae4aca78334b13b3ebb2ea85) Thanks [@jxom](https://github.com/jxom)! - Added `reward` actions + hooks to `tempo.ts/wagmi`
203
+
204
+ - [`210b95c`](https://github.com/tempoxyz/tempo-ts/commit/210b95c6ca7a043a7684b7ff869cdf32c7afa0ee) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** Removed `permit` from `Actions.token`
205
+
206
+ - [`a90d48c`](https://github.com/tempoxyz/tempo-ts/commit/a90d48c049c48601ae4aca78334b13b3ebb2ea85) Thanks [@jxom](https://github.com/jxom)! - Added `tempo.ts/wagmi` entrypoint and `webAuthn` connector.
207
+
208
+ - [#43](https://github.com/tempoxyz/tempo-ts/pull/43) [`e932099`](https://github.com/tempoxyz/tempo-ts/commit/e9320992d29e26d59646251a3bccc099a002e7a2) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** `feeToken` is now required on all transaction actions. You must either pass `feeToken` explicitly, or hoist a
209
+ `feeToken` on the Client:
210
+
211
+ ### Non-hoisted Fee Token
212
+
213
+ `feeToken` will need to be set per-action.
214
+
215
+ ```ts
216
+ // fee token NOT set on client
217
+ const client2 = createClient({
218
+ chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
219
+ transport: http(),
220
+ });
221
+
222
+ // ⚠️ `feeToken` needs to be set per-action
223
+ await sendTransaction(client2, {
224
+ feeToken: "0x20c...0001",
225
+ to: "0x0000000000000000000000000000000000000000",
226
+ });
227
+ ```
228
+
229
+ ### Hoisted Fee Token
230
+
231
+ Pass `feeToken` to the Client to apply it to all transactions.
232
+
233
+ ```ts
234
+ const client1 = createClient({
235
+ chain: tempo({ feeToken: "0x20c...001" }), // note: pass `null` to opt-in to protocol preferences.
236
+ transport: http(),
237
+ });
238
+
239
+ // ✅ no fee token needed, hoisted on client
240
+ await sendTransaction(client1, {
241
+ to: "0x0000000000000000000000000000000000000000",
242
+ });
243
+ ```
244
+
245
+ ### Patch Changes
246
+
247
+ - [#40](https://github.com/tempoxyz/tempo-ts/pull/40) [`619b943`](https://github.com/tempoxyz/tempo-ts/commit/619b9437bc78a7ef7c7b2344fcc5f0e827a6238d) Thanks [@gorried](https://github.com/gorried)! - **Breaking:** Updated latest chain to Andantino.
248
+
249
+ - [`a90d48c`](https://github.com/tempoxyz/tempo-ts/commit/a90d48c049c48601ae4aca78334b13b3ebb2ea85) Thanks [@jxom](https://github.com/jxom)! - Added `token.getRoleAdmin`
250
+
251
+ - [#42](https://github.com/tempoxyz/tempo-ts/pull/42) [`74ed4a7`](https://github.com/tempoxyz/tempo-ts/commit/74ed4a74cc43febca597f681d0b595b242f8d619) Thanks [@gorried](https://github.com/gorried)! - Updated `chain.id` for Andantino.
252
+
253
+ ## 0.1.5
254
+
255
+ ### Patch Changes
256
+
257
+ - [`09eb31f`](https://github.com/tempoxyz/tempo-ts/commit/09eb31fa3050bff0f9dc9b459656c2ce4b2297f9) Thanks [@jxom](https://github.com/jxom)! - Added `log` option to `tempo` instance.
258
+
259
+ ## 0.1.4
260
+
261
+ ### Patch Changes
262
+
263
+ - [`c278bf5`](https://github.com/tempoxyz/tempo-ts/commit/c278bf521ffb9e07661f30fe0d2f0bc05a033091) Thanks [@tmm](https://github.com/tmm)! - Exported decorator type
264
+
265
+ ## 0.1.3
266
+
267
+ ### Patch Changes
268
+
269
+ - [`92312c6`](https://github.com/tempoxyz/tempo-ts/commit/92312c6a4961596de107bf75c7525e8b6c4f781f) Thanks [@jxom](https://github.com/jxom)! - Fixed dist output.
270
+
271
+ ## 0.1.2
272
+
273
+ ### Patch Changes
274
+
275
+ - [`287924c`](https://github.com/tempoxyz/tempo-ts/commit/287924c21ae250be0fe3d73e5f928e0f9cb1cd5b) Thanks [@jxom](https://github.com/jxom)! - Fixed `token.getMetadata` against the quote token.
276
+
277
+ - [`5c47beb`](https://github.com/tempoxyz/tempo-ts/commit/5c47bebebbc2efddb0c8cf0702afcba450c7fc80) Thanks [@jxom](https://github.com/jxom)! - `tempo.ts/prool`: Fixed `blockTime` parameter type.
278
+
279
+ - [`287924c`](https://github.com/tempoxyz/tempo-ts/commit/287924c21ae250be0fe3d73e5f928e0f9cb1cd5b) Thanks [@jxom](https://github.com/jxom)! - Added `TokenId.from` to instantiate a token id from an address or number.
280
+
281
+ ## 0.1.1
282
+
283
+ ### Patch Changes
284
+
285
+ - [`dd4cd43`](https://github.com/tempoxyz/tempo-ts/commit/dd4cd43fb10ac1a8d766751b1e6f958b62befa07) Thanks [@jxom](https://github.com/jxom)! - Fixed `token.getMetadata` for the default quote token.
286
+
287
+ ## 0.1.0
288
+
289
+ ### Minor Changes
290
+
291
+ - [#4](https://github.com/tempoxyz/tempo-ts/pull/4) [`528aa00`](https://github.com/tempoxyz/tempo-ts/commit/528aa0019876bf166724378de877a7acfd4a3013) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** Removed support for `type: 'feeToken'` / `type: '0x77'` transactions. Use `type: 'aa'` / `type: '0x76'` transactions instead.
292
+
293
+ - [#4](https://github.com/tempoxyz/tempo-ts/pull/4) [`528aa00`](https://github.com/tempoxyz/tempo-ts/commit/528aa0019876bf166724378de877a7acfd4a3013) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** Renamed `usdAddress` and `usdId`.
294
+
295
+ ```diff
296
+ - import { usdAddress, usdId } from 'tempo.ts/viem'
297
+ + import { Addresses, TokenId } from 'tempo.ts/viem'
298
+
299
+ - usdAddress
300
+ + Addresses.defaultFeeToken
301
+
302
+ - usdId
303
+ + TokenId.defaultFeeToken
304
+ ```
305
+
306
+ - [#4](https://github.com/tempoxyz/tempo-ts/pull/4) [`528aa00`](https://github.com/tempoxyz/tempo-ts/commit/528aa0019876bf166724378de877a7acfd4a3013) Thanks [@jxom](https://github.com/jxom)! - `tempo.ts/ox`: Added `TransactionEnvelopeAA` and `SignatureEnvelope`.
307
+
308
+ - [#4](https://github.com/tempoxyz/tempo-ts/pull/4) [`528aa00`](https://github.com/tempoxyz/tempo-ts/commit/528aa0019876bf166724378de877a7acfd4a3013) Thanks [@jxom](https://github.com/jxom)! - Added **Stablecoin Exchange** actions:
309
+ - `dex.buy`
310
+ - `dex.buySync`
311
+ - `dex.cancel`
312
+ - `dex.cancelSync`
313
+ - `dex.createPair`
314
+ - `dex.createPairSync`
315
+ - `dex.getBalance`
316
+ - `dex.getBuyQuote`
317
+ - `dex.getOrder`
318
+ - `dex.getPriceLevel`
319
+ - `dex.getSellQuote`
320
+ - `dex.place`
321
+ - `dex.placeSync`
322
+ - `dex.placeFlip`
323
+ - `dex.placeFlipSync`
324
+ - `dex.sell`
325
+ - `dex.sellSync`
326
+ - `dex.withdraw`
327
+ - `dex.withdrawSync`
328
+ - `dex.watchFlipOrderPlaced`
329
+ - `dex.watchOrderCancelled`
330
+ - `dex.watchOrderFilled`
331
+ - `dex.watchOrderPlaced`
332
+
333
+ - [#4](https://github.com/tempoxyz/tempo-ts/pull/4) [`528aa00`](https://github.com/tempoxyz/tempo-ts/commit/528aa0019876bf166724378de877a7acfd4a3013) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** Removed support for deprecated `tempoLento` chain. Update to use `tempoAndante` instead.
334
+
335
+ - [#4](https://github.com/tempoxyz/tempo-ts/pull/4) [`528aa00`](https://github.com/tempoxyz/tempo-ts/commit/528aa0019876bf166724378de877a7acfd4a3013) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** Refactored structure to use PascalCased namespaces to future-proof against naming conflicts, excessive imports, and future versions of Viem.
336
+ - Renamed `actions` import to `Actions`.
337
+
338
+ ```diff
339
+ - import { actions } from 'tempo.ts/viem'
340
+ + import { Actions } from 'tempo.ts/viem'
341
+ ```
342
+
343
+ - Renamed `parseTransaction` to `deserialize`.
344
+
345
+ ```diff
346
+ - import { parseTransaction } from 'tempo.ts/viem'
347
+ + import { Transaction } from 'tempo.ts/viem'
348
+
349
+ - parseTransaction(serialized)
350
+ + Transaction.deserialize(serialized)
351
+ ```
352
+
353
+ - Renamed `serializeTransaction` to `serialize`.
354
+
355
+ ```diff
356
+ - import { serializeTransaction } from 'tempo.ts/viem'
357
+ + import { Transaction } from 'tempo.ts/viem'
358
+
359
+ - serializeTransaction(transaction)
360
+ + Transaction.serialize(transaction)
361
+ ```
362
+
363
+ - Placed all `*Abi` exports in the `Abis` namespace.
364
+
365
+ ```diff
366
+ - import { tip20Abi } from 'tempo.ts/viem'
367
+ + import { Abis } from 'tempo.ts/viem'
368
+
369
+ - tip20Abi
370
+ + Abis.tip20
371
+ ```
372
+
373
+ - Placed all `*Address` exports in the `Addresses` namespace.
374
+
375
+ ```diff
376
+ - import { feeManagerAddress } from 'tempo.ts/viem'
377
+ + import { Addresses } from 'tempo.ts/viem'
378
+
379
+ - feeManagerAddress
380
+ + Addresses.feeManager
381
+ ```
382
+
383
+ ### Patch Changes
384
+
385
+ - [#4](https://github.com/tempoxyz/tempo-ts/pull/4) [`528aa00`](https://github.com/tempoxyz/tempo-ts/commit/528aa0019876bf166724378de877a7acfd4a3013) Thanks [@jxom](https://github.com/jxom)! - Added `watchUpdateQuoteToken` Action.
386
+
387
+ - [#4](https://github.com/tempoxyz/tempo-ts/pull/4) [`528aa00`](https://github.com/tempoxyz/tempo-ts/commit/528aa0019876bf166724378de877a7acfd4a3013) Thanks [@jxom](https://github.com/jxom)! - Added `token.updateQuoteToken` and `token.finalizeUpdateQuoteToken` Actions.
388
+
389
+ ## 0.0.6
390
+
391
+ ### Patch Changes
392
+
393
+ - [`b04eb82`](https://github.com/tempoxyz/tempo-ts/commit/b04eb8278b2b88636311b1821c2238024af89f84) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** `transferPolicy` renamed to `transferPolicyId` on `token.getMetadata` return value. It also now returns a `bigint` instead of a `string`.
394
+
395
+ ## 0.0.5
396
+
397
+ ### Patch Changes
398
+
399
+ - [`7cd6a18`](https://github.com/tempoxyz/tempo-ts/commit/7cd6a18a52f3c2c8a7b6277935cdcce6ae14511d) Thanks [@jxom](https://github.com/jxom)! - Set `*FeePerGas` fields to undefined for gas estimation.
400
+
401
+ ## 0.0.4
402
+
403
+ ### Patch Changes
404
+
405
+ - [`7caa3da`](https://github.com/tempoxyz/tempo-ts/commit/7caa3daf124150d254dcce09f26a8ced0bb948a6) Thanks [@jxom](https://github.com/jxom)! - Added support for `throwOnReceiptRevert` on `*Sync` actions.
406
+
407
+ ## 0.0.3
408
+
409
+ ### Patch Changes
410
+
411
+ - [`c74482a`](https://github.com/tempoxyz/tempo-ts/commit/c74482ace559efeaff4c49e9bcd45cdd3cf37300) Thanks [@jxom](https://github.com/jxom)! - Generated ABIs from Tempo Node precompiles.
412
+
413
+ - [`739cb02`](https://github.com/tempoxyz/tempo-ts/commit/739cb02551eb758ad556edc58c1097d78e5b6fa6) Thanks [@jxom](https://github.com/jxom)! - Narrowed `TokenRole` type.
414
+
415
+ - [#10](https://github.com/tempoxyz/tempo-ts/pull/10) [`fd0594d`](https://github.com/tempoxyz/tempo-ts/commit/fd0594df47c8fd943d7d2b95b391af53dfe8f96a) Thanks [@jxom](https://github.com/jxom)! - Added `actions.token.hasRole`.
416
+
417
+ ## 0.0.2
418
+
419
+ ### Patch Changes
420
+
421
+ - [#7](https://github.com/tempoxyz/tempo-ts/pull/7) [`f955968`](https://github.com/tempoxyz/tempo-ts/commit/f955968212042726fa44b0c78281b3ca502c82a1) Thanks [@tmm](https://github.com/tmm)! - Exported addresses in Viem entrypoint
422
+
423
+ ## 0.0.1
424
+
425
+ ### Patch Changes
426
+
427
+ - [`8e28099`](https://github.com/tempoxyz/tempo-ts/commit/8e280992b07d6cb7a096f60113cce3815ae24cb6) Thanks [@jxom](https://github.com/jxom)! - Initial release.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tempo.ts",
3
3
  "type": "module",
4
- "version": "0.6.0",
4
+ "version": "0.6.1",
5
5
  "dependencies": {
6
6
  "ox": "~0.9.9"
7
7
  },
@@ -37,7 +37,8 @@
37
37
  "license": "MIT",
38
38
  "files": [
39
39
  "dist",
40
- "src"
40
+ "src",
41
+ "CHANGELOG.md"
41
42
  ],
42
43
  "sideEffects": false,
43
44
  "main": "./dist/index.js",