viem 2.9.6 → 2.9.7

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 (78) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/_cjs/chains/definitions/degen.js +1 -0
  3. package/_cjs/chains/definitions/degen.js.map +1 -1
  4. package/_cjs/chains/definitions/zkSyncInMemoryNode.js +2 -0
  5. package/_cjs/chains/definitions/zkSyncInMemoryNode.js.map +1 -1
  6. package/_cjs/chains/definitions/zkSyncLocalNode.js +2 -0
  7. package/_cjs/chains/definitions/zkSyncLocalNode.js.map +1 -1
  8. package/_cjs/errors/version.js +1 -1
  9. package/_cjs/experimental/actions/getCallsStatus.js +23 -0
  10. package/_cjs/experimental/actions/getCallsStatus.js.map +1 -0
  11. package/_cjs/experimental/actions/getCapabilities.js +14 -0
  12. package/_cjs/experimental/actions/getCapabilities.js.map +1 -0
  13. package/_cjs/experimental/actions/sendCalls.js +42 -0
  14. package/_cjs/experimental/actions/sendCalls.js.map +1 -0
  15. package/_cjs/experimental/decorators/eip5792.js +17 -0
  16. package/_cjs/experimental/decorators/eip5792.js.map +1 -0
  17. package/_cjs/experimental/index.js +12 -0
  18. package/_cjs/experimental/index.js.map +1 -0
  19. package/_cjs/index.js.map +1 -1
  20. package/_cjs/utils/formatters/transactionReceipt.js +3 -3
  21. package/_cjs/utils/formatters/transactionReceipt.js.map +1 -1
  22. package/_esm/chains/definitions/degen.js +1 -0
  23. package/_esm/chains/definitions/degen.js.map +1 -1
  24. package/_esm/chains/definitions/zkSyncInMemoryNode.js +2 -0
  25. package/_esm/chains/definitions/zkSyncInMemoryNode.js.map +1 -1
  26. package/_esm/chains/definitions/zkSyncLocalNode.js +2 -0
  27. package/_esm/chains/definitions/zkSyncLocalNode.js.map +1 -1
  28. package/_esm/errors/version.js +1 -1
  29. package/_esm/experimental/actions/getCallsStatus.js +39 -0
  30. package/_esm/experimental/actions/getCallsStatus.js.map +1 -0
  31. package/_esm/experimental/actions/getCapabilities.js +30 -0
  32. package/_esm/experimental/actions/getCapabilities.js.map +1 -0
  33. package/_esm/experimental/actions/sendCalls.js +70 -0
  34. package/_esm/experimental/actions/sendCalls.js.map +1 -0
  35. package/_esm/experimental/decorators/eip5792.js +30 -0
  36. package/_esm/experimental/decorators/eip5792.js.map +1 -0
  37. package/_esm/experimental/index.js +5 -0
  38. package/_esm/experimental/index.js.map +1 -0
  39. package/_esm/index.js.map +1 -1
  40. package/_esm/utils/formatters/transactionReceipt.js +2 -2
  41. package/_esm/utils/formatters/transactionReceipt.js.map +1 -1
  42. package/_types/chains/definitions/degen.d.ts +1 -0
  43. package/_types/chains/definitions/degen.d.ts.map +1 -1
  44. package/_types/chains/definitions/zkSyncInMemoryNode.d.ts +1278 -3
  45. package/_types/chains/definitions/zkSyncInMemoryNode.d.ts.map +1 -1
  46. package/_types/chains/definitions/zkSyncLocalNode.d.ts +1278 -3
  47. package/_types/chains/definitions/zkSyncLocalNode.d.ts.map +1 -1
  48. package/_types/errors/version.d.ts +1 -1
  49. package/_types/experimental/actions/getCallsStatus.d.ts +35 -0
  50. package/_types/experimental/actions/getCallsStatus.d.ts.map +1 -0
  51. package/_types/experimental/actions/getCapabilities.d.ts +32 -0
  52. package/_types/experimental/actions/getCapabilities.d.ts.map +1 -0
  53. package/_types/experimental/actions/sendCalls.d.ts +56 -0
  54. package/_types/experimental/actions/sendCalls.d.ts.map +1 -0
  55. package/_types/experimental/decorators/eip5792.d.ts +106 -0
  56. package/_types/experimental/decorators/eip5792.d.ts.map +1 -0
  57. package/_types/experimental/index.d.ts +5 -0
  58. package/_types/experimental/index.d.ts.map +1 -0
  59. package/_types/index.d.ts +1 -1
  60. package/_types/index.d.ts.map +1 -1
  61. package/_types/types/eip1193.d.ts +69 -0
  62. package/_types/types/eip1193.d.ts.map +1 -1
  63. package/_types/utils/formatters/transactionReceipt.d.ts +4 -0
  64. package/_types/utils/formatters/transactionReceipt.d.ts.map +1 -1
  65. package/chains/definitions/degen.ts +1 -0
  66. package/chains/definitions/zkSyncInMemoryNode.ts +2 -0
  67. package/chains/definitions/zkSyncLocalNode.ts +2 -0
  68. package/errors/version.ts +1 -1
  69. package/experimental/actions/getCallsStatus.ts +62 -0
  70. package/experimental/actions/getCapabilities.ts +56 -0
  71. package/experimental/actions/sendCalls.ts +126 -0
  72. package/experimental/decorators/eip5792.ts +139 -0
  73. package/experimental/index.ts +22 -0
  74. package/experimental/package.json +6 -0
  75. package/index.ts +6 -1
  76. package/package.json +9 -1
  77. package/types/eip1193.ts +81 -0
  78. package/utils/formatters/transactionReceipt.ts +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"transactionReceipt.js","sourceRoot":"","sources":["../../../utils/formatters/transactionReceipt.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAEpD,OAAO,EAAiC,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAC/E,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AACpC,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAUlD,MAAM,QAAQ,GAAG;IACf,KAAK,EAAE,UAAU;IACjB,KAAK,EAAE,SAAS;CACR,CAAA;AAIV,MAAM,UAAU,wBAAwB,CACtC,kBAAuD;IAEvD,MAAM,OAAO,GAAG;QACd,GAAG,kBAAkB;QACrB,WAAW,EAAE,kBAAkB,CAAC,WAAW;YACzC,CAAC,CAAC,MAAM,CAAC,kBAAkB,CAAC,WAAW,CAAC;YACxC,CAAC,CAAC,IAAI;QACR,eAAe,EAAE,kBAAkB,CAAC,eAAe;YACjD,CAAC,CAAC,kBAAkB,CAAC,eAAe;YACpC,CAAC,CAAC,IAAI;QACR,iBAAiB,EAAE,kBAAkB,CAAC,iBAAiB;YACrD,CAAC,CAAC,MAAM,CAAC,kBAAkB,CAAC,iBAAiB,CAAC;YAC9C,CAAC,CAAC,IAAI;QACR,iBAAiB,EAAE,kBAAkB,CAAC,iBAA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AAC,CAAC,IAAI;QACR,EAAE,EAAE,kBAAkB,CAAC,EAAE,CAAC,CAAC,CAAC,kBAAkB,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI;QACxD,gBAAgB,EAAE,kBAAkB,CAAC,gBAAgB;YACnD,CAAC,CAAC,WAAW,CAAC,kBAAkB,CAAC,gBAAgB,CAAC;YAClD,CAAC,CAAC,IAAI;QACR,MAAM,EAAE,kBAAkB,CAAC,MAAM;YAC/B,CAAC,CAAC,eAAe,CAAC,kBAAkB,CAAC,MAAM,CAAC;YAC5C,CAAC,CAAC,IAAI;QACR,IAAI,EAAE,kBAAkB,CAAC,IAAI;YAC3B,CAAC,CAAC,eAAe,CACb,kBAAkB,CAAC,IAAoC,CACxD,IAAI,kBAAkB,CAAC,IAAI;YAC9B,CAAC,CAAC,IAAI;KACa,CAAA;IAEvB,IAAI,kBAAkB,CAAC,YAAY;QACjC,OAAO,CAAC,YAAY,GAAG,MAAM,CAAC,kBAAkB,CAAC,YAAY,CAAC,CAAA;IAChE,IAAI,kBAAkB,CAAC,WAAW;QAChC,OAAO,CAAC,WAAW,GAAG,MAAM,CAAC,kBAAkB,CAAC,WAAW,CAAC,CAAA;IAE9D,OAAO,OAAO,CAAA;AAChB,CAAC;AAMD,MAAM,CAAC,MAAM,wBAAwB,GAAG,aAAa,CAAC,eAAe,CACnE,oBAAoB,EACpB,wBAAwB,CACzB,CAAA"}
@@ -24,6 +24,7 @@ export declare const degen: {
24
24
  rpcUrls: {
25
25
  readonly default: {
26
26
  readonly http: readonly ["https://rpc.degen.tips"];
27
+ readonly webSocket: readonly ["wss://rpc.degen.tips"];
27
28
  };
28
29
  };
29
30
  sourceId?: number | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"degen.d.ts","sourceRoot":"","sources":["../../../chains/definitions/degen.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoBhB,CAAA"}
1
+ {"version":3,"file":"degen.d.ts","sourceRoot":"","sources":["../../../chains/definitions/degen.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqBhB,CAAA"}