viem 2.55.5 → 2.55.8

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 (107) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/_cjs/errors/version.js +1 -1
  3. package/_cjs/tempo/Abis.js +1809 -1
  4. package/_cjs/tempo/Abis.js.map +1 -1
  5. package/_cjs/tempo/Decorator.js +25 -2
  6. package/_cjs/tempo/Decorator.js.map +1 -1
  7. package/_cjs/tempo/actions/earn.js +1368 -0
  8. package/_cjs/tempo/actions/earn.js.map +1 -0
  9. package/_cjs/tempo/actions/index.js +2 -1
  10. package/_cjs/tempo/actions/index.js.map +1 -1
  11. package/_cjs/tempo/actions/zone.js +47 -61
  12. package/_cjs/tempo/actions/zone.js.map +1 -1
  13. package/_cjs/tempo/chainConfig.js +3 -1
  14. package/_cjs/tempo/chainConfig.js.map +1 -1
  15. package/_cjs/tempo/errors.js +28 -4
  16. package/_cjs/tempo/errors.js.map +1 -1
  17. package/_cjs/tempo/index.js +2 -1
  18. package/_cjs/tempo/index.js.map +1 -1
  19. package/_cjs/tempo/internal/WithdrawalSenderTag.js +9 -0
  20. package/_cjs/tempo/internal/WithdrawalSenderTag.js.map +1 -0
  21. package/_cjs/tempo/zones/Abis.js +46 -0
  22. package/_cjs/tempo/zones/Abis.js.map +1 -1
  23. package/_cjs/tempo/zones/Addresses.js +17 -0
  24. package/_cjs/tempo/zones/Addresses.js.map +1 -0
  25. package/_cjs/tempo/zones/index.js +2 -2
  26. package/_cjs/tempo/zones/index.js.map +1 -1
  27. package/_cjs/tempo/zones/zone.js +30 -16
  28. package/_cjs/tempo/zones/zone.js.map +1 -1
  29. package/_cjs/utils/blob/fromBlobs.js +5 -2
  30. package/_cjs/utils/blob/fromBlobs.js.map +1 -1
  31. package/_cjs/utils/encoding/fromBytes.js +2 -2
  32. package/_cjs/utils/encoding/fromBytes.js.map +1 -1
  33. package/_esm/errors/version.js +1 -1
  34. package/_esm/tempo/Abis.js +1810 -0
  35. package/_esm/tempo/Abis.js.map +1 -1
  36. package/_esm/tempo/Decorator.js +25 -2
  37. package/_esm/tempo/Decorator.js.map +1 -1
  38. package/_esm/tempo/actions/earn.js +2100 -0
  39. package/_esm/tempo/actions/earn.js.map +1 -0
  40. package/_esm/tempo/actions/index.js +1 -0
  41. package/_esm/tempo/actions/index.js.map +1 -1
  42. package/_esm/tempo/actions/zone.js +104 -119
  43. package/_esm/tempo/actions/zone.js.map +1 -1
  44. package/_esm/tempo/chainConfig.js +4 -1
  45. package/_esm/tempo/chainConfig.js.map +1 -1
  46. package/_esm/tempo/errors.js +25 -2
  47. package/_esm/tempo/errors.js.map +1 -1
  48. package/_esm/tempo/index.js +1 -1
  49. package/_esm/tempo/index.js.map +1 -1
  50. package/_esm/tempo/internal/WithdrawalSenderTag.js +7 -0
  51. package/_esm/tempo/internal/WithdrawalSenderTag.js.map +1 -0
  52. package/_esm/tempo/zones/Abis.js +46 -0
  53. package/_esm/tempo/zones/Abis.js.map +1 -1
  54. package/_esm/tempo/zones/Addresses.js +14 -0
  55. package/_esm/tempo/zones/Addresses.js.map +1 -0
  56. package/_esm/tempo/zones/index.js +2 -1
  57. package/_esm/tempo/zones/index.js.map +1 -1
  58. package/_esm/tempo/zones/zone.js +29 -15
  59. package/_esm/tempo/zones/zone.js.map +1 -1
  60. package/_esm/utils/blob/fromBlobs.js +6 -2
  61. package/_esm/utils/blob/fromBlobs.js.map +1 -1
  62. package/_esm/utils/encoding/fromBytes.js +2 -2
  63. package/_esm/utils/encoding/fromBytes.js.map +1 -1
  64. package/_types/errors/version.d.ts +1 -1
  65. package/_types/tempo/Abis.d.ts +2880 -0
  66. package/_types/tempo/Abis.d.ts.map +1 -1
  67. package/_types/tempo/Decorator.d.ts +499 -41
  68. package/_types/tempo/Decorator.d.ts.map +1 -1
  69. package/_types/tempo/actions/earn.d.ts +7549 -0
  70. package/_types/tempo/actions/earn.d.ts.map +1 -0
  71. package/_types/tempo/actions/index.d.ts +1 -0
  72. package/_types/tempo/actions/index.d.ts.map +1 -1
  73. package/_types/tempo/actions/zone.d.ts +86 -109
  74. package/_types/tempo/actions/zone.d.ts.map +1 -1
  75. package/_types/tempo/chainConfig.d.ts.map +1 -1
  76. package/_types/tempo/errors.d.ts +33 -3
  77. package/_types/tempo/errors.d.ts.map +1 -1
  78. package/_types/tempo/index.d.ts +1 -1
  79. package/_types/tempo/index.d.ts.map +1 -1
  80. package/_types/tempo/internal/WithdrawalSenderTag.d.ts +11 -0
  81. package/_types/tempo/internal/WithdrawalSenderTag.d.ts.map +1 -0
  82. package/_types/tempo/zones/Abis.d.ts +87 -0
  83. package/_types/tempo/zones/Abis.d.ts.map +1 -1
  84. package/_types/tempo/zones/Addresses.d.ts +13 -0
  85. package/_types/tempo/zones/Addresses.d.ts.map +1 -0
  86. package/_types/tempo/zones/index.d.ts +2 -1
  87. package/_types/tempo/zones/index.d.ts.map +1 -1
  88. package/_types/tempo/zones/zone.d.ts +14 -33
  89. package/_types/tempo/zones/zone.d.ts.map +1 -1
  90. package/_types/utils/blob/fromBlobs.d.ts.map +1 -1
  91. package/errors/version.ts +1 -1
  92. package/package.json +2 -2
  93. package/tempo/Abis.ts +1822 -0
  94. package/tempo/Decorator.ts +572 -47
  95. package/tempo/actions/earn.ts +3319 -0
  96. package/tempo/actions/index.ts +1 -0
  97. package/tempo/actions/zone.ts +183 -230
  98. package/tempo/chainConfig.ts +7 -1
  99. package/tempo/errors.ts +54 -6
  100. package/tempo/index.ts +1 -0
  101. package/tempo/internal/WithdrawalSenderTag.ts +20 -0
  102. package/tempo/zones/Abis.ts +46 -0
  103. package/tempo/zones/Addresses.ts +15 -0
  104. package/tempo/zones/index.ts +1 -1
  105. package/tempo/zones/zone.ts +38 -17
  106. package/utils/blob/fromBlobs.ts +6 -2
  107. package/utils/encoding/fromBytes.ts +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,37 @@
