saasfunnels 0.2.3 → 0.3.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
@@ -37,9 +37,9 @@ saasfunnels plans handoff --integration-id <id> \
37
37
  prices. Files that reference a Stripe price are reported as evidence; files that
38
38
  only look commercial by name and content are reported separately as guesses.
39
39
  Nothing leaves the machine until `.saasfunnels/plan-sources.json` lists the files
40
- and `plans handoff --send` is run, because plan mapping receives file contents
41
- rather than the `file:line` references a feature manifest sends. Commit that file
42
- so the approved set is reviewable.
40
+ and `plans handoff --send` is run. The CLI extracts normalized mapping evidence
41
+ locally; source contents stay on your machine. Commit the approval file so the
42
+ approved set is reviewable.
43
43
 
44
44
  ### GitHub Action
45
45
 
@@ -91,3 +91,13 @@ The package allowlist is enforced as `LICENSE`, `README.md`, `package.json`, the
91
91
  Documentation: https://docs.saasfunnels.ai/developer-tools/saasfunnels-cli
92
92
 
93
93
  Support: support@saasfunnels.ai
94
+
95
+ ### Guided application discovery
96
+
97
+ Use `saasfunnels setup run` from the application repository after creating app credentials in Setup. Load `SAASFUNNELS_API_KEY` from **Developer setup access** into the local process environment. Its scopes are `developer:read` and `features:write`; it is not a browser or payment-administration key.
98
+
99
+ The command asks before uploading structured discovery proposals. `--send` provides explicit non-interactive approval. It coordinates features, pricing extraction, and plan branches, reports progress, and waits for the Stripe catalog. Run `saasfunnels setup run --resume` after an interruption. Existing accepted stages and customer review decisions are preserved.
100
+
101
+ If extraction is unsupported, review a `.saasfunnels/setup-pricing.json` file with `{ "plans": [{ "key": "pro", "name": "Pro", "features": { "export": true }, "prices": [{ "key": "price_ACTUAL_ID" }] }] }`, then resume. Use real identifiers from the connected merchant. Raw source files are never uploaded by guided setup or the pricing handoff.
102
+
103
+ The command does not implement arbitrary payment code, approve feature access, or verify transactions. Complete **Review and verify** in Setup after deploying the runtime and payment integration. Requires the server's guided setup API release.
package/dist/library.js CHANGED
@@ -1,4 +1,4 @@
1
- import { createRequire as __saasfunnelsCreateRequire } from "node:module"; const require = __saasfunnelsCreateRequire(import.meta.url);
1
+ import { createRequire as __saasfunnelsCreateRequire } from "node:module"; const require = __saasfunnelsCreateRequire(import.meta.url); const __filename = new URL(import.meta.url).pathname; const __dirname = require("node:path").dirname(__filename);
2
2
  var __create = Object.create;
3
3
  var __defProp = Object.defineProperty;
4
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -24264,7 +24264,7 @@ function validateFeatureCatalogManifest(value) {
24264
24264
 
24265
24265
  // src/identity.ts
24266
24266
  var SAASFUNNELS_CLI_NAME = "saasfunnels";
24267
- var SAASFUNNELS_CLI_VERSION = "0.2.3";
24267
+ var SAASFUNNELS_CLI_VERSION = "0.3.0";
24268
24268
  var SAASFUNNELS_PRODUCT_NAME = "SaaSFunnels";
24269
24269
  var SAASFUNNELS_DEFAULT_API_BASE_URL = "https://app.saasfunnels.ai";
24270
24270
  var SAASFUNNELS_ENV = Object.freeze({