Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@latticexyz/gas-report

Package Overview
Dependencies
Maintainers
0
Versions
1194
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@latticexyz/gas-report - npm Package Versions

1
118

2.2.15-entrykit-4326c74abc6e8b04c197c1d934c66479513f0088

Diff

alvarius
published 2.2.15-entrykit-13527f5f7f5c4fe520c3a1821954ec8b3b90a4d6 •

alvarius
published 2.2.15-main-ee388ed599b051400a6f1fc5d4c5d369e466ad92 •

alvarius
published 2.2.15-entrykit-9f0ee911810e31864d43850cedf0a4e4aff3022e •

alvarius
published 2.2.15-entrykit-91970a719732c2561e424893793ffbd1ab4f3267 •

alvarius
published 2.2.15-main-b8afc07a8fab2a504943e7329ee80413d71d4d3f •

alvarius
published 2.2.15-main-9c1ca41560e2b3b319976794a73807f391e78b1b •

alvarius
published 2.2.14 •

Changelog

Source

Version 2.2.14

Release date: Thu Oct 24 2024

Patch changes

fix(cli): support public library methods in modules (#3308) (@latticexyz/cli)

Added support for deploying public libraries used within modules.

fix(cli): support public library methods in modules (#3308) (@latticexyz/world-module-erc20, @latticexyz/world-modules)

Changed ERC20 and ERC721 related modules to use public library methods instead of manual delegatecalls.

feat(stash): add useStash and improve other helpers (#3320) (@latticexyz/stash)

Added useStash React hook. It's heavily inspired by Zustand's useStore and accepts a stash, a state selector, an an optional equality function to avoid unnecessary re-render cycles when returning unstable values.

Also updated getRecord and getRecords to each take either a stash or state object for more ergonomic use with useStash.

import { useStash } from "@latticexyz/stash/react";
import { getRecord } from "@latticexyz/stash";
import config from "../mud.config";

const tables = config.namespaces.app.tables;

export function PlayerName({ playerId }) {
  const record = useStash(stash, (state) => getRecord({ state, table: tables.Player, key: { playerId } }));
  ...
}
import isEqual from "fast-deep-equal";
import { useStash } from "@latticexyz/stash/react";
import { getRecords } from "@latticexyz/stash";
import config from "../mud.config";

export function PlayerNames() {
  const record = useStash(stash, (state) => getRecords({ state, table: tables.Player }), { isEqual });
  ...
}

alvarius
published 2.2.14-main-d0aea26daa4afea86986c7cc1f67241a3cdd2735 •

alvarius
published 2.2.14-entrykit-0033091d2b5b5121bd189a276f2e781140ccf2d0 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc