open-index/open-npm huggingface dataset:
npm package: @morpho-org/morpho-test
Description: Framework-agnostic extension of `@morpho-org/blue-sdk` that exports test fixtures useful for E2E tests on forks.
Author: Morpho Association
Latest version: 2.5.0

# @morpho-org/morpho-test

<a href="https://www.npmjs.com/package/@morpho-org/morpho-test">
    <picture>
        <source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/npm/v/@morpho-org/morpho-test?colorA=21262d&colorB=21262d&style=flat">
        <img src="https://img.shields.io/npm/v/@morpho-org/morpho-test?colorA=f6f8fa&colorB=f6f8fa&style=flat" alt="Version">
    </picture>
</a>
<a href="https://github.com/morpho-org/morpho-test/blob/main/LICENSE">
    <picture>
        <source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/npm/l/@morpho-org/morpho-test?colorA=21262d&colorB=21262d&style=flat">
        <img src="https://img.shields.io/npm/l/@morpho-org/morpho-test?colorA=f6f8fa&colorB=f6f8fa&style=flat" alt="MIT License">
    </picture>
</a>
<a href="https://www.npmjs.com/package/@morpho-org/morpho-test">
    <picture>
        <source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/npm/dm/@morpho-org/morpho-test?colorA=21262d&colorB=21262d&style=flat">
        <img src="https://img.shields.io/npm/dm/@morpho-org/morpho-test?colorA=f6f8fa&colorB=f6f8fa&style=flat" alt="Downloads per month">
    </picture>
</a>
<br />
<br />

Framework-agnostic extension of [`@morpho-org/blue-sdk`](../blue-sdk/) that exports test fixtures useful for E2E tests on forks.

## Installation

```bash
npm install @morpho-org/morpho-test
```

```bash
yarn add @morpho-org/morpho-test
```

## Getting Started

```typescript
import { ChainId } from "@morpho-org/blue-sdk";
import { markets } from "@morpho-org/morpho-test";

const { usdc_wstEth, usdc_idle, eth_wstEth } = markets[ChainId.EthMainnet];
```

See more on its internal usage for [E2E tests here](../blue-sdk-viem/test/Market.test.ts).
npm package: @morpho-org/simulation-sdk
Description: Framework-agnostic package that defines methods to simulate interactions on Morpho (such as `Supply`, `Borrow`) and Morpho Vaults (such as `Deposit`, `Withdraw`).
Author: Morpho Association
Latest version: 3.4.2

# @morpho-org/simulation-sdk

<a href="https://www.npmjs.com/package/@morpho-org/simulation-sdk">
    <picture>
        <source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/npm/v/@morpho-org/simulation-sdk?colorA=21262d&colorB=21262d&style=flat">
        <img src="https://img.shields.io/npm/v/@morpho-org/simulation-sdk?colorA=f6f8fa&colorB=f6f8fa&style=flat" alt="Version">
    </picture>
</a>
<a href="https://github.com/morpho-org/simulation-sdk/blob/main/LICENSE">
    <picture>
        <source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/npm/l/@morpho-org/simulation-sdk?colorA=21262d&colorB=21262d&style=flat">
        <img src="https://img.shields.io/npm/l/@morpho-org/simulation-sdk?colorA=f6f8fa&colorB=f6f8fa&style=flat" alt="MIT License">
    </picture>
</a>
<a href="https://www.npmjs.com/package/@morpho-org/simulation-sdk">
    <picture>
        <source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/npm/dm/@morpho-org/simulation-sdk?colorA=21262d&colorB=21262d&style=flat">
        <img src="https://img.shields.io/npm/dm/@morpho-org/simulation-sdk?colorA=f6f8fa&colorB=f6f8fa&style=flat" alt="Downloads per month">
    </picture>
</a>
<br />
<br />

Framework-agnostic package that defines methods to simulate interactions on Morpho (such as `Supply`, `Borrow`) and Morpho Vaults (such as `Deposit`, `Withdraw`).

## Installation

```bash
npm install @morpho-org/simulation-sdk
```

