viem 0.0.0-main.20240527T071914 → 0.0.0-main.20240527T072854

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 (105) hide show
  1. package/_cjs/accounts/index.js.map +1 -1
  2. package/_cjs/actions/index.js.map +1 -1
  3. package/_cjs/celo/index.js.map +1 -1
  4. package/_cjs/chains/index.js.map +1 -1
  5. package/_cjs/chains/utils.js.map +1 -1
  6. package/_cjs/ens/index.js.map +1 -1
  7. package/_cjs/errors/version.js +1 -1
  8. package/_cjs/experimental/index.js.map +1 -1
  9. package/_cjs/index.js.map +1 -1
  10. package/_cjs/node/index.js.map +1 -1
  11. package/_cjs/op-stack/chains.js.map +1 -1
  12. package/_cjs/op-stack/index.js.map +1 -1
  13. package/_cjs/siwe/index.js.map +1 -1
  14. package/_cjs/utils/accounts.js.map +1 -1
  15. package/_cjs/utils/hash/toEventHash.js.map +1 -1
  16. package/_cjs/utils/hash/toEventSignature.js.map +1 -1
  17. package/_cjs/utils/hash/toFunctionHash.js.map +1 -1
  18. package/_cjs/utils/hash/toFunctionSignature.js.map +1 -1
  19. package/_cjs/utils/index.js.map +1 -1
  20. package/_cjs/zksync/chains.js.map +1 -1
  21. package/_cjs/zksync/index.js.map +1 -1
  22. package/_esm/accounts/index.js +1 -0
  23. package/_esm/accounts/index.js.map +1 -1
  24. package/_esm/actions/index.js +1 -0
  25. package/_esm/actions/index.js.map +1 -1
  26. package/_esm/celo/index.js +1 -0
  27. package/_esm/celo/index.js.map +1 -1
  28. package/_esm/chains/index.js +1 -0
  29. package/_esm/chains/index.js.map +1 -1
  30. package/_esm/chains/utils.js +1 -0
  31. package/_esm/chains/utils.js.map +1 -1
  32. package/_esm/ens/index.js +1 -0
  33. package/_esm/ens/index.js.map +1 -1
  34. package/_esm/errors/version.js +1 -1
  35. package/_esm/experimental/index.js +1 -0
  36. package/_esm/experimental/index.js.map +1 -1
  37. package/_esm/index.js +1 -0
  38. package/_esm/index.js.map +1 -1
  39. package/_esm/node/index.js +1 -0
  40. package/_esm/node/index.js.map +1 -1
  41. package/_esm/op-stack/chains.js +1 -0
  42. package/_esm/op-stack/chains.js.map +1 -1
  43. package/_esm/op-stack/index.js +2 -0
  44. package/_esm/op-stack/index.js.map +1 -1
  45. package/_esm/siwe/index.js +1 -0
  46. package/_esm/siwe/index.js.map +1 -1
  47. package/_esm/utils/accounts.js +1 -0
  48. package/_esm/utils/accounts.js.map +1 -1
  49. package/_esm/utils/hash/toEventHash.js +1 -0
  50. package/_esm/utils/hash/toEventHash.js.map +1 -1
  51. package/_esm/utils/hash/toEventSignature.js +1 -0
  52. package/_esm/utils/hash/toEventSignature.js.map +1 -1
  53. package/_esm/utils/hash/toFunctionHash.js +1 -0
  54. package/_esm/utils/hash/toFunctionHash.js.map +1 -1
  55. package/_esm/utils/hash/toFunctionSignature.js +1 -0
  56. package/_esm/utils/hash/toFunctionSignature.js.map +1 -1
  57. package/_esm/utils/index.js +1 -0
  58. package/_esm/utils/index.js.map +1 -1
  59. package/_esm/zksync/chains.js +1 -0
  60. package/_esm/zksync/chains.js.map +1 -1
  61. package/_esm/zksync/index.js +1 -0
  62. package/_esm/zksync/index.js.map +1 -1
  63. package/_types/accounts/index.d.ts.map +1 -1
  64. package/_types/actions/index.d.ts.map +1 -1
  65. package/_types/celo/index.d.ts.map +1 -1
  66. package/_types/chains/index.d.ts.map +1 -1
  67. package/_types/chains/utils.d.ts.map +1 -1
  68. package/_types/ens/index.d.ts.map +1 -1
  69. package/_types/errors/version.d.ts +1 -1
  70. package/_types/experimental/index.d.ts.map +1 -1
  71. package/_types/index.d.ts.map +1 -1
  72. package/_types/node/index.d.ts.map +1 -1
  73. package/_types/op-stack/chains.d.ts.map +1 -1
  74. package/_types/op-stack/index.d.ts.map +1 -1
  75. package/_types/siwe/index.d.ts.map +1 -1
  76. package/_types/utils/accounts.d.ts.map +1 -1
  77. package/_types/utils/hash/toEventHash.d.ts.map +1 -1
  78. package/_types/utils/hash/toEventSignature.d.ts.map +1 -1
  79. package/_types/utils/hash/toFunctionHash.d.ts.map +1 -1
  80. package/_types/utils/hash/toFunctionSignature.d.ts.map +1 -1
  81. package/_types/utils/index.d.ts.map +1 -1
  82. package/_types/zksync/chains.d.ts.map +1 -1
  83. package/_types/zksync/index.d.ts.map +1 -1
  84. package/accounts/index.ts +2 -0
  85. package/actions/index.ts +1 -0
  86. package/celo/index.ts +1 -0
  87. package/chains/index.ts +1 -0
  88. package/chains/utils.ts +1 -0
  89. package/ens/index.ts +1 -0
  90. package/errors/version.ts +1 -1
  91. package/experimental/index.ts +1 -0
  92. package/index.ts +1 -0
  93. package/node/index.ts +1 -0
  94. package/op-stack/chains.ts +1 -0
  95. package/op-stack/index.ts +2 -0
  96. package/package.json +1 -1
  97. package/siwe/index.ts +1 -0
  98. package/utils/accounts.ts +2 -0
  99. package/utils/hash/toEventHash.ts +1 -0
  100. package/utils/hash/toEventSignature.ts +1 -0
  101. package/utils/hash/toFunctionHash.ts +1 -0
  102. package/utils/hash/toFunctionSignature.ts +1 -0
  103. package/utils/index.ts +1 -0
  104. package/zksync/chains.ts +1 -0
  105. package/zksync/index.ts +1 -0
