-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into holic/mud-pull
- Loading branch information
Showing
85 changed files
with
2,562 additions
and
473 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@latticexyz/explorer": patch | ||
--- | ||
|
||
Observe tab is now populated by transactions flowing through the world, in addition to local transactions when using the `observer` transport wrapper. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@latticexyz/block-logs-stream": patch | ||
--- | ||
|
||
`fetchLogs` and `blockRangeToLogs` now accept a `getLogs` option to override the default behavior. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@latticexyz/store": patch | ||
--- | ||
|
||
Added `getStoreLogs` and `flattenStoreLogs` to aid in fetching data from store contracts. For now, these are internal exports and considered unstable/experimental. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@latticexyz/store-sync": patch | ||
--- | ||
|
||
Added support for streaming logs from the indexer. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@latticexyz/explorer": patch | ||
--- | ||
|
||
Observe tab is now populated by rejected transactions coming from the `observer` transport wrapper. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@latticexyz/cli": patch | ||
--- | ||
|
||
Deployer now has a better method for fetching store logs from the world that should be more efficient and resilient to block range errors and rate limiting. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@latticexyz/store": patch | ||
--- | ||
|
||
Added an `unwrap` function to the `ResourceIdInstance` library to make it easier to unwrap a `ResourceId` with `resourceId.unwrap()`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
"@latticexyz/common": patch | ||
--- | ||
|
||
Added `logSort` method to help when sorting logs fetched from RPC, where they come back ordered relative to the topics used. | ||
|
||
```ts | ||
import { logSort } from "@latticexyz/common"; | ||
|
||
const logs = getLogs(...); | ||
logs.sort(logSort); | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ | |
"build": "turbo run build", | ||
"changelog:generate": "tsx scripts/changelog.ts", | ||
"clean": "turbo run clean", | ||
"dev": "TSUP_SKIP_DTS=true turbo run dev --concurrency 100", | ||
"dev": "TSUP_SKIP_DTS=true turbo run dev --concurrency 100 --filter !@latticexyz/explorer", | ||
"dist-tag-rm": "pnpm recursive exec -- sh -c 'npm dist-tag rm $(cat package.json | jq -r \".name\") $TAG || true'", | ||
"docs:generate:api": "tsx scripts/render-api-docs.ts", | ||
"fix:package-json": "sort-package-json package.json 'packages/*/package.json' 'templates/*/package.json' 'templates/*/packages/*/package.json' 'examples/*/package.json' 'examples/*/packages/*/package.json' 'e2e/*/package.json' 'e2e/*/packages/*/package.json' 'docs/package.json' 'test/*/package.json'", | ||
|
@@ -25,10 +25,12 @@ | |
"release:check": "changeset status --verbose --since=origin/main", | ||
"release:publish": "pnpm install && pnpm build && changeset publish", | ||
"release:version": "changeset version && pnpm install --lockfile-only && pnpm run changelog:generate", | ||
"test": "pnpm run --recursive test", | ||
"test:ci": "pnpm run --recursive --parallel test:ci", | ||
"test": "pnpm run test:setup && pnpm run --recursive test", | ||
"test:ci": "pnpm run test:setup && pnpm run --recursive test:ci", | ||
"test:setup": "tsx test-setup/startAnvil.ts & pnpm run --filter mock-game-contracts build", | ||
"type-bench": "pnpm --filter ./test/ts-benchmarks bench", | ||
"type-stats-repo": "attest stats packages/*" | ||
"type-stats-repo": "attest stats packages/*", | ||
"vercel:prepare": "(forge --version || pnpm foundryup) && ln -sf /vercel/.foundry/bin/* node_modules/.bin/ && forge --version" | ||
}, | ||
"lint-staged": { | ||
"*.{ts,tsx}": "eslint --cache --fix", | ||
|
@@ -41,9 +43,10 @@ | |
"@types/node": "^18.15.11", | ||
"@typescript-eslint/eslint-plugin": "7.1.1", | ||
"@typescript-eslint/parser": "7.1.1", | ||
"@viem/anvil": "^0.0.7", | ||
"chalk": "^5.2.0", | ||
"eslint": "8.57.0", | ||
"execa": "^7.0.0", | ||
"execa": "^9.4.0", | ||
"glob": "^10.4.2", | ||
"husky": ">=6", | ||
"lint-staged": "^15.2.10", | ||
|
@@ -53,11 +56,13 @@ | |
"sort-package-json": "^2.10.1", | ||
"tsx": "4.16.2", | ||
"turbo": "^1.9.3", | ||
"typescript": "5.4.2" | ||
"typescript": "5.4.2", | ||
"viem": "catalog:", | ||
"vitest": "2.1.2" | ||
}, | ||
"packageManager": "[email protected]", | ||
"engines": { | ||
"node": "^18.20.1", | ||
"node": "18.x || 20.x", | ||
"pnpm": "^9.6.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.