@proveanything/smartlinks 1.5.2 → 1.5.3

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.
@@ -11,7 +11,7 @@ export var app;
11
11
  */
12
12
  function basePath(collectionId, appId, admin = false) {
13
13
  const zone = admin ? 'admin' : 'public';
14
- return `/api/v1/${zone}/collection/${encodeURIComponent(collectionId)}/app/${encodeURIComponent(appId)}/cases`;
14
+ return `/${zone}/collection/${encodeURIComponent(collectionId)}/app/${encodeURIComponent(appId)}/cases`;
15
15
  }
16
16
  /**
17
17
  * Create a new case
@@ -105,7 +105,7 @@ export var app;
105
105
  */
106
106
  function basePath(collectionId, appId, admin = false) {
107
107
  const zone = admin ? 'admin' : 'public';
108
- return `/api/v1/${zone}/collection/${encodeURIComponent(collectionId)}/app/${encodeURIComponent(appId)}/threads`;
108
+ return `/${zone}/collection/${encodeURIComponent(collectionId)}/app/${encodeURIComponent(appId)}/threads`;
109
109
  }
110
110
  /**
111
111
  * Create a new thread
@@ -182,7 +182,7 @@ export var app;
182
182
  */
183
183
  function basePath(collectionId, appId, admin = false) {
184
184
  const zone = admin ? 'admin' : 'public';
185
- return `/api/v1/${zone}/collection/${encodeURIComponent(collectionId)}/app/${encodeURIComponent(appId)}/records`;
185
+ return `/${zone}/collection/${encodeURIComponent(collectionId)}/app/${encodeURIComponent(appId)}/records`;
186
186
  }
187
187
  /**
188
188
  * Create a new record
@@ -1,6 +1,6 @@
1
1
  # Smartlinks API Summary
2
2
 
3
- Version: 1.5.2 | Generated: 2026-02-23T22:58:57.327Z
3
+ Version: 1.5.3 | Generated: 2026-02-25T13:03:38.388Z
4
4
 
5
5
  This is a concise summary of all available API functions and types.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Smartlinks API Summary
2
2
 
3
- Version: 1.5.2 | Generated: 2026-02-23T22:58:57.327Z
3
+ Version: 1.5.3 | Generated: 2026-02-25T13:03:38.388Z
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.5.2",
3
+ "version": "1.5.3",
4
4
  "description": "Official JavaScript/TypeScript SDK for the Smartlinks API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",