With this package, you can use promise instead of bx24, that use a callback.
Intended for use only in applications that are hosted in the Bitrix cloud. Read more...
Install
npm i -S bx24
or
yarn add bx24
Usage
; const bx24 = window parent; bx24;//ACCESS_TOKEN: "f501215d003d7e84003d7e8200000001100e03dc37a458d34295efbd236acf1d3e6cc7"//DOMAIN: "b24-gx7djf.bitrix24.ru"//EXPIRES_IN: undefined//MEMBER_ID: "10aa3c0406bae7b5dbba1d87164f4a8f"//REFRESH_TOKEN: "e580485d003d7e84003d7e8200000001100e03c1685c8a1a76097df895324671373e09"
CDN