Skip to main content
Supported on
Snapchat

Release notes

Each release of the @snap/web-lens-api package is listed here, newest first, with what it adds and where to read more. The API reference lists every method, type, and error code for the current release.

0.2.0​

November 23, 2026

  • Lens+. Gate content behind Lens+ and offer the upgrade with snapchat.subscription.
  • Haptics. Vibrate the phone with snapchat.haptics.
  • Friends' Bitmoji. bitmoji.getFriendAvatars() returns some of the Snapchatter's friends, where Snapchat serves them.
  • Smaller 3D models. get3DAvatar() takes meshQuality and textureQuality to trade detail for download size.
  • ERR_NOT_INITIALIZED. A friends' Bitmoji call before init() resolves rejects with this code.

0.1.3​

November 10, 2026

No API changes. The package metadata adds a link to the repository.

0.1.2​

October 11, 2026

No API changes. The documentation comments for storage errors and the Bitmoji rig are clearer.

0.1.1​

October 8, 2026

  • Leaderboards. submitScore() no longer needs a leaderboardId. The field is now optional and deprecated, so omit it.

0.1.0​

October 5, 2026

The first release of the Web Lens API adds three capabilities:

  • Leaderboards. snapchat.leaderboards submits a score with submitScore() and opens the Lens's leaderboard with show().
  • Bitmoji. snapchat.bitmoji brings the Snapchatter's own Bitmoji into the Lens as a 3D model with get3DAvatar() or as an image with get2DAvatar(). getVariants() lists the image variants, and getAvatarInfo() reports whether the Snapchatter has a Bitmoji.
  • Storage. snapchat.storage is a key-value store tied to the Snapchatter's account, with get(), set(), remove(), clear(), keys(), and getInfo().
Was this page helpful?
Yes
No