Socket
Socket
Sign inDemoInstall

@webex/webex-core

Package Overview
Dependencies
206
Maintainers
7
Versions
1164
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @webex/webex-core

Plugin handling for Cisco Webex


Version published
Weekly downloads
13K
increased by5.13%
Maintainers
7
Created
Weekly downloads
 

Changelog

Source

3.0.0-beta.304 (2024-01-09)

Bug Fixes

  • meetings: ensure non-undefined value for peripheral information property (#3281) (09ace65)

Readme

Source

@webex/webex-core

standard-readme compliant

Core library for the Cisco Webex JS SDK.

Defines the plugin system, storage system, common http behaviors, credentials, services, and basic logging.

Install

npm install --save @webex/webex-core

Usage

Client Scope Requirements

To utilize the basic functionality of the services plugin that is bound to the webex-core plugin upon initialization, the following scopes must be present in the provided client's scopes:

  • spark:all

Environment Variables

The following environment variables are used by this plugin:

  • HYDRA_SERVICE_URL - Stores the public hydra api url for managing Webex resources.
  • U2C_SERVICE_URL - Stores the service catalog collecting url, typically the U2C service.

Configuration

The services plugin that is bound to the webex-core plugin upon initialization supports the ability to inject discovery urls via the constructor:

const webex = new Webex({
  config: {
    services: {
      // Services that are available before catalog retrieval.
      discovery: {
        hydra: 'https://api.ciscospark.com/v1'
      },

      // Services that have a persistant host, typically for testing.
      override: {
        serviceName: 'https://api.service.com/v1'
      }

      // Validate domains against the allowed domains.
      validateDomains: true,

      // The allowed domains to validate domains against.
      allowedDomains: ['allowed-domain']
    }
  }
});

The default configuration includes the following service urls:

  • U2C_SERVICE_URL [ U2C ] - https://u2c.wbx2.com/u2c/api/v1
  • HYDRA_SERVICE_URL [ Hydra ] - https://api.ciscospark.com/v1

Maintainers

This package is maintained by Cisco Webex for Developers.

Contribute

Pull requests welcome. Please see CONTRIBUTING.md for more details.

License

© 2016-2020 Cisco and/or its affiliates. All Rights Reserved.

FAQs

Last updated on 26 Mar 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc