mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-23 09:22:38 +03:00
chore: bump up stripe version to v17 (#8423)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [stripe](https://redirect.github.com/stripe/stripe-node) | [`^16.0.0` -> `^17.0.0`](https://renovatebot.com/diffs/npm/stripe/16.12.0/17.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/stripe/17.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/stripe/17.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/stripe/16.12.0/17.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/stripe/16.12.0/17.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>stripe/stripe-node (stripe)</summary> ### [`v17.0.0`](https://redirect.github.com/stripe/stripe-node/blob/HEAD/CHANGELOG.md#1700---2024-10-01) [Compare Source](https://redirect.github.com/stripe/stripe-node/compare/v16.12.0...v17.0.0) - [#​2192](https://redirect.github.com/stripe/stripe-node/pull/2192) Support for APIs in the new API version 2024-09-30.acacia This release changes the pinned API version to `2024-09-30.acacia`. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2024-09-30.acacia) and carefully review the API changes before upgrading. ##### ⚠️ Breaking changes due to changes in the Stripe API - Rename `usage_threshold_config` to `usage_threshold` on `Billing.AlertCreateParams` and `Billing.Alert` - Remove support for `filter` on `Billing.AlertCreateParams` and `Billing.Alert`. Use the filters on the `usage_threshold` instead - Remove support for `customer_consent_collected` on `Terminal.ReaderProcessSetupIntentParams`. ##### ⚠️ Other Breaking changes in the SDK - Adjusted default values around reties for HTTP requests. You can use the old defaults by setting them explicitly. New values are: - max retries: `1` -> `2` - max timeout (seconds): `2` -> `5` ##### Additions - Add support for `custom_unit_amount` on `ProductCreateParams.default_price_data` - Add support for `allow_redisplay` on `Terminal.ReaderProcessPaymentIntentParams.process_config` and `Terminal.ReaderProcessSetupIntentParams` - Add support for new value `international_transaction` on enum `Treasury.ReceivedCredit.failure_code` - Add support for new value `2024-09-30.acacia` on enum `WebhookEndpointCreateParams.api_version` - Add support for new Usage Billing APIs `Billing.MeterEvent`, `Billing.MeterEventAdjustments`, `Billing.MeterEventSession`, `Billing.MeterEventStream` and the new Events API `Core.Events` in the [v2 namespace ](https://docs.corp.stripe.com/api-v2-overview) - Add method `parseThinEvent()` on the `Stripe` class to parse [thin events](https://docs.corp.stripe.com/event-destinations#events-overview). - Add method [rawRequest()](https://redirect.github.com/stripe/stripe-node/tree/master?tab=readme-ov-file#custom-requests) on the `Stripe` class that takes a HTTP method type, url and relevant parameters to make requests to the Stripe API that are not yet supported in the SDK. ##### Changes - Change `BillingPortal.ConfigurationCreateParams.features.subscription_update.default_allowed_updates` and `BillingPortal.ConfigurationCreateParams.features.subscription_update.products` to be optional - [#​2195](https://redirect.github.com/stripe/stripe-node/pull/2195) Remove parseSnapshotEvent - [#​2188](https://redirect.github.com/stripe/stripe-node/pull/2188) Revert "Add raw_request ([#​2185](https://redirect.github.com/stripe/stripe-node/issues/2185))" - [#​2185](https://redirect.github.com/stripe/stripe-node/pull/2185) Add raw_request Adds the ability to make raw requests to the Stripe API, by providing an HTTP method and url. Example: ```node import Stripe from 'stripe'; const stripe = new Stripe('sk_test_...'); const response = await stripe.rawRequest( 'POST', '/v1/beta_endpoint', { param: 123 }, { apiVersion: '2022-11-15; feature_beta=v3' } ); ``` </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC45Ny4wIiwidXBkYXRlZEluVmVyIjoiMzguOTcuMCIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
This commit is contained in:
parent
5da65de27a
commit
48ebcfc778
@ -83,7 +83,7 @@
|
||||
"rxjs": "^7.8.1",
|
||||
"ses": "^1.4.1",
|
||||
"socket.io": "^4.7.5",
|
||||
"stripe": "^16.0.0",
|
||||
"stripe": "^17.0.0",
|
||||
"ts-node": "^10.9.2",
|
||||
"typescript": "^5.4.5",
|
||||
"yjs": "patch:yjs@npm%3A13.6.18#~/.yarn/patches/yjs-npm-13.6.18-ad0d5f7c43.patch",
|
||||
|
10
yarn.lock
10
yarn.lock
@ -744,7 +744,7 @@ __metadata:
|
||||
ses: "npm:^1.4.1"
|
||||
sinon: "npm:^19.0.0"
|
||||
socket.io: "npm:^4.7.5"
|
||||
stripe: "npm:^16.0.0"
|
||||
stripe: "npm:^17.0.0"
|
||||
supertest: "npm:^7.0.0"
|
||||
ts-node: "npm:^10.9.2"
|
||||
typescript: "npm:^5.4.5"
|
||||
@ -30959,13 +30959,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"stripe@npm:^16.0.0":
|
||||
version: 16.12.0
|
||||
resolution: "stripe@npm:16.12.0"
|
||||
"stripe@npm:^17.0.0":
|
||||
version: 17.0.0
|
||||
resolution: "stripe@npm:17.0.0"
|
||||
dependencies:
|
||||
"@types/node": "npm:>=8.1.0"
|
||||
qs: "npm:^6.11.0"
|
||||
checksum: 10/e25a00cf62bdb53ccde4502f18f884d5ea78765339237d3cf236bd5819528b052840721a377e623ef5affc80f8d4caa6aac49fbde4f2698aa4ef79720742ed14
|
||||
checksum: 10/83032f8457c271f2a3ceac717c736b95ce814c086be4c6ff5d2aac6b166de509adc411da2b5115a67328c7070d613dab72ef148bed21d3803e1f55a2f3f3dc8c
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user