@depup/viem 2.55.19-depup.0 → 2.56.0-depup.0

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 (136) hide show
  1. package/CHANGELOG.md +57 -0
  2. package/README.md +7 -7
  3. package/_cjs/chains/definitions/berachainBepolia.js +1 -1
  4. package/_cjs/errors/version.js +1 -1
  5. package/_cjs/errors/version.js.map +1 -1
  6. package/_cjs/tempo/Abis.js +4851 -2166
  7. package/_cjs/tempo/Abis.js.map +1 -1
  8. package/_cjs/tempo/Addresses.js +31 -1
  9. package/_cjs/tempo/Addresses.js.map +1 -1
  10. package/_cjs/tempo/Decorator.js +3 -2
  11. package/_cjs/tempo/Decorator.js.map +1 -1
  12. package/_cjs/tempo/Selectors.js +197 -61
  13. package/_cjs/tempo/Selectors.js.map +1 -1
  14. package/_cjs/tempo/Storage.js +6 -6
  15. package/_cjs/tempo/Storage.js.map +1 -1
  16. package/_cjs/tempo/Transport.js +21 -0
  17. package/_cjs/tempo/Transport.js.map +1 -1
  18. package/_cjs/tempo/Zone.js +51 -0
  19. package/_cjs/tempo/Zone.js.map +1 -0
  20. package/_cjs/tempo/actions/earn/deployment.js +59 -21
  21. package/_cjs/tempo/actions/earn/deployment.js.map +1 -1
  22. package/_cjs/tempo/actions/earn.js +2 -3
  23. package/_cjs/tempo/actions/earn.js.map +1 -1
  24. package/_cjs/tempo/actions/zone.js +65 -28
  25. package/_cjs/tempo/actions/zone.js.map +1 -1
  26. package/_cjs/tempo/index.js +3 -3
  27. package/_cjs/tempo/index.js.map +1 -1
  28. package/_esm/chains/definitions/berachainBepolia.js +1 -1
  29. package/_esm/errors/version.js +1 -1
  30. package/_esm/errors/version.js.map +1 -1
  31. package/_esm/tempo/Abis.js +5419 -2732
  32. package/_esm/tempo/Abis.js.map +1 -1
  33. package/_esm/tempo/Addresses.js +36 -0
  34. package/_esm/tempo/Addresses.js.map +1 -1
  35. package/_esm/tempo/Decorator.js +3 -2
  36. package/_esm/tempo/Decorator.js.map +1 -1
  37. package/_esm/tempo/Selectors.js +197 -61
  38. package/_esm/tempo/Selectors.js.map +1 -1
  39. package/_esm/tempo/Storage.js +7 -7
  40. package/_esm/tempo/Storage.js.map +1 -1
  41. package/_esm/tempo/Transport.js +37 -0
  42. package/_esm/tempo/Transport.js.map +1 -1
  43. package/_esm/tempo/Zone.js +48 -0
  44. package/_esm/tempo/Zone.js.map +1 -0
  45. package/_esm/tempo/actions/earn/deployment.js +66 -25
  46. package/_esm/tempo/actions/earn/deployment.js.map +1 -1
  47. package/_esm/tempo/actions/earn.js +2 -3
  48. package/_esm/tempo/actions/earn.js.map +1 -1
  49. package/_esm/tempo/actions/zone.js +111 -66
  50. package/_esm/tempo/actions/zone.js.map +1 -1
  51. package/_esm/tempo/index.js +2 -2
  52. package/_esm/tempo/index.js.map +1 -1
  53. package/_types/chains/definitions/berachainBepolia.d.ts +1 -1
  54. package/_types/errors/version.d.ts +1 -1
  55. package/_types/errors/version.d.ts.map +1 -1
  56. package/_types/tempo/Abis.d.ts +31049 -6004
  57. package/_types/tempo/Abis.d.ts.map +1 -1
  58. package/_types/tempo/Addresses.d.ts +11 -0
  59. package/_types/tempo/Addresses.d.ts.map +1 -1
  60. package/_types/tempo/Decorator.d.ts +30 -22
  61. package/_types/tempo/Decorator.d.ts.map +1 -1
  62. package/_types/tempo/Selectors.d.ts +196 -60
  63. package/_types/tempo/Selectors.d.ts.map +1 -1
  64. package/_types/tempo/Storage.d.ts +1 -1
  65. package/_types/tempo/Storage.d.ts.map +1 -1
  66. package/_types/tempo/Transport.d.ts +24 -0
  67. package/_types/tempo/Transport.d.ts.map +1 -1
  68. package/_types/tempo/Zone.d.ts +6824 -0
  69. package/_types/tempo/Zone.d.ts.map +1 -0
  70. package/_types/tempo/actions/channel.d.ts +72 -0
  71. package/_types/tempo/actions/channel.d.ts.map +1 -1
  72. package/_types/tempo/actions/dex.d.ts +260 -0
  73. package/_types/tempo/actions/dex.d.ts.map +1 -1
  74. package/_types/tempo/actions/earn/deployment.d.ts +86 -278
  75. package/_types/tempo/actions/earn/deployment.d.ts.map +1 -1
  76. package/_types/tempo/actions/earn.d.ts +540 -16
  77. package/_types/tempo/actions/earn.d.ts.map +1 -1
  78. package/_types/tempo/actions/policy.d.ts +108 -0
  79. package/_types/tempo/actions/policy.d.ts.map +1 -1
  80. package/_types/tempo/actions/receivePolicy.d.ts +27 -0
  81. package/_types/tempo/actions/receivePolicy.d.ts.map +1 -1
  82. package/_types/tempo/actions/zone.d.ts +165 -82
  83. package/_types/tempo/actions/zone.d.ts.map +1 -1
  84. package/_types/tempo/index.d.ts +3 -2
  85. package/_types/tempo/index.d.ts.map +1 -1
  86. package/chains/definitions/berachainBepolia.ts +1 -1
  87. package/changes.json +6 -6
  88. package/errors/version.ts +1 -1
  89. package/package.json +13 -18
  90. package/tempo/Abis.ts +5408 -2710
  91. package/tempo/Addresses.ts +40 -0
  92. package/tempo/Decorator.ts +39 -28
  93. package/tempo/Selectors.ts +218 -71
  94. package/tempo/Storage.ts +5 -8
  95. package/tempo/Transport.ts +57 -0
  96. package/tempo/Zone.ts +60 -0
  97. package/tempo/actions/earn/deployment.ts +74 -30
  98. package/tempo/actions/earn.ts +2 -3
  99. package/tempo/actions/zone.ts +188 -84
  100. package/tempo/index.ts +12 -6
  101. package/_cjs/tempo/zones/Abis.js +0 -213
  102. package/_cjs/tempo/zones/Abis.js.map +0 -1
  103. package/_cjs/tempo/zones/Addresses.js +0 -17
  104. package/_cjs/tempo/zones/Addresses.js.map +0 -1
  105. package/_cjs/tempo/zones/index.js +0 -13
  106. package/_cjs/tempo/zones/index.js.map +0 -1
  107. package/_cjs/tempo/zones/transport.js +0 -24
  108. package/_cjs/tempo/zones/transport.js.map +0 -1
  109. package/_cjs/tempo/zones/zone.js +0 -82
  110. package/_cjs/tempo/zones/zone.js.map +0 -1
  111. package/_esm/tempo/zones/Abis.js +0 -210
  112. package/_esm/tempo/zones/Abis.js.map +0 -1
  113. package/_esm/tempo/zones/Addresses.js +0 -14
  114. package/_esm/tempo/zones/Addresses.js.map +0 -1
  115. package/_esm/tempo/zones/index.js +0 -6
  116. package/_esm/tempo/zones/index.js.map +0 -1
  117. package/_esm/tempo/zones/transport.js +0 -39
  118. package/_esm/tempo/zones/transport.js.map +0 -1
  119. package/_esm/tempo/zones/zone.js +0 -78
  120. package/_esm/tempo/zones/zone.js.map +0 -1
  121. package/_types/tempo/zones/Abis.d.ts +0 -383
  122. package/_types/tempo/zones/Abis.d.ts.map +0 -1
  123. package/_types/tempo/zones/Addresses.d.ts +0 -13
  124. package/_types/tempo/zones/Addresses.d.ts.map +0 -1
  125. package/_types/tempo/zones/index.d.ts +0 -5
  126. package/_types/tempo/zones/index.d.ts.map +0 -1
  127. package/_types/tempo/zones/transport.d.ts +0 -26
  128. package/_types/tempo/zones/transport.d.ts.map +0 -1
  129. package/_types/tempo/zones/zone.d.ts +0 -3176
  130. package/_types/tempo/zones/zone.d.ts.map +0 -1
  131. package/tempo/zones/Abis.ts +0 -211
  132. package/tempo/zones/Addresses.ts +0 -15
  133. package/tempo/zones/index.ts +0 -10
  134. package/tempo/zones/package.json +0 -6
  135. package/tempo/zones/transport.ts +0 -58
  136. package/tempo/zones/zone.ts +0 -113
