ttp-agent-sdk 2.38.1 → 2.38.4

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/dist/_headers CHANGED
@@ -1,6 +1,16 @@
1
1
  # Cloudflare Pages Headers Configuration
2
2
  # This file configures HTTP headers for all files served via Cloudflare Pages
3
3
 
4
+ # SDK JS files: always revalidate so new deploys are picked up immediately
5
+ /agent-widget.js
6
+ Cache-Control: public, max-age=0, must-revalidate
7
+
8
+ /agent-widget.esm.js
9
+ Cache-Control: public, max-age=0, must-revalidate
10
+
11
+ /agent-widget.dev.js
12
+ Cache-Control: public, max-age=0, must-revalidate
13
+
4
14
  # CORS headers for audio-processor.js (required for AudioWorklet)
5
15
  # AudioWorklet requires CORS headers to load from CDN
6
16
  # NOTE: Only this specific rule is needed - do not add wildcard rules that would duplicate headers
@@ -9,4 +19,5 @@
9
19
  Access-Control-Allow-Methods: GET, OPTIONS
10
20
  Access-Control-Allow-Headers: Content-Type
11
21
  Content-Type: application/javascript
22
+ Cache-Control: public, max-age=0, must-revalidate
12
23