agentmall 0.1.14 → 0.1.15

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/dist/cli.js CHANGED
@@ -406,7 +406,7 @@ function formatCents(cents) {
406
406
  return `$${(cents / 100).toFixed(2)}`;
407
407
  }
408
408
  function getBudgetBasePrice(product) {
409
- return product.listPrice ?? product.price;
409
+ return product.price;
410
410
  }
411
411
  function calculateSuggestedBudget(product, quantity = 1, variantUnitPriceCents) {
412
412
  const quantityClamped = Math.max(1, quantity);
package/dist/index.d.cts CHANGED
@@ -31,7 +31,7 @@ type ProductLookup = {
31
31
  availability: string;
32
32
  imageUrl?: string;
33
33
  retailer: string;
34
- /** Suggested max_budget in cents (list price + a buffer, with a minimum $8 buffer). */
34
+ /** Suggested max_budget in cents (current price + 15% buffer + $8 shipping buffer). */
35
35
  suggestedMaxBudget: number;
36
36
  variants?: ProductVariant[];
37
37
  /** True if served from cache. Price may not reflect current listing. */
package/dist/index.d.ts CHANGED
@@ -31,7 +31,7 @@ type ProductLookup = {
31
31
  availability: string;
32
32
  imageUrl?: string;
33
33
  retailer: string;
34
- /** Suggested max_budget in cents (list price + a buffer, with a minimum $8 buffer). */
34
+ /** Suggested max_budget in cents (current price + 15% buffer + $8 shipping buffer). */
35
35
  suggestedMaxBudget: number;
36
36
  variants?: ProductVariant[];
37
37
  /** True if served from cache. Price may not reflect current listing. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentmall",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "description": "SDK and CLI for the AgentMall API — let AI agents buy physical products from US retailers",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",