Comparing version 2.2.0 to 2.3.0
# Change Log | ||
## 2.3.0 | ||
### Новое | ||
- Поддержан ребрендинг `Почты Mail`. | ||
- Поддержана доступность цветов в [шторке авторизации](https://id.vk.com/about/business/go/docs/ru/vkid/latest/vk-id/connection/elements/onetap-drawer/floating-onetap-web). | ||
### Исправления | ||
- Правильное отображение [кнопки One Tap](https://id.vk.com/about/business/go/docs/ru/vkid/latest/vk-id/connection/elements/onetap-button/onetap-web) при установке значения `borderRadius: 0`. | ||
- Правильное отображение [виджета 3 в 1](https://id.vk.com/about/business/go/docs/ru/vkid/latest/vk-id/connection/elements/widget-3-1/three-in-one-web) при установке значения `borderRadius: 0`. | ||
## 2.2.0 | ||
@@ -7,4 +17,4 @@ | ||
- Добавлена возможность открыть авторизацию в новом окне для всех модулей. | ||
- Добавлена возможность менять текста в [кнопке One Tap](https://id.vk.com/business/go/docs/ru/vkid/latest/vk-id/connection/web/onetap). | ||
- Добавлен новый сценарий "Быстрая регистрация" в [шторку авторизации](https://id.vk.com/business/go/docs/ru/vkid/latest/vk-id/connection/web/auth). | ||
- Добавлена возможность менять текста в [кнопке One Tap](https://id.vk.com/about/business/go/docs/ru/vkid/latest/vk-id/connection/elements/onetap-button/onetap-web). | ||
- Добавлен новый сценарий "Быстрая регистрация" в [шторку авторизации](https://id.vk.com/about/business/go/docs/ru/vkid/latest/vk-id/connection/elements/onetap-drawer/floating-onetap-web). | ||
@@ -23,3 +33,3 @@ ## 2.1.0 | ||
- Поддержка авторизации по протоколу OAuth 2.1 | ||
- Поддержка входа через аккаунты Одноклассников и Mail.ru | ||
- Поддержка входа через аккаунты Одноклассников и Mail | ||
- В oneTap и floatingOneTap добавлен параметр fastAuthEnabled, отвечающий за отображение кнопки "Продолжить как" | ||
@@ -50,3 +60,3 @@ | ||
- Поддержка авторизации по протоколу OAuth 2.1 | ||
- Поддержка входа через аккаунты Одноклассников и Mail.ru | ||
- Поддержка входа через аккаунты Одноклассников и Mail | ||
### Исправления | ||
@@ -53,0 +63,0 @@ - Breaking changes: изменения в публичных интерфейсах AuthResponse, Config. |
'use strict'; | ||
// @ts-ignore-next-line пробрасываем версию из package.json в rollup.config | ||
var VERSION = "2.2.0"; | ||
var VERSION = "2.3.0"; | ||
// @ts-ignore-next-line пробрасываем тип сборки из rollup.config | ||
@@ -6,0 +6,0 @@ var DOMAIN = "vk.com"; |
@@ -106,3 +106,3 @@ 'use strict'; | ||
} | ||
return '\n<div id="'.concat(id, '" data-test-id="floatingOneTap" data-scheme="').concat(scheme, '">\n <style>\n :root #').concat(id, ' {\n --floating--contaner_padding: 16px;\n --floating--container_box_shadow: 0px 0px 2px rgba(0,0,0,.08),0px 4px 16px rgba(0,0,0,.08);\n --floating--font_family: -apple-system,system-ui,"Helvetica Neue",Roboto,sans-serif;\n --floating--close_button_color_transparent--hover: rgba(0,16,61,.04);\n --floating--close_button_color_transparent--active: rgba(0,16,61,.08);\n --floating--button_text_color: #FFFFFF;\n --floating--button_background_color: #0077ff;\n }\n\n :root #').concat(id, "[data-scheme=light] {\n --floating--color_background_modal: #ffffff;\n --floating--color_icon_medium: #818c99;\n --floating--color_text_primary: #000000;\n --floating--color_text_secondary: #818c99;\n --floating--button_background_color--hover: #0071F2;\n --floating--button_background_color--focus: #0071F2;\n --floating--button_background_color--active: #0069E1;\n }\n\n :root #").concat(id, "[data-scheme=dark] {\n --floating--color_background_modal: #2c2d2e;\n --floating--color_icon_medium: #b0b1b6;\n --floating--color_text_primary: #e1e3e6;\n --floating--color_text_secondary: #76787a;\n --floating--button_background_color--hover: #097EFF;\n --floating--button_background_color--focus: #097EFF;\n --floating--button_background_color--active: #1385FF;\n --floating--close_button_color_transparent--hover: hsla(0,0%,100%,.04);\n --floating--close_button_color_transparent--active: hsla(0,0%,100%,.08);\n }\n\n #").concat(id, " {\n position: fixed;\n z-index: 99999;\n }\n\n #").concat(id, " iframe {\n position: absolute;\n opacity: 0;\n pointer-events: none;\n border: none;\n color-scheme: auto;\n }\n\n #").concat(id, " .VkIdWebSdk__floating_button_reset_").concat(id, " {\n border: none;\n margin: 0;\n padding: 0;\n width: auto;\n overflow: visible;\n background: transparent;\n color: inherit;\n font: inherit;\n line-height: normal;\n -webkit-font-smoothing: inherit;\n -moz-osx-font-smoothing: inherit;\n -webkit-appearance: none;\n }\n\n #").concat(id, " .VkIdWebSdk__floating_").concat(id, " {\n padding: 12px;\n }\n\n #").concat(id, " .VkIdWebSdk__floating_container_").concat(id, " {\n background: var(--floating--color_background_modal);\n border-radius: 12px;\n padding: var(--floating--contaner_padding);\n box-shadow: var(--floating--container_box_shadow);\n box-sizing: border-box;\n }\n\n #").concat(id, " .VkIdWebSdk__floating_header_").concat(id, " {\n display: flex;\n align-items: center;\n position: relative;\n padding: 2px 0;\n }\n\n #").concat(id, " .VkIdWebSdk__floating_appName_").concat(id, " {\n font-family: var(--floating--font_family);\n font-weight: 400;\n font-size: 13px;\n line-height: 16px;\n color: var(--floating--color_text_secondary);\n }\n\n #").concat(id, " .VkIdWebSdk__floating_close_").concat(id, " {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n top: -4px;\n right: -4px;\n height: 28px;\n width: 28px;\n color: var(--floating--color_icon_medium);\n }\n\n #").concat(id, " .VkIdWebSdk__floating_close_btn_").concat(id, " {\n width: 28px;\n height: 28px;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: .15s;\n }\n\n #").concat(id, " .VkIdWebSdk__floating_close_btn_").concat(id, ":hover {\n cursor: pointer;\n background: var(--floating--close_button_color_transparent--hover);\n }\n\n #").concat(id, " .VkIdWebSdk__floating_close_btn_").concat(id, ":active {\n background: var(--floating--close_button_color_transparent--active);\n }\n\n #").concat(id, " .VkIdWebSdk__floating_content_").concat(id, " {\n padding: 36px 32px;\n text-align: center;\n font-family: var(--floating--font_family);\n }\n\n #").concat(id, " .VkIdWebSdk__floating_title_").concat(id, " {\n color: var(--floating--color_text_primary);\n font-weight: 500;\n font-size: 20px;\n line-height: 24px;\n }\n\n #").concat(id, " .VkIdWebSdk__floating_description_").concat(id, " {\n color: var(--floating--color_text_secondary);\n font-weight: 400;\n font-size: 15px;\n line-height: 20px;\n margin-top: 8px;\n }\n\n #").concat(id, " .VkIdWebSdk__floating_button_").concat(id, " {\n height: 36px;\n width: 100%;\n border-radius: 8px;\n color: var(--floating--button_text_color);\n transition: .15s;\n cursor: pointer;\n background: var(--floating--button_background_color);\n }\n\n #").concat(id, " .VkIdWebSdk__floating_button_").concat(id, ":hover {\n background: var(--floating--button_background_color--hover);\n }\n\n #").concat(id, " .VkIdWebSdk__floating_button_").concat(id, ":focus {\n background: var(--floating--button_background_color--focus);\n }\n\n #").concat(id, " .VkIdWebSdk__floating_button_").concat(id, ":active {\n background: var(--floating--button_background_color--active);\n }\n\n #").concat(id, " .VkIdWebSdk__floating_button_content_").concat(id, " {\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 0 6px;\n }\n\n #").concat(id, " .VkIdWebSdk__floating_button_logo_").concat(id, ",\n #").concat(id, " .VkIdWebSdk__floating_button_spinner_").concat(id, " {\n display: inline-flex;\n }\n\n #").concat(id, " .VkIdWebSdk__floating_button_spinner_").concat(id, " {\n width: 24px;\n animation: vkIdSdkButtonSpinner 0.7s linear infinite;\n }\n\n #").concat(id, " .VkIdWebSdk__floating_button_text_").concat(id, " {\n font-weight: 500;\n line-height: 20px;\n font-family: var(--floating--font_family);\n font-size: 15px;\n transition: .5s;\n min-width: max-content;\n margin-left: 6px;\n text-align: center;\n }\n\n #").concat(id, " .VkIdWebSdk__oauthList_container_").concat(id, " {\n margin-top: 16px;\n }\n\n #").concat(id, "[data-state=loaded] iframe {\n position: initial;\n opacity: 100;\n pointer-events: all;\n }\n\n #").concat(id, "[data-state=loaded] .VkIdWebSdk__floating_").concat(id, " {\n display: none;\n }\n\n #").concat(id, "[data-state=not_loaded] .VkIdWebSdk__floating_button_spinner_").concat(id, " {\n transition: .2s;\n opacity: 0;\n pointer-events: none;\n width: 0;\n }\n\n #").concat(id, "[data-state=loading] .VkIdWebSdk__floating_button_text_").concat(id, " {\n flex: 1;\n }\n\n @media (max-width: 480px) {\n #").concat(id, " {\n display: flex;\n align-items: flex-end;\n left: 0;\n right: 0;\n bottom: ").concat(getIndent(indent.bottom), "px;\n width: 100%;\n height: 340px;\n }\n }\n @media (min-width: 481px) {\n #").concat(id, " {\n top: ").concat(getIndent(indent.top), "px;\n right: ").concat(getIndent(indent.right), 'px;\n width: 384px;\n height: 360px;\n }\n }\n\n @keyframes vkIdSdkButtonSpinner {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n </style>\n <iframe width="100%" height="100%" />\n</div>\n '); | ||
return '\n<div id="'.concat(id, '" data-test-id="floatingOneTap" data-scheme="').concat(scheme, '">\n <style>\n :root #').concat(id, ' {\n --floating--contaner_padding: 16px;\n --floating--container_box_shadow: 0px 0px 2px rgba(0,0,0,.08),0px 4px 16px rgba(0,0,0,.08);\n --floating--font_family: -apple-system,system-ui,"Helvetica Neue",Roboto,sans-serif;\n --floating--close_button_color_transparent--hover: rgba(0,16,61,.04);\n --floating--close_button_color_transparent--active: rgba(0,16,61,.08);\n --floating--button_text_color: #FFFFFF;\n --floating--button_background_color: #0077ff;\n }\n\n :root #').concat(id, "[data-scheme=light] {\n --floating--color_background_modal: #ffffff;\n --floating--color_icon_medium: #818c99;\n --floating--color_text_primary: #000000;\n --floating--color_text_secondary: #818c99;\n --floating--button_background_color--hover: #0071F2;\n --floating--button_background_color--focus: #0071F2;\n --floating--button_background_color--active: #0069E1;\n }\n\n :root #").concat(id, "[data-scheme=dark] {\n --floating--color_background_modal: #1C1D1E;\n --floating--color_icon_medium: #b0b1b6;\n --floating--color_text_primary: #e1e3e6;\n --floating--color_text_secondary: #76787a;\n --floating--button_background_color--hover: #097EFF;\n --floating--button_background_color--focus: #097EFF;\n --floating--button_background_color--active: #1385FF;\n --floating--close_button_color_transparent--hover: hsla(0,0%,100%,.04);\n --floating--close_button_color_transparent--active: hsla(0,0%,100%,.08);\n --floating--container_box_shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.30), 0px 4px 16px 0px rgba(0, 0, 0, 0.30);\n }\n\n #").concat(id, " {\n position: fixed;\n z-index: 99999;\n }\n\n #").concat(id, " iframe {\n position: absolute;\n opacity: 0;\n pointer-events: none;\n border: none;\n color-scheme: auto;\n }\n\n #").concat(id, " .VkIdWebSdk__floating_button_reset_").concat(id, " {\n border: none;\n margin: 0;\n padding: 0;\n width: auto;\n overflow: visible;\n background: transparent;\n color: inherit;\n font: inherit;\n line-height: normal;\n -webkit-font-smoothing: inherit;\n -moz-osx-font-smoothing: inherit;\n -webkit-appearance: none;\n }\n\n #").concat(id, " .VkIdWebSdk__floating_").concat(id, " {\n padding: 12px;\n }\n\n #").concat(id, " .VkIdWebSdk__floating_container_").concat(id, " {\n background: var(--floating--color_background_modal);\n border-radius: 12px;\n padding: var(--floating--contaner_padding);\n box-shadow: var(--floating--container_box_shadow);\n box-sizing: border-box;\n }\n\n #").concat(id, " .VkIdWebSdk__floating_header_").concat(id, " {\n display: flex;\n align-items: center;\n position: relative;\n padding: 2px 0;\n }\n\n #").concat(id, " .VkIdWebSdk__floating_appName_").concat(id, " {\n font-family: var(--floating--font_family);\n font-weight: 400;\n font-size: 13px;\n line-height: 16px;\n color: var(--floating--color_text_secondary);\n }\n\n #").concat(id, " .VkIdWebSdk__floating_close_").concat(id, " {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n top: -4px;\n right: -4px;\n height: 28px;\n width: 28px;\n color: var(--floating--color_icon_medium);\n }\n\n #").concat(id, " .VkIdWebSdk__floating_close_btn_").concat(id, " {\n width: 28px;\n height: 28px;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: .15s;\n }\n\n #").concat(id, " .VkIdWebSdk__floating_close_btn_").concat(id, ":hover {\n cursor: pointer;\n background: var(--floating--close_button_color_transparent--hover);\n }\n\n #").concat(id, " .VkIdWebSdk__floating_close_btn_").concat(id, ":active {\n background: var(--floating--close_button_color_transparent--active);\n }\n\n #").concat(id, " .VkIdWebSdk__floating_content_").concat(id, " {\n padding: 36px 32px;\n text-align: center;\n font-family: var(--floating--font_family);\n }\n\n #").concat(id, " .VkIdWebSdk__floating_title_").concat(id, " {\n color: var(--floating--color_text_primary);\n font-weight: 500;\n font-size: 20px;\n line-height: 24px;\n }\n\n #").concat(id, " .VkIdWebSdk__floating_description_").concat(id, " {\n color: var(--floating--color_text_secondary);\n font-weight: 400;\n font-size: 15px;\n line-height: 20px;\n margin-top: 8px;\n }\n\n #").concat(id, " .VkIdWebSdk__floating_button_").concat(id, " {\n height: 36px;\n width: 100%;\n border-radius: 8px;\n color: var(--floating--button_text_color);\n transition: .15s;\n cursor: pointer;\n background: var(--floating--button_background_color);\n }\n\n #").concat(id, " .VkIdWebSdk__floating_button_").concat(id, ":hover {\n background: var(--floating--button_background_color--hover);\n }\n\n #").concat(id, " .VkIdWebSdk__floating_button_").concat(id, ":focus {\n background: var(--floating--button_background_color--focus);\n }\n\n #").concat(id, " .VkIdWebSdk__floating_button_").concat(id, ":active {\n background: var(--floating--button_background_color--active);\n }\n\n #").concat(id, " .VkIdWebSdk__floating_button_content_").concat(id, " {\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 0 6px;\n }\n\n #").concat(id, " .VkIdWebSdk__floating_button_logo_").concat(id, ",\n #").concat(id, " .VkIdWebSdk__floating_button_spinner_").concat(id, " {\n display: inline-flex;\n }\n\n #").concat(id, " .VkIdWebSdk__floating_button_spinner_").concat(id, " {\n width: 24px;\n animation: vkIdSdkButtonSpinner 0.7s linear infinite;\n }\n\n #").concat(id, " .VkIdWebSdk__floating_button_text_").concat(id, " {\n font-weight: 500;\n line-height: 20px;\n font-family: var(--floating--font_family);\n font-size: 15px;\n transition: .5s;\n min-width: max-content;\n margin-left: 6px;\n text-align: center;\n }\n\n #").concat(id, " .VkIdWebSdk__oauthList_container_").concat(id, " {\n margin-top: 16px;\n }\n\n #").concat(id, "[data-state=loaded] iframe {\n position: initial;\n opacity: 100;\n pointer-events: all;\n }\n\n #").concat(id, "[data-state=loaded] .VkIdWebSdk__floating_").concat(id, " {\n display: none;\n }\n\n #").concat(id, "[data-state=not_loaded] .VkIdWebSdk__floating_button_spinner_").concat(id, " {\n transition: .2s;\n opacity: 0;\n pointer-events: none;\n width: 0;\n }\n\n #").concat(id, "[data-state=loading] .VkIdWebSdk__floating_button_text_").concat(id, " {\n flex: 1;\n }\n\n @media (max-width: 480px) {\n #").concat(id, " {\n display: flex;\n align-items: flex-end;\n left: 0;\n right: 0;\n bottom: ").concat(getIndent(indent.bottom), "px;\n width: 100%;\n height: 340px;\n }\n }\n @media (min-width: 481px) {\n #").concat(id, " {\n top: ").concat(getIndent(indent.top), "px;\n right: ").concat(getIndent(indent.right), 'px;\n width: 384px;\n height: 360px;\n }\n }\n\n @keyframes vkIdSdkButtonSpinner {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n </style>\n <iframe width="100%" height="100%" />\n</div>\n '); | ||
}; | ||
@@ -109,0 +109,0 @@ }; |
@@ -6,4 +6,4 @@ 'use strict'; | ||
MultibrandingStatsProviders["VK"] = "vk"; | ||
MultibrandingStatsProviders["OK"] = "ok"; | ||
MultibrandingStatsProviders["MAIL"] = "mail"; | ||
MultibrandingStatsProviders["OK"] = "ok_ru"; | ||
MultibrandingStatsProviders["MAIL"] = "mail_ru"; | ||
})(exports.MultibrandingStatsProviders || (exports.MultibrandingStatsProviders = {})); |
@@ -19,4 +19,4 @@ 'use strict'; | ||
var _obj; | ||
var OAuthNameText = (_obj = {}, _define_property(_obj, types.OAuthName.OK, "OK"), _define_property(_obj, types.OAuthName.MAIL, "Mail.ru"), _define_property(_obj, types.OAuthName.VK, "VK ID"), _obj); | ||
var OAuthNameText = (_obj = {}, _define_property(_obj, types.OAuthName.OK, "OK"), _define_property(_obj, types.OAuthName.MAIL, "Mail"), _define_property(_obj, types.OAuthName.VK, "VK ID"), _obj); | ||
exports.OAuthNameText = OAuthNameText; |
@@ -22,5 +22,5 @@ 'use strict'; | ||
var _obj1, _obj2; | ||
var singleButtonText = (_obj2 = {}, _define_property(_obj2, types.Languages.RUS, (_obj1 = {}, _define_property(_obj1, types$1.OAuthName.OK, "Войти через OK"), _define_property(_obj1, types$1.OAuthName.MAIL, "Войти с Почтой Mail.ru"), _define_property(_obj1, types$1.OAuthName.VK, "Войти с VK ID"), _obj1)), _define_property(_obj2, types.Languages.UKR, "Увійти з {provider}"), _define_property(_obj2, types.Languages.BEL, "Увайсці з {provider}"), _define_property(_obj2, types.Languages.KAZ, "{provider} кіру"), _define_property(_obj2, types.Languages.UZB, "{provider} orqali kirish"), _define_property(_obj2, types.Languages.ENG, "Sign in with {provider}"), _define_property(_obj2, types.Languages.SPA, "Iniciar sesi\xf3n con {provider}"), _define_property(_obj2, types.Languages.GERMAN, "Mit {provider} anmelden"), _define_property(_obj2, types.Languages.POL, "Zaloguj się z {provider}"), _define_property(_obj2, types.Languages.FRA, "Se connecter avec {provider}"), _define_property(_obj2, types.Languages.TURKEY, "{provider}'den gir"), _obj2); | ||
var singleButtonText = (_obj2 = {}, _define_property(_obj2, types.Languages.RUS, (_obj1 = {}, _define_property(_obj1, types$1.OAuthName.OK, "Войти через OK"), _define_property(_obj1, types$1.OAuthName.MAIL, "Войти с Почтой Mail"), _define_property(_obj1, types$1.OAuthName.VK, "Войти с VK ID"), _obj1)), _define_property(_obj2, types.Languages.UKR, "Увійти з {provider}"), _define_property(_obj2, types.Languages.BEL, "Увайсці з {provider}"), _define_property(_obj2, types.Languages.KAZ, "{provider} кіру"), _define_property(_obj2, types.Languages.UZB, "{provider} orqali kirish"), _define_property(_obj2, types.Languages.ENG, "Sign in with {provider}"), _define_property(_obj2, types.Languages.SPA, "Iniciar sesi\xf3n con {provider}"), _define_property(_obj2, types.Languages.GERMAN, "Mit {provider} anmelden"), _define_property(_obj2, types.Languages.POL, "Zaloguj się z {provider}"), _define_property(_obj2, types.Languages.FRA, "Se connecter avec {provider}"), _define_property(_obj2, types.Languages.TURKEY, "{provider}'den gir"), _obj2); | ||
exports.linkTextLang = linkTextLang; | ||
exports.singleButtonText = singleButtonText; |
'use strict'; | ||
var types$1 = require('../../types.js'); | ||
var nullOrUndefined = require('../../utils/url/nullOrUndefined.js'); | ||
var constants = require('./constants.js'); | ||
@@ -28,3 +29,3 @@ var lang = require('./lang.js'); | ||
}), _define_property(_obj, types.OAuthName.MAIL, function(size) { | ||
return '\n<svg width="'.concat(size + 1, '" height="').concat(size, '" viewBox="0 0 29 28" fill="none" xmlns="http://www.w3.org/2000/svg">\n <g clip-path="url(#clip0_217_2730)">\n <path d="M14.6667 28C22.3987 28 28.6667 21.732 28.6667 14C28.6667 6.26801 22.3987 0 14.6667 0C6.9347 0 0.666687 6.26801 0.666687 14C0.666687 21.732 6.9347 28 14.6667 28Z" fill="#005FF9" style="fill:#005FF9;fill:color(display-p3 0.0000 0.3725 0.9765);fill-opacity:1;"/>\n <path d="M17.2957 14C17.2957 14.52 17.1415 15.0283 16.8526 15.4606C16.5637 15.8929 16.1531 16.2299 15.6728 16.4289C15.1924 16.6279 14.6638 16.6799 14.1538 16.5785C13.6438 16.477 13.1754 16.2267 12.8077 15.859C12.44 15.4913 12.1896 15.0229 12.0882 14.5129C11.9868 14.0029 12.0388 13.4743 12.2378 12.9939C12.4368 12.5135 12.7738 12.1029 13.2061 11.8141C13.6384 11.5252 14.1467 11.371 14.6667 11.371C15.3637 11.3718 16.0319 11.649 16.5248 12.1419C17.0177 12.6348 17.2949 13.303 17.2957 14ZM14.6667 5.259C13.2982 5.25874 11.9487 5.57982 10.7269 6.19638C9.50514 6.81295 8.44522 7.70778 7.63246 8.80882C6.81971 9.90987 6.27684 11.1864 6.04756 12.5356C5.81828 13.8847 5.909 15.2689 6.31241 16.5766C6.71581 17.8844 7.42064 19.0791 8.37015 20.0646C9.31966 21.0502 10.4873 21.799 11.7791 22.2509C13.0709 22.7027 14.4507 22.8449 15.8075 22.666C17.1643 22.4871 18.4601 21.9922 19.5907 21.221L19.6157 21.203L18.4377 19.834L18.4187 19.847C17.0632 20.7181 15.4476 21.092 13.8472 20.9048C12.2469 20.7177 10.7611 19.9811 9.64324 18.8207C8.52539 17.6603 7.84476 16.1481 7.71745 14.5419C7.59015 12.9357 8.02406 11.3351 8.94516 10.0131C9.86627 8.69111 11.2175 7.72965 12.7684 7.29274C14.3192 6.85582 15.9736 6.97052 17.4494 7.61725C18.9251 8.26399 20.1308 9.40269 20.8606 10.8391C21.5905 12.2756 21.7994 13.9207 21.4517 15.494C21.4123 15.8149 21.2547 16.1096 21.0097 16.3206C20.7647 16.5315 20.4499 16.6436 20.1267 16.635C19.9786 16.6249 19.834 16.5855 19.7013 16.5189C19.5686 16.4524 19.4505 16.3602 19.3538 16.2476C19.2571 16.135 19.1838 16.0042 19.1381 15.863C19.0924 15.7218 19.0753 15.5729 19.0877 15.425V14C19.089 12.975 18.7346 11.9813 18.085 11.1885C17.4354 10.3957 16.5308 9.85284 15.5255 9.6526C14.5203 9.45236 13.4768 9.60713 12.5729 10.0905C11.6691 10.5739 10.961 11.3559 10.5694 12.3032C10.1779 13.2504 10.1272 14.3042 10.4259 15.2847C10.7247 16.2651 11.3544 17.1116 12.2076 17.6795C13.0609 18.2475 14.0847 18.5018 15.1045 18.399C16.1244 18.2962 17.0769 17.8428 17.7997 17.116C18.0374 17.4875 18.3585 17.7985 18.7375 18.0241C19.1164 18.2498 19.5428 18.384 19.9827 18.416C20.0607 18.423 20.1397 18.426 20.2187 18.426C20.8595 18.4243 21.4824 18.2136 21.9927 17.826C22.5342 17.4031 22.9298 16.8212 23.1237 16.162C23.1577 16.051 23.2237 15.795 23.2237 15.794V15.784C23.3539 15.1985 23.4156 14.5998 23.4077 14C23.405 11.6826 22.4833 9.46079 20.8446 7.82211C19.2059 6.18342 16.9841 5.26165 14.6667 5.259Z" fill="#FF9E00" style="fill:#FF9E00;fill:color(display-p3 1.0000 0.6196 0.0000);fill-opacity:1;"/>\n </g>\n <defs>\n <clipPath id="clip0_217_2730">\n <rect width="28" height="28" fill="white" style="fill:white;fill:white;fill-opacity:1;" transform="translate(0.666687)"/>\n </clipPath>\n </defs>\n</svg>\n '); | ||
return '\n<svg xmlns="http://www.w3.org/2000/svg" width="'.concat(size, '" height="').concat(size, '" fill="none" viewBox="0 0 28 28">\n <path fill="#07F" d="M14 28a14 14 0 1 0 0-28 14 14 0 0 0 0 28Z"></path>\n <path fill="#fff" d="M14 3c6.06 0 11 4.94 11 11 0 3.78-1.76 5.56-3.99 5.56a3.61 3.61 0 0 1-3.06-1.69A5.51 5.51 0 0 1 14 19.54 5.54 5.54 0 0 1 8.46 14 5.54 5.54 0 0 1 14 8.46 5.54 5.54 0 0 1 19.54 14v1.8c0 .91.64 1.55 1.47 1.55.99 0 1.8-.83 1.8-3.35A8.82 8.82 0 1 0 14 22.81c2.8 0 4.75-1.4 4.75-1.4l1.45 1.67S17.72 25 14 25C7.94 25 3 20.06 3 14S7.94 3 14 3Zm-3.35 11A3.35 3.35 0 1 0 14 10.65 3.34 3.34 0 0 0 10.65 14Z"></path>\n</svg>\n '); | ||
}), _obj); | ||
@@ -39,3 +40,3 @@ var defaultStylesParams = { | ||
var scheme = params.scheme || "light"; | ||
var borderRadius = params.borderRadius || defaultStylesParams.borderRadius; | ||
var borderRadius = !nullOrUndefined.isNullOrUndefined(params.borderRadius) ? params.borderRadius : defaultStylesParams.borderRadius; | ||
var height = params.height || defaultStylesParams.height; | ||
@@ -67,3 +68,3 @@ var isonSize = height < 40 ? 24 : 28; | ||
var linkText = lang.linkTextLang[lang$1]; | ||
return '\n <div id="'.concat(id, '" class="VkIdSdk_oauth_container" data-test-id="oauthList" data-scheme="').concat(scheme, '">\n <style>\n :root #').concat(id, "[data-scheme=light] {\n --oauthlist--item_border_color: rgba(0, 0, 0, .12);\n --oauthlist--color_text_secondary: #818c99;\n --oauthlist--color_text_primary: #000;\n }\n\n :root #").concat(id, "[data-scheme=dark] {\n --oauthlist--item_border_color: rgba(255, 255, 255, 0.12);\n --oauthlist--color_text_secondary: #76787a;\n --oauthlist--color_text_primary: #e1e3e6;\n }\n\n #").concat(id, ".VkIdSdk_oauth_container {\n position: relative;\n }\n\n #").concat(id, " .VkIdSdk_oauth_list {\n display: flex;\n height: ").concat(height, "px;\n }\n\n #").concat(id, " .VkIdSdk_oauth_item {\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: ").concat(paddingSize, "px;\n margin-right: 12px;\n width: 100%;\n border: 1px solid var(--oauthlist--item_border_color);\n border-radius: ").concat(borderRadius, "px;\n cursor: pointer;\n }\n\n #").concat(id, " .VkIdSdk_oauth_item:last-child {\n margin-right: 0;\n }\n\n #").concat(id, ' .VkIdSdk_oauth_link_text {\n display: flex;\n font-family: -apple-system, system-ui, "Helvetica Neue", Roboto, sans-serif;\n color: var(--oauthlist--color_text_secondary);\n font-size: 13px;\n line-height: 16px;\n margin-bottom: 16px;\n justify-content: center;\n text-align: center;\n }\n\n #').concat(id, " .VkIdSdk_spinner {\n position: absolute;\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n background: #fff;\n }\n\n #").concat(id, "[data-state=loaded] .VkIdSdk_spinner {\n transition: .2s;\n opacity: 0;\n pointer-events: none;\n }\n\n #").concat(id, " .VkIdSdk_spinner > svg {\n animation: vkIdSdkButtonSpinner 0.7s linear infinite;\n }\n\n #").concat(id, ' .VkIdSdk_oauth_button_text {\n display: none;\n font-family: -apple-system, system-ui, "Helvetica Neue", Roboto, sans-serif;\n color: var(--oauthlist--color_text_primary);\n }\n\n #').concat(id, " .VkIdSdk_oauth_list[data-single-mode] .VkIdSdk_oauth_item svg {\n position: absolute;\n left: 16px;\n }\n\n #").concat(id, ' .VkIdSdk_oauth_list[data-single-mode] .VkIdSdk_oauth_button_text {\n display: block;\n }\n\n @keyframes vkIdSdkButtonSpinner {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n </style>\n <div class="VkIdSdk_spinner">\n ').concat(spinnerSvg, '\n </div>\n <div class="VkIdSdk_oauth_link_text">').concat(linkText, '</div>\n <div class="VkIdSdk_oauth_list" ').concat(isSingleMode, ">").concat(oauthListItems, "</div>\n </div>\n "); | ||
return '\n <div id="'.concat(id, '" class="VkIdSdk_oauth_container" data-test-id="oauthList" data-scheme="').concat(scheme, '">\n <style>\n :root #').concat(id, "[data-scheme=light] {\n --oauthlist--item_border_color: rgba(0, 0, 0, .12);\n --oauthlist--color_text_secondary: #818c99;\n --oauthlist--color_text_primary: #000;\n }\n\n :root #").concat(id, "[data-scheme=dark] {\n --oauthlist--item_border_color: rgba(255, 255, 255, 0.12);\n --oauthlist--color_text_secondary: #76787a;\n --oauthlist--color_text_primary: #e1e3e6;\n }\n\n #").concat(id, ".VkIdSdk_oauth_container {\n position: relative;\n }\n\n #").concat(id, " .VkIdSdk_oauth_list {\n display: flex;\n height: ").concat(height, "px;\n }\n\n #").concat(id, " .VkIdSdk_oauth_item {\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: ").concat(paddingSize, "px;\n margin-right: 12px;\n width: 100%;\n border: 1px solid var(--oauthlist--item_border_color);\n border-radius: ").concat(borderRadius, "px;\n cursor: pointer;\n }\n\n #").concat(id, " .VkIdSdk_oauth_item:last-child {\n margin-right: 0;\n }\n\n #").concat(id, ' .VkIdSdk_oauth_link_text {\n display: flex;\n font-family: -apple-system, system-ui, "Helvetica Neue", Roboto, sans-serif;\n color: var(--oauthlist--color_text_secondary);\n font-size: 13px;\n line-height: 16px;\n margin-bottom: 16px;\n justify-content: center;\n text-align: center;\n }\n\n #').concat(id, " .VkIdSdk_spinner {\n position: absolute;\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n background: #fff;\n }\n\n #").concat(id, "[data-state=loaded] .VkIdSdk_spinner {\n transition: .2s;\n opacity: 0;\n pointer-events: none;\n }\n\n #").concat(id, " .VkIdSdk_spinner > svg {\n animation: vkIdSdkButtonSpinner 0.7s linear infinite;\n }\n\n #").concat(id, ' .VkIdSdk_oauth_button_text {\n display: none;\n font-family: -apple-system, system-ui, "Helvetica Neue", Roboto, sans-serif;\n color: var(--oauthlist--color_text_primary);\n padding-left: 8px;\n }\n\n #').concat(id, ' .VkIdSdk_oauth_list[data-single-mode] .VkIdSdk_oauth_button_text {\n display: block;\n }\n\n @keyframes vkIdSdkButtonSpinner {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n </style>\n <div class="VkIdSdk_spinner">\n ').concat(spinnerSvg, '\n </div>\n <div class="VkIdSdk_oauth_link_text">').concat(linkText, '</div>\n <div class="VkIdSdk_oauth_list" ').concat(isSingleMode, ">").concat(oauthListItems, "</div>\n </div>\n "); | ||
}; | ||
@@ -70,0 +71,0 @@ }; |
@@ -14,2 +14,3 @@ 'use strict'; | ||
var types$4 = require('../../types.js'); | ||
var nullOrUndefined = require('../../utils/url/nullOrUndefined.js'); | ||
var oauthList = require('../oauthList/oauthList.js'); | ||
@@ -318,3 +319,3 @@ var types$5 = require('../oauthList/types.js'); | ||
value: function render(params) { | ||
var _params, _params1, _params_styles, _params_styles1, _params2, _params3, _params_styles2; | ||
var _params, _params1, _params_styles, _params_styles1, _params_styles2, _params2, _params3, _params_styles3; | ||
this.lang = ((_params = params) === null || _params === void 0 ? void 0 : _params.lang) || types$4.Languages.RUS; | ||
@@ -328,3 +329,3 @@ this.scheme = ((_params1 = params) === null || _params1 === void 0 ? void 0 : _params1.scheme) || types$4.Scheme.LIGHT; | ||
style_height: ((_params_styles = params.styles) === null || _params_styles === void 0 ? void 0 : _params_styles.height) || defaultStylesParams.height, | ||
style_border_radius: ((_params_styles1 = params.styles) === null || _params_styles1 === void 0 ? void 0 : _params_styles1.borderRadius) || defaultStylesParams.borderRadius, | ||
style_border_radius: !nullOrUndefined.isNullOrUndefined((_params_styles1 = params.styles) === null || _params_styles1 === void 0 ? void 0 : _params_styles1.borderRadius) ? (_params_styles2 = params.styles) === null || _params_styles2 === void 0 ? void 0 : _params_styles2.borderRadius : defaultStylesParams.borderRadius, | ||
show_alternative_login: ((_params2 = params) === null || _params2 === void 0 ? void 0 : _params2.showAlternativeLogin) ? 1 : 0, | ||
@@ -340,3 +341,3 @@ button_skin: params.skin || types$6.OneTapSkin.Primary, | ||
this.templateRenderer = template.getOneTapTemplate({ | ||
width: ((_params_styles2 = params.styles) === null || _params_styles2 === void 0 ? void 0 : _params_styles2.width) || defaultStylesParams.width, | ||
width: ((_params_styles3 = params.styles) === null || _params_styles3 === void 0 ? void 0 : _params_styles3.width) || defaultStylesParams.width, | ||
iframeHeight: oneTapParams.show_alternative_login ? oneTapParams.style_height * 2 + BUTTON_SPACING : oneTapParams.style_height, | ||
@@ -343,0 +344,0 @@ height: oneTapParams.style_height, |
// @ts-ignore-next-line пробрасываем версию из package.json в rollup.config | ||
const VERSION = "2.2.0"; | ||
const VERSION = "2.3.0"; | ||
// @ts-ignore-next-line пробрасываем тип сборки из rollup.config | ||
@@ -4,0 +4,0 @@ const DOMAIN = 'vk.com'; |
@@ -145,3 +145,3 @@ import { getButtonLang } from './langs/buttonLang.js'; | ||
:root #${id}[data-scheme=dark] { | ||
--floating--color_background_modal: #2c2d2e; | ||
--floating--color_background_modal: #1C1D1E; | ||
--floating--color_icon_medium: #b0b1b6; | ||
@@ -155,2 +155,3 @@ --floating--color_text_primary: #e1e3e6; | ||
--floating--close_button_color_transparent--active: hsla(0,0%,100%,.08); | ||
--floating--container_box_shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.30), 0px 4px 16px 0px rgba(0, 0, 0, 0.30); | ||
} | ||
@@ -157,0 +158,0 @@ |
var MultibrandingStatsProviders; | ||
(function(MultibrandingStatsProviders) { | ||
MultibrandingStatsProviders["VK"] = 'vk'; | ||
MultibrandingStatsProviders["OK"] = 'ok'; | ||
MultibrandingStatsProviders["MAIL"] = 'mail'; | ||
MultibrandingStatsProviders["OK"] = 'ok_ru'; | ||
MultibrandingStatsProviders["MAIL"] = 'mail_ru'; | ||
})(MultibrandingStatsProviders || (MultibrandingStatsProviders = {})); | ||
export { MultibrandingStatsProviders }; |
@@ -5,3 +5,3 @@ import { OAuthName } from './types.js'; | ||
[OAuthName.OK]: 'OK', | ||
[OAuthName.MAIL]: 'Mail.ru', | ||
[OAuthName.MAIL]: 'Mail', | ||
[OAuthName.VK]: 'VK ID' | ||
@@ -8,0 +8,0 @@ }; |
@@ -20,3 +20,3 @@ import { Languages } from '../../types.js'; | ||
[OAuthName.OK]: 'Войти через OK', | ||
[OAuthName.MAIL]: 'Войти с Почтой Mail.ru', | ||
[OAuthName.MAIL]: 'Войти с Почтой Mail', | ||
[OAuthName.VK]: 'Войти с VK ID' | ||
@@ -23,0 +23,0 @@ }, |
import { Languages } from '../../types.js'; | ||
import { isNullOrUndefined } from '../../utils/url/nullOrUndefined.js'; | ||
import { OAuthNameText } from './constants.js'; | ||
@@ -26,12 +27,5 @@ import { singleButtonText, linkTextLang } from './lang.js'; | ||
[OAuthName.MAIL]: (size)=>` | ||
<svg width="${size + 1}" height="${size}" viewBox="0 0 29 28" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
<g clip-path="url(#clip0_217_2730)"> | ||
<path d="M14.6667 28C22.3987 28 28.6667 21.732 28.6667 14C28.6667 6.26801 22.3987 0 14.6667 0C6.9347 0 0.666687 6.26801 0.666687 14C0.666687 21.732 6.9347 28 14.6667 28Z" fill="#005FF9" style="fill:#005FF9;fill:color(display-p3 0.0000 0.3725 0.9765);fill-opacity:1;"/> | ||
<path d="M17.2957 14C17.2957 14.52 17.1415 15.0283 16.8526 15.4606C16.5637 15.8929 16.1531 16.2299 15.6728 16.4289C15.1924 16.6279 14.6638 16.6799 14.1538 16.5785C13.6438 16.477 13.1754 16.2267 12.8077 15.859C12.44 15.4913 12.1896 15.0229 12.0882 14.5129C11.9868 14.0029 12.0388 13.4743 12.2378 12.9939C12.4368 12.5135 12.7738 12.1029 13.2061 11.8141C13.6384 11.5252 14.1467 11.371 14.6667 11.371C15.3637 11.3718 16.0319 11.649 16.5248 12.1419C17.0177 12.6348 17.2949 13.303 17.2957 14ZM14.6667 5.259C13.2982 5.25874 11.9487 5.57982 10.7269 6.19638C9.50514 6.81295 8.44522 7.70778 7.63246 8.80882C6.81971 9.90987 6.27684 11.1864 6.04756 12.5356C5.81828 13.8847 5.909 15.2689 6.31241 16.5766C6.71581 17.8844 7.42064 19.0791 8.37015 20.0646C9.31966 21.0502 10.4873 21.799 11.7791 22.2509C13.0709 22.7027 14.4507 22.8449 15.8075 22.666C17.1643 22.4871 18.4601 21.9922 19.5907 21.221L19.6157 21.203L18.4377 19.834L18.4187 19.847C17.0632 20.7181 15.4476 21.092 13.8472 20.9048C12.2469 20.7177 10.7611 19.9811 9.64324 18.8207C8.52539 17.6603 7.84476 16.1481 7.71745 14.5419C7.59015 12.9357 8.02406 11.3351 8.94516 10.0131C9.86627 8.69111 11.2175 7.72965 12.7684 7.29274C14.3192 6.85582 15.9736 6.97052 17.4494 7.61725C18.9251 8.26399 20.1308 9.40269 20.8606 10.8391C21.5905 12.2756 21.7994 13.9207 21.4517 15.494C21.4123 15.8149 21.2547 16.1096 21.0097 16.3206C20.7647 16.5315 20.4499 16.6436 20.1267 16.635C19.9786 16.6249 19.834 16.5855 19.7013 16.5189C19.5686 16.4524 19.4505 16.3602 19.3538 16.2476C19.2571 16.135 19.1838 16.0042 19.1381 15.863C19.0924 15.7218 19.0753 15.5729 19.0877 15.425V14C19.089 12.975 18.7346 11.9813 18.085 11.1885C17.4354 10.3957 16.5308 9.85284 15.5255 9.6526C14.5203 9.45236 13.4768 9.60713 12.5729 10.0905C11.6691 10.5739 10.961 11.3559 10.5694 12.3032C10.1779 13.2504 10.1272 14.3042 10.4259 15.2847C10.7247 16.2651 11.3544 17.1116 12.2076 17.6795C13.0609 18.2475 14.0847 18.5018 15.1045 18.399C16.1244 18.2962 17.0769 17.8428 17.7997 17.116C18.0374 17.4875 18.3585 17.7985 18.7375 18.0241C19.1164 18.2498 19.5428 18.384 19.9827 18.416C20.0607 18.423 20.1397 18.426 20.2187 18.426C20.8595 18.4243 21.4824 18.2136 21.9927 17.826C22.5342 17.4031 22.9298 16.8212 23.1237 16.162C23.1577 16.051 23.2237 15.795 23.2237 15.794V15.784C23.3539 15.1985 23.4156 14.5998 23.4077 14C23.405 11.6826 22.4833 9.46079 20.8446 7.82211C19.2059 6.18342 16.9841 5.26165 14.6667 5.259Z" fill="#FF9E00" style="fill:#FF9E00;fill:color(display-p3 1.0000 0.6196 0.0000);fill-opacity:1;"/> | ||
</g> | ||
<defs> | ||
<clipPath id="clip0_217_2730"> | ||
<rect width="28" height="28" fill="white" style="fill:white;fill:white;fill-opacity:1;" transform="translate(0.666687)"/> | ||
</clipPath> | ||
</defs> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="${size}" height="${size}" fill="none" viewBox="0 0 28 28"> | ||
<path fill="#07F" d="M14 28a14 14 0 1 0 0-28 14 14 0 0 0 0 28Z"></path> | ||
<path fill="#fff" d="M14 3c6.06 0 11 4.94 11 11 0 3.78-1.76 5.56-3.99 5.56a3.61 3.61 0 0 1-3.06-1.69A5.51 5.51 0 0 1 14 19.54 5.54 5.54 0 0 1 8.46 14 5.54 5.54 0 0 1 14 8.46 5.54 5.54 0 0 1 19.54 14v1.8c0 .91.64 1.55 1.47 1.55.99 0 1.8-.83 1.8-3.35A8.82 8.82 0 1 0 14 22.81c2.8 0 4.75-1.4 4.75-1.4l1.45 1.67S17.72 25 14 25C7.94 25 3 20.06 3 14S7.94 3 14 3Zm-3.35 11A3.35 3.35 0 1 0 14 10.65 3.34 3.34 0 0 0 10.65 14Z"></path> | ||
</svg> | ||
@@ -47,3 +41,3 @@ ` | ||
const scheme = params.scheme || 'light'; | ||
const borderRadius = params.borderRadius || defaultStylesParams.borderRadius; | ||
const borderRadius = !isNullOrUndefined(params.borderRadius) ? params.borderRadius : defaultStylesParams.borderRadius; | ||
const height = params.height || defaultStylesParams.height; | ||
@@ -155,9 +149,5 @@ const isonSize = height < 40 ? 24 : 28; | ||
color: var(--oauthlist--color_text_primary); | ||
padding-left: 8px; | ||
} | ||
#${id} .VkIdSdk_oauth_list[data-single-mode] .VkIdSdk_oauth_item svg { | ||
position: absolute; | ||
left: 16px; | ||
} | ||
#${id} .VkIdSdk_oauth_list[data-single-mode] .VkIdSdk_oauth_button_text { | ||
@@ -164,0 +154,0 @@ display: block; |
@@ -11,2 +11,3 @@ import { AuthStatsFlowSource } from '../../auth/types.js'; | ||
import { Languages, Scheme } from '../../types.js'; | ||
import { isNullOrUndefined } from '../../utils/url/nullOrUndefined.js'; | ||
import { OAuthList } from '../oauthList/oauthList.js'; | ||
@@ -136,3 +137,3 @@ import { OAuthName } from '../oauthList/types.js'; | ||
style_height: params.styles?.height || defaultStylesParams.height, | ||
style_border_radius: params.styles?.borderRadius || defaultStylesParams.borderRadius, | ||
style_border_radius: !isNullOrUndefined(params.styles?.borderRadius) ? params.styles?.borderRadius : defaultStylesParams.borderRadius, | ||
show_alternative_login: params?.showAlternativeLogin ? 1 : 0, | ||
@@ -139,0 +140,0 @@ button_skin: params.skin || OneTapSkin.Primary, |
import { ProductionStatsEventScreen, ProductionStatsFieldsItem } from "../../../core/analytics"; | ||
export declare enum MultibrandingStatsProviders { | ||
VK = "vk", | ||
OK = "ok", | ||
MAIL = "mail" | ||
OK = "ok_ru", | ||
MAIL = "mail_ru" | ||
} | ||
@@ -7,0 +7,0 @@ interface MultibrandingOauthAddedParamsFieldsItem extends ProductionStatsFieldsItem { |
{ | ||
"name": "@vkid/sdk", | ||
"version": "2.2.0", | ||
"version": "2.3.0", | ||
"description": "VK ID Web SDK", | ||
@@ -5,0 +5,0 @@ "main": "dist-sdk/cjs/index.js", |
@@ -26,3 +26,3 @@ <div align="center"> | ||
ℹ️ Версия VK ID SDK 2.0.0 поддерживает авторизацию по протоколу [OAuth 2.1](https://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-1-10), а также способы входа через аккаунты Одноклассников и Mail.ru. | ||
ℹ️ Версия VK ID SDK 2.3.0 поддерживает авторизацию по протоколу [OAuth 2.1](https://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-1-10), а также способы входа через аккаунты Одноклассников и Mail. | ||
@@ -29,0 +29,0 @@ --- |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
279
4
1868083
13894