open-index/open-npm huggingface dataset:
npm package: @hsuite/connect-client
Description: > Launch-ready simulator, memory transport, and RPC client for validating dApp workflows.
Latest version: 2.0.0

# @hsuite/connect-client

> Launch-ready simulator, memory transport, and RPC client for validating dApp workflows.

## Quick Start

```bash
# Install workspace dependencies
pnpm install

# Build package
pnpm --filter @hsuite/connect-client build

# Run tests
pnpm --filter @hsuite/connect-client test

# Run with coverage
pnpm --filter @hsuite/connect-client test -- --coverage
```

## Development

- **Source**: `src/` - RPC client, memory transport, signing harness, query utilities
- **Tests**: `tests/` - Vitest integration tests
- **Build**: TypeScript compilation to `dist/`

### Key Components

- `ReferenceClient` - Minimal RPC client with event handling
- `MemoryTransport` - In-memory transport for testing
- `SigningHarness` - End-to-end signing flow orchestration
- `QueryClient` - Wallet state observation utilities

### Key Files

- `src/reference-client.ts` - Main RPC client
- `src/memory-transport.ts` - Test transport
- `src/signing-harness.ts` - Integration harness

## Scripts

- `pnpm build` - Build package to `dist/`
- `pnpm test` - Run Vitest tests
- `pnpm test -- --coverage` - Run with coverage
- `pnpm docs` - Generate Compodoc documentation

## Test Statistics

- **38 passing tests**
- **73%+ statement coverage**
- Full integration test suite

## Usage Example

```typescript
import { ReferenceClient, MemoryTransport } from '@hsuite/connect-client';

const transport = new MemoryTransport({ id: 'test' });
const client = new ReferenceClient({ transport });

client.on('response', (response) => {
  console.log('Received:', response);
});

await client.send({
  jsonrpc: '2.0',
  method: 'session/request',
  params: { /* ... */ }
});
```

## Documentation

📚 **Full Documentation**: [docs/packages/reference-client.md](../../docs/packages/reference-client.md)

For comprehensive guides including:
- RPC client usage
- Memory transport for testing
- Signing harness integration
- Partner integration testing
- Protocol validation

## Related

- [Main README](../../readme.md) - Project overview
- [Documentation Index](../../docs/readme.md) - All documentation
- [Simulator Guide](../../docs/reference-client/simulator.md) - Simulator details
- [Testing Strategy](../../docs/testing/readme.md) - Testing approach

---

**Status:** ✅ Production Ready | **Coverage:** 73%+ | **Tests:** 38 passing
npm package: @hsuite/connect-types
Description: > Canonical TypeScript definitions and Zod schemas for the HSuite Native Connect ecosystem.
Latest version: 2.0.0

# @hsuite/connect-types

> Canonical TypeScript definitions and Zod schemas for the HSuite Native Connect ecosystem.

## Quick Start

```bash
# Install workspace dependencies
pnpm install

# Build package
pnpm --filter @hsuite/connect-types build
```

## Development

- **Source**: `src/` - TypeScript types and Zod schemas
- **Build**: TypeScript declaration files to `dist/`
- **No runtime code** - Types only package

### Key Exports

- **Channel types** (ChannelInvite, ChannelMessage, ChannelState, TransportState)
- **Session types** (UnifiedSession, SessionRequest, SessionApproval)
- Ledger types (LedgerId, NetworkId, Account, LedgerPluginManifest)
- RPC types (RpcRequest, RpcResponse, RpcError)
- Vault types (VaultSeed, VaultKey, VaultProtection, VaultRecoveryBundle)
- Transaction types (TransactionPayload, SignResult, SubmitResult)
- Telemetry types (TelemetryEvent, TelemetryConfig)
- Widget types (WidgetManifest, WidgetPermission)
- Theme types (HsuiteTheme, ThemeColors, ThemeMetadata)

### Directory Structure

