@tsed/stripe 7.70.2 → 7.71.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.
- package/jest.config.js +3 -1
- package/lib/cjs/decorators/webhookEvent.js +3 -3
- package/lib/cjs/decorators/webhookEvent.js.map +1 -1
- package/lib/cjs/index.js +8 -8
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/middlewares/WebhookEventMiddleware.js +3 -3
- package/lib/cjs/middlewares/WebhookEventMiddleware.js.map +1 -1
- package/lib/esm/decorators/webhookEvent.js.map +1 -1
- package/lib/esm/index.js +1 -1
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/middlewares/WebhookEventMiddleware.js.map +1 -1
- package/lib/types/decorators/webhookEvent.d.ts +1 -1
- package/lib/types/index.d.ts +6 -6
- package/package.json +14 -14
- package/readme.md +3 -3
package/jest.config.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
// For a detailed explanation regarding each configuration property, visit:
|
|
2
2
|
// https://jestjs.io/docs/en/configuration.html
|
|
3
|
+
const config = require("@tsed/jest-config");
|
|
3
4
|
|
|
4
5
|
module.exports = {
|
|
5
|
-
...
|
|
6
|
+
...config,
|
|
6
7
|
roots: ["<rootDir>/src", "<rootDir>/test"],
|
|
7
8
|
moduleNameMapper: {
|
|
9
|
+
...config.moduleNameMapper,
|
|
8
10
|
"@tsed/stripe": "<rootDir>/src/index.ts"
|
|
9
11
|
},
|
|
10
12
|
coverageThreshold: {
|
|
@@ -5,8 +5,8 @@ const platform_middlewares_1 = require("@tsed/platform-middlewares");
|
|
|
5
5
|
const platform_params_1 = require("@tsed/platform-params");
|
|
6
6
|
const core_1 = require("@tsed/core");
|
|
7
7
|
const schema_1 = require("@tsed/schema");
|
|
8
|
-
const
|
|
9
|
-
const
|
|
8
|
+
const constants_js_1 = require("../constants/constants.js");
|
|
9
|
+
const WebhookEventMiddleware_js_1 = require("../middlewares/WebhookEventMiddleware.js");
|
|
10
10
|
/**
|
|
11
11
|
* Get the stripe webhook event.
|
|
12
12
|
*
|
|
@@ -15,7 +15,7 @@ const WebhookEventMiddleware_1 = require("../middlewares/WebhookEventMiddleware"
|
|
|
15
15
|
* @input
|
|
16
16
|
*/
|
|
17
17
|
function WebhookEvent(options) {
|
|
18
|
-
return (0, core_1.useDecorators)((0, core_1.useMethodDecorators)((0, schema_1.In)("body").Type(Object).Required().Description("The raw webhook payload"), (0, schema_1.In)("header").Name("stripe-signature").Type(String).Required().Description("The stripe webhook signature"), (0, core_1.StoreSet)(
|
|
18
|
+
return (0, core_1.useDecorators)((0, core_1.useMethodDecorators)((0, schema_1.In)("body").Type(Object).Required().Description("The raw webhook payload"), (0, schema_1.In)("header").Name("stripe-signature").Type(String).Required().Description("The stripe webhook signature"), (0, core_1.StoreSet)(WebhookEventMiddleware_js_1.WebhookEventMiddleware, options), (0, platform_middlewares_1.UseBefore)(WebhookEventMiddleware_js_1.WebhookEventMiddleware)), (0, platform_params_1.Context)(constants_js_1.STRIPE_WEBHOOK_EVENT));
|
|
19
19
|
}
|
|
20
20
|
exports.WebhookEvent = WebhookEvent;
|
|
21
21
|
//# sourceMappingURL=webhookEvent.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhookEvent.js","sourceRoot":"","sources":["../../../src/decorators/webhookEvent.ts"],"names":[],"mappings":";;;AAAA,qEAAqD;AACrD,2DAA8C;AAC9C,qCAAwE;AACxE,yCAAgC;AAChC,
|
|
1
|
+
{"version":3,"file":"webhookEvent.js","sourceRoot":"","sources":["../../../src/decorators/webhookEvent.ts"],"names":[],"mappings":";;;AAAA,qEAAqD;AACrD,2DAA8C;AAC9C,qCAAwE;AACxE,yCAAgC;AAChC,4DAA+D;AAC/D,wFAAqG;AAErG;;;;;;GAMG;AACH,SAAgB,YAAY,CAAC,OAAsC;IACjE,OAAO,IAAA,oBAAa,EAClB,IAAA,0BAAmB,EACjB,IAAA,WAAE,EAAC,MAAM,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,CAAC,WAAW,CAAC,yBAAyB,CAAC,EACzE,IAAA,WAAE,EAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,CAAC,WAAW,CAAC,8BAA8B,CAAC,EACzG,IAAA,eAAQ,EAAC,kDAAsB,EAAE,OAAO,CAAC,EACzC,IAAA,gCAAS,EAAC,kDAAsB,CAAC,CAClC,EACD,IAAA,yBAAO,EAAC,mCAAoB,CAAC,CAC9B,CAAC;AACJ,CAAC;AAVD,oCAUC"}
|
package/lib/cjs/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* @file Automatically generated by barrelsby.
|
|
4
|
-
*/
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
3
|
const tslib_1 = require("tslib");
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
tslib_1.__exportStar(require("./
|
|
11
|
-
tslib_1.__exportStar(require("./
|
|
4
|
+
/**
|
|
5
|
+
* @file Automatically generated by @tsed/barrels.
|
|
6
|
+
*/
|
|
7
|
+
tslib_1.__exportStar(require("./constants/constants.js"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./decorators/webhookEvent.js"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./domain/StripeSettings.js"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./middlewares/WebhookEventMiddleware.js"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./services/StripeFactory.js"), exports);
|
|
12
12
|
//# sourceMappingURL=index.js.map
|
package/lib/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,mEAAyC;AACzC,uEAA6C;AAC7C,qEAA2C;AAC3C,kFAAwD;AACxD,sEAA4C"}
|
|
@@ -8,7 +8,7 @@ const platform_middlewares_1 = require("@tsed/platform-middlewares");
|
|
|
8
8
|
const di_1 = require("@tsed/di");
|
|
9
9
|
const exceptions_1 = require("@tsed/exceptions");
|
|
10
10
|
const stripe_1 = require("stripe");
|
|
11
|
-
const
|
|
11
|
+
const constants_js_1 = require("../constants/constants.js");
|
|
12
12
|
require("../services/StripeFactory");
|
|
13
13
|
let WebhookEventMiddleware = WebhookEventMiddleware_1 = class WebhookEventMiddleware {
|
|
14
14
|
stripe;
|
|
@@ -22,8 +22,8 @@ let WebhookEventMiddleware = WebhookEventMiddleware_1 = class WebhookEventMiddle
|
|
|
22
22
|
throw new exceptions_1.InternalServerError("Missing Stripe webhooks secret key. You can get this in your dashboard. See: https://dashboard.stripe.com/webhooks.");
|
|
23
23
|
}
|
|
24
24
|
try {
|
|
25
|
-
ctx.set(
|
|
26
|
-
ctx.set(
|
|
25
|
+
ctx.set(constants_js_1.STRIPE_WEBHOOK_SIGNATURE, signature);
|
|
26
|
+
ctx.set(constants_js_1.STRIPE_WEBHOOK_EVENT, this.stripe.webhooks.constructEvent(body, signature, secret, tolerance));
|
|
27
27
|
}
|
|
28
28
|
catch (err) {
|
|
29
29
|
throw new exceptions_1.BadRequest(`Stripe webhook error: ${err.message}`, err);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebhookEventMiddleware.js","sourceRoot":"","sources":["../../../src/middlewares/WebhookEventMiddleware.ts"],"names":[],"mappings":";;;;;AAAA,2DAA2E;AAC3E,qEAAyE;AACzE,iCAA0C;AAC1C,iDAAiE;AACjE,mCAA8B;AAC9B,
|
|
1
|
+
{"version":3,"file":"WebhookEventMiddleware.js","sourceRoot":"","sources":["../../../src/middlewares/WebhookEventMiddleware.ts"],"names":[],"mappings":";;;;;AAAA,2DAA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|
|
|
1
|
-
{"version":3,"file":"webhookEvent.js","sourceRoot":"","sources":["../../../src/decorators/webhookEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAC,OAAO,EAAC,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAC,QAAQ,EAAE,aAAa,EAAE,mBAAmB,EAAC,MAAM,YAAY,CAAC;AACxE,OAAO,EAAC,EAAE,EAAC,MAAM,cAAc,CAAC;AAChC,OAAO,EAAC,oBAAoB,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"webhookEvent.js","sourceRoot":"","sources":["../../../src/decorators/webhookEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAC,OAAO,EAAC,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAC,QAAQ,EAAE,aAAa,EAAE,mBAAmB,EAAC,MAAM,YAAY,CAAC;AACxE,OAAO,EAAC,EAAE,EAAC,MAAM,cAAc,CAAC;AAChC,OAAO,EAAC,oBAAoB,EAAC,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAC,sBAAsB,EAAsB,MAAM,0CAA0C,CAAC;AAErG;;;;;;GAMG;AACH,MAAM,UAAU,YAAY,CAAC,OAAsC;IACjE,OAAO,aAAa,CAClB,mBAAmB,CACjB,EAAE,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,CAAC,WAAW,CAAC,yBAAyB,CAAC,EACzE,EAAE,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,CAAC,WAAW,CAAC,8BAA8B,CAAC,EACzG,QAAQ,CAAC,sBAAsB,EAAE,OAAO,CAAC,EACzC,SAAS,CAAC,sBAAsB,CAAC,CAClC,EACD,OAAO,CAAC,oBAAoB,CAAC,CAC9B,CAAC;AACJ,CAAC"}
|
package/lib/esm/index.js
CHANGED
package/lib/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yCAAyC,CAAC;AACxD,cAAc,6BAA6B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebhookEventMiddleware.js","sourceRoot":"","sources":["../../../src/middlewares/WebhookEventMiddleware.ts"],"names":[],"mappings":";;AAAA,OAAO,EAAC,OAAO,EAAE,YAAY,EAAE,aAAa,EAAC,MAAM,uBAAuB,CAAC;AAC3E,OAAO,EAAC,UAAU,EAAoB,MAAM,4BAA4B,CAAC;AACzE,OAAO,EAAC,QAAQ,EAAE,MAAM,EAAC,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAC,UAAU,EAAE,mBAAmB,EAAC,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAC,MAAM,EAAC,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAC,oBAAoB,EAAE,wBAAwB,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"WebhookEventMiddleware.js","sourceRoot":"","sources":["../../../src/middlewares/WebhookEventMiddleware.ts"],"names":[],"mappings":";;AAAA,OAAO,EAAC,OAAO,EAAE,YAAY,EAAE,aAAa,EAAC,MAAM,uBAAuB,CAAC;AAC3E,OAAO,EAAC,UAAU,EAAoB,MAAM,4BAA4B,CAAC;AACzE,OAAO,EAAC,QAAQ,EAAE,MAAM,EAAC,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAC,UAAU,EAAE,mBAAmB,EAAC,MAAM,k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
package/lib/types/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @file Automatically generated by
|
|
2
|
+
* @file Automatically generated by @tsed/barrels.
|
|
3
3
|
*/
|
|
4
|
-
export * from "./constants/constants";
|
|
5
|
-
export * from "./decorators/webhookEvent";
|
|
6
|
-
export * from "./domain/StripeSettings";
|
|
7
|
-
export * from "./middlewares/WebhookEventMiddleware";
|
|
8
|
-
export * from "./services/StripeFactory";
|
|
4
|
+
export * from "./constants/constants.js";
|
|
5
|
+
export * from "./decorators/webhookEvent.js";
|
|
6
|
+
export * from "./domain/StripeSettings.js";
|
|
7
|
+
export * from "./middlewares/WebhookEventMiddleware.js";
|
|
8
|
+
export * from "./services/StripeFactory.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/stripe",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.71.1",
|
|
4
4
|
"description": "Stripe package for Ts.ED framework",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Stripe",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"scripts": {
|
|
25
25
|
"build": "yarn barrels && yarn build:ts",
|
|
26
|
-
"barrels": "
|
|
26
|
+
"barrels": "barrels",
|
|
27
27
|
"test": "jest --max-workers=2 && jest-coverage-thresholds-bumper",
|
|
28
28
|
"build:ts": "tsc --build tsconfig.json && tsc --build tsconfig.esm.json"
|
|
29
29
|
},
|
|
@@ -31,23 +31,23 @@
|
|
|
31
31
|
"tslib": "2.6.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@tsed/
|
|
35
|
-
"@tsed/
|
|
36
|
-
"@tsed/
|
|
37
|
-
"@tsed/
|
|
38
|
-
"@tsed/platform-
|
|
39
|
-
"@tsed/
|
|
40
|
-
"@tsed/
|
|
41
|
-
"
|
|
34
|
+
"@tsed/barrels": "7.71.1",
|
|
35
|
+
"@tsed/core": "7.71.1",
|
|
36
|
+
"@tsed/di": "7.71.1",
|
|
37
|
+
"@tsed/exceptions": "7.71.1",
|
|
38
|
+
"@tsed/platform-middlewares": "7.71.1",
|
|
39
|
+
"@tsed/platform-params": "7.71.1",
|
|
40
|
+
"@tsed/schema": "7.71.1",
|
|
41
|
+
"@tsed/typescript": "7.71.1",
|
|
42
42
|
"eslint": "^8.57.0",
|
|
43
43
|
"jest": "^29.7.0",
|
|
44
44
|
"stripe": "^8.129.0"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"@tsed/exceptions": "7.
|
|
48
|
-
"@tsed/platform-middlewares": "7.
|
|
49
|
-
"@tsed/platform-params": "7.
|
|
50
|
-
"@tsed/schema": "7.
|
|
47
|
+
"@tsed/exceptions": "7.71.1",
|
|
48
|
+
"@tsed/platform-middlewares": "7.71.1",
|
|
49
|
+
"@tsed/platform-params": "7.71.1",
|
|
50
|
+
"@tsed/schema": "7.71.1",
|
|
51
51
|
"@types/body-parser": "^1.19.0",
|
|
52
52
|
"body-parser": "^1.19.0",
|
|
53
53
|
"stripe": "^9.16.0"
|
package/readme.md
CHANGED
|
@@ -153,7 +153,7 @@ You can use stripe.webhooks.generateTestHeaderString to mock webhook events that
|
|
|
153
153
|
```typescript
|
|
154
154
|
import {Stripe} from "stripe";
|
|
155
155
|
import {PlatformTest} from "@tsed/common";
|
|
156
|
-
import {StripWebhookCtrl} from "./StripWebhookCtrl";
|
|
156
|
+
import {StripWebhookCtrl} from "./StripWebhookCtrl.js";
|
|
157
157
|
|
|
158
158
|
describe("StripWebhookCtrl", () => {
|
|
159
159
|
beforeEach(() =>
|
|
@@ -203,8 +203,8 @@ import {PlatformTestUtils} from "@tsed/platform-test-utils";
|
|
|
203
203
|
import {expect} from "chai";
|
|
204
204
|
import {Stripe} from "stripe";
|
|
205
205
|
import SuperTest from "supertest";
|
|
206
|
-
import {StripeWebhooksCtrl} from "./StripWebhookCtrl";
|
|
207
|
-
import {Server} from "../Server";
|
|
206
|
+
import {StripeWebhooksCtrl} from "./StripWebhookCtrl.js";
|
|
207
|
+
import {Server} from "../Server.js";
|
|
208
208
|
|
|
209
209
|
const utils = PlatformTestUtils.create({
|
|
210
210
|
platform: PlatformExpress,
|