@black-market/sdk 0.8.0-rc.1 → 0.8.0

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/README.md CHANGED
@@ -73,8 +73,8 @@ without re-execution. Retain the private session/capability and, for a pending i
73
73
  reload the original bytes via `EXAMPLE_IMAGE_PATH`. See the recovery guide above.
74
74
  Keep `.env`, keystores and private recovery files out of Git.
75
75
 
76
- The published `0.7.1` package includes the breaking lifecycle cutover.
77
- The topology, example and recovery changes in this working tree have not been republished.
76
+ The published `0.8.0` package ships launch topology safety, TypeScript examples,
77
+ dry-run/`--broadcast` modes, retained-plan recovery, and the opt-in static session cache.
78
78
  `prepareAndPlanLifecycleLaunch` combines bound-hook preparation and complete admission;
79
79
  `preparePoolBoundLifecyclePlan` and `PlannedLaunch.atomicAttempt` are removed.
80
80
  Only the explicitly requested execution mode is simulated. Independent `planLaunch`,
@@ -7,6 +7,16 @@ The canonical authorities are the registry/certification/adapter/config contract
7
7
  in the protocol repository. Plan identity is `LaunchPlanV1`. Pool-bound V4 uses **config 6**,
8
8
  canonical Abyss uses **config 1**, and generic current shared-V4 support uses **config 4**.
9
9
 
10
+ ## 0.8.0 release
11
+
12
+ This release adds unstarted-launch topology validation, boundary tails enabled by
13
+ default, and the generalized `positionGaps` option replacing `staircaseBoundaries`.
14
+ The TypeScript examples default to an unsigned dry run; `--broadcast` explicitly
15
+ authorizes execution without an interactive hash prompt. `--resume` retains the
16
+ original plan, receipt evidence, and metadata session instead of relaunching.
17
+ The opt-in `LifecycleSessionCache` below reuses only the allowlisted static reads
18
+ at the same canonical chain/block; execution proof and financial state stay live.
19
+
10
20
  ## 0.7.1 transaction-first construction
11
21
 
12
22
  Known chain/core/profile identities use frozen release construction metadata.
@@ -161,7 +171,7 @@ No cross-review execution cache, caller certificate or execution-proof skip exis
161
171
  Recovery and `buildNextTransaction` acquire fresh authority and retain separate
162
172
  immediate-submission-provider preflight. Construction/proof is not submission.
163
173
 
164
- ## Unreleased reviewed next envelopes
174
+ ## Reviewed next envelopes
165
175
 
166
176
  `BuildNextTransactionOptions.reviewedTransaction` optionally supplies an untrusted
167
177
  previously reviewed immediate transaction. Omit it to construct a new envelope
@@ -1,9 +1,9 @@
1
1
  # Examples
2
2
 
3
- The launch examples use the public `@black-market/sdk` package and viem.
4
- This working tree builds on 0.7.1 with unreleased topology/example changes: build
5
- this checkout before using the new cases; an older installed package does not
6
- acquire the new `positionGaps` API automatically. The current chain-4663 graph is
3
+ The launch examples use the public `@black-market/sdk` 0.8.0 package and viem.
4
+ Build this checkout before running its examples; in a consumer project install
5
+ `@black-market/sdk@0.8.0` or later for the `positionGaps` and recovery APIs.
6
+ The current chain-4663 graph is
7
7
  the October8 mined pool-bound V4 config6/V2 and canonical Abyss config1 deployment.
8
8
  Historical October5 config5 evidence is not relabeled as the new graph. Discovery
9
9
  is read-only; fixed launch examples default to an unsigned dry run. Only
@@ -20,7 +20,7 @@ examples; their relative support imports use explicit `.ts` extensions for Node
20
20
  | `launch.ts` | Reviews/reconstructs an explicit saved plan and selected atomic/staged mode; optional offchain config6/V2 salt mining. Prints simulation, progress, and an admitted unsigned next transaction when evidence permits. |
21
21
  | `generate-lifecycle-commitment-fixture.ts` | Frozen independent historical config4/Abyss ABI bytes/hash/identity vector. Its pre-cutover allocations are not an executable 0.7.1 plan. |
22
22
  | `launch-lifecycle-smoke.ts` | Actual SDK launch/recovery/custody/fee operations, only on an explicitly authorized owned disposable loopback graph. |
23
- | `launch-erc20-*.ts`, `launch-erc404-*.ts` | Eleven independent fixed cases: unsigned end-to-end planning by default; `--broadcast` adds guarded local signing, chain verification and mandatory API publication/indexing. The eight existing examples and three candidate additions remain intact. |
23
+ | `launch-erc20-*.ts`, `launch-erc404-*.ts` | Eleven independent fixed cases: unsigned end-to-end planning by default; `--broadcast` adds guarded local signing, chain verification and mandatory API publication/indexing. |
24
24
 
25
25
  ## Deployed read-only discovery
26
26
 
@@ -483,7 +483,7 @@ The examples have been reviewed against `abyss-app`'s `scripts/launch-node.mjs`,
483
483
  `launch-node-deploy.mjs`, `launch-browser-wallet.mjs`, `launch-staged-smoke.mjs`,
484
484
  `launch-review-smoke.mjs`, and `src/lib/creation` / `src/lib/lifecycle` authoring,
485
485
  funding, execution and recovery modules. These are behavioral references, not SDK
486
- dependencies. The application pins the published **`@black-market/sdk` 0.7.1** and
486
+ dependencies. The application consumes the published **`@black-market/sdk` 0.8.0** and
487
487
  derives current deployment defaults through **`getAddresses`**, as do these examples.
488
488
  The package pin alone is not live deployment authority. The mined graph
489
489
  is recorded in the contracts repository at
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@black-market/sdk",
3
- "version": "0.8.0-rc.1",
3
+ "version": "0.8.0",
4
4
  "description": "TypeScript SDK for Abyss token launches, swaps, and lending.",
5
5
  "license": "MIT",
6
6
  "repository": {