• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

decentraland / lamb2 / 25817880401 / 1
83%
main: 83%

Build:
DEFAULT BRANCH: main
Ran 13 May 2026 06:17PM UTC
Files 82
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 May 2026 06:16PM UTC coverage: 82.91% (+1.7%) from 81.202%
25817880401.1

push

github

web-flow
feat: implement legacy lambdas endpoints in lamb2 (#462)

* feat: implement legacy lambdas endpoints in lamb2

ports the remaining endpoints from the deprecated lambdas service so all
callers under /lambdas/* can be served by lamb2 alone.

new endpoints:
- post /crypto/validate-signature: eip-1654 signature validation via
  the existing l1provider and @dcl/crypto's authenticator.
- get /collections/wearables-by-owner/:owner: returns [{urn, amount,
  definition?}] for the given owner. uses the existing wearablesfetcher
  for on-chain items, fetchthirdpartywearablesfromthirdpartyname for the
  ?collectionid= third-party path, and wearabledefinitionsfetcher for
  ?includedefinitions.
- get /collections/wearables: paginated catalog query with
  collectionid/wearableid/textsearch filters and limit/lastid cursor.
  off-chain (base avatars via fetchbasewearables) merged with on-chain
  l1+l2 collection subgraphs.
- get /profile/:id: alias to the existing profilehandler so the legacy
  singular path keeps working.

unit tests cover validation errors, happy paths, third-party delegation,
filter pass-through, and pagination cursor preservation.

* refactor: split catalog filter graph query into its own fetcher

moves the on-chain filter subgraph query out of the per-endpoint
wearables-catalog logic file and into logic/fetch-elements/, matching
the convention used by the other graph-query helpers (fetch-items,
fetch-third-party-wearables, fetch-name-owner, etc).

- new logic/fetch-elements/fetch-wearables-by-filters.ts: exports
  fetchWearablesByFilters(theGraph, criteria, pagination) -> string[]
  with the l1+l2 cursor handoff and item-type restriction.
- wearables-catalog-handler.ts now does the off-chain base avatar
  filter and the off-chain/on-chain merge inline. small enough to
  keep in the handler and removes the separate orchestration module.
- delete logic/wearables-catalog.ts.

new test/unit/logic/fetch-elements/fetch-wearables-by-filters.spec.ts
cove... (continued)

715 of 958 branches covered (74.63%)

Branch coverage included in aggregate %.

2026 of 2348 relevant lines covered (86.29%)

47.56 hits per line

Source Files on job 25817880401.1
  • Tree
  • List 82
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 25817880401
  • 12921131 on github
  • Prev Job for on main (#25073724316.1)
  • Next Job for on main (#26101361498.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc