@freeappstore/sdk 0.15.8 → 0.15.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.
package/README.md CHANGED
@@ -106,7 +106,7 @@ Limits (server-enforced): 32 peers per room, 100 msgs/sec per peer, 4KB per mess
106
106
  Simple document store for apps that need public, queryable data. No SQL required — just JSON in, JSON out.
107
107
 
108
108
  ```ts
109
- const posts = fas.db.collection('posts');
109
+ const posts = fas.collections.collection('posts');
110
110
 
111
111
  // Create (auth required, you become the owner)
112
112
  const post = await posts.create({ title: 'Hello', body: '...' });
package/dist/logger.d.ts CHANGED
@@ -35,7 +35,7 @@ export interface BuildMeta {
35
35
  viewport: string;
36
36
  theme?: string | undefined;
37
37
  }
38
- export declare const SDK_VERSION = "0.15.7";
38
+ export declare const SDK_VERSION = "0.15.8";
39
39
  export declare class Logger {
40
40
  private readonly appId;
41
41
  private readonly apiBase;
package/dist/logger.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // Must track package.json version — bumped on release. Guarded by version.test.ts
2
2
  // so a forgotten bump fails CI instead of silently misattributing telemetry.
3
- export const SDK_VERSION = '0.15.7';
3
+ export const SDK_VERSION = '0.15.8';
4
4
  const MEMORY_LIMIT = 200;
5
5
  const STORAGE_LIMIT = 500;
6
6
  const STORAGE_KEY_PREFIX = 'fas_logs:';
package/dist/rooms.d.ts CHANGED
@@ -10,7 +10,7 @@ import type { Unsubscribe } from './types.js';
10
10
  * - max 32 concurrent peers per room
11
11
  * - max 100 messages/sec per peer
12
12
  * - max 4KB per message
13
- * - max 64 active rooms per app (LRU evicts the oldest)
13
+ * - max 64 active rooms per app (new rooms rejected with 429 at capacity)
14
14
  * - rooms idle for 24h are auto-evicted
15
15
  */
16
16
  export interface RoomPeer {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@freeappstore/sdk",
3
- "version": "0.15.8",
4
- "description": "Browser SDK for apps on freeappstore.online — auth, per-user KV, shared counters, document collections, real-time rooms, API proxy, user API key vault, RBAC roles, React hooks, and 18 UI components.",
3
+ "version": "0.15.9",
4
+ "description": "Browser SDK for FreeAppStore — auth, KV, collections, counters, rooms, proxy, encrypted user keys, roles, friends, email, push reminders, React hooks, and UI components.",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "main": "./dist/index.js",