diff --git a/.changeset/shiny-donuts-matter.md b/.changeset/shiny-donuts-matter.md new file mode 100644 index 0000000000..feb581c6da --- /dev/null +++ b/.changeset/shiny-donuts-matter.md @@ -0,0 +1,5 @@ +--- +"create-mud": patch +--- + +Made `worlds.json`'s `address` type more like viem's `Hex` type so it's easy to pass through as an argument. diff --git a/e2e/packages/contracts/worlds.json.d.ts b/e2e/packages/contracts/worlds.json.d.ts index 90ffc786f4..494829c2f9 100644 --- a/e2e/packages/contracts/worlds.json.d.ts +++ b/e2e/packages/contracts/worlds.json.d.ts @@ -1,2 +1,2 @@ -declare const worlds: Partial>; +declare const worlds: Partial>; export default worlds; diff --git a/examples/minimal/packages/contracts/worlds.json.d.ts b/examples/minimal/packages/contracts/worlds.json.d.ts index 90ffc786f4..494829c2f9 100644 --- a/examples/minimal/packages/contracts/worlds.json.d.ts +++ b/examples/minimal/packages/contracts/worlds.json.d.ts @@ -1,2 +1,2 @@ -declare const worlds: Partial>; +declare const worlds: Partial>; export default worlds; diff --git a/examples/multiple-accounts/packages/contracts/worlds.json.d.ts b/examples/multiple-accounts/packages/contracts/worlds.json.d.ts index 90ffc786f4..494829c2f9 100644 --- a/examples/multiple-accounts/packages/contracts/worlds.json.d.ts +++ b/examples/multiple-accounts/packages/contracts/worlds.json.d.ts @@ -1,2 +1,2 @@ -declare const worlds: Partial>; +declare const worlds: Partial>; export default worlds; diff --git a/templates/phaser/packages/contracts/worlds.json.d.ts b/templates/phaser/packages/contracts/worlds.json.d.ts index 90ffc786f4..494829c2f9 100644 --- a/templates/phaser/packages/contracts/worlds.json.d.ts +++ b/templates/phaser/packages/contracts/worlds.json.d.ts @@ -1,2 +1,2 @@ -declare const worlds: Partial>; +declare const worlds: Partial>; export default worlds; diff --git a/templates/react-ecs/packages/contracts/worlds.json.d.ts b/templates/react-ecs/packages/contracts/worlds.json.d.ts index 90ffc786f4..494829c2f9 100644 --- a/templates/react-ecs/packages/contracts/worlds.json.d.ts +++ b/templates/react-ecs/packages/contracts/worlds.json.d.ts @@ -1,2 +1,2 @@ -declare const worlds: Partial>; +declare const worlds: Partial>; export default worlds; diff --git a/templates/react/packages/contracts/worlds.json.d.ts b/templates/react/packages/contracts/worlds.json.d.ts index 90ffc786f4..494829c2f9 100644 --- a/templates/react/packages/contracts/worlds.json.d.ts +++ b/templates/react/packages/contracts/worlds.json.d.ts @@ -1,2 +1,2 @@ -declare const worlds: Partial>; +declare const worlds: Partial>; export default worlds; diff --git a/templates/threejs/packages/contracts/worlds.json.d.ts b/templates/threejs/packages/contracts/worlds.json.d.ts index 90ffc786f4..494829c2f9 100644 --- a/templates/threejs/packages/contracts/worlds.json.d.ts +++ b/templates/threejs/packages/contracts/worlds.json.d.ts @@ -1,2 +1,2 @@ -declare const worlds: Partial>; +declare const worlds: Partial>; export default worlds; diff --git a/templates/vanilla/packages/contracts/worlds.json.d.ts b/templates/vanilla/packages/contracts/worlds.json.d.ts index 90ffc786f4..494829c2f9 100644 --- a/templates/vanilla/packages/contracts/worlds.json.d.ts +++ b/templates/vanilla/packages/contracts/worlds.json.d.ts @@ -1,2 +1,2 @@ -declare const worlds: Partial>; +declare const worlds: Partial>; export default worlds;