@proveanything/smartlinks 1.9.8 → 1.9.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.9.8 | Generated: 2026-03-28T16:35:31.687Z
3
+ Version: 1.9.9 | Generated: 2026-03-29T11:21:20.234Z
4
4
 
5
5
  This is a concise summary of all available API functions and types.
6
6
 
@@ -576,8 +576,7 @@ const usageStats = await app.records.aggregate(collectionId, appId, {
576
576
 
577
577
  ## Public Create Policies
578
578
 
579
- Control who can create objects on **public endpoints** using Firestore-based policies at:
580
- `sites/{collectionId}/apps/{appId}.publicCreate`
579
+ Control who can create objects on **public endpoints** by setting a `publicCreate` policy on your app's config. This is a `publicCreate` field inside your app config object (identified by `appId` within your collection).
581
580
 
582
581
  ### Policy Structure
583
582
 
@@ -901,7 +900,7 @@ For high-volume queries, consider:
901
900
  - Filter by `status`, `recordType`, or `category` to reduce result sets
902
901
  - Use `limit` and `offset` for pagination (max 500 per page)
903
902
  - Use aggregations instead of fetching all records and counting client-side
904
- - Index commonly filtered fields in Firestore if you add custom indexes
903
+ - Index commonly filtered fields if you add custom indexes
905
904
 
906
905
  ### Status Conventions
907
906
 
@@ -1,6 +1,6 @@
1
1
  # Smartlinks API Summary
2
2
 
3
- Version: 1.9.8 | Generated: 2026-03-28T16:35:31.687Z
3
+ Version: 1.9.9 | Generated: 2026-03-29T11:21:20.234Z
4
4
 
5
5
  This is a concise summary of all available API functions and types.
6
6
 
@@ -576,8 +576,7 @@ const usageStats = await app.records.aggregate(collectionId, appId, {
576
576
 
577
577
  ## Public Create Policies
578
578
 
579
- Control who can create objects on **public endpoints** using Firestore-based policies at:
580
- `sites/{collectionId}/apps/{appId}.publicCreate`
579
+ Control who can create objects on **public endpoints** by setting a `publicCreate` policy on your app's config. This is a `publicCreate` field inside your app config object (identified by `appId` within your collection).
581
580
 
582
581
  ### Policy Structure
583
582
 
@@ -901,7 +900,7 @@ For high-volume queries, consider:
901
900
  - Filter by `status`, `recordType`, or `category` to reduce result sets
902
901
  - Use `limit` and `offset` for pagination (max 500 per page)
903
902
  - Use aggregations instead of fetching all records and counting client-side
904
- - Index commonly filtered fields in Firestore if you add custom indexes
903
+ - Index commonly filtered fields if you add custom indexes
905
904
 
906
905
  ### Status Conventions
907
906
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proveanything/smartlinks",
3
- "version": "1.9.8",
3
+ "version": "1.9.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",