package/op-stack/index.ts CHANGED
@@ -1,3 +1,4 @@
1
+ // biome-ignore lint/performance/noBarrelFile: entrypoint module
1
2
  export {
2
3
  buildDepositTransaction,
3
4
  type BuildDepositTransactionErrorType,
@@ -175,6 +176,7 @@ export {
175
176
 
176
177
  export { chainConfig } from './chainConfig.js'
177
178
 
179
+ // biome-ignore lint/performance/noReExportAll: intentionally re-exporting
178
180
  export * from './chains.js'
179
181
 
180
182
  export {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "viem",
3
3
  "description": "TypeScript Interface for Ethereum",
4
- "version": "0.0.0-main.20240527T071914",
4
+ "version": "0.0.0-main.20240527T072854",
5
5
  "type": "module",
6
6
  "main": "./_cjs/index.js",
7
7
  "module": "./_esm/index.js",
package/siwe/index.ts CHANGED
@@ -1,3 +1,4 @@
1
+ // biome-ignore lint/performance/noBarrelFile: entrypoint module
1
2
  export {
2
3
  verifySiweMessage,
3
4
  type VerifySiweMessageParameters,
package/utils/accounts.ts CHANGED
@@ -1,5 +1,7 @@
1
1
  // Tree-shaking doesn't work well when we import from an index entrypoint. We don't
2
2
  // want to bundle libs like `@noble/curves`, etc within the `/accounts` entrypoint
3
3
  // as that will dramatically increase bundle size. So we export the modules directly.
4
+
5
+ // biome-ignore lint/performance/noBarrelFile: entrypoint module
4
6
  export { parseAccount } from '../accounts/utils/parseAccount.js'
5
7
  export { publicKeyToAddress } from '../accounts/utils/publicKeyToAddress.js'
@@ -1,3 +1,4 @@
1
+ // biome-ignore lint/performance/noBarrelFile: intentional
1
2
  export {
2
3
  type ToSignatureHashErrorType as ToEventHashErrorType,
3
4
  toSignatureHash as toEventHash,
@@ -1,3 +1,4 @@
1
+ // biome-ignore lint/performance/noBarrelFile: intentional
1
2
  export {
2
3
  type ToSignatureErrorType as ToEventSignatureErrorType,
3
4
  toSignature as toEventSignature,
@@ -1,3 +1,4 @@
1
+ // biome-ignore lint/performance/noBarrelFile: intentional
1
2
  export {
2
3
  type ToSignatureHashErrorType as ToFunctionHashErrorType,
3
4
  toSignatureHash as toFunctionHash,
@@ -1,3 +1,4 @@
1
+ // biome-ignore lint/performance/noBarrelFile: intentional
1
2
  export {
2
3
  type ToSignatureErrorType as ToFunctionSignatureErrorType,
3
4
  toSignature as toFunctionSignature,
package/utils/index.ts CHANGED
@@ -1,3 +1,4 @@
1
+ // biome-ignore lint/performance/noBarrelFile: entrypoint module
1
2
  export {
2
3
  type RequestErrorType,
3
4
  buildRequest,
package/zksync/chains.ts CHANGED
@@ -1,3 +1,4 @@
1
+ // biome-ignore lint/performance/noBarrelFile: entrypoint module
1
2
  export { zkSync } from '../chains/definitions/zkSync.js'
2
3
  export { zkSyncTestnet } from '../chains/definitions/zkSyncTestnet.js'
3
4
  export { zkSyncSepoliaTestnet } from '../chains/definitions/zkSyncSepoliaTestnet.js'
package/zksync/index.ts CHANGED
@@ -1,3 +1,4 @@
1
+ // biome-ignore lint/performance/noBarrelFile: entrypoint module
1
2
  export {
2
3
  type DeployContractErrorType,
3
4
  type DeployContractParameters,