@402flow/sdk 0.1.0-alpha.25 → 0.1.0-alpha.26

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 +27 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -426,11 +426,21 @@ Responsibility split:
426
426
 
427
427
  If your host app wants to execute through Dexter, pay.sh, or another provider, that integration should install and own the third-party SDK directly. `@402flow/sdk` only owns the executor contract and the governed authorize/finalize flow.
428
428
 
429
- The repo keeps third-party executor proofs in the separate `third-party-executors/` package so the main `@402flow/sdk` install path stays provider-neutral.
429
+ Official supported adapters live in the separate `@402flow/sdk-third-party-executors` package so the main `@402flow/sdk` install path stays provider-neutral.
430
430
 
431
- That package is a private repo-local set of reference adapters, not part of the published `@402flow/sdk` package itself.
431
+ ```bash
432
+ npm install @402flow/sdk @402flow/sdk-third-party-executors
433
+ ```
434
+
435
+ If you pin versions explicitly, pin both packages to the same version:
432
436
 
433
- Current repo-local adapters:
437
+ ```bash
438
+ npm install @402flow/sdk@<version> @402flow/sdk-third-party-executors@<version>
439
+ ```
440
+
441
+ The adapter package is versioned and supported in lockstep with `@402flow/sdk`, so keep the two package versions aligned. In this repo, the published adapter package source lives under `third-party-executors/`.
442
+
443
+ Current official adapters:
434
444
 
435
445
  | Adapter | Current scope | Key dependencies |
436
446
  | --- | --- | --- |
@@ -622,6 +632,10 @@ When unset, first-party fixtures default to the self-hosted demo merchant at `ht
622
632
 
623
633
  ## Publish
624
634
 
635
+ Publish the main SDK package first. Publish `@402flow/sdk-third-party-executors` second, after the matching SDK version is available.
636
+
637
+ Main SDK package:
638
+
625
639
  ```bash
626
640
  npm run install:all
627
641
  npm run check:all
@@ -630,3 +644,13 @@ npm publish --access public
630
644
  ```
631
645
 
632
646
  `npm publish` now also runs `npm run check:all` through the root `prepublishOnly` hook, so the repo-wide test pass is enforced before publish even if you skip that step manually.
647
+
648
+ Adapter package:
649
+
650
+ ```bash
651
+ cd third-party-executors
652
+ npm install
653
+ npm run check
654
+ npm run pack:check
655
+ npm publish --access public
656
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@402flow/sdk",
3
- "version": "0.1.0-alpha.25",
3
+ "version": "0.1.0-alpha.26",
4
4
  "description": "Paid HTTP SDK for AI agents with an inspectable prepare/execute flow.",
5
5
  "private": false,
6
6
  "type": "module",