- `src/` - All type definitions and Zod schemas
- `dist/` - Built TypeScript declarations

## Scripts

- `pnpm build` - Build type definitions
- `pnpm docs` - Generate Compodoc documentation

## Usage Example

```typescript
import { 
  SessionRequest, 
  SessionRequestSchema,
  LedgerId,
  NetworkId 
} from '@hsuite/connect-types';

// Type-safe usage
const request: SessionRequest = {
  appId: 'my-dapp',
  appName: 'My dApp',
  ledgerId: 'hedera',
  networkId: 'hedera:testnet',
};

// Runtime validation with Zod
const validated = SessionRequestSchema.parse(request);
```

## Documentation

📚 **Full Documentation**: [docs/packages/types.md](../../docs/packages/types.md)

For comprehensive guides including:
- Complete type catalog
- Zod schema usage
- Runtime validation
- Type inference patterns
- Session management types

## Related

- [Main README](../../readme.md) - Project overview
- [Documentation Index](../../docs/readme.md) - All documentation
- [RPC Versioning](../../docs/protocol/rpc-versioning.md) - Protocol versioning

---

**Status:** ✅ Production Ready | **Type:** Foundation package used by all others
npm package: @hsuite/connect-ui
Description: > Production-ready UI component library with 40+ components, 26 dynamic themes, and Storybook documentation.
Latest version: 2.0.0

# @hsuite/connect-ui

> Production-ready UI component library with 40+ components, 26 dynamic themes, and Storybook documentation.

## Quick Start

```bash
# Install workspace dependencies
pnpm install

# Build UI library
pnpm --filter @hsuite/connect-ui build

# Run Storybook
cd packages/ui
pnpm storybook

# Run tests
pnpm test
```

## Development

- **Source**: `src/lib/` - Organized by Atomic Design (atoms, molecules, organisms)
- **Storybook**: `src/docs/` - MDX documentation and stories
- **Build**: Angular library build to `dist/`

### Component Structure

- `src/lib/atoms/` - 18 basic components (buttons, inputs, badges, icons)
- `src/lib/molecules/` - 15 composite components (cards, modals, selectors)
- `src/lib/organisms/` - 10 complex layouts (headers, menus, navigation)

### Key Files

- `src/index.ts` - Public API exports
- `ng-package.json` - Angular library configuration
- `.storybook/` - Storybook configuration

## Scripts

- `pnpm build` - Build library to `dist/`
- `pnpm storybook` - Launch Storybook (http://localhost:6006)
- `pnpm build-storybook` - Build static Storybook site
- `pnpm test` - Run Vitest tests
- `pnpm test -- --coverage` - Run with coverage

## Component Count

- **80+ total components**
- **30 Atoms** - Buttons, inputs, badges, icons, chips, media, spinners, etc.
- **37 Molecules** - Cards, modals, selectors, loaders, pickers, transaction rows, etc.
- **15 Organisms** - Headers, layouts, navigation, sheets, approval modals, etc.

## Theming

- **27 professionally designed themes**
- 8 signature themes (Dark, Light, Cyberpunk, Nord, Matrix, etc.)
- 17 color variations
- 2 branded themes (HSuite, SilkSuite)
- Real-time theme switching
- 200+ CSS custom properties

## Documentation

📚 **Full Documentation**: [docs/packages/ui-library.md](../../docs/packages/ui-library.md)

For comprehensive guides including:
- Complete component catalog with examples
- Theming system and customization
- Animation integration
- Storybook documentation
- Development guidelines
- Best practices

## Related

- [Main README](../../readme.md) - Project overview
- [Documentation Index](../../docs/readme.md) - All documentation
- [UI Library Guide](../../docs/ui-library/readme.md) - Component documentation
- [Theming System](../../docs/theming/readme.md) - Theme customization

---

**Status:** ✨ Production Ready | **Components:** 80+ | **Themes:** 27 | **Framework:** Angular 20 + Ionic 8