package/CHANGELOG.md CHANGED
@@ -1,5 +1,62 @@
1
1
  # viem
2
2
 
3
+ ## 2.56.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#5040](https://github.com/wevm/viem/pull/5040) [`c73282bfa7309a5017f684b8001ec5c13fda4194`](https://github.com/wevm/viem/commit/c73282bfa7309a5017f684b8001ec5c13fda4194) Thanks [@jxom](https://github.com/jxom)! - **Breaking (`viem/tempo`):** Renamed `Abis.abis` to `Abis.all` and expanded the aggregate with Earn and Zone ABIs.
8
+
9
+ ```diff
10
+ -const abis = Abis.abis
11
+ +const abis = Abis.all
12
+ ```
13
+
14
+ - [#5040](https://github.com/wevm/viem/pull/5040) [`c73282bfa7309a5017f684b8001ec5c13fda4194`](https://github.com/wevm/viem/commit/c73282bfa7309a5017f684b8001ec5c13fda4194) Thanks [@jxom](https://github.com/jxom)! - **Breaking (`viem/tempo`):** Moved Zone exports from `viem/tempo/zones` into `viem/tempo`.
15
+
16
+ ```diff
17
+ -import { Abis, Addresses, http, zoneModerato } from 'viem/tempo/zones'
18
+ +import { Abis, Addresses, http, Zone } from 'viem/tempo'
19
+ ```
20
+
21
+ - [#5040](https://github.com/wevm/viem/pull/5040) [`c73282bfa7309a5017f684b8001ec5c13fda4194`](https://github.com/wevm/viem/commit/c73282bfa7309a5017f684b8001ec5c13fda4194) Thanks [@jxom](https://github.com/jxom)! - **Breaking (`viem/tempo`):** Replaced curried Zone network factories with built-in Zone definitions and `Zone.from` for custom chains.
22
+
23
+ ```diff
24
+ -const zone = zoneModerato(6)
25
+ +const zone = Zone.a
26
+ ```
27
+
28
+ - [#5040](https://github.com/wevm/viem/pull/5040) [`c73282bfa7309a5017f684b8001ec5c13fda4194`](https://github.com/wevm/viem/commit/c73282bfa7309a5017f684b8001ec5c13fda4194) Thanks [@jxom](https://github.com/jxom)! - **Breaking (`viem/tempo`):** Replaced chain-specific Zone portal registries with deterministic `Addresses.zonePortal(id)` resolution for Zone IDs and chain IDs.
29
+
30
+ ```diff
31
+ -import { getPortalAddress } from 'viem/tempo/zones'
32
+ +import { Addresses, Zone } from 'viem/tempo'
33
+
34
+ -const portal = getPortalAddress(42_431, 7)
35
+ +const portal = Addresses.zonePortal(Zone.b.id)
36
+ ```
37
+
38
+ - [#5040](https://github.com/wevm/viem/pull/5040) [`c73282bfa7309a5017f684b8001ec5c13fda4194`](https://github.com/wevm/viem/commit/c73282bfa7309a5017f684b8001ec5c13fda4194) Thanks [@jxom](https://github.com/jxom)! - Added selector maps for Zone portal, outbox, messenger, and verifier ABIs.
39
+
40
+ ```ts
41
+ import { Selectors } from "viem/tempo";
42
+
43
+ const selector = Selectors.zonePortal.admin;
44
+ ```
45
+
46
+ ### Patch Changes
47
+
48
+ - [#5039](https://github.com/wevm/viem/pull/5039) [`e802c6b16e03c83d61c144d0b6388a21a8391a22`](https://github.com/wevm/viem/commit/e802c6b16e03c83d61c144d0b6388a21a8391a22) Thanks [@struong](https://github.com/struong)! - Replaced `tempo.earn.bindErc4626Engine` with the engine-agnostic `tempo.earn.bindEngine` action and added optional final ownership transfer.
49
+
50
+ - [#5034](https://github.com/wevm/viem/pull/5034) [`b8707d998ab8c7d4ee95c9a70989cd6fbd145356`](https://github.com/wevm/viem/commit/b8707d998ab8c7d4ee95c9a70989cd6fbd145356) Thanks [@jxom](https://github.com/jxom)! - Added `zone.getPortalInfo` to read Zone Portal administration, sequencer, and token metadata.
51
+
52
+ - [#5030](https://github.com/wevm/viem/pull/5030) [`901bf2f09b057e03f34067fdee6c3f6a2dae7bd3`](https://github.com/wevm/viem/commit/901bf2f09b057e03f34067fdee6c3f6a2dae7bd3) Thanks [@decofe](https://github.com/decofe)! - Added Zone protocol addresses, ZoneFactory registry reads, and ZonePortal administration operations to Tempo exports.
53
+
54
+ - [#5028](https://github.com/wevm/viem/pull/5028) [`ffbf342ba3f5b312433ec927332f817b754fdafb`](https://github.com/wevm/viem/commit/ffbf342ba3f5b312433ec927332f817b754fdafb) Thanks [@codingwithmanny](https://github.com/codingwithmanny)! - Updated the Berachain Bepolia block explorer.
55
+
56
+ - [#5040](https://github.com/wevm/viem/pull/5040) [`c73282bfa7309a5017f684b8001ec5c13fda4194`](https://github.com/wevm/viem/commit/c73282bfa7309a5017f684b8001ec5c13fda4194) Thanks [@jxom](https://github.com/jxom)! - Added `Abis.core`, `Abis.earn`, and `Abis.zone` contract groups.
57
+
58
+ - [#5044](https://github.com/wevm/viem/pull/5044) [`56a54cc3c80c5c774963be4f02d68c4b43e261d4`](https://github.com/wevm/viem/commit/56a54cc3c80c5c774963be4f02d68c4b43e261d4) Thanks [@decofe](https://github.com/decofe)! - Added the derived public key address to the `sequencerEncryptionKey` Zone Portal ABI output while preserving T10 encryption key reads.
59
+
3
60
  ## 2.55.19
4
61
 
5
62
  ### Patch Changes
package/README.md CHANGED
@@ -13,8 +13,8 @@ npm install @depup/viem
13
13
 
14
14
  | Field | Value |
15
15
  |-------|-------|
16
- | Original | [viem](https://www.npmjs.com/package/viem) @ 2.55.19 |
17
- | Processed | 2026-08-23 |
16
+ | Original | [viem](https://www.npmjs.com/package/viem) @ 2.56.0 |
17
+ | Processed | 2026-08-30 |
18
18
  | Smoke test | failed |
19
19
  | Deps updated | 7 |
20
20
 
@@ -22,12 +22,12 @@ npm install @depup/viem
22
22
 
23
23
  | Dependency | From | To |
24
24
  |------------|------|-----|
25
- | @noble/curves | 1.9.1 | ^2.3.0 |
26
- | @noble/hashes | 1.8.0 | ^2.3.0 |
27
- | @scure/bip32 | 1.7.0 | ^2.3.0 |
28
- | @scure/bip39 | 1.6.0 | ^2.3.0 |
25
+ | @noble/curves | 1.9.1 | ^2.4.0 |
26
+ | @noble/hashes | 1.8.0 | ^2.4.0 |
27
+ | @scure/bip32 | 1.7.0 | ^2.4.0 |
28
+ | @scure/bip39 | 1.6.0 | ^2.4.0 |
29
29
  | abitype | 1.2.3 | ^1.3.0 |
30
- | ox | 0.14.34 | ^1.7.1 |
30
+ | ox | 0.14.34 | ^1.7.2 |
31
31
  | ws | 8.21.0 | ^8.21.3 |
32
32
 
33
33
  ---
@@ -23,7 +23,7 @@ exports.berachainBepolia = (0, defineChain_js_1.defineChain)({
23
23
  blockExplorers: {
24
24
  default: {
25
25
  name: 'Berascan',
26
- url: 'https://bepolia.beratrail.io',
26
+ url: 'https://testnet.berascan.com',
27
27
  },
28
28
  },
29
29
  testnet: true,
@@ -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.19';
4
+ exports.version = '2.56.0';
5
5
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../../errors/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,SAAS,CAAA"}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../errors/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,QAAQ,CAAA"}