@artblocks/abx-sdk 0.1.0-alpha.48 → 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 +8 -0
- package/dist/generator.d.ts +2 -2
- package/dist/onchain-uri.d.ts +2 -2
- package/dist/onchain-uri.js +2 -2
- package/dist/service.d.ts +1 -1
- package/dist/tokendata.d.ts +1 -1
- package/dist/tokendata.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @artblocks/abx-sdk
|
|
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
|
+
|
|
3
11
|
## 0.1.0-alpha.48
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/dist/generator.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The canonical on-chain generator
|
|
3
|
-
*
|
|
2
|
+
* The canonical on-chain generator, `AbxGenerator`
|
|
3
|
+
* (`site/content/docs/protocol/code-projects.mdx#rendering`). One field renderer for the `animation_url` field serving both
|
|
4
4
|
* code custody modes: **template** (script chunks → the full HTML document, chain-complete
|
|
5
5
|
* when every dependency resolves to on-chain bytes) and **directory** (`code` field → a
|
|
6
6
|
* parameterized gateway URL, `text/uri-list` → landed verbatim by the metadata renderer).
|
package/dist/onchain-uri.d.ts
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* The on-chain tokenURI lane for code projects (`abx deploy-code --onchain-uri`) — pure leg
|
|
3
3
|
* composition + the verify-time honesty reads, all unit-testable with a mocked client.
|
|
4
4
|
*
|
|
5
|
-
* The lane (site/content/docs/protocol/code-projects.mdx
|
|
6
|
-
* site/content/docs/protocol/metadata.mdx
|
|
5
|
+
* The lane (site/content/docs/protocol/code-projects.mdx#rendering +
|
|
6
|
+
* site/content/docs/protocol/metadata.mdx#uri-resolution): the collection-scope `animation_url`
|
|
7
7
|
* field points at the canonical generator via the `renderer` representation
|
|
8
8
|
* (`abi.encode(address)`), and the token's `tokenURIRenderer` toggles tokenURI to the canonical
|
|
9
9
|
* on-chain metadata renderer (`setContractURIRenderer` does the same for contractURI). Both ride
|
package/dist/onchain-uri.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* The on-chain tokenURI lane for code projects (`abx deploy-code --onchain-uri`) — pure leg
|
|
3
3
|
* composition + the verify-time honesty reads, all unit-testable with a mocked client.
|
|
4
4
|
*
|
|
5
|
-
* The lane (site/content/docs/protocol/code-projects.mdx
|
|
6
|
-
* site/content/docs/protocol/metadata.mdx
|
|
5
|
+
* The lane (site/content/docs/protocol/code-projects.mdx#rendering +
|
|
6
|
+
* site/content/docs/protocol/metadata.mdx#uri-resolution): the collection-scope `animation_url`
|
|
7
7
|
* field points at the canonical generator via the `renderer` representation
|
|
8
8
|
* (`abi.encode(address)`), and the token's `tokenURIRenderer` toggles tokenURI to the canonical
|
|
9
9
|
* on-chain metadata renderer (`setContractURIRenderer` does the same for contractURI). Both ride
|
package/dist/service.d.ts
CHANGED
|
@@ -52,7 +52,7 @@ export declare const CREATOR_WALLET_INTERFACE = "abx-creator-wallet/v1";
|
|
|
52
52
|
export declare function locatorRejectionReason(locator: string): string | null;
|
|
53
53
|
/**
|
|
54
54
|
* The indexing lifecycle a registration moves through, closed and provider-neutral
|
|
55
|
-
* (site/content/docs/using-abx/remote-services.mdx
|
|
55
|
+
* (site/content/docs/using-abx/remote-services.mdx). One vocabulary for a
|
|
56
56
|
* managed provider and for your own node — the reference resolver stamps these too.
|
|
57
57
|
*
|
|
58
58
|
* queued registered + accepted; catch-up hasn't started
|
package/dist/tokendata.d.ts
CHANGED
|
@@ -67,7 +67,7 @@ export declare function contentDigestOf(state: ProjectState): Hex | null;
|
|
|
67
67
|
*/
|
|
68
68
|
export declare function renderArtifactKey(chainId: number, address: string, tokenId: string, hash: Hex, outputKey?: string, effectKey?: string): Hex;
|
|
69
69
|
/**
|
|
70
|
-
* The **bound** effect outputs
|
|
70
|
+
* The **bound** effect outputs (`site/content/docs/protocol/effects.mdx#metadata-binding`). An output is
|
|
71
71
|
* bound iff a binding stitches its *content* into the metadata JSON, which is what decides who holds
|
|
72
72
|
* its bytes:
|
|
73
73
|
*
|
package/dist/tokendata.js
CHANGED
|
@@ -145,7 +145,7 @@ export function renderArtifactKey(chainId, address, tokenId, hash, outputKey = '
|
|
|
145
145
|
return keccak256(stringToBytes(`${chainId}/${address.toLowerCase()}/${tokenId}/${effectKey}/${hash}/${outputKey}`));
|
|
146
146
|
}
|
|
147
147
|
/**
|
|
148
|
-
* The **bound** effect outputs
|
|
148
|
+
* The **bound** effect outputs (`site/content/docs/protocol/effects.mdx#metadata-binding`). An output is
|
|
149
149
|
* bound iff a binding stitches its *content* into the metadata JSON, which is what decides who holds
|
|
150
150
|
* its bytes:
|
|
151
151
|
*
|
package/package.json
CHANGED