@artblocks/abx-effects 0.1.0-alpha.47 → 0.1.0-alpha.49
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 +19 -0
- package/dist/harness.d.ts +6 -6
- package/dist/harness.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @artblocks/abx-effects
|
|
2
2
|
|
|
3
|
+
## 0.1.0-alpha.49
|
|
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
|
+
- @artblocks/abx-storage@0.1.0-alpha.49
|
|
13
|
+
|
|
14
|
+
## 0.1.0-alpha.48
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies [4d5e2b1]
|
|
19
|
+
- @artblocks/abx-sdk@0.1.0-alpha.48
|
|
20
|
+
- @artblocks/abx-storage@0.1.0-alpha.48
|
|
21
|
+
|
|
3
22
|
## 0.1.0-alpha.47
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
package/dist/harness.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { type Server } from 'node:http';
|
|
|
2
2
|
import { type Hex, type ProjectState, type PublicClient, type TokenState, type TokenDataResult } from '@artblocks/abx-sdk';
|
|
3
3
|
import type { StorageBackend } from '@artblocks/abx-storage';
|
|
4
4
|
/**
|
|
5
|
-
* The reference effect runner (`site/content/docs/protocol/effects.mdx
|
|
5
|
+
* The reference effect runner (`site/content/docs/protocol/effects.mdx`).
|
|
6
6
|
*
|
|
7
7
|
* An effect is a spine subscriber, so its natural form is a deployed, long-running
|
|
8
8
|
* service. This harness is effect-agnostic: an effect registers `{key, outputs, run}`;
|
|
@@ -29,15 +29,15 @@ export interface EffectContext {
|
|
|
29
29
|
liveViewUrl: string;
|
|
30
30
|
}
|
|
31
31
|
/** One declared output: the key naming the artifact + its MIME type, declared where the effect is
|
|
32
|
-
* declared (`site/content/docs/protocol/data-plane.mdx
|
|
32
|
+
* declared (`site/content/docs/protocol/data-plane.mdx`). The declared type is
|
|
33
33
|
* what the manifest and the serving surface speak; the per-run `EffectOutput.contentType` still
|
|
34
34
|
* travels with the bytes (a mismatch is logged, the declaration wins). */
|
|
35
35
|
export interface EffectOutputDecl {
|
|
36
36
|
key: string;
|
|
37
37
|
mimeType: string;
|
|
38
38
|
/**
|
|
39
|
-
* This output's content stitches into the metadata JSON
|
|
40
|
-
*
|
|
39
|
+
* This output's content stitches into the metadata JSON
|
|
40
|
+
* (`site/content/docs/protocol/effects.mdx#metadata-binding`) — `traits` today. Bound output is published as capped inline **bytes**, because a
|
|
41
41
|
* locator can't work: the resolver assembles the content into `tokenURI`, so a pointer there would
|
|
42
42
|
* put a third-party fetch on its hottest read.
|
|
43
43
|
*
|
|
@@ -83,7 +83,7 @@ export interface RunnerOptions {
|
|
|
83
83
|
/** When set, register each artifact with the resolver's control plane
|
|
84
84
|
* (POST /v1/effect-artifacts) so a resolver that does NOT share this backend's disk can serve it
|
|
85
85
|
* — a locator for referenced output, capped content for bound output
|
|
86
|
-
* (`site/content/docs/protocol/effects.mdx
|
|
86
|
+
* (`site/content/docs/protocol/effects.mdx#metadata-binding`). Requires a backend that exposes a locator;
|
|
87
87
|
* the constructor refuses otherwise. Bearer only; never signs on-chain. Omit for the co-located
|
|
88
88
|
* topology (runner + resolver share one backend). */
|
|
89
89
|
adminToken?: string;
|
|
@@ -182,7 +182,7 @@ export declare class EffectRunner {
|
|
|
182
182
|
/**
|
|
183
183
|
* Register one stored output with the resolver's control plane so a node that doesn't share this
|
|
184
184
|
* backend's disk can serve it. The form follows the output's DECLARED class
|
|
185
|
-
* (`site/content/docs/protocol/effects.mdx
|
|
185
|
+
* (`site/content/docs/protocol/effects.mdx#metadata-binding`), and the resolver enforces the same rule
|
|
186
186
|
* from its side — this is one contract, not a preference on either end:
|
|
187
187
|
*
|
|
188
188
|
* - **bound** (`traits`) → the content, capped. The resolver stitches it into the token JSON.
|
package/dist/harness.js
CHANGED
|
@@ -353,7 +353,7 @@ export class EffectRunner {
|
|
|
353
353
|
/**
|
|
354
354
|
* Register one stored output with the resolver's control plane so a node that doesn't share this
|
|
355
355
|
* backend's disk can serve it. The form follows the output's DECLARED class
|
|
356
|
-
* (`site/content/docs/protocol/effects.mdx
|
|
356
|
+
* (`site/content/docs/protocol/effects.mdx#metadata-binding`), and the resolver enforces the same rule
|
|
357
357
|
* from its side — this is one contract, not a preference on either end:
|
|
358
358
|
*
|
|
359
359
|
* - **bound** (`traits`) → the content, capped. The resolver stitches it into the token JSON.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@artblocks/abx-effects",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.49",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Reference rendering and effects runner for ABX projects.",
|
|
6
6
|
"type": "module",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"playwright": "1.63.0",
|
|
43
43
|
"viem": "^2.56.5",
|
|
44
|
-
"@artblocks/abx-sdk": "0.1.0-alpha.
|
|
45
|
-
"@artblocks/abx-storage": "0.1.0-alpha.
|
|
44
|
+
"@artblocks/abx-sdk": "0.1.0-alpha.49",
|
|
45
|
+
"@artblocks/abx-storage": "0.1.0-alpha.49"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"build": "tsc -b tsconfig.build.json"
|