yoomoney-sdk
Advanced tools
Comparing version 1.2.5 to 1.2.6
@@ -62,3 +62,3 @@ "use strict"; | ||
const hash = crypto_1.createHash("sha1").update(signature).digest(); | ||
if (crypto_1.timingSafeEqual(hash, Buffer.from(notification.sha1_hash, "hex"))) { | ||
if (!crypto_1.timingSafeEqual(hash, Buffer.from(notification.sha1_hash, "hex"))) { | ||
throw new YMNotificationError(`Notification hash mismatch`); | ||
@@ -65,0 +65,0 @@ } |
@@ -48,3 +48,3 @@ [yoomoney-sdk](../README.md) / [Exports](../modules.md) / YMApi | ||
[src/api.ts:32](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/api.ts#L32) | ||
[src/api.ts:32](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/api.ts#L32) | ||
@@ -85,3 +85,3 @@ ## Properties | ||
[src/api.ts:71](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/api.ts#L71) | ||
[src/api.ts:71](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/api.ts#L71) | ||
@@ -115,3 +115,3 @@ ___ | ||
[src/api.ts:47](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/api.ts#L47) | ||
[src/api.ts:47](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/api.ts#L47) | ||
@@ -142,3 +142,3 @@ ___ | ||
[src/api.ts:141](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/api.ts#L141) | ||
[src/api.ts:141](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/api.ts#L141) | ||
@@ -167,3 +167,3 @@ ___ | ||
[src/api.ts:155](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/api.ts#L155) | ||
[src/api.ts:155](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/api.ts#L155) | ||
@@ -192,3 +192,3 @@ ___ | ||
[src/api.ts:97](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/api.ts#L97) | ||
[src/api.ts:97](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/api.ts#L97) | ||
@@ -217,3 +217,3 @@ ___ | ||
[src/api.ts:83](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/api.ts#L83) | ||
[src/api.ts:83](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/api.ts#L83) | ||
@@ -240,3 +240,3 @@ ___ | ||
[src/api.ts:125](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/api.ts#L125) | ||
[src/api.ts:125](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/api.ts#L125) | ||
@@ -267,2 +267,2 @@ ___ | ||
[src/api.ts:113](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/api.ts#L113) | ||
[src/api.ts:113](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/api.ts#L113) |
@@ -53,3 +53,3 @@ [yoomoney-sdk](../README.md) / [Exports](../modules.md) / YMApiError | ||
[src/api.ts:15](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/api.ts#L15) | ||
[src/api.ts:15](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/api.ts#L15) | ||
@@ -64,3 +64,3 @@ ## Properties | ||
[src/api.ts:9](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/api.ts#L9) | ||
[src/api.ts:9](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/api.ts#L9) | ||
@@ -67,0 +67,0 @@ ___ |
@@ -46,3 +46,3 @@ [yoomoney-sdk](../README.md) / [Exports](../modules.md) / YMAuth | ||
[src/auth.ts:40](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/auth.ts#L40) | ||
[src/auth.ts:40](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/auth.ts#L40) | ||
@@ -99,3 +99,3 @@ ## Properties | ||
[src/auth.ts:75](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/auth.ts#L75) | ||
[src/auth.ts:75](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/auth.ts#L75) | ||
@@ -123,2 +123,2 @@ ___ | ||
[src/auth.ts:55](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/auth.ts#L55) | ||
[src/auth.ts:55](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/auth.ts#L55) |
@@ -50,3 +50,3 @@ [yoomoney-sdk](../README.md) / [Exports](../modules.md) / YMAuthError | ||
[src/auth.ts:22](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/auth.ts#L22) | ||
[src/auth.ts:22](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/auth.ts#L22) | ||
@@ -53,0 +53,0 @@ ## Properties |
@@ -34,3 +34,3 @@ [yoomoney-sdk](../README.md) / [Exports](../modules.md) / YMNotificationChecker | ||
[src/notifications.ts:71](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/notifications.ts#L71) | ||
[src/notifications.ts:71](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/notifications.ts#L71) | ||
@@ -55,3 +55,3 @@ ## Methods | ||
[src/notifications.ts:78](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/notifications.ts#L78) | ||
[src/notifications.ts:78](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/notifications.ts#L78) | ||
@@ -111,2 +111,2 @@ ___ | ||
[src/notifications.ts:153](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/notifications.ts#L153) | ||
[src/notifications.ts:153](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/notifications.ts#L153) |
@@ -51,3 +51,3 @@ [yoomoney-sdk](../README.md) / [Exports](../modules.md) / YMPaymentFromBuilder | ||
[src/payment-form-builder.ts:124](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/payment-form-builder.ts#L124) | ||
[src/payment-form-builder.ts:124](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/payment-form-builder.ts#L124) | ||
@@ -82,3 +82,3 @@ ## Properties | ||
[src/payment-form-builder.ts:188](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/payment-form-builder.ts#L188) | ||
[src/payment-form-builder.ts:188](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/payment-form-builder.ts#L188) | ||
@@ -107,3 +107,3 @@ ___ | ||
[src/payment-form-builder.ts:185](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/payment-form-builder.ts#L185) | ||
[src/payment-form-builder.ts:185](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/payment-form-builder.ts#L185) | ||
@@ -132,3 +132,3 @@ ___ | ||
[src/payment-form-builder.ts:187](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/payment-form-builder.ts#L187) | ||
[src/payment-form-builder.ts:187](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/payment-form-builder.ts#L187) | ||
@@ -157,3 +157,3 @@ ___ | ||
[src/payment-form-builder.ts:182](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/payment-form-builder.ts#L182) | ||
[src/payment-form-builder.ts:182](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/payment-form-builder.ts#L182) | ||
@@ -182,3 +182,3 @@ ___ | ||
[src/payment-form-builder.ts:183](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/payment-form-builder.ts#L183) | ||
[src/payment-form-builder.ts:183](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/payment-form-builder.ts#L183) | ||
@@ -207,3 +207,3 @@ ___ | ||
[src/payment-form-builder.ts:186](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/payment-form-builder.ts#L186) | ||
[src/payment-form-builder.ts:186](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/payment-form-builder.ts#L186) | ||
@@ -232,3 +232,3 @@ ___ | ||
[src/payment-form-builder.ts:181](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/payment-form-builder.ts#L181) | ||
[src/payment-form-builder.ts:181](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/payment-form-builder.ts#L181) | ||
@@ -257,3 +257,3 @@ ___ | ||
[src/payment-form-builder.ts:184](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/payment-form-builder.ts#L184) | ||
[src/payment-form-builder.ts:184](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/payment-form-builder.ts#L184) | ||
@@ -298,3 +298,3 @@ ## Methods | ||
[src/payment-form-builder.ts:140](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/payment-form-builder.ts#L140) | ||
[src/payment-form-builder.ts:140](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/payment-form-builder.ts#L140) | ||
@@ -321,3 +321,3 @@ ___ | ||
[src/payment-form-builder.ts:235](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/payment-form-builder.ts#L235) | ||
[src/payment-form-builder.ts:235](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/payment-form-builder.ts#L235) | ||
@@ -342,3 +342,3 @@ ___ | ||
[src/payment-form-builder.ts:205](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/payment-form-builder.ts#L205) | ||
[src/payment-form-builder.ts:205](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/payment-form-builder.ts#L205) | ||
@@ -363,3 +363,3 @@ ___ | ||
[src/payment-form-builder.ts:215](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/payment-form-builder.ts#L215) | ||
[src/payment-form-builder.ts:215](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/payment-form-builder.ts#L215) | ||
@@ -384,3 +384,3 @@ ___ | ||
[src/payment-form-builder.ts:195](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/payment-form-builder.ts#L195) | ||
[src/payment-form-builder.ts:195](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/payment-form-builder.ts#L195) | ||
@@ -405,3 +405,3 @@ ___ | ||
[src/payment-form-builder.ts:225](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/payment-form-builder.ts#L225) | ||
[src/payment-form-builder.ts:225](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/payment-form-builder.ts#L225) | ||
@@ -428,3 +428,3 @@ ___ | ||
[src/payment-form-builder.ts:154](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/payment-form-builder.ts#L154) | ||
[src/payment-form-builder.ts:154](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/payment-form-builder.ts#L154) | ||
@@ -451,3 +451,3 @@ ___ | ||
[src/payment-form-builder.ts:165](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/payment-form-builder.ts#L165) | ||
[src/payment-form-builder.ts:165](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/payment-form-builder.ts#L165) | ||
@@ -474,2 +474,2 @@ ___ | ||
[src/payment-form-builder.ts:176](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/payment-form-builder.ts#L176) | ||
[src/payment-form-builder.ts:176](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/payment-form-builder.ts#L176) |
@@ -57,3 +57,3 @@ [yoomoney-sdk](README.md) / Exports | ||
[src/payment-form-builder.ts:12](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/payment-form-builder.ts#L12) | ||
[src/payment-form-builder.ts:12](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/payment-form-builder.ts#L12) | ||
@@ -96,3 +96,3 @@ ___ | ||
[src/notifications.ts:6](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/notifications.ts#L6) | ||
[src/notifications.ts:6](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/notifications.ts#L6) | ||
@@ -115,2 +115,2 @@ ## Variables | ||
[src/payment-form-builder.ts:5](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/payment-form-builder.ts#L5) | ||
[src/payment-form-builder.ts:5](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/payment-form-builder.ts#L5) |
@@ -50,3 +50,3 @@ [yoomoney-sdk](../README.md) / [Exports](../modules.md) / ymTypes | ||
[src/api.types.ts:48](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/api.types.ts#L48) | ||
[src/api.types.ts:48](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/api.types.ts#L48) | ||
@@ -72,3 +72,3 @@ ___ | ||
[src/api.types.ts:551](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/api.types.ts#L551) | ||
[src/api.types.ts:551](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/api.types.ts#L551) | ||
@@ -83,3 +83,3 @@ ___ | ||
[src/api.types.ts:563](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/api.types.ts#L563) | ||
[src/api.types.ts:563](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/api.types.ts#L563) | ||
@@ -104,3 +104,3 @@ ___ | ||
[src/api.types.ts:576](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/api.types.ts#L576) | ||
[src/api.types.ts:576](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/api.types.ts#L576) | ||
@@ -115,3 +115,3 @@ ___ | ||
[src/api.types.ts:584](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/api.types.ts#L584) | ||
[src/api.types.ts:584](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/api.types.ts#L584) | ||
@@ -157,3 +157,3 @@ ___ | ||
[src/api.types.ts:159](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/api.types.ts#L159) | ||
[src/api.types.ts:159](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/api.types.ts#L159) | ||
@@ -178,3 +178,3 @@ ___ | ||
[src/api.types.ts:280](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/api.types.ts#L280) | ||
[src/api.types.ts:280](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/api.types.ts#L280) | ||
@@ -205,3 +205,3 @@ ___ | ||
[src/api.types.ts:95](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/api.types.ts#L95) | ||
[src/api.types.ts:95](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/api.types.ts#L95) | ||
@@ -227,3 +227,3 @@ ___ | ||
[src/api.types.ts:274](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/api.types.ts#L274) | ||
[src/api.types.ts:274](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/api.types.ts#L274) | ||
@@ -240,3 +240,3 @@ ___ | ||
[src/api.types.ts:291](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/api.types.ts#L291) | ||
[src/api.types.ts:291](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/api.types.ts#L291) | ||
@@ -265,3 +265,3 @@ ___ | ||
[src/api.types.ts:324](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/api.types.ts#L324) | ||
[src/api.types.ts:324](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/api.types.ts#L324) | ||
@@ -290,3 +290,3 @@ ___ | ||
[src/api.types.ts:442](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/api.types.ts#L442) | ||
[src/api.types.ts:442](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/api.types.ts#L442) | ||
@@ -323,3 +323,3 @@ ___ | ||
[src/api.types.ts:475](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/api.types.ts#L475) | ||
[src/api.types.ts:475](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/api.types.ts#L475) | ||
@@ -345,3 +345,3 @@ ___ | ||
[src/api.types.ts:348](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/api.types.ts#L348) | ||
[src/api.types.ts:348](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/api.types.ts#L348) | ||
@@ -356,3 +356,3 @@ ___ | ||
[src/api.types.ts:343](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/api.types.ts#L343) | ||
[src/api.types.ts:343](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/api.types.ts#L343) | ||
@@ -367,2 +367,2 @@ ___ | ||
[src/api.types.ts:389](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/e2ac32a/src/api.types.ts#L389) | ||
[src/api.types.ts:389](https://github.com/AlexXanderGrib/yoomoney-sdk/blob/ca8499d/src/api.types.ts#L389) |
{ | ||
"name": "yoomoney-sdk", | ||
"version": "1.2.5", | ||
"version": "1.2.6", | ||
"description": "YooMoney typed SDK", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
211894