New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@latticexyz/config

Package Overview
Dependencies
Maintainers
4
Versions
1614
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@latticexyz/config - npm Package Compare versions

Comparing version 1.41.0 to 1.42.0

dist/commonSchemas.d.ts

15

dist/index.d.ts

@@ -1,1 +0,14 @@

export {};
import { ExtractUserTypes, StringForUnion } from "./typeUtils.js";
import { StoreUserConfig, StoreConfig } from "./store/parseStoreConfig.js";
import { WorldUserConfig, ResolvedWorldConfig } from "./world/index.js";
export type MUDUserConfig<EnumNames extends StringForUnion = StringForUnion, StaticUserTypes extends ExtractUserTypes<EnumNames> = ExtractUserTypes<EnumNames>> = StoreUserConfig<EnumNames, StaticUserTypes> & WorldUserConfig;
export type MUDConfig = StoreConfig & ResolvedWorldConfig;
export declare function mudConfig<EnumNames extends StringForUnion = never, StaticUserTypes extends ExtractUserTypes<EnumNames> = ExtractUserTypes<EnumNames>>(config: MUDUserConfig<EnumNames, StaticUserTypes>): MUDUserConfig<EnumNames, StaticUserTypes>;
export * from "./commonSchemas.js";
export * from "./loadConfig.js";
export * from "./store/loadStoreConfig.js";
export * from "./store/parseStoreConfig.js";
export * from "./world/index.js";
export * from "./validation.js";
export * from "./dynamicResolution.js";
export * from "./errors.js";

18

package.json
{
"name": "@latticexyz/config",
"license": "MIT",
"version": "1.41.0",
"version": "1.42.0",
"description": "Config for Store and World",

@@ -16,6 +16,5 @@ "type": "module",

"scripts": {
"prepare": "yarn build",
"test": "echo 'TODO tests'",
"prepare": "pnpm build",
"test": "vitest typecheck --run",
"build": "vite build",
"link": "yarn link",
"release": "npm publish --access=public"

@@ -30,3 +29,12 @@ },

},
"gitHead": "914a1e0ae4a573d685841ca2ea921435057deb8f"
"dependencies": {
"@latticexyz/schema-type": "^1.42.0",
"chalk": "^5.2.0",
"esbuild": "^0.17.15",
"ethers": "^6.3.0",
"find-up": "^6.3.0",
"zod": "^3.21.4",
"zod-validation-error": "^1.3.0"
},
"gitHead": "ac0a61a9131ed2225a5342bd14f2d1354040511c"
}

@@ -1,2 +0,25 @@

// TODO stub
export {};
import { ExtractUserTypes, StringForUnion } from "./typeUtils.js";
import { StoreUserConfig, StoreConfig } from "./store/parseStoreConfig.js";
import { WorldUserConfig, ResolvedWorldConfig } from "./world/index.js";
export type MUDUserConfig<
EnumNames extends StringForUnion = StringForUnion,
StaticUserTypes extends ExtractUserTypes<EnumNames> = ExtractUserTypes<EnumNames>
> = StoreUserConfig<EnumNames, StaticUserTypes> & WorldUserConfig;
export type MUDConfig = StoreConfig & ResolvedWorldConfig;
export function mudConfig<
EnumNames extends StringForUnion = never,
StaticUserTypes extends ExtractUserTypes<EnumNames> = ExtractUserTypes<EnumNames>
>(config: MUDUserConfig<EnumNames, StaticUserTypes>) {
return config;
}
export * from "./commonSchemas.js";
export * from "./loadConfig.js";
export * from "./store/loadStoreConfig.js";
export * from "./store/parseStoreConfig.js";
export * from "./world/index.js";
export * from "./validation.js";
export * from "./dynamicResolution.js";
export * from "./errors.js";
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