payrex-node 1.0.1 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.1.0] - 2025-02-06
4
+
5
+ - statement_descriptor support for payment intents.
6
+ - statement_descriptor support for billing statements.
7
+
8
+ ## [1.0.2] - 2025-02-03
9
+
10
+ - billing_details_collection support for PayRex Checkout.
11
+
3
12
  ## [1.0.1] - 2024-10-02
4
13
 
5
14
  - Add send billing statement via email endpoint.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payrex-node",
3
- "version": "1.0.1",
3
+ "version": "1.1.0",
4
4
  "description": "PayRex Node JS Library",
5
5
  "keywords": [
6
6
  "payrex",
@@ -14,6 +14,7 @@ function BillingStatementEntity(apiResource) {
14
14
  this.livemode = data.livemode;
15
15
  this.metadata = data.metadata;
16
16
  this.paymentIntent = data.payment_intent;
17
+ this.statementDescriptor = data.statement_descriptor;
17
18
  this.status = data.status;
18
19
  this.paymentSettings = data.payment_settings;
19
20
  this.customer = data.customer;
@@ -3,6 +3,7 @@ function CheckoutSessionEntity(apiResource) {
3
3
 
4
4
  this.id = data.id;
5
5
  this.customerReferenceId = data.customer_reference_id;
6
+ this.billingDetailsCollection = data.billing_details_collection;
6
7
  this.clientSecret = data.client_secret;
7
8
  this.status = data.status;
8
9
  this.currency = data.currency;
@@ -14,6 +14,7 @@ function PaymentIntentEntity(apiResource) {
14
14
  this.paymentMethodId = data.payment_method_id;
15
15
  this.paymentMethods = data.payment_methods;
16
16
  this.paymentMethodOptions = data.payment_method_options;
17
+ this.statementDescriptor = data.statement_descriptor;
17
18
  this.status = data.status;
18
19
  this.nextAction = data.next_action;
19
20
  this.returnUrl = data.return_url;