@tsed/stripe 6.102.4 → 6.102.8-rc.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.
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Context, UseBefore } from "@tsed/common";
|
|
2
2
|
import { StoreSet, useDecorators, useMethodDecorators } from "@tsed/core";
|
|
3
3
|
import { In } from "@tsed/schema";
|
|
4
|
-
import { STRIPE_WEBHOOK_EVENT } from "../constants";
|
|
5
|
-
import { WebhookEventMiddleware } from "../middlewares/WebhookEventMiddleware";
|
|
4
|
+
import { STRIPE_WEBHOOK_EVENT } from "../constants.js";
|
|
5
|
+
import { WebhookEventMiddleware } from "../middlewares/WebhookEventMiddleware.js";
|
|
6
6
|
/**
|
|
7
7
|
* Get the stripe webhook event.
|
|
8
8
|
*
|
package/lib/esm/domain/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./StripSettings";
|
|
1
|
+
export * from "./StripSettings.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/lib/esm/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from "./constants";
|
|
2
|
-
export * from "./domain/index";
|
|
3
|
-
export * from "./decorators/webhookEvent";
|
|
4
|
-
export * from "./middlewares/WebhookEventMiddleware";
|
|
5
|
-
export * from "./services/StripeFactory";
|
|
1
|
+
export * from "./constants.js";
|
|
2
|
+
export * from "./domain/index.js";
|
|
3
|
+
export * from "./decorators/webhookEvent.js";
|
|
4
|
+
export * from "./middlewares/WebhookEventMiddleware.js";
|
|
5
|
+
export * from "./services/StripeFactory.js";
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -3,8 +3,8 @@ import { __decorate, __metadata, __param } from "tslib";
|
|
|
3
3
|
import { Constant, Context, HeaderParams, Inject, Middleware, RawBodyParams } from "@tsed/common";
|
|
4
4
|
import { BadRequest, InternalServerError } from "@tsed/exceptions";
|
|
5
5
|
import { Stripe } from "stripe";
|
|
6
|
-
import { STRIPE_WEBHOOK_EVENT, STRIPE_WEBHOOK_SIGNATURE } from "../constants";
|
|
7
|
-
import "../services/StripeFactory";
|
|
6
|
+
import { STRIPE_WEBHOOK_EVENT, STRIPE_WEBHOOK_SIGNATURE } from "../constants.js";
|
|
7
|
+
import "../services/StripeFactory.js";
|
|
8
8
|
let WebhookEventMiddleware = WebhookEventMiddleware_1 = class WebhookEventMiddleware {
|
|
9
9
|
use(signature, body, ctx) {
|
|
10
10
|
const { secret, tolerance } = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/stripe",
|
|
3
|
-
"version": "6.102.
|
|
3
|
+
"version": "6.102.8-rc.1",
|
|
4
4
|
"description": "Stripe package for Ts.ED framework",
|
|
5
5
|
"private": false,
|
|
6
6
|
"keywords": [
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
],
|
|
15
15
|
"source": "./src/index.ts",
|
|
16
16
|
"main": "./lib/cjs/index.js",
|
|
17
|
+
"module": "./lib/esm/index.js",
|
|
17
18
|
"typings": "./lib/types/index.d.ts",
|
|
18
19
|
"exports": {
|
|
19
20
|
"types": "./lib/types/index.d.ts",
|
|
@@ -31,15 +32,22 @@
|
|
|
31
32
|
"tslib": "2.2.0"
|
|
32
33
|
},
|
|
33
34
|
"devDependencies": {
|
|
34
|
-
"@tsed/common": "6.102.
|
|
35
|
-
"@tsed/core": "6.102.
|
|
36
|
-
"@tsed/di": "6.102.
|
|
37
|
-
"@tsed/json-mapper": "6.102.
|
|
38
|
-
"@tsed/openspec": "6.102.
|
|
39
|
-
"@tsed/schema": "6.102.
|
|
35
|
+
"@tsed/common": "6.102.8-rc.1",
|
|
36
|
+
"@tsed/core": "6.102.8-rc.1",
|
|
37
|
+
"@tsed/di": "6.102.8-rc.1",
|
|
38
|
+
"@tsed/json-mapper": "6.102.8-rc.1",
|
|
39
|
+
"@tsed/openspec": "6.102.8-rc.1",
|
|
40
|
+
"@tsed/schema": "6.102.8-rc.1",
|
|
40
41
|
"stripe": "^8.129.0"
|
|
41
42
|
},
|
|
42
43
|
"peerDependencies": {
|
|
44
|
+
"@tsed/common": "^6.102.8-rc.1",
|
|
45
|
+
"@tsed/core": "^6.102.8-rc.1",
|
|
46
|
+
"@tsed/di": "^6.102.8-rc.1",
|
|
47
|
+
"@tsed/json-mapper": "^6.102.8-rc.1",
|
|
48
|
+
"@tsed/openspec": "^6.102.8-rc.1",
|
|
49
|
+
"@tsed/schema": "^6.102.8-rc.1",
|
|
50
|
+
"@types/body-parser": "^1.19.0",
|
|
43
51
|
"body-parser": "^1.19.0",
|
|
44
52
|
"stripe": "^8.129.0"
|
|
45
53
|
},
|
|
@@ -47,7 +55,7 @@
|
|
|
47
55
|
"bugs": {
|
|
48
56
|
"url": "https://github.com/tsedio/tsed/issues"
|
|
49
57
|
},
|
|
50
|
-
"homepage": "https://github.com/tsedio/tsed/tree/
|
|
58
|
+
"homepage": "https://github.com/tsedio/tsed/tree/rc/packages/third-parties/stripe",
|
|
51
59
|
"author": "Romain Lenzotti",
|
|
52
60
|
"license": "MIT"
|
|
53
61
|
}
|