@pristine-ts/stripe 0.0.257 → 0.0.259

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.
@@ -46,12 +46,12 @@ let StripeClient = class StripeClient {
46
46
  this.stripeApiKey = stripeApiKey;
47
47
  }
48
48
  /**
49
- * Returns the Stripe client of the Stripe library with the api version '2020-08-27'
49
+ * Returns the Stripe client of the Stripe library with the api version '2023-10-16'
50
50
  */
51
51
  getStripeClient() {
52
52
  var _a;
53
53
  return this.client = (_a = this.client) !== null && _a !== void 0 ? _a : new stripe_1.default(this.stripeApiKey, {
54
- apiVersion: '2020-08-27',
54
+ apiVersion: '2023-10-16',
55
55
  });
56
56
  }
57
57
  /**
@@ -40,12 +40,12 @@ let StripeClient = class StripeClient {
40
40
  this.stripeApiKey = stripeApiKey;
41
41
  }
42
42
  /**
43
- * Returns the Stripe client of the Stripe library with the api version '2020-08-27'
43
+ * Returns the Stripe client of the Stripe library with the api version '2023-10-16'
44
44
  */
45
45
  getStripeClient() {
46
46
  var _a;
47
47
  return this.client = (_a = this.client) !== null && _a !== void 0 ? _a : new Stripe(this.stripeApiKey, {
48
- apiVersion: '2020-08-27',
48
+ apiVersion: '2023-10-16',
49
49
  });
50
50
  }
51
51
  /**
@@ -22,7 +22,7 @@ export declare class StripeClient implements StripeClientInterface {
22
22
  */
23
23
  constructor(logHandler: LogHandlerInterface, stripeApiKey: string);
24
24
  /**
25
- * Returns the Stripe client of the Stripe library with the api version '2020-08-27'
25
+ * Returns the Stripe client of the Stripe library with the api version '2023-10-16'
26
26
  */
27
27
  getStripeClient(): Stripe;
28
28
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pristine-ts/stripe",
3
- "version": "0.0.257",
3
+ "version": "0.0.259",
4
4
  "description": "",
5
5
  "module": "dist/lib/esm/stripe.module.js",
6
6
  "main": "dist/lib/cjs/stripe.module.js",
@@ -12,11 +12,11 @@
12
12
  "test:cov": "jest --coverage"
13
13
  },
14
14
  "dependencies": {
15
- "@pristine-ts/common": "^0.0.257",
16
- "@pristine-ts/core": "^0.0.257",
17
- "@pristine-ts/logging": "^0.0.257",
18
- "@pristine-ts/networking": "^0.0.257",
19
- "stripe": "^8.161.0"
15
+ "@pristine-ts/common": "^0.0.259",
16
+ "@pristine-ts/core": "^0.0.259",
17
+ "@pristine-ts/logging": "^0.0.259",
18
+ "@pristine-ts/networking": "^0.0.259",
19
+ "stripe": "^14.2.0"
20
20
  },
21
21
  "files": [
22
22
  "dist"
@@ -60,5 +60,5 @@
60
60
  "src/*.{js,ts}"
61
61
  ]
62
62
  },
63
- "gitHead": "e0e3e99351869c29e3761ceadd13c801e9bf14bf"
63
+ "gitHead": "3bec8d5b134643bad09d6e9745a6213479305c72"
64
64
  }