diff --git a/.changeset/major-sites-search.md b/.changeset/major-sites-search.md new file mode 100644 index 00000000..7d343a05 --- /dev/null +++ b/.changeset/major-sites-search.md @@ -0,0 +1,6 @@ +--- +"@stripe/link-sdk": patch +"@stripe/link-cli": patch +--- + +Fix: allow nickname to be undefined in shipping address resource diff --git a/packages/sdk/src/resources/shipping-address.ts b/packages/sdk/src/resources/shipping-address.ts index 003faa36..47f6e29c 100644 --- a/packages/sdk/src/resources/shipping-address.ts +++ b/packages/sdk/src/resources/shipping-address.ts @@ -7,7 +7,7 @@ import { z } from 'zod'; const shippingAddressSchema = z.looseObject({ id: z.string(), is_default: z.boolean(), - nickname: z.string().nullable(), + nickname: z.optional(z.string().nullable()), address: z.looseObject({}).nullable(), }); const shippingAddressesResponseSchema = z.looseObject({ diff --git a/plugins/cursor-link/.cursor-plugin/plugin.json b/plugins/cursor-link/.cursor-plugin/plugin.json index 004ddc92..2f4ac656 100644 --- a/plugins/cursor-link/.cursor-plugin/plugin.json +++ b/plugins/cursor-link/.cursor-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "link", "displayName": "Link", - "version": "0.14.1", + "version": "0.15.0", "description": "Complete purchases with one-time-use payment credentials from a Link wallet, using spend requests the user has approved.", "author": { "name": "Stripe" diff --git a/plugins/link/.claude-plugin/plugin.json b/plugins/link/.claude-plugin/plugin.json index 4a900ab9..6fe72c5a 100644 --- a/plugins/link/.claude-plugin/plugin.json +++ b/plugins/link/.claude-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "link", - "version": "0.11.0", + "version": "0.15.0", "description": "Authenticate with Link, create spend requests, and retrieve one-time-use card or shared payment token credentials for user-approved purchases.", "author": { "name": "Stripe" diff --git a/plugins/link/.codex-plugin/plugin.json b/plugins/link/.codex-plugin/plugin.json index 55b6d870..ff564807 100644 --- a/plugins/link/.codex-plugin/plugin.json +++ b/plugins/link/.codex-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "link", - "version": "0.11.0", + "version": "0.15.0", "description": "Secure, one-time-use payment credentials from Link", "author": { "name": "Stripe", diff --git a/skills/create-payment-credential/SKILL.md b/skills/create-payment-credential/SKILL.md index f8afe8de..b120c0ab 100644 --- a/skills/create-payment-credential/SKILL.md +++ b/skills/create-payment-credential/SKILL.md @@ -1,5 +1,5 @@ --- -version: 0.11.0 +version: 0.15.0 name: create-payment-credential description: | Gets secure, one-time-use payment credentials (cards, tokens) from a Link wallet so agents can complete purchases on behalf of users. Use when the user says "get me a card", "buy something", "pay for X", "make a purchase", "I need to pay", "complete checkout", or asks to transact on any merchant site. Use when the user asks to connect or log in to or sign up for their Link account. diff --git a/skills/financial-insights/SKILL.md b/skills/financial-insights/SKILL.md index 614d9494..9b37440d 100644 --- a/skills/financial-insights/SKILL.md +++ b/skills/financial-insights/SKILL.md @@ -1,5 +1,5 @@ --- -version: 0.11.0 +version: 0.15.0 name: financial-insights description: | Reads a user's Link financial data — transactions, balances, and wallet sources — so agents can answer questions about spending and available source capabilities. Use when the user says "check my balance", "how much did I spend", "show my transactions", "what accounts are connected", "summarize my spending", "recent purchases", or asks about their financial activity, account balances, or linked sources.