open-index/open-npm huggingface dataset:
npm package: @heliosphere/web-sdk
Description: Helios web SDK
Author: Helios
Latest version: 0.1.18
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

![Helios](https://user-images.githubusercontent.com/5681098/167285932-2ef06743-e365-4f55-a410-2c97cf7fd66f.png)

## About Helios

Helios empowers developers to deliver production-ready code by reducing cloud-native development friction. By making OpenTelemetry data actionable, Helios provides a new type of developer suite for understanding, troubleshooting, and testing distributed applications. With Helios, developers get the power to deliver code faster and with more confidence.

## Getting started

```
npm install --save @heliosphere/web-sdk
```

[Read more](https://docs.gethelios.dev/)
npm package: @helioviewer/sun
Description: Model sun based on current observations from helioviewer.org for threejs.
Author: Daniel Garcia Briseno
Latest version: 0.8.0

# Sun

This module implements observations from the sun as an Object3D model which can
be used in a three.js project.

## Installation

```bash
npm i @helioviewer/sun
npx hvsun-install "<install directory>"
```

`hvsun-install` will copy the required 3D model to the given location. This
model is required to render the sun.

By default, when you create a new instance of a sun, it will search for the model at `resources/models/zit.glb`.
If you install the models to a different directory, then you can specify the new location in your app via:

```js
import { SunConfig } from "@helioviewer/sun";
SunConfig.model_path = "path/to/model.gltf";
```

Basic Usage:

```js
// Get start of desired time range
let yesterday = new Date();
yesterday.setDate(yesterday.getDate() - 1);

// Get end of desired time range
let today = new Date();

// Construct the sun object
// 13 => AIA 304
// 86400 => Query images that are 1 day apart (86400 seconds = 1 day)
// renderer.initTexture is optional, if provided, it will preload all textures to the GPU.
let sun = new Sun(
  13,
  yesterday,
  today,
  86400,
  Quality.Low,
  renderer.initTexture,
);
// Add the sun to the scene
renderer.scene.add(sun);
sun.position.set(0, 0, 0);
```

The above code will add a model of the sun to the scene.
It queries [Helioviewer](https://helioviewer.org) for the image data to use as textures.

By default, the radius of the sun is 1 three.js unit.

# Timezones

One thing to be aware of while using this module is that only the native
javascript date type is used, but all data indexed via UTC time.

When you create a date object with `new Date()`, it returns an object
with the current local time. When this date is used to create a sun instance,
this module will call `.toISOString()` to get the UTC time for that date.
This will convert the local time to a UTC time based on your current timezone.
This may lead to unexpected behavior if your users are in different time zones
or if your application doesn't provide the expected date.
npm package: @helioviewer/superset-plugin-chart-big-calendar
Description: Big Calendar Heatmap
Author: Daniel Garcia Briseno
Latest version: 3.0.2

# superset-plugin-chart-big-calendar

This is the Big Calendar Heatmap Superset Chart Plugin. It provides a different
kind of calendar heatmap which works for showing large amounts of calendar data
spread out over multiple years. Each calendar month is represented by one
vertical column of the heatmap, which allows you to display multiyear data
in a usable form factor.

## Features

- Allows you to display calendar data over multiple years. The built-in calendar heatmap is terrible if you need to show more than a few months of data.
- Supports linear and logarithmic scaling for metrics.
- Supports custom colors

### Installation

1. Navigate to your superset installation's front end code and install the plugin.

```bash
cd <your_superset>/superset-frontend
npm i @helioviewer/superset-plugin-chart-big-calendar
```

2. Register the chart plugin by editing `<your_superset>/superset-frontend/src/visualizations/presets/MainPreset.js`. At the top of the file, import the chart plugin, and add it to the plugin list

```javascript
// ... other imports ...
import { SupersetPluginChartBigCalendar } from '@helioviewer/superset-plugin-chart-big-calendar';

// ... other code ...
      plugins: [
        new SupersetPluginChartBigCalendar().configure({key: 'ext-big-calendar-heatmap'}),
        // ... other plugins ...
      ]
// ... other code ...
```

### Usage

WANTED - If you're a developer and you know how to work with chart plugins,
we could use your help to simplify this process.

1. Select your date column and edit the Custom SQL so that it returns `DATE(date_column)`. The resulting custom function should be named `date` as the plugin expects to see a column named `date`.

2. Select your metric, typically `COUNT(*)`. The plugin expects a column named `count`, if your metric is different, try renaming it to count.

The plugin does not support multiple metrics nor multiple columns. There should be only one date column and one metric selected.

Edit customization options as-desired.

### Developer Usage

To build the plugin, run the following commands:

```
npm ci
npm run build
```

Alternatively, to run the plugin in development mode (=rebuilding whenever changes are made), start the dev server with the following command:

```
npm run dev
```

To add the package to Superset, see Usage section above.
npm package: @helium/crypto-react-native
Description: Cryptography utilities including mnemonics, keypairs and base58-check encoding for React Native
Latest version: 5.0.4

# `@helium/crypto-react-native`

## Getting Started

```
yarn add @helium/crypto-react-native
```

`@helium/crypto-react-native` now uses the [@noble/curves](https://github.com/paulmillr/noble-curves) and [@noble/hashes](https://github.com/paulmillr/noble-hashes) libraries for cryptographic operations, providing a pure JavaScript implementation without requiring native dependencies.

This package provides the same API as `@helium/crypto` but is optimized for React Native environments.

## API

The package exports cryptographic utilities for:

- ED25519 key pair generation and management
- Digital signature creation and verification
- Secure random number generation
- SHA-256 hashing
- Mnemonic seed phrase handling

## Benefits

- **Pure JavaScript**: No native dependencies required
- **Audited**: Uses well-audited Noble cryptography libraries
- **Lightweight**: Tree-shakeable and optimized for mobile
- **Secure**: Implements industry-standard cryptographic algorithms
- **Compatible**: Same API as `@helium/crypto`
npm package: @helium/helium-admin-cli
Description: CLI to bootstrap the network
Latest version: 0.11.16

# Migration

## A few days before migration

First, build the migration docker container.

```
docker build -f migration-docker/Dockerfile . -t migration:latest
```

Then, tar all keypairs:

```
tar -cf keypairs.tar.gz keypairs
mv keypairs.tar.gz migration-docker/data/
```

Then, use that container to encrypt all `keypairs` and generate a gpg key. This key will be output to ./migration-docker/data/migration.gpg

```
./migration-docker/run-encrypt-keypairs.sh <PASSWORD>
```

Upload the encrypted keypairs to s3. Have migration.gpg as a sealed secret on the migration container. As well as the password.

Push the container, and make a pull request on k8s for the deploy.

## Migration Day

Upload the export.json, makers.json, and makers-mobile.json files to the s3 bucket. Merge the k8s PR. Watch the export go

You must also populate the iot and mobile metadata databases. Port forward oracle db. Then:

```
$: cd ../hotspot-data-sink
$: env ANCHOR_WALLET=/path/to/.config/solana/id.json yarn run seed-db -f ../migration-service/export.json
```