From 145b708932e8c87ccc3e161b8a8b1e7ea58e197d Mon Sep 17 00:00:00 2001 From: anniel-stripe <97691964+anniel-stripe@users.noreply.github.com> Date: Fri, 17 Mar 2023 08:05:54 -0700 Subject: [PATCH] Update version in builds (#1716) * Update version in builds * make update-version --- Makefile | 2 +- cjs/stripe.core.js | 2 +- esm/stripe.core.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 316836357a..7ab089751c 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ update-version: @echo "$(VERSION)" > VERSION @perl -pi -e 's|"version": "[.\-\d\w]+"|"version": "$(VERSION)"|' package.json - @perl -pi -e "s|Stripe.PACKAGE_VERSION = '[.\-\d\w]+'|Stripe.PACKAGE_VERSION = '$(VERSION)'|" src/stripe.core.ts + @perl -pi -e "s|Stripe.PACKAGE_VERSION = '[.\-\d\w]+'|Stripe.PACKAGE_VERSION = '$(VERSION)'|" src/stripe.core.ts cjs/stripe.core.js esm/stripe.core.js codegen-format: yarn && yarn fix && yarn build diff --git a/cjs/stripe.core.js b/cjs/stripe.core.js index 4f2d7149dc..b70d83c257 100644 --- a/cjs/stripe.core.js +++ b/cjs/stripe.core.js @@ -33,7 +33,7 @@ const ALLOWED_CONFIG_PROPERTIES = [ ]; const defaultRequestSenderFactory = (stripe) => new RequestSender_js_1.RequestSender(stripe, StripeResource_js_1.StripeResource.MAX_BUFFERED_REQUEST_METRICS); function createStripe(platformFunctions, requestSender = defaultRequestSenderFactory) { - Stripe.PACKAGE_VERSION = '11.14.0'; + Stripe.PACKAGE_VERSION = '11.15.0'; Stripe.USER_AGENT = Object.assign({ bindings_version: Stripe.PACKAGE_VERSION, lang: 'node', publisher: 'stripe', uname: null, typescript: false }, (0, utils_js_1.determineProcessUserAgentProperties)()); Stripe.StripeResource = StripeResource_js_1.StripeResource; Stripe.resources = resources; diff --git a/esm/stripe.core.js b/esm/stripe.core.js index 250c2525aa..3a632759d0 100644 --- a/esm/stripe.core.js +++ b/esm/stripe.core.js @@ -30,7 +30,7 @@ const ALLOWED_CONFIG_PROPERTIES = [ ]; const defaultRequestSenderFactory = (stripe) => new RequestSender(stripe, StripeResource.MAX_BUFFERED_REQUEST_METRICS); export function createStripe(platformFunctions, requestSender = defaultRequestSenderFactory) { - Stripe.PACKAGE_VERSION = '11.14.0'; + Stripe.PACKAGE_VERSION = '11.15.0'; Stripe.USER_AGENT = Object.assign({ bindings_version: Stripe.PACKAGE_VERSION, lang: 'node', publisher: 'stripe', uname: null, typescript: false }, determineProcessUserAgentProperties()); Stripe.StripeResource = StripeResource; Stripe.resources = resources;