将 plaid 从 49.x 升级到 50.x
根据 TypeScript 类型自动比较 plaid 49.0.0 与 50.0.0 的公开 API。签名变化表示可能存在不兼容变更,并非确定结论。
概要
| 已删除的导入路径 | 0 |
|---|---|
| 已删除的导出 | 2 |
| 已修改的签名 | 0 |
| 已删除的类或接口成员 | 0 |
| 已修改的类或接口成员 | 7 |
| 新增弃用 | 0 |
| 要求变化(engines、peer 依赖) | 0 |
| 新增导出 | 2 |
已删除的导出
| import | export | kind | 之前 |
|---|---|---|---|
plaid | PaymentProfileGetResponse | interface | interface |
plaid | PaymentProfileRemoveRequest | interface | interface |
已修改的签名
未发现。
已删除的类或接口成员
未发现。
已修改的类或接口成员
| member | 之前 | 之后 |
|---|---|---|
IDVProtectEvent.fraud_attributes | { [key: string]: object; } | null | { [key: string]: any; } | null |
BusinessRiskCheck.score | number | number | null |
LatestScoredEvent.fraud_attributes | { [key: string]: object; } | null | { [key: string]: any; } | null |
BetaPartnerEndCustomer.product_statuses | { [key: string]: object; } | undefined | { [key: string]: any; } | undefined |
BusinessDigitalPresenceCheck.score | number | number | null |
BetaPartnerEndCustomerWithSecrets.product_statuses | { [key: string]: object; } | undefined | { [key: string]: any; } | undefined |
BetaPartnerCustomerV1EnableResponse.product_statuses | { [key: string]: object; } | undefined | { [key: string]: any; } | undefined |
新增弃用
未发现。
要求变化(engines、peer 依赖)
未发现。
新增导出 (2)
| import | export | kind |
|---|---|---|
plaid | LinkSessionCraReportResult | interface |
plaid | PaymentInitiationPaymentGetResponseAllOf | interface |
这些版本之间的 changelog
软件包作者发布的文本,按原样显示。
50.0.0
- Updating to OAS 2020-09-14_1.792.1
## Breaking changes in this version
- [BREAKING] Remove `v1.0` from `PlaidLendScoreVersion`, used by `lend_score_version` on `/cra/check_report/create`, `/cra/check_report/lend_score/get`, and `/link/token/create`. The API no longer accepts `v1.0`; use `LS1` instead.
## OpenAPI Schema Changes
### 2020-09-14_1.792.1
- Document how the primary account fields in `/cra/report/get` are computed: `primary_account_count` in each product's `metadata` is based on a report-level view of the user's transaction history, and the Base Report account attribute `is_primary_account` is based on an Item-level view.
### 2020-09-14_1.792.0
- Add hidden optional `exclude_transactions` to `cra_options.base_report` in `/link/token/create` and `base_report` in `/cra/check_report/create` for Base Reports retrieved via `/cra/check_report/base_report/get`.
### 2020-09-14_1.791.0
- Add optional `secondary_device_data` to `/protect/client/session/update` for additional sealed device data collected by the Protect SDK.
### 2020-09-14_1.790.0
- (pre-release) `/business_verification/create` and `/business_verification/get`: `risk_check.score` and `digital_presence_check.score` can now be `null` when a score is unavailable, including when a check could not complete its assessment.
### 2020-09-14_1.789.3
- Accept `ACCOUNT_REVIEW_NON_CREDIT` and `SECONDARY_INVESTOR` as `consumer_report_permissible_purpose` values when retrieving a Servicing report by `report_id` on `/cra/check_report/base_report/get` and `/cra/check_report/income_insights/get`, and on the deprecated `/cra/monitoring_insights/get`.
- Add `SECONDARY_INVESTOR` to `consumer_report_permissible_purpose` for `/link/token/create` and `/cra/check_report/create`.
- Document the existing `INSURANCE_UNDERWRITING` value of `consumer_report_permissible_purpose` for `/link/token/create` and `/cra/check_report/create`.
### 2020-09-14_1.789.2
- Add `cra_lend_score_complete` and `cra_income_complete` to the `Products` enum.
### 2020-09-14_1.789.1
- Add examples to every product schema returned by `/cra/report/get`. The wire format is unchanged.
### 2020-09-14_1.789.0
- [Breaking] Remove `v1.0` from `PlaidLendScoreVersion`, used by `lend_score_version` on `/cra/check_report/create`, `/cra/check_report/lend_score/get`, and `/link/token/create`. The API no longer accepts `v1.0`; `v1.0` is an unsupported beta version, `LS1` should be used instead.
### 2020-09-14_1.788.1
- Document the LendScore error codes in `/cra/report/get`. When a consumer does not meet a LendScore eligibility requirement, `scores[].error_code` and the LendScore product's `errors` name the unmet requirement, such as `INSUFFICIENT_TRANSACTION_HISTORY_30D` or `INSUFFICIENT_INFLOW_TRANSACTIONS_30D`.
### 2020-09-14_1.788.0
- Add required, nullable `institution_id` to `/payment_initiation/payment/get`, containing the Plaid institution ID of the end user's financial institution from which the payment was initiated把这些数据交给你的 AI 智能体
Vigia 是免费的 MCP 服务器:你的编程智能体在写代码之前就能检查版本、不兼容变更和安全漏洞。无需注册,无需 API 密钥。
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
添加到 Cursor添加到 VS Code★ 在 GitHub 上加星
任何其他 MCP 客户端
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }常见问题
将 plaid 从 49 升级到 50 有哪些不兼容变更?
在 plaid 49.0.0 与 50.0.0 之间,Vigia 发现 2 个已删除的导出、0 个已修改的签名,以及 7 个已删除或修改的类或接口成员。
plaid 50 中弃用了哪些内容?
plaid 50.0.0 中有 0 个导出或成员新被标记为弃用。
供智能体使用
GET https://vigia.coredls.cloud/v1/packages/npm/plaid/upgrade?from=49.0.0&to=50.0.0