moltlaunch 2.10.0 → 2.10.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.
package/dist/index.js CHANGED
@@ -60,7 +60,9 @@ var METADATA_KEYS = {
60
60
 
61
61
  // src/lib/builder-code.ts
62
62
  import { encodeFunctionData } from "viem";
63
- var SUFFIX_HEX = Buffer.from(BUILDER_CODE_SUFFIX).toString("hex");
63
+ import { Attribution } from "ox/erc8021";
64
+ var DATA_SUFFIX = Attribution.toDataSuffix({ codes: [BUILDER_CODE_SUFFIX] });
65
+ var SUFFIX_HEX = DATA_SUFFIX.slice(2);
64
66
  async function writeContractWithAttribution(walletClient, params) {
65
67
  const calldata = encodeFunctionData({
66
68
  abi: params.abi,