@secondlayer/sdk 6.21.1 → 6.21.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.
Files changed (2) hide show
  1. package/README.md +6 -6
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -36,14 +36,14 @@ plan's tier.
36
36
 
37
37
  ## Mental model
38
38
 
39
- - `sl.streams` reads raw ordered L1 events from Stacks Streams.
40
- - `sl.index` reads the decoded L2 layer from Stacks Index — FT/NFT transfers, all event types (`events`), and `contractCalls`.
39
+ - `sl.streams` reads raw ordered chain events from Stacks Streams.
40
+ - `sl.index` reads the decoded layer from Stacks Index — FT/NFT transfers, all event types (`events`), and `contractCalls`.
41
41
  - `sl.contracts` finds deployed contracts by trait (SIP-009/010/013).
42
- - `sl.subgraphs` reads app-specific L3 tables from Stacks Subgraphs.
42
+ - `sl.subgraphs` reads app-specific tables from Stacks Subgraphs.
43
43
 
44
44
  ## Stacks Streams
45
45
 
46
- Typed L1 HTTP client. Reads require a bearer token (`apiKey`).
46
+ Typed HTTP client for the raw event firehose. Reads require a bearer token (`apiKey`).
47
47
 
48
48
  ```typescript
49
49
  const tip = await sl.streams.tip();
@@ -219,7 +219,7 @@ helpers beside `src/streams/ft-transfer.ts` and export them through
219
219
 
220
220
  ## Stacks Index
221
221
 
222
- Decoded L2 transfer events.
222
+ Decoded transfer events.
223
223
 
224
224
  ```typescript
225
225
  const ftPage = await sl.index.ftTransfers.list({
@@ -316,7 +316,7 @@ Exported types: `TransactionProof`, `TransactionProofVerifyResult`, `RewardSet`.
316
316
 
317
317
  ## Stacks Subgraphs
318
318
 
319
- Deploy and query app-specific L3 tables.
319
+ Deploy and query app-specific tables.
320
320
 
321
321
  Subgraphs and subscriptions live on the platform API alongside Streams and Index. Deploying and managing them needs your `sk-sl_` key — no extra setup, no tenant URL.
322
322
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secondlayer/sdk",
3
- "version": "6.21.1",
3
+ "version": "6.21.2",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -40,9 +40,9 @@
40
40
  "prepublishOnly": "bun run build"
41
41
  },
42
42
  "dependencies": {
43
- "@secondlayer/shared": "^6.30.0",
43
+ "@secondlayer/shared": "^6.31.0",
44
44
  "@secondlayer/stacks": "^2.5.1",
45
- "@secondlayer/subgraphs": "^3.11.0"
45
+ "@secondlayer/subgraphs": "^3.12.0"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/bun": "latest",