open-index/open-npm huggingface dataset:
npm package: @onetokenfe/hd-transport-lowlevel
Description: `@onetokenfe/hd-transport-http` is a library that implements transport communication using http.
Latest version: 1.1.24

# `@onetokenfe/hd-transport-lowlevel`

`@onetokenfe/hd-transport-http` is a library that implements transport communication using http.

## What is the purpose

- translate JSON payloads to binary messages using protobuf definitions comprehensible to OneToken devices
- chunking and reading chunked messages according to the [OneToken protocol](./protocol.md)
- exposing single API for various transport methods:
  - Http Transport
  - React Native Transport
  - WebUSB
- Create and expose typescript definitions based on protobuf definitions.

### The short version

In order to be able to use new features of onetoken-firmware you need to update protobuf definitions.

1. `git submodule update --init --recursive` to initialize git submodules.
1. `yarn update-submodules` to update firmware submodule
1. `yarn update:protobuf` to generate new `./messages.json` and `./src/types/messages.ts`

git submodule update --init --recursive to initialize firmware submodule
yarn update-submodules to update firmware submodule
yarn update:protobuf to generate new ./messages.json and ./src/types/messages.ts

## Docs

Documentation is available [hardware-js-sdk](https://developer.onetoken.so/connect-to-hardware/hardware-sdk/start)
npm package: @onetokenfe/hd-transport-react-native
Description: `@onetokenfe/hd-transport-react-native` is a library that implements transport communication by [react-native-ble-plx](https://github.com/dotintent/react-native-ble-plx).
Latest version: 1.1.24

# `@onetokenfe/hd-transport-react-native`

`@onetokenfe/hd-transport-react-native` is a library that implements transport communication by [react-native-ble-plx](https://github.com/dotintent/react-native-ble-plx).

## What is the purpose

- translate JSON payloads to binary messages using protobuf definitions comprehensible to OneToken devices
- chunking and reading chunked messages according to the [OneToken protocol](./protocol.md)
- exposing single API for various transport methods:
  - Http Transport
  - React Native Transport
  - WebUSB
- Create and expose typescript definitions based on protobuf definitions.

### The short version

In order to be able to use new features of onetoken-firmware you need to update protobuf definitions.

1. `git submodule update --init --recursive` to initialize git submodules.
1. `yarn update-submodules` to update firmware submodule
1. `yarn update:protobuf` to generate new `./messages.json` and `./src/types/messages.ts`

git submodule update --init --recursive to initialize firmware submodule
yarn update-submodules to update firmware submodule
yar update:protobuf to generate new ./messages.json and ./src/types/messages.ts

## Docs

Documentation is available [hardware-js-sdk](https://developer.onetoken.so/connect-to-hardware/hardware-sdk/start)
npm package: @onetokenfe/hd-transport-web-device
Description: `@onetokenfe/hd-transport-webusb` is a library that implements transport communication by WebUSB.
Author: OneToken
Latest version: 1.1.24

# `@onetokenfe/hd-transport-webusb`

`@onetokenfe/hd-transport-webusb` is a library that implements transport communication by WebUSB.

## What is the purpose

- translate JSON payloads to binary messages using protobuf definitions comprehensible to OneToken devices
- chunking and reading chunked messages according to the [OneToken protocol](./protocol.md)
- exposing single API for various transport methods:
  - Http Transport
  - React Native Transport
  - WebUSB
- Create and expose typescript definitions based on protobuf definitions.

### The short version

In order to be able to use new features of onetoken-firmware you need to update protobuf definitions.

1. `git submodule update --init --recursive` to initialize git submodules.
1. `yarn update-submodules` to update firmware submodule
1. `yarn update:protobuf` to generate new `./messages.json` and `./src/types/messages.ts`

git submodule update --init --recursive to initialize firmware submodule
yarn update-submodules to update firmware submodule
yar update:protobuf to generate new ./messages.json and ./src/types/messages.ts

## Docs

Documentation is available [hardware-js-sdk](https://developer.onetoken.so/connect-to-hardware/hardware-sdk/start)
npm package: @onetokenfe/kaspa-core-lib
Description: JavaScript Kaspa library.
Latest version: 1.0.2

JavaScript Data Primitives Library for Kaspa
=============================================

**PLEASE NOTE: This project is under heavy development and is not production ready**

Based on the popular [Bitcore library](https://github.com/bitpay/bitcore) developed by BitPay for the Bitcoin, Kaspacore library provides primitives for interfacing with the Kaspa network.

Get Started
-----------

```sh
git clone git@github.com:aspectron/kaspacore-lib
```

Adding Kaspacore to your app's `package.json`:

```json
"dependencies": {
    "aspectron/kaspacore-lib": "*"
}
```

Kaspa adaptation
----------------

Kaspacore library provides primitives such as Transaction and UTXO data structures customized for use with the next-generation high-performance Kaspa network.

Documentation
-------------

The complete docs are hosted here: [bitcore documentation](https://github.com/bitpay/bitcore). There's also a [bitcore API reference](https://github.com/bitpay/bitcore/blob/master/packages/bitcore-node/docs/api-documentation.md) available generated from the JSDocs of the project, where you'll find low-level details on each bitcore utility.


Building the Browser Bundle
---------------------------

To build a kaspacore-lib full bundle for the browser:

```sh
gulp browser
```

This will generate files named `kaspacore-lib.js` and `kaspacore-lib.min.js`.

You can also use our pre-generated files, provided for each release along with a PGP signature by one of the project's maintainers. To get them, checkout the [releases](https://github.com/bitpay/bitcore/blob/master/packages/bitcore-lib/CHANGELOG.md).


Contributing
------------

See [CONTRIBUTING.md](https://github.com/bitpay/bitcore/blob/master/Contributing.md) on the main bitcore repo for information about how to contribute.

License
-------

Code released under [the MIT license](https://github.com/bitpay/bitcore/blob/master/LICENSE).

Bitcore - Copyright 2013-2019 BitPay, Inc. Bitcore is a trademark maintained by BitPay, Inc.  
Kaspacore - Copyright 2020 ASPECTRON Inc.
npm package: @onetokenfe/react-native-background-thread
Description: react-native-background-thread
Author: @onetokenhq
Latest version: 1.1.19

# react-native-background-thread

react-native-background-thread

## Installation


```sh
npm install react-native-background-thread
```


## Usage


```js
import { multiply } from 'react-native-background-thread';

// ...

const result = multiply(3, 7);
```


## Contributing

- [Development workflow](CONTRIBUTING.md#development-workflow)
- [Sending a pull request](CONTRIBUTING.md#sending-a-pull-request)
- [Code of conduct](CODE_OF_CONDUCT.md)

## License

MIT

---

Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)
npm package: @onetokenfe/react-native-ble-utils
Description: ble uilts
Author: OnetokenHQ
Latest version: 0.1.4

# react-native-ble-utils

ble uilts

## Installation

```sh
npm install react-native-ble-utils
```

## Usage


```js
import { multiply } from 'react-native-ble-utils';

// ...

const result = await multiply(3, 7);
```


## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT

---

Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)
npm package: @onetokenfe/react-native-check-biometric-auth-changed
Description: react-native-check-biometric-auth-changed
Author: @onetokenfeonetokenfe
Latest version: 1.1.19

# @onetokenfe/react-native-check-biometric-auth-changed

react-native-check-biometric-auth-changed

## Installation


```sh
npm install @onetokenfe/react-native-check-biometric-auth-changed react-native-nitro-modules

> `react-native-nitro-modules` is required as this library relies on [Nitro Modules](https://nitro.margelo.com/).
```


## Usage


```js
import { multiply } from '@onetokenfe/react-native-check-biometric-auth-changed';

// ...

const result = multiply(3, 7);
```


## Contributing

- [Development workflow](CONTRIBUTING.md#development-workflow)
- [Sending a pull request](CONTRIBUTING.md#sending-a-pull-request)
- [Code of conduct](CODE_OF_CONDUCT.md)

## License

MIT

---

Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)
npm package: @onetokenfe/react-native-cloud-kit-module
Description: react-native-cloud-kit-module
Author: react-native-cloud-kit-module
Latest version: 1.1.19

# react-native-cloud-kit-module

react-native-cloud-kit-module

## Installation


```sh
npm install react-native-cloud-kit-module react-native-nitro-modules

> `react-native-nitro-modules` is required as this library relies on [Nitro Modules](https://nitro.margelo.com/).
```


## Usage


```js
import { multiply } from 'react-native-cloud-kit-module';

// ...

const result = multiply(3, 7);
```


## Contributing

- [Development workflow](CONTRIBUTING.md#development-workflow)
- [Sending a pull request](CONTRIBUTING.md#sending-a-pull-request)
- [Code of conduct](CODE_OF_CONDUCT.md)

## License

MIT

---

Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)
npm package: @onetokenfe/react-native-device-utils
Description: react-native-device-utils
Author: onetokenfe
Latest version: 1.1.19

# react-native-device-utils

react-native-device-utils

## Installation

```sh
npm install react-native-device-utils react-native-nitro-modules

> `react-native-nitro-modules` is required as this library relies on [Nitro Modules](https://nitro.margelo.com/).
```

## Usage

```js
import { ReactNativeDeviceUtils } from 'react-native-device-utils';

// ...

const result = await ReactNativeDeviceUtils.hello({ message: 'World' });
console.log(result); // { success: true, data: 'Hello, World!' }
```

## Contributing

- [Development workflow](CONTRIBUTING.md#development-workflow)
- [Sending a pull request](CONTRIBUTING.md#sending-a-pull-request)
- [Code of conduct](CODE_OF_CONDUCT.md)

## License

MIT

---

Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)
npm package: @onetokenfe/react-native-get-random-values
Description: react-native-get-random-values
Author: onetokenfe
Latest version: 1.1.19

# react-native-get-random-values

react-native-get-random-values

## Installation

```sh
npm install react-native-get-random-values react-native-nitro-modules

> `react-native-nitro-modules` is required as this library relies on [Nitro Modules](https://nitro.margelo.com/).
```

## Usage

```js
import { ReactNativeGetRandomValues } from 'react-native-get-random-values';

// ...

const result = await ReactNativeGetRandomValues.hello({ message: 'World' });
console.log(result); // { success: true, data: 'Hello, World!' }
```

## Contributing

- [Development workflow](CONTRIBUTING.md#development-workflow)
- [Sending a pull request](CONTRIBUTING.md#sending-a-pull-request)
- [Code of conduct](CODE_OF_CONDUCT.md)

## License

MIT

---

Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)
npm package: @onetokenfe/react-native-keychain-module
Description: react-native-keychain-module
Author: onetokenfe
Latest version: 1.1.19

# react-native-keychain-module

react-native-keychain-module

## Installation


```sh
npm install react-native-keychain-module react-native-nitro-modules

> `react-native-nitro-modules` is required as this library relies on [Nitro Modules](https://nitro.margelo.com/).
```


## Usage


```js
import { multiply } from 'react-native-keychain-module';

// ...

const result = multiply(3, 7);
```


## Contributing

- [Development workflow](CONTRIBUTING.md#development-workflow)
- [Sending a pull request](CONTRIBUTING.md#sending-a-pull-request)
- [Code of conduct](CODE_OF_CONDUCT.md)

## License

MIT

---

Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)
npm package: @onetokenfe/react-native-lite-card
Description: lite card
Author: @onetokenfe
Latest version: 1.1.19

# @onetokenfe/react-native-lite-card

lite card

## Installation


```sh
npm install @onetokenfe/react-native-lite-card
```


## Usage


```js
import { multiply } from '@onetokenfe/react-native-lite-card';

// ...

const result = multiply(3, 7);
```


## Contributing

- [Development workflow](CONTRIBUTING.md#development-workflow)
- [Sending a pull request](CONTRIBUTING.md#sending-a-pull-request)
- [Code of conduct](CODE_OF_CONDUCT.md)

## License

MIT

---

Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)
npm package: @onetokenfe/react-native-skeleton
Description: react-native-skeleton
Author: @onetokenfe
Latest version: 1.1.19

# react-native-skeleton

react-native-skeleton

## Installation


```sh
npm install react-native-skeleton react-native-nitro-modules

> `react-native-nitro-modules` is required as this library relies on [Nitro Modules](https://nitro.margelo.com/).
```


## Usage


```js
import { SkeletonView } from "react-native-skeleton";

// ...

<SkeletonView color="tomato" />
```


## Contributing

- [Development workflow](CONTRIBUTING.md#development-workflow)
- [Sending a pull request](CONTRIBUTING.md#sending-a-pull-request)
- [Code of conduct](CODE_OF_CONDUCT.md)

## License

MIT

---

Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)
npm package: @onetokenfe/react-native-sni-connect
Description: A React Native library for SNI-based HTTP requests with DNS caching and request management
Author: vici1573
Latest version: 1.1.0

# react-native-sni-connect

onetoken sni http client

## Installation


```sh
npm install react-native-sni-connect
```


## Usage


```js
import { multiply } from 'react-native-sni-connect';

// ...

const result = multiply(3, 7);
```


## Contributing

- [Development workflow](CONTRIBUTING.md#development-workflow)
- [Sending a pull request](CONTRIBUTING.md#sending-a-pull-request)
- [Code of conduct](CODE_OF_CONDUCT.md)

## License

MIT

---

Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)
npm package: @onetokenfe/react-native-text-input
Description: text-input
Author: huhuanming
Latest version: 0.3.0

# react-native-text-input

text-input

## Installation

```sh
npm install react-native-text-input
```

## Usage


```js
import { TextInputView } from "react-native-text-input";

// ...

<TextInputView color="tomato" />
```


## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT

---

Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)
npm package: @onetokenfe/react-native-webview-cleaner
Description: webview cleaner
Author: OneTokenHQ
Latest version: 1.0.0

# react-native-webview-cleaner

React Native Webview Cache Cleaner for iOS and Android.

## Usage
```js
import WebViewCleaner from "react-native-webview-cleaner"

WebViewCleaner.clearAll()
npm package: @oneuid/login
Description: Drop-in login component for OneUID — email/password, OAuth (Google, GitHub, Apple), and phone OTP
Author: OneUID
Latest version: 0.1.3

# @oneuid/login

[![npm version](https://img.shields.io/npm/v/@oneuid/login.svg)](https://www.npmjs.com/package/@oneuid/login) [![build](https://img.shields.io/badge/build-passing-brightgreen)](https://oneuid.dev) [![license](https://img.shields.io/npm/l/@oneuid/login)](https://opensource.org/licenses/MIT)

Drop-in login component for [OneUID](https://oneuid.dev). Renders the right UI from your app’s enabled auth methods: email/password, OAuth (Google, GitHub, Apple), and phone OTP.

## Install

```bash
npm install @oneuid/login
# or
pnpm add @oneuid/login
# or
yarn add @oneuid/login
```

**Peer dependencies:** React 18+ (and `react-dom`).

## Usage

```tsx
import { LoginBox } from '@oneuid/login';

<LoginBox
  clientId="clxx..."
  apiUrl="https://api.oneuid.dev"
  onSuccess={(data) => {
    console.log(data.accessToken, data.refreshToken);
    // Store tokens and redirect or update app state
  }}
  onError={(msg) => console.error(msg)}
/>
```

### Props

| Prop | Type | Required | Description |
|------|------|----------|-------------|
| `clientId` | `string` | Yes | Your OneUID app client ID (from the dashboard). |
| `apiUrl` | `string` | Yes | OneUID API base URL (e.g. `https://api.oneuid.dev`). |
| `onSuccess` | `(data: LoginSuccessData) => void` | Yes | Called with `{ accessToken, refreshToken, expiresIn, user }` after a successful login. |
| `onError` | `(error: string) => void` | No | Called when loading auth methods or login fails. |
| `redirectUrl` | `string` | No | OAuth callback URL (defaults to current window location). |
| `className` | `string` | No | Extra CSS class for the container. |
| `brandName` | `string` | No | App name shown in the title (otherwise from API). |
| `logoUrl` | `string` | No | URL of your logo image. |

The component fetches enabled auth methods from `GET /v1/public/auth-methods?clientId=...` and shows the matching options (social buttons, email/password form, or phone OTP flow).

## Important links

- **OneUID (marketing, get started)** — [https://oneuid.dev](https://oneuid.dev)
- **API reference (all endpoints)** — [https://oneuid.dev/docs](https://oneuid.dev/docs)
- **Dashboard** — [https://dashboard.oneuid.dev](https://dashboard.oneuid.dev)
- **API base URL** — [https://api.oneuid.dev](https://api.oneuid.dev)
- **Postman** — Download the collection from the dashboard; it matches [the API docs](https://oneuid.dev/docs).

## License

MIT
npm package: @oneuid/sdk-node
Description: OneUID Node.js SDK — verify access tokens and call OneUID API from backend services
Author: OneUID
Latest version: 0.1.3

# @oneuid/sdk-node

Node.js SDK for [OneUID](https://oneuid.dev) — verify access tokens and call the OneUID API from your backend.

## Install

```bash
npm install @oneuid/sdk-node
# or
pnpm add @oneuid/sdk-node
# or
yarn add @oneuid/sdk-node
```

## Usage

```ts
import { OneUIDNode } from '@oneuid/sdk-node';

const oneuid = new OneUIDNode({
  apiUrl: 'https://api.oneuid.dev', // or your self-hosted API URL
  jwtSecret: process.env.JWT_SECRET!,
  jwtIssuer: 'oneuid', // optional, default: 'oneuid'
});

// Verify an access token (e.g. in middleware)
const token = req.headers.authorization?.replace('Bearer ', '');
const payload = await oneuid.verifyToken(token);
// payload: { sub, tid, adm, iat, exp, iss }

// Call OneUID API with a token
const user = await oneuid.getUser(adminToken, userId);

// Extract tenant ID without full verification (e.g. for routing)
const tenantId = oneuid.extractTenantId(token);
```

## API

- **`verifyToken(token: string)`** — Verify JWT and return payload. Throws if invalid or expired.
- **`apiCall<T>(token, path, options?)`** — Call any OneUID API path with the given token.
- **`getUser(adminToken, userId)`** — Get user profile by ID (requires admin token).
- **`extractTenantId(token)`** — Read `tid` from token without verification. Use for routing only; always verify with `verifyToken()` when enforcing auth.

## REST API reference & Postman

- **Interactive docs** — [https://oneuid.dev/docs](https://oneuid.dev/docs) (all runtime and admin endpoints).
- **Postman** — Import the collection from the OneUID dashboard (download JSON). It lists the same routes as the docs for your `baseUrl`.

## Requirements

- Node.js >= 18
- Same `JWT_SECRET` (and optional issuer) as your OneUID API

## License

MIT
npm package: @oneuikit/react
Description: A collection of One Components built with React.
Author: tl;dv team
Latest version: 0.8.26

# One - Design System

[![NPM Version](https://img.shields.io/npm/v/@oneuikit/react.svg?branch=master)](https://www.npmjs.com/package/@oneuikit/react)
[![npm downloads](https://img.shields.io/npm/dy/@oneuikit/react.svg?style=flat-square)](https://www.npmjs.com/package/@oneuikit/react)
[![License](https://img.shields.io/npm/l/@oneuikit/react.svg)](https://github.com/mosaeek/design-system-craco/blob/master/LICENSE)
[![bundle size](https://badgen.net/bundlephobia/minzip/@oneuikit/react)](https://bundlephobia.com/result?p=@oneuikit/react)
[![style: styled-components](https://img.shields.io/badge/style-%F0%9F%92%85%20styled--components-orange.svg?colorB=daa357&colorA=db748e)](https://github.com/styled-components/styled-components)


ODS is a collection of React UI components for quickly building user interfaces at tl;dv.

```bash
npm install -g @oneuikit/react
# or
yarn add @oneuikit/react
``` 
Import required tl;dv components within ```src/App.tsx``` file or your custom component files:

```js
import { Button } from '@oneuikit/react';
```

To explore UI components locally run the storybook server. 

```bash
npm run start
```
npm package: @oneup_network/dialogify
Description: A javascript plugin for creating dialog, implements with HTMLDialogElement.
Latest version: 1.0.6

# Dialogify
A javascript plugin for creating dialog, implements with HTMLDialogElement.

## Basic usage
```javascript
new Dialogify('dialog content')
    .title('dialog title')
    .buttons([{type:Dialogify.BUTTON_PRIMARY}])
    .showModal();

// alternate alert, confirm and prompt
(async function() {
    await Dialogify.alert('Alert!!');

    if (await Dialogify.confirm('Yes or no？')) {
        // blah..
    }

    const answer = await Dialogify.prompt('Question？');
    // if (answer == blah...)
})();
```

![basic dialogify](docs/img/screenshot1.png)

## Usage and examples
[https://oneupnetwork.github.io/dialogify/](https://oneupnetwork.github.io/dialogify/)

## Dependencies
* [jQuery](https://jquery.com/)

## Browser compatibility
All modern browser

## Designed by
[Phoebe](https://github.com/Phoebe1226)

## Contribute
* Fork & clone this repo
    ```
    npm install
    npm run build
    ```
* Create branch and commit your changes
* Open a pull request

Feel free to contribute

## License
MIT