@tpmjs/pricing-page-copy 0.1.0 → 0.1.1

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/dist/index.js +1 -1
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -107,7 +107,7 @@ function generateValueProposition(tierName, features, targetAudience) {
107
107
  }
108
108
  function formatPrice(price, billingPeriod) {
109
109
  const priceNum = typeof price === "string" ? Number.parseFloat(price) : price;
110
- if (isNaN(priceNum)) {
110
+ if (Number.isNaN(priceNum)) {
111
111
  return String(price);
112
112
  }
113
113
  if (priceNum === 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tpmjs/pricing-page-copy",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Generate pricing page copy with tier names, feature lists, and CTAs",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -20,7 +20,7 @@
20
20
  "dist"
21
21
  ],
22
22
  "devDependencies": {
23
- "tsup": "^8.3.5",
23
+ "tsup": "^8.5.1",
24
24
  "typescript": "^5.9.3",
25
25
  "@tpmjs/tsconfig": "0.0.0"
26
26
  },
@@ -41,7 +41,7 @@
41
41
  ],
42
42
  "tools": [
43
43
  {
44
- "exportName": "pricingPageCopyTool",
44
+ "name": "pricingPageCopyTool",
45
45
  "description": "Generates comprehensive pricing page copy with tier names, headlines, benefit-oriented feature lists, CTAs, FAQs, and trust signals. Frames features as benefits and clearly differentiates tiers.",
46
46
  "parameters": [
47
47
  {
@@ -74,7 +74,7 @@
74
74
  ]
75
75
  },
76
76
  "dependencies": {
77
- "ai": "6.0.0-beta.124"
77
+ "ai": "6.0.49"
78
78
  },
79
79
  "scripts": {
80
80
  "build": "tsup",