Skip to content

CDN Links

Nathan Buchar edited this page Sep 8, 2018 · 59 revisions


⚠️ NOTE: This article is for an unreleased version of HelloSign Embedded. Please do not use it for reference ⚠️



CDN Links

HelloSign Embedded is also available over HelloSign's CDN.

  • Development (Unminified)
    <script
      src="https://cdn.hellosign.com/js/hellosign-embedded/2.0.0/embedded.development.js" 
      integrity="sha384-Q/ibbr95rt5D6uucyeZ6LDxS530o36rQvhLbfy3046PKgC3ynx1CIfZ/dV/XscCM"
      crossorigin="anonymous">
    </script>

    The version above is only meant for development, and is not suitable for production. A minified and optimized production version of HelloSign Embedded is available at:

  • Production (Minified)
    <script
      src="https://cdn.hellosign.com/js/hellosign-embedded/2.0.0/embedded.production.min.js"
      integrity="sha384-imiT5ZubXqRo5fw/8sURXGiHHEEKkpv+GHJLWgClqM/HvUcFwtG4Jy0a5gaf6i/v"
      crossorigin="anonymous">
    </script>

The integrity and crossorigin attributes are used for Subresource Integrity (SRI) checking. This allows browsers to ensure that resources hosted on third-party servers have not been tampered with. Use of SRI is recommended as a best-practice, whenever libraries are loaded from a third-party source. Read more at srihash.org.

Disclaimer: By using a CDN, it cannot always be guaranteed that the requested resources will be available. To eliminate risk, we instead suggest you install our npm package or download and compile HelloSign Embedded from source on your own.

Usage

The CDN version of HelloSign Embedded is wrapped in a UMD (Universal Module Definition). It is compatible with all major module loaders, but as a fallback attaches itself to the Window:

const client = new window.HelloSign({
  clientId: 'Your client ID'
});

client.open(signUrl);



Last updated by @nathanbuchar on Sep. 7, 2018.

Welcome!

Below you will find links to the API documentation, frequently asked questions, and other useful tidbits.


Find something incorrect or missing? Shoot us an email or create an issue.

Having trouble? Let us know!

Clone this wiki locally