```bash
yarn add @morpho-org/simulation-sdk
```
npm package: @morpho-org/simulation-sdk-wagmi
Description: Wagmi-based extension of `@morpho-org/simulation-sdk` that exports Wagmi (React) hooks to fetch simulation states.
Author: Morpho Association
Latest version: 4.0.1

# @morpho-org/simulation-sdk-wagmi

<a href="https://www.npmjs.com/package/@morpho-org/simulation-sdk-wagmi">
    <picture>
        <source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/npm/v/@morpho-org/simulation-sdk-wagmi?colorA=21262d&colorB=21262d&style=flat">
        <img src="https://img.shields.io/npm/v/@morpho-org/simulation-sdk-wagmi?colorA=f6f8fa&colorB=f6f8fa&style=flat" alt="Version">
    </picture>
</a>
<a href="https://github.com/morpho-org/simulation-sdk-wagmi/blob/main/LICENSE">
    <picture>
        <source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/npm/l/@morpho-org/simulation-sdk-wagmi?colorA=21262d&colorB=21262d&style=flat">
        <img src="https://img.shields.io/npm/l/@morpho-org/simulation-sdk-wagmi?colorA=f6f8fa&colorB=f6f8fa&style=flat" alt="MIT License">
    </picture>
</a>
<a href="https://www.npmjs.com/package/@morpho-org/simulation-sdk-wagmi">
    <picture>
        <source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/npm/dm/@morpho-org/simulation-sdk-wagmi?colorA=21262d&colorB=21262d&style=flat">
        <img src="https://img.shields.io/npm/dm/@morpho-org/simulation-sdk-wagmi?colorA=f6f8fa&colorB=f6f8fa&style=flat" alt="Downloads per month">
    </picture>
</a>
<br />
<br />

Wagmi-based package that exports Wagmi (React) hooks to fetch Morpho-related entities.

## Installation

```bash
npm install @morpho-org/simulation-sdk-wagmi
```

```bash
yarn add @morpho-org/simulation-sdk-wagmi
```

## Getting Started

```tsx
import { useMemo } from "react";

import { Address, MarketId } from "@morpho-org/blue-sdk";
import { simulateOperation } from "@morpho-org/simulation-sdk";
import { useSimulationState } from "@morpho-org/simulation-sdk-wagmi";

export function Component({
  user,
  marketId,
}: {
  user?: Address;
  marketId?: MarketId;
}) {
  const { data } = useSimulationState({ marketIds: [marketId], users: [user] });

  const simulated = useMemo(() => {
    if (data == null) return;

    return simulateOperation(
      {
        type: "Blue_Supply",
        sender: user,
        args: {
          id: marketId,
          onBehalf: user,
          assets: 1_000000n,
        },
      },
      data
    );
  }, [data, user, marketId]);

  return <h1>{simulated.getPosition(user, marketId).supplyShares}</h1>;
}
```
npm package: @morpho-org/test
Description: Viem-based package that exports utilities to build Vitest & Playwright fixtures that spawn anvil forks as child processes.
Author: Morpho Association
Latest version: 2.7.1

# @morpho-org/test

<a href="https://www.npmjs.com/package/@morpho-org/test">
    <picture>
        <source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/npm/v/@morpho-org/test?colorA=21262d&colorB=21262d&style=flat">
        <img src="https://img.shields.io/npm/v/@morpho-org/test?colorA=f6f8fa&colorB=f6f8fa&style=flat" alt="Version">
    </picture>
</a>
<a href="https://github.com/morpho-org/test/blob/main/LICENSE">
    <picture>
        <source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/npm/l/@morpho-org/test?colorA=21262d&colorB=21262d&style=flat">
        <img src="https://img.shields.io/npm/l/@morpho-org/test?colorA=f6f8fa&colorB=f6f8fa&style=flat" alt="MIT License">
    </picture>
</a>
<a href="https://www.npmjs.com/package/@morpho-org/test">
    <picture>
        <source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/npm/dm/@morpho-org/test?colorA=21262d&colorB=21262d&style=flat">
        <img src="https://img.shields.io/npm/dm/@morpho-org/test?colorA=f6f8fa&colorB=f6f8fa&style=flat" alt="Downloads per month">
    </picture>
