@liquidcommerce/elements-sdk 2.5.5-beta.1 → 2.5.5-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1766,25 +1766,6 @@ window.addEventListener('lce:actions.product_add_to_cart', (event) => {
1766
1766
  });
1767
1767
  ```
1768
1768
 
1769
- ### Circuit Breaker
1770
-
1771
- The SDK includes a circuit breaker pattern to prevent cascading failures:
1772
-
1773
- ```js
1774
- // Automatically handles API failures
1775
- // - After 5 consecutive failures, circuit opens
1776
- // - Requests fail fast without hitting the API
1777
- // - After 30 seconds, circuit half-opens
1778
- // - Next successful request closes the circuit
1779
- ```
1780
-
1781
- **Circuit states:**
1782
- - **Closed:** Normal operation, all requests go through
1783
- - **Open:** API is failing, requests fail fast
1784
- - **Half-Open:** Testing if API recovered, limited requests allowed
1785
-
1786
- This protects your site from slowdowns when the API is experiencing issues.
1787
-
1788
1769
  ### Fingerprinting
1789
1770
 
1790
1771
  The SDK generates a unique device fingerprint for fraud prevention and analytics:
@@ -1909,7 +1890,6 @@ Core services are managed as singletons:
1909
1890
  // - PubSub
1910
1891
  // - Logger
1911
1892
  // - Telemetry
1912
- // - CircuitBreaker
1913
1893
  // - Fingerprint
1914
1894
  // - Auth
1915
1895