# @midnightntwrk/wallet-sdk-utilities

> Domain-agnostic utilities for the wallet SDK - common operations and types

Latest version **1.2.1** (published 2026-07-09) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @midnightntwrk/wallet-sdk-utilities
pnpm add @midnightntwrk/wallet-sdk-utilities
yarn add @midnightntwrk/wallet-sdk-utilities
bun add @midnightntwrk/wallet-sdk-utilities
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.2.1 |
| Published | 2026-07-09 |
| First published | 2026-06-19 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 46.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 15 |
| Author | Midnight Foundation |
| Maintainers | ntwrk-bot |

## Links

- npm: https://www.npmjs.com/package/@midnightntwrk/wallet-sdk-utilities
- Repository: https://github.com/midnightntwrk/midnight-wallet
- Homepage: https://github.com/midnightntwrk/midnight-wallet#readme
- Issues: https://github.com/midnightntwrk/midnight-wallet/issues
- npm.io page: https://npm.io/package/@midnightntwrk/wallet-sdk-utilities

## Dependencies (2)

- [rxjs](https://npm.io/package/rxjs.md) ^7.8.2
- [effect](https://npm.io/package/effect.md) ^3.19.19

## Recent versions

- 1.2.1 (latest) — 2026-07-09
- 1.2.2-canary.20261013150531-6289ea3 (canary) — 2026-10-13
- 1.2.2-canary.20261009161442-8f95733 (canary-v1) — 2026-10-09
- 1.2.2-canary.20261007114939-7ee351c (canary-v2) — 2026-10-07
- 1.2.2-rc.0 (rc) — 2026-09-24
- 1.2.2-beta.0 (beta) — 2026-09-07
- 1.2.2-canary.20261013132526-8a87477 — 2026-10-13
- 1.2.2-canary.20261012130426-60e35b6 — 2026-10-12
- 1.2.2-canary.20261006161905-56542fa — 2026-10-06
- 1.2.2-canary.20261006082857-3c6134f — 2026-10-06
- 1.2.2-canary.20261005170924-1c8b4e7 — 2026-10-05
- 1.2.2-canary.20260930095107-aae483d — 2026-09-30
- 1.2.2-canary.20260929170316-1583a02 — 2026-09-29
- 1.2.2-canary.20260928141213-d0f38b3 — 2026-09-28
- 1.2.2-canary.20260924122254-db9102e — 2026-09-24
- … 79 more at https://npm.io/package/@midnightntwrk/wallet-sdk-utilities/versions

## README

# @midnightntwrk/wallet-sdk-utilities

Domain-agnostic utilities for the Midnight Wallet SDK.

## Installation

```bash
npm install @midnightntwrk/wallet-sdk-utilities
```

## Overview

This package provides common utility functions and types used throughout the Midnight Wallet SDK. It includes:

- Array operations
- Blob/binary data operations
- Date utilities
- Either/Result type operations
- Fluent API helpers
- Heterogeneous list types
- Ledger operations
- Observable utilities
- Polymorphic functions
- Record operations

## Exports

### Default Export

```typescript
import {
  ArrayOps, // Array manipulation utilities
  BlobOps, // Binary data operations
  DateOps, // Date handling utilities
  EitherOps, // Either/Result type helpers
  Fluent, // Fluent API patterns
  HList, // Heterogeneous list types
  LedgerOps, // Ledger-specific operations
  ObservableOps, // RxJS Observable utilities
  Poly, // Polymorphic function helpers
  RecordOps, // Object/Record utilities
} from '@midnightntwrk/wallet-sdk-utilities';
```

### Networking Submodule (`/networking`)

Network-related utilities:

```typescript
import { ... } from '@midnightntwrk/wallet-sdk-utilities/networking';
```

### Types Submodule (`/types`)

Common type definitions:

```typescript
import { ... } from '@midnightntwrk/wallet-sdk-utilities/types';
```

### Testing Submodule (`/testing`)

Testing utilities and helpers:

```typescript
import { ... } from '@midnightntwrk/wallet-sdk-utilities/testing';
```

## Usage Examples

### Observable Operations

```typescript
import { ObservableOps } from '@midnightntwrk/wallet-sdk-utilities';

// Convert Effect streams to RxJS Observables
const observable = ObservableOps.fromStream(effectStream);
```

### Array Operations

```typescript
import { ArrayOps } from '@midnightntwrk/wallet-sdk-utilities';

// Various array manipulation utilities
```

## License

Apache-2.0

---
_Source: https://npm.io/package/@midnightntwrk/wallet-sdk-utilities · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
