Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions .changeset/deprecate-background-foreground-app-state.md

This file was deleted.

12 changes: 12 additions & 0 deletions packages/browser/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @tapsioss/ripple-browser

## 2.3.2
### Patch Changes



- [#51](https://github.com/Tap30/ripple-ts/pull/51) [`83fb22c`](https://github.com/Tap30/ripple-ts/commit/83fb22c2c1b22fb4a14fa3d3a82721fd168b83e3) Thanks [@amir78729](https://github.com/amir78729)! - Deprecate "background" and "foreground" app state values

- Removed automatic background/foreground tracking via `visibilitychange` listener in the browser SDK.
- The `appOpened()` and `appClosed()` methods remain as the recommended way to track app lifecycle.
- Users can still programmatically call `client.events.appStateChanged()` with "background" or "foreground", but a deprecation warning will be logged.
- The initial app state is now `"closed"` instead of `"foreground"`.

## 2.3.1
### Patch Changes

Expand Down
2 changes: 1 addition & 1 deletion packages/browser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tapsioss/ripple-browser",
"version": "2.3.1",
"version": "2.3.2",
"description": "Official Ripple TypeScript SDK for browsers.",
"type": "module",
"main": "./dist/index.js",
Expand Down