New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@manycore/aholo-sdk-core

Package Overview
Dependencies
Maintainers
8
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@manycore/aholo-sdk-core

Aholo Open API shared HTTP client, errors, and polling utilities

latest
Source
npmnpm
Version
1.3.0
Version published
Weekly downloads
31
-52.31%
Maintainers
8
Weekly downloads
 
Created
Source

@manycore/aholo-sdk-core

Shared HTTP client, authentication, error types, and polling utilities for the Aholo TypeScript SDKs.

This package is a peer dependency used internally by @manycore/aholo-sdk-world, @manycore/aholo-sdk-lux3d, and @manycore/aholo-sdk-asset. You typically do not need to install it directly.

Requirements: Node.js ≥ 18

Installation

npm install @manycore/aholo-sdk-core

Error Types

import {
  AuthenticationError,
  RateLimitError,
  BusinessError,
  PollingTimeoutError,
  PollingFailedError,
} from '@manycore/aholo-sdk-core';

try {
  const detail = await world.waitFor(worldId);
} catch (e) {
  if (e instanceof AuthenticationError) {
    console.error('Invalid or missing API Key');
  } else if (e instanceof RateLimitError) {
    console.error('Rate limit exceeded');
  } else if (e instanceof BusinessError) {
    console.error('API error:', e.code, e.message);
  } else if (e instanceof PollingTimeoutError) {
    console.error('Task timed out after 10 minutes');
  } else if (e instanceof PollingFailedError) {
    console.error('Task failed:', e.message);
  }
}

AholoClientConfig

FieldTypeDefaultDescription
apiKeystringAHOLO_API_KEY env varAPI key
region'cn' | 'com''cn'cn = China, com = Global
timeoutMsnumber30000Request timeout

Full Documentation

See the TypeScript SDK README for complete API reference and examples.

License

MIT

FAQs

Package last updated on 13 Oct 2026

Related posts