Supported on
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()takesmeshQualityandtextureQualityto trade detail for download size. ERR_NOT_INITIALIZED. A friends' Bitmoji call beforeinit()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 aleaderboardId. 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.leaderboardssubmits a score withsubmitScore()and opens the Lens's leaderboard withshow(). - Bitmoji.
snapchat.bitmojibrings the Snapchatter's own Bitmoji into the Lens as a 3D model withget3DAvatar()or as an image withget2DAvatar().getVariants()lists the image variants, andgetAvatarInfo()reports whether the Snapchatter has a Bitmoji. - Storage.
snapchat.storageis a key-value store tied to the Snapchatter's account, withget(),set(),remove(),clear(),keys(), andgetInfo().
Was this page helpful?