How to use the @webex/common.base64.decode function in @webex/common

To help you get started, we’ve selected a few @webex/common examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github webex / react-widgets / test / journeys / lib / hydra.js View on Github external
export function deconstructHydraId(id) {
  const payload = base64.decode(id).split('/');

  return {
    id: payload.pop(),
    type: payload.pop()
  };
}
github webex / react-widgets / packages / node_modules / @ciscospark / react-component-utils / src / uuid-utils.js View on Github external
export function deconstructHydraId(id) {
  const payload = base64.decode(id).split('/');

  return {
    id: payload.pop(),
    type: payload.pop()
  };
}

@webex/common

Common utilities for Cisco Webex

MIT
Latest version published 29 days ago

Package Health Score

90 / 100
Full package analysis

Similar packages