@tsed/stripe 8.0.0-rc.6 → 8.0.1

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.
@@ -2,7 +2,7 @@ import { Configuration, registerProvider } from "@tsed/di";
2
2
  import { Stripe } from "stripe";
3
3
  export const StripeFactory = Stripe;
4
4
  registerProvider({
5
- provide: Stripe,
5
+ token: Stripe,
6
6
  deps: [Configuration],
7
7
  useFactory(settings) {
8
8
  const { apiKey, webhooks, ...options } = settings.get("stripe", {});
@@ -1 +1 @@
1
- {"version":3,"file":"StripeFactory.js","sourceRoot":"","sources":["../../../src/services/StripeFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAE,gBAAgB,EAAC,MAAM,UAAU,CAAC;AACzD,OAAO,EAAC,MAAM,EAAC,MAAM,QAAQ,CAAC;AAI9B,MAAM,CAAC,MAAM,aAAa,GAAG,MAAM,CAAC;AAEpC,gBAAgB,CAAC;IACf,OAAO,EAAE,MAAM;IACf,IAAI,EAAE,CAAC,aAAa,CAAC;IACrB,UAAU,CAAC,QAAuB;QAChC,MAAM,EAAC,MAAM,EAAE,QAAQ,EAAE,GAAG,OAAO,EAAC,GAAG,QAAQ,CAAC,GAAG,CAAiB,QAAQ,EAAE,EAAS,CAAC,CAAC;QAEzF,QAAQ,CAAC,GAAG,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;QAE9B,IAAI,MAAM,EAAE,CAAC;YACX,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE;gBACxB,GAAG,OAAO;gBACV,UAAU,EAAE,IAAI;aACjB,CAAC,CAAC;QACL,CAAC;QAED,OAAO,EAAE,CAAC;IACZ,CAAC;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"StripeFactory.js","sourceRoot":"","sources":["../../../src/services/StripeFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAE,gBAAgB,EAAC,MAAM,UAAU,CAAC;AACzD,OAAO,EAAC,MAAM,EAAC,MAAM,QAAQ,CAAC;AAI9B,MAAM,CAAC,MAAM,aAAa,GAAG,MAAM,CAAC;AAEpC,gBAAgB,CAAC;IACf,KAAK,EAAE,MAAM;IACb,IAAI,EAAE,CAAC,aAAa,CAAC;IACrB,UAAU,CAAC,QAAuB;QAChC,MAAM,EAAC,MAAM,EAAE,QAAQ,EAAE,GAAG,OAAO,EAAC,GAAG,QAAQ,CAAC,GAAG,CAAiB,QAAQ,EAAE,EAAS,CAAC,CAAC;QAEzF,QAAQ,CAAC,GAAG,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;QAE9B,IAAI,MAAM,EAAE,CAAC;YACX,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE;gBACxB,GAAG,OAAO;gBACV,UAAU,EAAE,IAAI;aACjB,CAAC,CAAC;QACL,CAAC;QAED,OAAO,EAAE,CAAC;IACZ,CAAC;CACF,CAAC,CAAC"}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@tsed/stripe",
3
3
  "description": "Stripe package for Ts.ED framework",
4
4
  "type": "module",
5
- "version": "8.0.0-rc.6",
5
+ "version": "8.0.1",
6
6
  "keywords": [
7
7
  "Stripe",
8
8
  "Ts.ED",
@@ -34,25 +34,25 @@
34
34
  "tslib": "2.7.0"
35
35
  },
36
36
  "devDependencies": {
37
- "@tsed/adapters": "8.0.0-rc.6",
38
- "@tsed/barrels": "8.0.0-rc.6",
39
- "@tsed/core": "8.0.0-rc.6",
40
- "@tsed/di": "8.0.0-rc.6",
41
- "@tsed/exceptions": "8.0.0-rc.6",
42
- "@tsed/platform-middlewares": "8.0.0-rc.6",
43
- "@tsed/platform-params": "8.0.0-rc.6",
44
- "@tsed/schema": "8.0.0-rc.6",
45
- "@tsed/typescript": "8.0.0-rc.6",
37
+ "@tsed/adapters": "8.0.1",
38
+ "@tsed/barrels": "8.0.1",
39
+ "@tsed/core": "8.0.1",
40
+ "@tsed/di": "8.0.1",
41
+ "@tsed/exceptions": "8.0.1",
42
+ "@tsed/platform-middlewares": "8.0.1",
43
+ "@tsed/platform-params": "8.0.1",
44
+ "@tsed/schema": "8.0.1",
45
+ "@tsed/typescript": "8.0.1",
46
46
  "eslint": "9.12.0",
47
47
  "stripe": "^8.222.0",
48
48
  "typescript": "5.4.5",
49
49
  "vitest": "2.1.2"
50
50
  },
51
51
  "peerDependencies": {
52
- "@tsed/exceptions": "8.0.0-rc.6",
53
- "@tsed/platform-middlewares": "8.0.0-rc.6",
54
- "@tsed/platform-params": "8.0.0-rc.6",
55
- "@tsed/schema": "8.0.0-rc.6",
52
+ "@tsed/exceptions": "8.0.1",
53
+ "@tsed/platform-middlewares": "8.0.1",
54
+ "@tsed/platform-params": "8.0.1",
55
+ "@tsed/schema": "8.0.1",
56
56
  "@types/body-parser": "^1.19.0",
57
57
  "body-parser": "^1.19.0",
58
58
  "stripe": "^9.16.0"
@@ -80,8 +80,5 @@
80
80
  },
81
81
  "homepage": "https://github.com/tsedio/tsed/tree/production/packages/third-parties/stripe",
82
82
  "author": "Romain Lenzotti",
83
- "license": "MIT",
84
- "publishConfig": {
85
- "tag": "rc"
86
- }
83
+ "license": "MIT"
87
84
  }
package/readme.md CHANGED
@@ -209,7 +209,7 @@ import {StripeWebhooksCtrl} from "./StripWebhookCtrl.js";
209
209
  import {Server} from "../Server.js";
210
210
 
211
211
  const utils = PlatformTestUtils.create({
212
- platform: PlatformExpress,
212
+ adapter: PlatformExpress,
213
213
  server: Server,
214
214
  logger: {
215
215
  level: "info"