@latticexyz/world 2.2.21-a1b22c2778fe67a4457042f68a7240465c07183d → 2.2.21-aeb210f4c7f3e44c63655541e7aab8e83c52d6d6

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/node.js CHANGED
@@ -266,11 +266,15 @@ function renderSystemLibrary(options) {
266
266
  systemName,
267
267
  namespace,
268
268
  resourceId,
269
- functions,
269
+ functions: functionsInput,
270
270
  errors: systemErrors,
271
271
  worldImportPath,
272
272
  storeImportPath
273
273
  } = options;
274
+ const functions = functionsInput.map((func) => ({
275
+ ...func,
276
+ stateMutability: func.stateMutability.replace("payable", "")
277
+ }));
274
278
  const imports = [
275
279
  ...systemImports,
276
280
  {