From 0da12983c1e9e7a7f6e99799a2427dd99d268260 Mon Sep 17 00:00:00 2001 From: Alexandre Marques Date: Fri, 7 Jun 2024 10:14:57 +0100 Subject: [PATCH] chore: bump pricing-client --- package-lock.json | 14 +++++++------- package.json | 2 +- src/pricing.ts | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6788a58..031a829 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "4.31.0-0", "license": "UNLICENSED", "dependencies": { - "@epilot/pricing-client": "^3.27.0", + "@epilot/pricing-client": "^3.27.3", "@types/dinero.js": "^1.9.0", "dinero.js": "^1.9.1" }, @@ -893,9 +893,9 @@ } }, "node_modules/@epilot/pricing-client": { - "version": "3.27.0", - "resolved": "https://registry.npmjs.org/@epilot/pricing-client/-/pricing-client-3.27.0.tgz", - "integrity": "sha512-czfsT1Qni6M58LoCSs6uyCT6u9UXaVv0KzRXf+qJrJ4eg027waItIHRmHXz53Qa8JMPs8Tj3fn6d3sL6X6Ogww==", + "version": "3.27.3", + "resolved": "https://registry.npmjs.org/@epilot/pricing-client/-/pricing-client-3.27.3.tgz", + "integrity": "sha512-8dG2k1tT7jQHk/EMmGfNxvPW8hblb++dkxbfAhrUaQqzd6J0yVDnrUIYwhBjloKCSj4qqKazdc05y1tXeXchGg==", "dependencies": { "@dazn/lambda-powertools-correlation-ids": "^1.28.1", "buffer": "^6.0.3", @@ -11715,9 +11715,9 @@ } }, "@epilot/pricing-client": { - "version": "3.27.0", - "resolved": "https://registry.npmjs.org/@epilot/pricing-client/-/pricing-client-3.27.0.tgz", - "integrity": "sha512-czfsT1Qni6M58LoCSs6uyCT6u9UXaVv0KzRXf+qJrJ4eg027waItIHRmHXz53Qa8JMPs8Tj3fn6d3sL6X6Ogww==", + "version": "3.27.3", + "resolved": "https://registry.npmjs.org/@epilot/pricing-client/-/pricing-client-3.27.3.tgz", + "integrity": "sha512-8dG2k1tT7jQHk/EMmGfNxvPW8hblb++dkxbfAhrUaQqzd6J0yVDnrUIYwhBjloKCSj4qqKazdc05y1tXeXchGg==", "requires": { "@dazn/lambda-powertools-correlation-ids": "^1.28.1", "buffer": "^6.0.3", diff --git a/package.json b/package.json index de78588..cc3faa8 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "author": "epilot GmbH", "license": "UNLICENSED", "dependencies": { - "@epilot/pricing-client": "^3.27.0", + "@epilot/pricing-client": "^3.27.3", "@types/dinero.js": "^1.9.0", "dinero.js": "^1.9.1" }, diff --git a/src/pricing.ts b/src/pricing.ts index d806fa4..52be1d6 100644 --- a/src/pricing.ts +++ b/src/pricing.ts @@ -683,7 +683,7 @@ export const computePriceItem = ( ) : price?.pricing_model === PricingModel.externalGetAG ? computeExternalGetAGItemValues( - price?.get_ag, + price?.get_ag!, currency, isTaxInclusive, unitAmountMultiplier!,