@proveanything/smartlinks 1.14.7 → 1.14.9

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.
@@ -1,6 +1,6 @@
1
1
  # Smartlinks API Summary
2
2
 
3
- Version: 1.14.7 | Generated: 2026-05-16T13:30:13.413Z
3
+ Version: 1.14.9 | Generated: 2026-05-16T17:02:20.703Z
4
4
 
5
5
  This is a concise summary of all available API functions and types.
6
6
 
package/dist/http.js CHANGED
@@ -101,8 +101,11 @@ function getTtlForPath(path) {
101
101
  function shouldSkipCache(path) {
102
102
  if (!cacheEnabled)
103
103
  return true;
104
- // Never cache auth endpoints — they deal with tokens and session state.
105
- if (/\/auth\//i.test(path))
104
+ // Never cache auth, account, or user-identity endpoints — they depend on session state.
105
+ if (/\/(auth|account)\//i.test(path))
106
+ return true;
107
+ // Never cache /me endpoints (contact/me, loyalty/me, etc.) — always user-specific.
108
+ if (/\/me(\?|$)/i.test(path))
106
109
  return true;
107
110
  return false;
108
111
  }
@@ -1,6 +1,6 @@
1
1
  # Smartlinks API Summary
2
2
 
3
- Version: 1.14.7 | Generated: 2026-05-16T13:30:13.413Z
3
+ Version: 1.14.9 | Generated: 2026-05-16T17:02:20.703Z
4
4
 
5
5
  This is a concise summary of all available API functions and types.
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proveanything/smartlinks",
3
- "version": "1.14.7",
3
+ "version": "1.14.9",
4
4
  "description": "Official JavaScript/TypeScript SDK for the Smartlinks API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",