@latticexyz/world 2.2.21-c3d156de242e9e234d4b23b55d6391a258bfc2c4 → 2.2.21-c67535174198d5cace8b7fdafaaff54a580f128a

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
  {