New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

@layers/amba-shared

Package Overview
Dependencies
Maintainers
4
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@layers/amba-shared

Shared TypeScript types and constants for the amba SDKs.

latest
Source
npmnpm
Version
4.0.5
Version published
Weekly downloads
1
-96.77%
Maintainers
4
Weekly downloads
 
Created
Source

@layers/amba-shared

Amba is the agent-native backend-as-a-service for mobile and web apps. This package is the shared TypeScript types and constants consumed by the Amba SDKs. Most application code should depend on a higher-level SDK (@layers/amba-web, @layers/amba-node, etc.) and pull types from this package only when needed.

Install

npm install @layers/amba-shared@1.0.0

What's exported

The default entry re-exports:

  • Types — AppUser, Project, ApiKey, PushCampaign, Segment, RemoteConfig, ContentItem, StreakDefinition, UserEntitlement, EngagementEvent, AnalyticsOverview, ApiResponse<T>, ApiError.
  • Constants — API_VERSION, DEFAULT_API_URL, CONSOLE_URL, INTEGRATION_PROVIDERS, KEY_PREFIX, SYSTEM_SEGMENTS, XP_PER_LEVEL.
  • Validators — isValidProjectSlug, isValidIanaTimezone, isReservedCollectionName, isReservedBindingName, validateRateLimitConfig.
  • Domain modules — gamification, social, economy, platform.

Subpath imports are available for direct access: @layers/amba-shared/platform-types, /social-types, /economy-types, /gamification-types, /referral-codes, /reserved-collection-prefixes.

Docs

Full reference: https://docs.amba.dev/sdk/shared.

License

Apache-2.0

FAQs

Package last updated on 27 Aug 2026

Related posts