@artblocks/abx-indexer 0.1.0-alpha.49 → 0.1.0-alpha.50
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 +10 -0
- package/dist/store.d.ts +5 -5
- package/dist/store.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @artblocks/abx-indexer
|
|
2
2
|
|
|
3
|
+
## 0.1.0-alpha.50
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 719b9fe: Make the bundled skill read network and sponsorship support from CLI capabilities and the live
|
|
8
|
+
service descriptor instead of a hardcoded network list. Refresh public documentation references in
|
|
9
|
+
the published packages.
|
|
10
|
+
- Updated dependencies [719b9fe]
|
|
11
|
+
- @artblocks/abx-sdk@0.1.0-alpha.49
|
|
12
|
+
|
|
3
13
|
## 0.1.0-alpha.49
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/dist/store.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export interface EffectArtifactRow {
|
|
|
40
40
|
contentType: string | null;
|
|
41
41
|
locator: string | null;
|
|
42
42
|
/**
|
|
43
|
-
* A **bound** output's content (`site/content/docs/protocol/effects.mdx
|
|
43
|
+
* A **bound** output's content (`site/content/docs/protocol/effects.mdx#metadata-binding`): the bytes that
|
|
44
44
|
* stitch into the metadata JSON — `render/traits` today. Capped at
|
|
45
45
|
* {@link BOUND_ARTIFACT_MAX_BYTES}; `null` for every **referenced** output, whose bytes stay with
|
|
46
46
|
* the producer and reach us only as `locator`.
|
|
@@ -54,12 +54,12 @@ export interface EffectArtifactRow {
|
|
|
54
54
|
updatedAt?: string;
|
|
55
55
|
}
|
|
56
56
|
/** The cap a serving node MUST accept per bound output, and MUST refuse above
|
|
57
|
-
* (`site/content/docs/
|
|
57
|
+
* (`site/content/docs/protocol/effects.mdx#metadata-binding`). ~100× a real
|
|
58
58
|
* traits payload: generous for what it is for, far too small to become blob storage. */
|
|
59
59
|
export declare const BOUND_ARTIFACT_MAX_BYTES: number;
|
|
60
60
|
/**
|
|
61
|
-
* Where one project sits in the indexing lifecycle (`site/content/docs/using-abx/remote-services.mdx`
|
|
62
|
-
*
|
|
61
|
+
* Where one project sits in the indexing lifecycle (`site/content/docs/using-abx/remote-services.mdx`) —
|
|
62
|
+
* what the control plane's `status`/list routes report and what
|
|
63
63
|
* `abx status` prints, for a managed provider and for your own node in the same words.
|
|
64
64
|
*
|
|
65
65
|
* Deliberately its OWN table, not columns on `registrations`: `register()` is a full-column upsert,
|
|
@@ -140,7 +140,7 @@ export interface Store {
|
|
|
140
140
|
* Drop the **bound** content of every superseded row for (project, token, effectKey, outputKey) —
|
|
141
141
|
* everything whose `inputs_hash` isn't `currentHash`.
|
|
142
142
|
*
|
|
143
|
-
* The spec makes this a **MAY**, not a MUST (`site/content/docs/protocol/effects.mdx
|
|
143
|
+
* The spec makes this a **MAY**, not a MUST (`site/content/docs/protocol/effects.mdx#metadata-binding`):
|
|
144
144
|
* what's normative is that superseded content is never *served* or stitched, which leaves it with
|
|
145
145
|
* no legal reader. Dropping it is therefore free of consequence, and this node drops eagerly — on
|
|
146
146
|
* each bound registration — because that is what turns "held bytes" into
|
package/dist/store.js
CHANGED
|
@@ -3,7 +3,7 @@ import { existsSync, mkdirSync, rmSync } from 'node:fs';
|
|
|
3
3
|
import { resolve } from 'node:path';
|
|
4
4
|
import { resolveDataDir } from '@artblocks/abx-sdk/node';
|
|
5
5
|
/** The cap a serving node MUST accept per bound output, and MUST refuse above
|
|
6
|
-
* (`site/content/docs/
|
|
6
|
+
* (`site/content/docs/protocol/effects.mdx#metadata-binding`). ~100× a real
|
|
7
7
|
* traits payload: generous for what it is for, far too small to become blob storage. */
|
|
8
8
|
export const BOUND_ARTIFACT_MAX_BYTES = 64 * 1024;
|
|
9
9
|
// The data plane's effect-artifact registry (`site/content/docs/protocol/data-plane.mdx`): one row per declared
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@artblocks/abx-indexer",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.50",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Reference ABX indexer that rebuilds project state from on-chain events.",
|
|
6
6
|
"type": "module",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"viem": "^2.56.5",
|
|
42
|
-
"@artblocks/abx-sdk": "0.1.0-alpha.
|
|
42
|
+
"@artblocks/abx-sdk": "0.1.0-alpha.49"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|
|
45
45
|
"build": "tsc -b tsconfig.build.json"
|