MUD is a framework for building ambitious onchain applications
MIT License
Bot releases are visible (Hide)
Published by github-actions[bot] 10 months ago
.d.ts
type definition files for better compatibility when using MUD with moduleResolution
set to bundler
or node16
and fixes issues around missing type declarations for dependent packages.Published by github-actions[bot] 10 months ago
1b5eb0d0: Added unique
and groupBy
array helpers to @latticexyz/common/utils
.
import { unique } from "@latticexyz/common/utils";
unique([1, 2, 1, 4, 3, 2]);
// [1, 2, 4, 3]
import { groupBy } from "@latticexyz/common/utils";
const records = [
{ type: "cat", name: "Bob" },
{ type: "cat", name: "Spot" },
{ type: "dog", name: "Rover" },
];
Object.fromEntries(groupBy(records, (record) => record.type));
// {
// "cat": [{ type: "cat", name: "Bob" }, { type: "cat", name: "Spot" }],
// "dog: [{ type: "dog", name: "Rover" }]
// }
4c1dcd81: - Added a Result<Ok, Err>
type for more explicit and typesafe error handling (inspired by Rust).
includes
util as typesafe alternative to Array.prototype.includes()
.5df1f31b: Updated chunk
types to use readonly arrays
stdout
instead of stderr
..d.ts
type definition files for better compatibility when using MUD with moduleResolution
set to bundler
or node16
and fixes issues around missing type declarations for dependent packages.debug
util to pipe to stdout
and added an additional util to explicitly pipe to stderr
when needed.Published by github-actions[bot] 10 months ago
.d.ts
type definition files for better compatibility when using MUD with moduleResolution
set to bundler
or node16
and fixes issues around missing type declarations for dependent packages.debug
util to pipe to stdout
and added an additional util to explicitly pipe to stderr
when needed.Published by github-actions[bot] 10 months ago
.d.ts
type definition files for better compatibility when using MUD with moduleResolution
set to bundler
or node16
and fixes issues around missing type declarations for dependent packages.debug
util to pipe to stdout
and added an additional util to explicitly pipe to stderr
when needed.Published by github-actions[bot] 12 months ago
SystemboundDelegationControl
that delegates control of a specific system for some maximum number of calls. It is almost identical to CallboundDelegationControl
except the delegatee can call the system with any function and args.Published by github-actions[bot] 12 months ago
5ecccfe7: Separated frontend server and indexer service for Postgres indexer. Now you can run the Postgres indexer with one writer and many readers.
If you were previously using the postgres-indexer
binary, you'll now need to run both postgres-indexer
and postgres-frontend
.
For consistency, the Postgres database logs are now disabled by default. If you were using these, please let us know so we can add them back in with an environment variable flag.
STORE_ADDRESS
environment variable to index only a specific MUD Store.Published by github-actions[bot] 12 months ago
Published by github-actions[bot] 12 months ago
1faf7f69: Added Zustand support to Dev Tools:
const { syncToZustand } from "@latticexyz/store-sync";
const { mount as mountDevTools } from "@latticexyz/dev-tools";
const { useStore } = syncToZustand({ ... });
mountDevTools({
...
useStore,
});
Published by github-actions[bot] 12 months ago
mud.config
Published by github-actions[bot] 12 months ago
Published by github-actions[bot] 12 months ago
syncToZustand
now uses tables
argument to populate the Zustand store's tables
key, rather than the on-chain table registration events. This means we'll no longer store data into Zustand you haven't opted into receiving (e.g. other namespaces).syncToZustand
types so that non-existent tables give an error and never
type instead of a generic Table
type.Published by github-actions[bot] 12 months ago
Published by github-actions[bot] 12 months ago
mud.config
resolveUserTypes
for static arrays.resolveUserTypes
is used by deploy
, which prevented deploying tables with static arrays.Published by github-actions[bot] 12 months ago
Published by github-actions[bot] 12 months ago
Published by github-actions[bot] 12 months ago
isSchemaAbiType
helper function to check and narrow an unknown string to the SchemaAbiType
typePublished by github-actions[bot] 12 months ago
Published by github-actions[bot] 12 months ago
Published by github-actions[bot] 12 months ago
Published by github-actions[bot] 12 months ago