JSPM

@automattic/request-external-access

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 716
  • Score
    100M100P100Q108588F
  • License GPL-2.0-or-later

Utility for requesting authorization of sharing services.

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 );
} );