open-index/open-npm huggingface dataset:
npm package: @innomobile/fireuser
Description: - Get the Authentification from Firebase and get the current authenticated user
Latest version: 16.0.0

# @innomobile/fireuser - Firebase, NGXS, AuthState

- Get the Authentification from Firebase and get the current authenticated user

## Installation

### Install the package:

`npm i @innomobile/fireuser`

### Add to your app.module

```ts
    import { FireuserModule } from '@innomobile/fireuser';

    FireuserModule.forRoot(firebaseConfig),
```

Tip: Add ``firebaseConfig`` to your enviroment (firebaseConfig is equal to the output of Firebase Web)


## Use Cases

### Using the NGXS AuthState

You can use a switchMap to get the authenticated user and get user data from firestore

```ts
    this.store.select(AuthState.getUser).pipe(
        switchMap(user => {
            // console.log('AuthUser', user);

            if (user) {
                this.userRef = this.fs.doc<UserModel>(`${this.usersPath}/${user.uid}`);
                return this.userRef.valueChanges();
            } else {
                this.userRef = null;
                return of<User>(null);
            }
        })
    ).subscribe((data) => {
        if (data) {
            // Do something with the data
        } else if (!data && this.userRef) {
            // Currently no data at Firestore, but the user is authenticated
        }
    });
```

### Using the AuthService

Currently not all features are integrated at NGXS as actions, so you have to use the AuthService, e.g. to upgrade a user with Email and Password!
npm package: @innomobile/language
Description: - Add language support powered by @ngx-translate and save the current language in LanguageState powered by NGXS
Author: Paul Stelzer
Latest version: 12.0.0

# @innomobile/language - NGXS, Language

- Add language support powered by @ngx-translate and save the current language in LanguageState powered by NGXS

## Installation

### Install the package:

`npm i @innomobile/language`

### Add to your app.module

```ts
    import { LanguageModule } from '@innomobile/language';

    LanguageModule.forRoot({
        defaultLanguage: 'en',
        availableLanguages: availableLanguages
    }),
```

Example for ``availableLanguages`` (you can add more parameters here like ``available: true | false`` which has no meaning by default )

```ts
    export const availableLanguages = [
        {
            code: 'en',
            name: 'English',
            available: true
        },
        {
            code: 'de',
            name: 'Deutsch',
            available: true
        },
        {
            code: 'pt',
            name: 'Português',
            available: false
        },
        {
            code: 'fr',
            name: 'Français',
            available: false
        },
        {
            code: 'es',
            name: 'Español',
            available: false
        },
        {
            code: 'ru',
            name: 'Русский',
            available: false
        }
    ];
```
npm package: @innoswap/core
Description: Core contracts for the InnoSwap protocol
Author: CircuitBreaker
Latest version: 2.0.0-canary.14

# InnoSwap

https://innovai.com/

## Deployed Contracts

https://dev.innovai.com/sushiswap/contracts

## Docs

[Development](docs/DEVELOPMENT.md)

[Deployment](docs/DEPLOYMENT.md)

[History](docs/HISTORY.md)

## Security

[Security Policy](SECURITY.md)

## License

[MIT](LICENSE.txt)
npm package: @innoswap/sdk
Description: 🛠 An SDK for building applications on top of InnoSwap.
Author: CircuitBreaker
Latest version: 5.0.0-canary.33

# Luckyswap SDK

In-depth documentation on this SDK is available at [uniswap.org](https://uniswap.org/docs/v2/SDK/getting-started/).

This modifies uniswap-sdk's UniswapV2Factory address. The new address for sushiswap is  `0x12a7FD816401d75F4a76915d3a9a9E4AF0EcBb0D`.

## Running tests

To run the tests, follow these steps. You must have at least node v10 and [yarn](https://yarnpkg.com/) installed.

First clone the repository:

```sh
git clone https://github.com/sushiswap/sushiswap-sdk.git
```

Move into the sushiswap-sdk working directory

```sh
cd sushiswap-sdk/
```

Install dependencies

```sh
yarn install
```

Run tests

```sh
yarn test
```

You should see output like the following:

```sh
yarn run v1.22.4
$ tsdx test
 PASS  test/constants.test.ts
 PASS  test/pair.test.ts
 PASS  test/fraction.test.ts
 PASS  test/miscellaneous.test.ts
 PASS  test/entities.test.ts
 PASS  test/trade.test.ts

Test Suites: 1 skipped, 6 passed, 6 of 7 total
Tests:       3 skipped, 82 passed, 85 total
Snapshots:   0 total
Time:        5.091s
Ran all test suites.
✨  Done in 6.61s.
```