</a>
<br />
<br />

Viem-based package that exports utilities to build Vitest & Playwright fixtures that spawn anvil forks as child processes.

Heavily inspired by [`prool`](https://github.com/wevm/prool), but lighter & faster.

## Installation

```bash
npm install @morpho-org/test
```

```bash
yarn add @morpho-org/test
```

## Getting Started

### Vitest (viem)

Export an extended vitest `test`:

```typescript
import { createViemTest } from "@morpho-org/test/vitest";
import { mainnet } from "viem/chains";

export const test = createViemTest(mainnet, {
  forkUrl: process.env.MAINNET_RPC_URL,
  forkBlockNumber: 19_530_000,
});
```

See more on its internal usage for [viem-based E2E tests here](../blue-sdk-viem/test/).

### Playwright

Export an extended Playwright `test`:

```typescript
import { createViemTest } from "@morpho-org/test/playwright";
import { mainnet } from "viem/chains";

export const test = createViemTest(mainnet, {
  forkUrl: process.env.MAINNET_RPC_URL,
  forkBlockNumber: 19_530_000,
});
```

### Spawn anvil instances

```typescript
import { mainnet } from "viem/chains";
import { spawnAnvil } from "@morpho-org/test";

spawnAnvil(mainnet, { forkBlockNumber: 19_750_000n });
```
npm package: @morpho-org/test-ethers
Description: <a href="https://www.npmjs.com/package/@morpho-org/test-ethers">     <picture>         <source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/npm/v/@morpho-org/test-ethers?colorA=21262d&colorB=21262d&style=flat">         <img src="htt
Author: Morpho Labs
Latest version: 2.0.0-next.1
Deprecated: invalid tag/version
npm package: @morpho-org/test-viem
Description: <a href="https://www.npmjs.com/package/@morpho-org/test-viem">     <picture>         <source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/npm/v/@morpho-org/test-viem?colorA=21262d&colorB=21262d&style=flat">         <img src="https:/
Author: Morpho Labs
Latest version: 2.0.0-next.1
Deprecated: invalid tag/version
npm package: @morpho-org/test-wagmi
Description: Wagmi-based extension of `@morpho-org/test` that injects a test Wagmi config as a test fixture alongside viem's anvil client.
Author: Morpho Association
Latest version: 2.1.1

# @morpho-org/test-wagmi

<a href="https://www.npmjs.com/package/@morpho-org/test-wagmi">
    <picture>
        <source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/npm/v/@morpho-org/test-wagmi?colorA=21262d&colorB=21262d&style=flat">
        <img src="https://img.shields.io/npm/v/@morpho-org/test-wagmi?colorA=f6f8fa&colorB=f6f8fa&style=flat" alt="Version">
    </picture>
</a>
<a href="https://github.com/morpho-org/test-wagmi/blob/main/LICENSE">
    <picture>
        <source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/npm/l/@morpho-org/test-wagmi?colorA=21262d&colorB=21262d&style=flat">
        <img src="https://img.shields.io/npm/l/@morpho-org/test-wagmi?colorA=f6f8fa&colorB=f6f8fa&style=flat" alt="MIT License">
    </picture>
</a>
<a href="https://www.npmjs.com/package/@morpho-org/test-wagmi">
    <picture>
        <source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/npm/dm/@morpho-org/test-wagmi?colorA=21262d&colorB=21262d&style=flat">
        <img src="https://img.shields.io/npm/dm/@morpho-org/test-wagmi?colorA=f6f8fa&colorB=f6f8fa&style=flat" alt="Downloads per month">
    </picture>
</a>
<br />
<br />

Wagmi-based extension of [`@morpho-org/test`](../test/) that injects a test Wagmi config as a test fixture alongside viem's anvil client.

## Installation

```bash
npm install @morpho-org/test-wagmi
```

```bash
yarn add @morpho-org/test-wagmi
```

## Getting Started

Export an extended vitest `test`:

```typescript
import { createWagmiTest } from "@morpho-org/test-wagmi";
import { mainnet } from "viem/chains";

export const test = createWagmiTest(mainnet, {
  forkUrl: process.env.MAINNET_RPC_URL,
  forkBlockNumber: 19_530_000,
});
```

See more on its internal usage for [wagmi-based tests here](../blue-sdk-wagmi/test/e2e/).
npm package: @morphood/capacitor-lottie-splash-screen
Description: Lottie splash screen plugin for capacitor
Author: morphood
Latest version: 0.1.0

# @morphood/capacitor-lottie-splash-screen

Lottie splash screen plugin for capacitor

## Install

```bash
npm install @morphood/capacitor-lottie-splash-screen
npx cap sync
```

Add to `capacitor.config.ts` or `capcitor.config.json`
```
CapacitorLottieSplashScreen: {
  Enabled: true,
  LottieAnimationLocation: "public/[web/path/to.json]"
}
```

if you were previously using Capacitor Splash Screen set the following in you capacitor config
```
SplashScreen: {
  launchAutoHide: true,
  launchShowDuration: 0,
},
```

## API

<docgen-index>

* [`echo(...)`](#echo)
* [`appLoaded()`](#apploaded)
* [`isAnimating()`](#isanimating)
* [`addListener('onAnimationEnd', ...)`](#addlisteneronanimationend)
* [Interfaces](#interfaces)

</docgen-index>

<docgen-api>
<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->

### echo(...)

```typescript
echo(options: { value: string; }) => Promise<{ value: string; }>
```

| Param         | Type                            |
| ------------- | ------------------------------- |
| **`options`** | <code>{ value: string; }</code> |

**Returns:** <code>Promise&lt;{ value: string; }&gt;</code>

--------------------


### appLoaded()

```typescript
appLoaded() => Promise<any>
```

Indicate to the plugin that the app has loaded.

Run as early as possible when your app is loaded.
This will ensure that on animation end the layer of the splash screen is removed
and touch interactions will go to the app.

**Returns:** <code>Promise&lt;any&gt;</code>

--------------------


### isAnimating()

```typescript
isAnimating() => Promise<{ isAnimating: boolean; }>
```

**Returns:** <code>Promise&lt;{ isAnimating: boolean; }&gt;</code>

--------------------


### addListener('onAnimationEnd', ...)

```typescript
addListener(eventName: 'onAnimationEnd', listenerFunc: () => void) => Promise<PluginListenerHandle> & PluginListenerHandle
```

| Param              | Type                          |
| ------------------ | ----------------------------- |
| **`eventName`**    | <code>'onAnimationEnd'</code> |
| **`listenerFunc`** | <code>() =&gt; void</code>    |

**Returns:** <code>Promise&lt;<a href="#pluginlistenerhandle">PluginListenerHandle</a>&gt; & <a href="#pluginlistenerhandle">PluginListenerHandle</a></code>

--------------------


### Interfaces


#### PluginListenerHandle

| Prop         | Type                                      |
| ------------ | ----------------------------------------- |
| **`remove`** | <code>() =&gt; Promise&lt;void&gt;</code> |

</docgen-api>
npm package: @morphood/capacitor-plugin-beacon
Description: Beacon capacitor plugin
Author: morphoodInc
Latest version: 0.0.2

# @morphood/capacitor-plugin-beacon

Beacon capacitor plugin

## Install

```bash
npm install @morphood/capacitor-plugin-beacon
npx cap sync
```

## API

<docgen-index>

* [`init(...)`](#init)
* [`open()`](#open)
* [`close()`](#close)

</docgen-index>

<docgen-api>
<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->

### init(...)

```typescript
init(options: { beaconId: string; }) => Promise<any>
```

| Param         | Type                               |
| ------------- | ---------------------------------- |
| **`options`** | <code>{ beaconId: string; }</code> |

**Returns:** <code>Promise&lt;any&gt;</code>

--------------------


### open()

```typescript
open() => Promise<void>
```

--------------------


### close()

```typescript
close() => Promise<void>
```

--------------------

</docgen-api>