@pristine-ts/stripe 0.0.371 → 0.0.372
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/dist/lib/cjs/clients/stripe.client.js +1 -1
- package/dist/lib/cjs/clients/stripe.client.js.map +1 -1
- package/dist/lib/cjs/managers/stripe-webhooks.manager.js +2 -2
- package/dist/lib/cjs/managers/stripe-webhooks.manager.js.map +1 -1
- package/dist/lib/esm/clients/stripe.client.js +1 -1
- package/dist/lib/esm/clients/stripe.client.js.map +1 -1
- package/dist/lib/esm/managers/stripe-webhooks.manager.js +2 -2
- package/dist/lib/esm/managers/stripe-webhooks.manager.js.map +1 -1
- package/package.json +6 -6
|
@@ -69,7 +69,7 @@ let StripeClient = class StripeClient {
|
|
|
69
69
|
return this.getStripeClient().webhooks.constructEvent(request.rawBody, stripeSignature, stripeSigningEndpointSecret);
|
|
70
70
|
}
|
|
71
71
|
catch (err) {
|
|
72
|
-
this.logHandler.error("Error with stripe signature", { error: err, request }, stripe_module_keyname_1.StripeModuleKeyname);
|
|
72
|
+
this.logHandler.error("StripeClient: Error with stripe signature.", { extra: { error: err, request } }, stripe_module_keyname_1.StripeModuleKeyname);
|
|
73
73
|
throw new stripe_authentication_error_1.StripeAuthenticationError(400, 'Raw body does not match stripe signature');
|
|
74
74
|
}
|
|
75
75
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stripe.client.js","sourceRoot":"","sources":["../../../../src/clients/stripe.client.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAA4C;AAE5C,gDAAwC;AAExC,uFAAgF;AAChF,oEAA6D;AAC7D,oDAA4B;AAG5B;;;GAGG;AAGI,IAAM,YAAY,GAAlB,MAAM,YAAY;IAQrB;;;;;OAKG;IACH,YACoD,UAA+B,EACb,YAAoB;QADtC,eAAU,GAAV,UAAU,CAAqB;QACb,iBAAY,GAAZ,YAAY,CAAQ;IAE1F,CAA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AU,EAAE,YAAY;SAC3B,CAAC,CAAC;IACP,CAAC;IAED;;;;OAIG;IACG,eAAe,CAAC,OAAgB,EAAE,2BAAmC;;YACvE,IAAG,CAAC,OAAO,CAAC,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,kBAAkB,CAAC,EAAE,CAAC;gBAC1D,MAAM,IAAI,uDAAyB,CAAC,GAAG,EAAE,sCAAsC,CAAC,CAAC;YACrF,CAAC;YAED,MAAM,eAAe,GAAG,OAAO,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC;YAE5D,IAAI,CAAC;gBACD,OAAO,IAAI,CAAC,eAAe,EAAE,CAAC,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,OAAO,EAAE,eAAe,EAAE,2BAA2B,CAAC,CAAC;YACzH,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACX,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,4CAA4C,EAAE,EAAC,KAAK,EAAE,EAAC,KAAK,EAAE,GAAG,EAAE,OAAO,EAAC,EAAC,EAAE,2CAAmB,CAAC,CAAC;gBACzH,MAAM,IAAI,uDAAyB,CAAC,GAAG,EAAE,0CAA0C,CAAC,CAAC;YACzF,CAAC;QACL,CAAC;KAAA;CACJ,CAAA;AAhDY,oCAAY;uBAAZ,YAAY;IAFxB,IAAA,YAAG,EAAC,uBAAuB,CAAC;IAC5B,IAAA,qBAAU,GAAE;IAgBJ,WAAA,IAAA,iBAAM,EAAC,qBAAqB,CAAC,CAAA;IAC7B,WAAA,IAAA,iBAAM,EAAC,IAAI,2CAAmB,gBAAgB,CAAC,CAAA;;GAhB3C,YAAY,CAgDxB"}
|
|
@@ -54,7 +54,7 @@ let StripeWebhooksManager = StripeWebhooksManager_1 = class StripeWebhooksManage
|
|
|
54
54
|
const event = yield this.stripeClient.verifySignature(request, stripeSigningEndpointSecret);
|
|
55
55
|
// For the moment we only handle subscription events.
|
|
56
56
|
if (!event.type.startsWith('customer.subscription')) {
|
|
57
|
-
this.logHandler.error("Stripe event is not a subscription", { event, className: StripeWebhooksManager_1.name }, stripe_module_keyname_1.StripeModuleKeyname);
|
|
57
|
+
this.logHandler.error("StripeWebhooksManager: Stripe event is not a subscription, make sure to only send subscription events to this webhook.", { extra: { event, className: StripeWebhooksManager_1.name } }, stripe_module_keyname_1.StripeModuleKeyname);
|
|
58
58
|
throw new Error("Event is not a subscription");
|
|
59
59
|
}
|
|
60
60
|
const stripeSubscription = event.data.object;
|
|
@@ -86,7 +86,7 @@ let StripeWebhooksManager = StripeWebhooksManager_1 = class StripeWebhooksManage
|
|
|
86
86
|
type = stripe_event_type_enum_1.StripeEventTypeEnum.StripeSubscriptionPendingUpdateExpired;
|
|
87
87
|
break;
|
|
88
88
|
default:
|
|
89
|
-
yield this.logHandler.debug("This event type is not supported", { event, className: StripeWebhooksManager_1.name }, stripe_module_keyname_1.StripeModuleKeyname);
|
|
89
|
+
yield this.logHandler.debug("StripeWebhooksManager: This event type is not supported.", { extra: { event, className: StripeWebhooksManager_1.name } }, stripe_module_keyname_1.StripeModuleKeyname);
|
|
90
90
|
return Promise.resolve();
|
|
91
91
|
}
|
|
92
92
|
// Because we check before and resolve before getting here.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stripe-webhooks.manager.js","sourceRoot":"","sources":["../../../../src/managers/stripe-webhooks.manager.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAA4C;AAG5C,4CAAyD;AACzD,4EAAoE;AACpE,4DAAsD;AACtD,oEAA6D;AAG7D;;GAEG;AAEI,IAAM,qBAAqB,6BAA3B,MAAM,qBAAqB;IAE9B;;;;;OAKG;IACH,YACqB,eAAgC,EAChC,YAA0B,EACK,UAA+B;QAF9D,oBAAe,GAAf,eAAe,CAAiB;QAChC,iBAAY,GAAZ,YAAY,CAAc;QACK,eAAU,GAAV,UAAU,CAAqB;IAChF,CAAC;IAEJ;;;;OAIG;IACG,qBAAqB,CAAC,OAAgB,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DAAqB;gCAArB,qBAAqB;IADjC,IAAA,qBAAU,GAAE;IAYJ,WAAA,IAAA,iBAAM,EAAC,qBAAqB,CAAC,CAAA;qCAFI,sBAAe;QAClB,4BAAY;GAVtC,qBAAqB,CAwEjC"}
|
|
@@ -63,7 +63,7 @@ let StripeClient = class StripeClient {
|
|
|
63
63
|
return this.getStripeClient().webhooks.constructEvent(request.rawBody, stripeSignature, stripeSigningEndpointSecret);
|
|
64
64
|
}
|
|
65
65
|
catch (err) {
|
|
66
|
-
this.logHandler.error("Error with stripe signature", { error: err, request }, StripeModuleKeyname);
|
|
66
|
+
this.logHandler.error("StripeClient: Error with stripe signature.", { extra: { error: err, request } }, StripeModuleKeyname);
|
|
67
67
|
throw new StripeAuthenticationError(400, 'Raw body does not match stripe signature');
|
|
68
68
|
}
|
|
69
69
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stripe.client.js","sourceRoot":"","sources":["../../../../src/clients/stripe.client.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAC,MAAM,EAAE,UAAU,EAAC,MAAM,UAAU,CAAC;AAE5C,OAAO,EAAC,GAAG,EAAC,MAAM,qBAAqB,CAAC;AAExC,OAAO,EAAC,yBAAyB,EAAC,MAAM,uCAAuC,CAAC;AAChF,OAAO,EAAC,mBAAmB,EAAC,MAAM,0BAA0B,CAAC;AAC7D,OAAO,MAAM,MAAM,QAAQ,CAAC;AAG5B;;;GAGG;AAGI,IAAM,YAAY,GAAlB,MAAM,YAAY;IAQrB;;;;;OAKG;IACH,YACoD,UAA+B,EACb,YAAoB;QADtC,eAAU,GAAV,UAAU,CAAqB;QACb,iBAAY,GAAZ,YAAY,CAAQ;IAE1F,CAAC;IAED;;OAEG;IACH,eAAe;;QACX,OAAO,IAAI,CAAC,MAAM,GAAG,MAAA,IAAI,CAAC,MAAM,mCAAI,IAAI,MAAM,CAAC,IAAI,CAAC,YAAY,EAAE;YAC9D,UAAU,EAAE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AY,EAAE;YAC9D,UAAU,EAAE,YAAY;SAC3B,CAAC,CAAC;IACP,CAAC;IAED;;;;OAIG;IACG,eAAe,CAAC,OAAgB,EAAE,2BAAmC;;YACvE,IAAG,CAAC,OAAO,CAAC,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,kBAAkB,CAAC,EAAE,CAAC;gBAC1D,MAAM,IAAI,yBAAyB,CAAC,GAAG,EAAE,sCAAsC,CAAC,CAAC;YACrF,CAAC;YAED,MAAM,eAAe,GAAG,OAAO,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC;YAE5D,IAAI,CAAC;gBACD,OAAO,IAAI,CAAC,eAAe,EAAE,CAAC,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,OAAO,EAAE,eAAe,EAAE,2BAA2B,CAAC,CAAC;YACzH,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACX,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,4CAA4C,EAAE,EAAC,KAAK,EAAE,EAAC,KAAK,EAAE,GAAG,EAAE,OAAO,EAAC,EAAC,EAAE,mBAAmB,CAAC,CAAC;gBACzH,MAAM,IAAI,yBAAyB,CAAC,GAAG,EAAE,0CAA0C,CAAC,CAAC;YACzF,CAAC;QACL,CAAC;KAAA;CACJ,CAAA;AAhDY,YAAY;IAFxB,GAAG,CAAC,uBAAuB,CAAC;IAC5B,UAAU,EAAE;IAgBJ,WAAA,MAAM,CAAC,qBAAqB,CAAC,CAAA;IAC7B,WAAA,MAAM,CAAC,IAAI,mBAAmB,gBAAgB,CAAC,CAAA;;GAhB3C,YAAY,CAgDxB"}
|
|
@@ -51,7 +51,7 @@ let StripeWebhooksManager = StripeWebhooksManager_1 = class StripeWebhooksManage
|
|
|
51
51
|
const event = yield this.stripeClient.verifySignature(request, stripeSigningEndpointSecret);
|
|
52
52
|
// For the moment we only handle subscription events.
|
|
53
53
|
if (!event.type.startsWith('customer.subscription')) {
|
|
54
|
-
this.logHandler.error("Stripe event is not a subscription", { event, className: StripeWebhooksManager_1.name }, StripeModuleKeyname);
|
|
54
|
+
this.logHandler.error("StripeWebhooksManager: Stripe event is not a subscription, make sure to only send subscription events to this webhook.", { extra: { event, className: StripeWebhooksManager_1.name } }, StripeModuleKeyname);
|
|
55
55
|
throw new Error("Event is not a subscription");
|
|
56
56
|
}
|
|
57
57
|
const stripeSubscription = event.data.object;
|
|
@@ -83,7 +83,7 @@ let StripeWebhooksManager = StripeWebhooksManager_1 = class StripeWebhooksManage
|
|
|
83
83
|
type = StripeEventTypeEnum.StripeSubscriptionPendingUpdateExpired;
|
|
84
84
|
break;
|
|
85
85
|
default:
|
|
86
|
-
yield this.logHandler.debug("This event type is not supported", { event, className: StripeWebhooksManager_1.name }, StripeModuleKeyname);
|
|
86
|
+
yield this.logHandler.debug("StripeWebhooksManager: This event type is not supported.", { extra: { event, className: StripeWebhooksManager_1.name } }, StripeModuleKeyname);
|
|
87
87
|
return Promise.resolve();
|
|
88
88
|
}
|
|
89
89
|
// Because we check before and resolve before getting here.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stripe-webhooks.manager.js","sourceRoot":"","sources":["../../../../src/managers/stripe-webhooks.manager.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAC,MAAM,EAAE,UAAU,EAAC,MAAM,UAAU,CAAC;AAG5C,OAAO,EAAC,KAAK,EAAE,eAAe,EAAC,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAC,mBAAmB,EAAC,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAC,YAAY,EAAC,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAC,mBAAmB,EAAC,MAAM,0BAA0B,CAAC;AAG7D;;GAEG;AAEI,IAAM,qBAAqB,6BAA3B,MAAM,qBAAqB;IAE9B;;;;;OAKG;IACH,YACqB,eAAgC,EAChC,YAA0B,EACK,UAA+B;QAF9D,oBAAe,GAAf,eAAe,CAAiB;QAChC,iBAAY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C,EAAE,mBAAmB,CAAC,CAAC;oBACtK,OAAO,OAAO,CAAC,OAAO,EAAE,CAAC;YACjC,CAAC;YAGD,2DAA2D;YAC3D,oEAAoE;YACpE,MAAM,WAAW,GAAG,IAAI,KAAK,CAAC,IAAK,EAAE,kBAAkB,CAAC,CAAA;YAExD,sBAAsB;YACtB,MAAM,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAA;QACpD,CAAC;KAAA;CACJ,CAAA;AAxEY,qBAAqB;IADjC,UAAU,EAAE;IAYJ,WAAA,MAAM,CAAC,qBAAqB,CAAC,CAAA;qCAFI,eAAe;QAClB,YAAY;GAVtC,qBAAqB,CAwEjC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pristine-ts/stripe",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.372",
|
|
4
4
|
"description": "",
|
|
5
5
|
"module": "dist/lib/esm/stripe.module.js",
|
|
6
6
|
"main": "dist/lib/cjs/stripe.module.js",
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
"test:cov": "jest --coverage"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@pristine-ts/common": "^0.0.
|
|
16
|
-
"@pristine-ts/core": "^0.0.
|
|
17
|
-
"@pristine-ts/logging": "^0.0.
|
|
18
|
-
"@pristine-ts/networking": "^0.0.
|
|
15
|
+
"@pristine-ts/common": "^0.0.372",
|
|
16
|
+
"@pristine-ts/core": "^0.0.372",
|
|
17
|
+
"@pristine-ts/logging": "^0.0.372",
|
|
18
|
+
"@pristine-ts/networking": "^0.0.372",
|
|
19
19
|
"stripe": "^14.2.0"
|
|
20
20
|
},
|
|
21
21
|
"files": [
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"src/*.{js,ts}"
|
|
61
61
|
]
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "d8be769536e2d5e64e1479af460f1bd8c93b688d"
|
|
64
64
|
}
|