WebSocket data provider library for real-time load data to Cryptoscan API. Current stable version is 4.3.0. Designed exclusively for Cryptoscan partners, it establishes WebSocket connections to send structured data objects, automatically extracting schema (keys and types) and appending as query parameters. Key differentiators: automatic schema detection, TypeScript support, environment-based configuration. Release cadence is not publicly documented; use is restricted to partners.
npm install cryptoscan-providerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes the provider, processes a data object, and logs the generated ID.
Call createProcessData() with no arguments; configuration is now done via environment variables.
Set PROVIDER_API_URL environment variable instead.
Ensure network access is available when processData is first called.
Always set PROVIDER_API_URL to the correct WebSocket server endpoint.
Ensure every data object has a non-empty string 'key' property.
Use named import: import { createProcessData } from 'cryptoscan-provider'Call createProcessData() with no arguments, as the library now expects no config object.
Set the PROVIDER_API_URL environment variable to the WebSocket server URL.
No dependency data recorded yet.