@latticexyz/world 2.2.21-3737e6f13a3da68311429bbbd6e8e8057d18f8fc → 2.2.21-454387765857a956f3872887619d25f0352abf1c

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
  {