rightcard-mcp 0.1.4 → 0.1.5
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/valuation.js +6 -2
- package/package.json +1 -1
package/dist/valuation.js
CHANGED
|
@@ -56,8 +56,8 @@ export function inferProgram(issuer, id, currency) {
|
|
|
56
56
|
return "southwest";
|
|
57
57
|
if (has("jetblue", "trueblue"))
|
|
58
58
|
return "jetBlue";
|
|
59
|
-
if (has("alaska"))
|
|
60
|
-
return "alaska";
|
|
59
|
+
if (has("alaska", "atmos"))
|
|
60
|
+
return "alaska"; // Atmos Ascent's id has no "alaska" (mirrors Swift)
|
|
61
61
|
if (has("aeroplan", "air canada"))
|
|
62
62
|
return "aeroplan";
|
|
63
63
|
if (has("british airways", "avios"))
|
|
@@ -94,6 +94,10 @@ export function inferProgram(issuer, id, currency) {
|
|
|
94
94
|
// GM — the generic 2¢ fallback read its flat 3x as "6%" (mirrors Swift).
|
|
95
95
|
if (has("gm_rewards", "gm rewards"))
|
|
96
96
|
return "fixedValue";
|
|
97
|
+
// Bank of America Premium Rewards + PenFed points: a set ~1¢, no transfer
|
|
98
|
+
// partners (mirrors RewardValuation.infer, Sep 26 2026).
|
|
99
|
+
if (has("bank of america", "bank_of_america", "penfed") || s.startsWith("bofa"))
|
|
100
|
+
return "fixedValue";
|
|
97
101
|
return currency === "miles" ? "genericMiles" : "genericPoints";
|
|
98
102
|
}
|
|
99
103
|
export function makeValuation(mode = "cash") {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rightcard-mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"mcpName": "ai.rightcard/mcp",
|
|
5
5
|
"description": "RightCard MCP — the card-selection oracle for agents. Which of your credit cards to use at any store, from verified data. No bank login.",
|
|
6
6
|
"type": "module",
|