@23blocks/sdk 12.1.1 → 12.1.2
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/CHANGELOG.md +11 -0
- package/llms.txt +13 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
## 12.1.2 (2026-03-04)
|
|
2
|
+
|
|
3
|
+
### 📖 Documentation
|
|
4
|
+
|
|
5
|
+
- add block-rag to llms.txt documentation (19 blocks) ([909382c](https://github.com/23blocks-OS/frontend-sdk/commit/909382c))
|
|
6
|
+
|
|
7
|
+
### ❤️ Thank You
|
|
8
|
+
|
|
9
|
+
- Claude Opus 4.6
|
|
10
|
+
- Juan Pelaez
|
|
11
|
+
|
|
1
12
|
## 12.1.1 (2026-03-04)
|
|
2
13
|
|
|
3
14
|
### 🧱 Updated Dependencies
|
package/llms.txt
CHANGED
|
@@ -39,7 +39,7 @@ The SDK is organized as independent npm packages:
|
|
|
39
39
|
@23blocks/contracts Core types: Transport, BlockConfig, HealthCheckResponse, IdentityCore, PageResult, ListParams
|
|
40
40
|
@23blocks/jsonapi-codec JSON:API v1.0 encoder/decoder
|
|
41
41
|
@23blocks/transport-http HTTP transport implementation (fetch-based)
|
|
42
|
-
@23blocks/block-*
|
|
42
|
+
@23blocks/block-* 19 feature blocks (Promise-based, framework-agnostic)
|
|
43
43
|
@23blocks/angular Angular services wrapping blocks (delegation pattern)
|
|
44
44
|
@23blocks/react React context + hooks wrapping blocks
|
|
45
45
|
```
|
|
@@ -315,7 +315,7 @@ const [authHealth, crmHealth] = await Promise.all([
|
|
|
315
315
|
]);
|
|
316
316
|
```
|
|
317
317
|
|
|
318
|
-
## All
|
|
318
|
+
## All 19 Blocks and Their Sub-Services
|
|
319
319
|
|
|
320
320
|
### authentication (block-authentication)
|
|
321
321
|
- `auth` - Sign in, sign up, sign out, password reset, magic links, invitations, email confirmation
|
|
@@ -465,6 +465,16 @@ const [authHealth, crmHealth] = await Promise.all([
|
|
|
465
465
|
- `quarters` - Quarterly planning
|
|
466
466
|
- `positions`, `employeeAssignments` - HR/positions
|
|
467
467
|
|
|
468
|
+
### rag (block-rag)
|
|
469
|
+
- `scope` - Per-scope document processing and vector querying (scopes: entities, accounts, contacts, users, storage, products)
|
|
470
|
+
- `process(scope, scopeId, fileId, processingMode?)` - Process a file for vector indexing (modes: ocr_text, face_similarity, visual_general)
|
|
471
|
+
- `getFileMetadata(scope, scopeId, fileId)` - Get file metadata
|
|
472
|
+
- `query(scope, scopeId, data)` - Semantic search with pagination, minScore, and reranking
|
|
473
|
+
- `files` - Generic file processing by file unique ID
|
|
474
|
+
- `jobs` - Async job status tracking (progress, pages, chunks, embeddings, timing)
|
|
475
|
+
- `images` - Image upload for vector indexing and unified search (text, image URL, base64, filters, similarity threshold)
|
|
476
|
+
- `products` - Product identification from images and unified product search
|
|
477
|
+
|
|
468
478
|
### rewards (block-rewards)
|
|
469
479
|
- `rewards` - Reward definitions
|
|
470
480
|
- `coupons`, `couponConfigurations`, `offerCodes` - Coupon system
|
|
@@ -529,7 +539,7 @@ const [authHealth, crmHealth] = await Promise.all([
|
|
|
529
539
|
## React Integration
|
|
530
540
|
|
|
531
541
|
```typescript
|
|
532
|
-
import { Blocks23Provider, useAuth, useSearch } from '@23blocks/react';
|
|
542
|
+
import { Blocks23Provider, useAuth, useSearch, useRagBlock } from '@23blocks/react';
|
|
533
543
|
|
|
534
544
|
function App() {
|
|
535
545
|
return (
|