Package Exports
- @automattic/request-external-access
- @automattic/request-external-access/dist/cjs/index.js
- @automattic/request-external-access/dist/esm/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@automattic/request-external-access) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Request External Access
Utility for requesting authorization of sharing services.
Usage
import requestExternalAccess from '@automattic/request-external-access';
requestExternalAccess( serviceURL, ( { keyring_id } ) => {
if ( ! keyring_id ) {
return;
}
newKeyringConnection( keyring_id );
} );