open-index/open-npm huggingface dataset:
npm package: @firebearstudio/shopware-admin-api
Description: Shopware API
Author: Shyim
Latest version: 1.0.5

# Admin Node-API Client for Shopware 6

This code highly bases on the [Administration Code](https://github.com/shopware/platform/tree/745f1f7aaa5c47d123e04b5b5b93b81161eae19a/src/Administration/Resources/app/administration/src/core/data-new) and made NodeJs compatible.

## Creation of API Client

### Using Username and Password

```js
import {createFromPasswordAndLogin} from 'shopware-admin-api';

let api = await createFromPasswordAndLogin('http://myshop.com', 'username', 'password', 1);
```

### Using Integration

```js
import {createFromIntegration} from 'shopware-admin-api';

let api = await createFromIntegration('http://myshop.com', 'client_id', 'client_secret', 1);
```


## Usage

```js
// Create repository
const productRepository = api.create('product');

// Access default context
const context = api.defaultContext();

// Acccess entity definition (contains the schema, required fields etc.)
const definition = api.EntityDefinition;

console.log(definition.get('product'))
console.log(definition.getRequiredFields('product'))
```

## License

[MIT](LICENSE.md)
npm package: @firebend/control-tower-web-socket-client
Description: A library receiving Control Tower Platform real time events over a web socket
Latest version: 1.7.2

# web-socket-client

This library was generated with [Nx](https://nx.dev).

It allows clients to connected to Control Tower's Real Time Event platform. 

## Running unit tests

Run `nx test web-socket-client` to execute the unit tests via [Jest](https://jestjs.io).

## Running lint

Run `nx lint web-socket-client` to execute the lint via [ESLint](https://eslint.org/).

# Examples

## Connecting and Listening to All Events for a Given Entity

### This snippet will register an event handler for any load change.

```javascript
realTimeEventFactory('insert url')
  .withAccessToken('insert token or token promise')
  .startAsync()
  .then(builder => {
    builder.onAll('loads', event => {
      console.log('A load event triggered!', event.trigger)
    });
  });
```
## Connecting and Listening to a Specific Trigger for a Given Entity

### This snippet registers a handler to only receive modification events for the load entity.

```javascript
realTimeEventFactory('insert url')
  .withAccessToken('insert token or token promise')
  .startAsync()
  .then(builder => {
    builder.on('loads', triggers => {
      triggers
        .on('Modified')
        .withEventHandler(event => {
          console.log('A load was modified!', event.eventTime)
        })
    });
  });
```

### Connecting and Listening to a Specific Trigger With a Filter for a Given Entity

### This snippet registers a handler to receive Created triggers and Modified triggers. The modified trigger has a filter to only fire when the load status or any stop in the stop array has been altered.

```javascript
realTimeEventFactory('insert url')
  .withAccessToken('insert token or token promise')
  .startAsync()
  .then(builder => {
    builder.on('loads', triggers => {
      triggers
        .onTrigger('Created')
        .onTrigger('Modified', filters => {
          filters.withFilter('/loadStatus')
            .withFilter('/stops/*')
        })
        .withEventHandler(event => {
          console.log('A load event was triggered!', event.trigger)
        })
    });
  });
```
npm package: @fireberry/cli
Description: Fireberry CLI tool
Latest version: 0.4.4

# @fireberry/cli

Fireberry CLI tool for managing your Fireberry application.

## Installation

Install the CLI globally using npm:

```bash
npm install -g @fireberry/cli@latest
```

After installation, the `fireberry` command will be available in your terminal.

## Usage

### Get Help

View all available commands and options:

```bash
fireberry --help
```

### Initialize Workspace

Set up your Fireberry workspace with your authentication token:

```bash
fireberry init <tokenid>
```

This will store your authentication token securely for future use.

## Available Commands

- `init <tokenid>`: Initialize your workspace with authentication
- `--help`: Show help information for any command
- `--version`: Show CLI version

## License

MIT
npm package: @fireblitzdemos/demo-user-app
Description: Example Web Component that utilizes firebase
Author: demo-fb-app
Latest version: 0.0.6

# \<demo-user-app>

This webcomponent follows the [open-wc](https://github.com/open-wc/open-wc) recommendation.

## Installation
```bash
npm i @fireblitzdemos/demo-user-app
```

## Usage
```html
<script type="module">
  import 'demo-user-app/demo-user-app.js';
</script>

<demo-user-app db="{firestore reference}"></demo-user-app>
```



## Tooling configs

For most of the tools, the configuration is in the `package.json` to reduce the amount of files in your project.

If you customize the configuration a lot, you can consider moving them to individual files.

## Local Demo with `web-dev-server`
```bash
npm start
```
To run a local development server that serves the basic demo located in `demo/index.html`
npm package: @fireblocks/embedded-wallet-sdk
Description: Fireblocks embedded wallet sdk
Author: Yuval Niezni
Latest version: 0.0.24

# Embedded Wallet JS SDK

The Embedded Wallet JS SDK allows you to integrate wallet functionalities into your application seamlessly.

## Installation

To install the SDK, use npm or yarn:

```bash
npm install @fireblocks/embedded-wallet-js-sdk
```

or

```bash
yarn add @fireblocks/embedded-wallet-js-sdk
```

## Usage

### Importing the SDK

First, import the SDK into your project:

```javascript
import { EmbeddedWallet } from "@fireblocks/embedded-wallet-sdk";
```

### Initializing the Wallet

Initialize the wallet with your configuration:

```javascript
const ew = new EmbeddedWallet({
	env: "production",
	authClientId: process.env.AUTH_CLIENT_ID,
	authTokenRetriever: {
		getAuthToken: () => authManager.getAccessToken(),
	},
});
```

### Creating New Account

```javascript
const { accountId } = await ew.createAccount();
```

### Adding New Asset

To add a new asset

```javascript
const { address } = await ew.addAsset(accountId, "BTC");
```

### Making a Transaction

To make a transaction:

```javascript
import { getFireblocksNCWInstance } from "@fireblocks/ncw-js-sdk";

const { id } = await ew.createTransaction({
	assetId: "BTC",
	source: {
		id: "0",
	},
	destination: {
		type: "VAULT_ACCOUNT",
		id: "0",
	},
	amount: "8",
});

const core = getFireblocksNCWInstance(deviceId);
await core.signTransaction(id);
```
npm package: @fireblocks/hardhat-fireblocks
Description: Hardhat plugin for integrating with Fireblocks
Author: Fireblocks
Latest version: 1.3.6

[![npm version](https://badge.fury.io/js/@fireblocks%2Fhardhat-fireblocks.svg)](https://badge.fury.io/js/@fireblocks%2Fhardhat-fireblocks)

# Fireblocks Hardhat Plugin

This is a [Hardhat](https://hardhat.org/) plugin for integrating with [Fireblocks](https://www.fireblocks.com/).

This plugin will help you to seamlessly integrate Fireblocks into your Hardhat development stack.

You can use it to deploy contracts and sign transactions and messages.

## Installation

```bash
npm install @fireblocks/hardhat-fireblocks
```

Import the plugin in your `hardhat.config.js`:

```js
require("@fireblocks/hardhat-fireblocks");
const { ApiBaseUrl } = require("@fireblocks/fireblocks-web3-provider");
```

Or if you are using TypeScript, in your `hardhat.config.ts`:

```ts
import "@fireblocks/hardhat-fireblocks";
import { ApiBaseUrl } from "@fireblocks/fireblocks-web3-provider";
```

## Configuration

This plugin extends the `HttpNetworkUserConfig` object with an optional
`fireblocks` field.

This is an example of how to set it:

```js
module.exports = {
  solidity: "0.8.17",
  networks: {
    goerli: {
      url: "https://rpc.ankr.com/eth_goerli",
      fireblocks: {
        // apiBaseUrl: ApiBaseUrl.Sandbox // If using a sandbox workspace
        privateKey: process.env.FIREBLOCKS_API_PRIVATE_KEY_PATH,
        apiKey: process.env.FIREBLOCKS_API_KEY,
        vaultAccountIds: process.env.FIREBLOCKS_VAULT_ACCOUNT_IDS,
      }
    },
  },
};
```
npm package: @fireblocks/react-native-ncw-sdk
Description: NCW SDK Native bridge
Author: Amit Perelstein
Latest version: 1.0.2

# @fireblocks/react-native-ncw-sdk

Fireblocks NCW SDK bridge for React Native

## Installation

```sh
npm install @fireblocks/react-native-ncw-sdk
```

### Android additional setup

Add the Maven repository and SDK dependency to your app as described [here](https://ncw-developers.fireblocks.com/docs/setup-4#android-sdk-installation)

### iOS additional setup
1. Edit the following line to your app's `Podfile`

```rb
  post_install do |installer|
    $RNNCWSDK.post_install(installer) # <--- add this line
```

2. Install pod dependencies:

```sh
cd ios && bundle exec pod install
```
3. Open your project's workspace in Xcode

4. Add Fireblocks SDK Swift Package as described [here](https://ncw-developers.fireblocks.com/docs/setup-4#ios-sdk-installation), or:

File > Add Package Dependecies... > https://github.com/fireblocks/ncw-ios-sdk > Add Package > Add to Target: "Your Project" > Add Package

## Usage


```js
import { FireblocksNCWFactory } from '@fireblocks/react-native-ncw-sdk';

// ...

const fireblocksNCW = await FireblocksNCWFactory({
    env: "sandbox", // or "production" etc
    logLevel: "INFO",
    deviceId,
    messagesHandler,
    eventsHandler,
    secureStorageProvider,
});
```

## Example
[Example Project](example)

## 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)