1
1
  # viem
2
2
 
3
+ ## 2.55.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [#4890](https://github.com/wevm/viem/pull/4890) [`3078687aabea3064fc868f395114f41815895685`](https://github.com/wevm/viem/commit/3078687aabea3064fc868f395114f41815895685) Thanks [@parvahuja](https://github.com/parvahuja)! - `viem/tempo`: Fixed gas estimation for sponsored access key transactions prepared without gas.
8
+
9
+ - [#4891](https://github.com/wevm/viem/pull/4891) [`c067f1a0c540afb54e27864b601064fb1c6e5249`](https://github.com/wevm/viem/commit/c067f1a0c540afb54e27864b601064fb1c6e5249) Thanks [@jxom](https://github.com/jxom)! - `viem/tempo`: Added Zone E metadata, address registries, and Portal and Messenger contracts.
10
+
11
+ - [#4891](https://github.com/wevm/viem/pull/4891) [`c067f1a0c540afb54e27864b601064fb1c6e5249`](https://github.com/wevm/viem/commit/c067f1a0c540afb54e27864b601064fb1c6e5249) Thanks [@jxom](https://github.com/jxom)! - **Breaking(viem/tempo)**: Removed `portalAddresses`.
12
+
13
+ ## 2.55.7
14
+
15
+ ### Patch Changes
16
+
17
+ - [#4881](https://github.com/wevm/viem/pull/4881) [`34c30a01012e326682a1ef365ee6599b2510e9da`](https://github.com/wevm/viem/commit/34c30a01012e326682a1ef365ee6599b2510e9da) Thanks [@jxom](https://github.com/jxom)! - `tempo/viem`: Added earn actions
18
+
19
+ - [#4888](https://github.com/wevm/viem/pull/4888) [`944a011e2edabfc4aa5ed59b8ee201486e0dc74b`](https://github.com/wevm/viem/commit/944a011e2edabfc4aa5ed59b8ee201486e0dc74b) Thanks [@jxom](https://github.com/jxom)! - Fixed `fromBlobs` misreading a `0x80` data byte at a blob boundary as the terminator.
20
+
21
+ - [#4887](https://github.com/wevm/viem/pull/4887) [`b693174dde06dd322b6f88508fb37231d38b620b`](https://github.com/wevm/viem/commit/b693174dde06dd322b6f88508fb37231d38b620b) Thanks [@jxom](https://github.com/jxom)! - Fixed `bytesToBigInt` and `bytesToNumber` (and `fromBytes` with `to: "bigint" | "number"`) scaling the decoded value when a `size` larger than the input byte length was provided.
22
+
23
+ - [#4880](https://github.com/wevm/viem/pull/4880) [`0095510ba5051931eb89d05c8a9b33b3a65ff356`](https://github.com/wevm/viem/commit/0095510ba5051931eb89d05c8a9b33b3a65ff356) Thanks [@tmm](https://github.com/tmm)! - Fixed Tempo access key transactions failing by preserving the gas limit covered by fee payer signatures returned from `eth_fillTransaction`.
24
+
25
+ - [#4884](https://github.com/wevm/viem/pull/4884) [`14a2537066f353092d4b6cc77941c018fde8f6c8`](https://github.com/wevm/viem/commit/14a2537066f353092d4b6cc77941c018fde8f6c8) Thanks [@jxom](https://github.com/jxom)! - Replaced `zone.getZoneInfo.sequencer` with `sequencers`.
26
+
27
+ ## 2.55.6
28
+
29
+ ### Patch Changes
30
+
31
+ - [#4878](https://github.com/wevm/viem/pull/4878) [`fe79685307b4f85ba6d1d2c3ed3a8be3a62e9f3a`](https://github.com/wevm/viem/commit/fe79685307b4f85ba6d1d2c3ed3a8be3a62e9f3a) Thanks [@decofe](https://github.com/decofe)! - Added `tempoBlockNumber` to the return value of `zone.getZoneInfo`.
32
+
33
+ **Breaking (viem/tempo):** Replaced `zone.waitForDepositStatus` with `zone.waitForTempoBlock`, backed by the new zone info field, and removed `zone.getDepositStatus` with the underlying RPC method.
34
+
3
35
  ## 2.55.5
4
36
 
5
37
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.version = void 0;
4
- exports.version = '2.55.5';
4
+ exports.version = '2.55.8';
5
5
  //# sourceMappingURL=version.js.map