open-index/open-npm huggingface dataset:
npm package: @giveth/commons-abc-contracts
Description: ![npm](https://img.shields.io/github/package-json/v/odysseyhack/giveth-commons-abc-contracts.svg?style=popout)
Latest version: 0.2.1

# Augmented Bonding Curve Contracts  
![npm](https://img.shields.io/github/package-json/v/odysseyhack/giveth-commons-abc-contracts.svg?style=popout)  

## Overview  
[Explainer article.](https://medium.com/giveth/deep-dive-augmented-bonding-curves-3f1f7c1fa751)  

## Running Locally
`npm i -g truffle`  
`npm i -g ganache-cli`  
`npm run start`  
[another terminal]  
`npm run test`
npm package: @giveth/commons-abc-lib
Description: ![npm](https://img.shields.io/github/package-json/v/odysseyhack/giveth-commons-abc-lib.svg?style=popout)
Latest version: 0.2.4

# Augmented Bonding Curve Library
![npm](https://img.shields.io/github/package-json/v/odysseyhack/giveth-commons-abc-lib.svg?style=popout)  

## Overview
[Explainer article.](https://medium.com/giveth/deep-dive-augmented-bonding-curves-3f1f7c1fa751)  


## Running Locally
`npm i -g truffle`  
`npm i -g ganache-cli`  
`npm run ci`
npm package: @givve/errors
Description: This package adds Sentry error handling to your project.
Latest version: 4.4.4

# Npm package @givve/errors

This package adds Sentry error handling to your project.

## Settings

Sentry dsn property needs to be set.
To be able up use SourceMaps, for every app deployment a sentry release needs to be created and artifacts uploaded. To use those Sentry.init needs the release version added to the congif.
Optionally a 'release' can be set.

Sentry accepts a version as 'release' property in the init options. This version value needs to be prefixed with the sentry project name.
E.g. my-project@1.1.0

The package.json version can be set in the environment.ts file.

    export const environment = {
      production: false,
      sentry: {
        dsn: '',
        // this is the sentry project name
        releasePrefix: 'my-project',
      },
      version: require('../../package.json').version
    };

In app.module.ts

    import { ErrorsModule, ErrorsNoopModule } from '@givve/errors';
    import * as Sentry from '@sentry/browser';


    const dsn = (env as any).sentry && (env as any).sentry.dsn ? (env as any).sentry.dsn : null;
    const release = (env as any).sentry && (env as any).sentry.releasePrefix ? `${(env as any).sentry.releasePrefix}@${env.version}` : null;

    if (dsn) {
      const options = {dsn};
      if (release) {
        Object.assign(options, {release});
      }
      Sentry.init(options);
    }

    // optionally ignore unauthenticated 401 request errors
    const config = {ignoreStatus: [401]};
    const errorsModule = dsn ? ErrorsModule.forRoot(config) : ErrorsNoopModule;

    @NgModule({
      declarations: [
        AppComponent
      ],
      imports: [
        BrowserModule,
        errorsModule
      ],
      bootstrap: [AppComponent]
    })
    export class AppModule { }



Set 'sentry.dsn' property in the environment.ts if you want to use Sentry error monitoring, e.g. environment.prod.ts

Because the notificationService.captureException can be called from anywhere, e.g. from the http interceptor catching a 401, the ErrorsNoopModule has to be imported in case 'sentry.dsn' is not set.

To submit a user alongside your errors, call notificationService.setUser after the login with the user object containing the following data:

    export interface SentryUserData {
      id: string;
      username: string;
    }
npm package: @givver-io/payroll-uk-ts-client
Description: OpenAPI client for @givver-io/payroll-uk-ts-client
Author: OpenAPI-Generator
Latest version: 0.0.49

## @givver-io/payroll-uk-ts-client@6.9.0

This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:

Environment
* Node.js
* Webpack
* Browserify

Language level
* ES5 - you must have a Promises/A+ library installed
* ES6

Module system
* CommonJS
* ES6 module system

It can be used in both TypeScript and JavaScript. In TypeScript, the definition should be automatically resolved via `package.json`. ([Reference](http://www.typescriptlang.org/docs/handbook/typings-for-npm-packages.html))

### Building

To build and compile the typescript sources to javascript use:
```
npm install
npm run build
```

### Publishing

First build the package then run ```npm publish```

### Consuming

navigate to the folder of your consuming project and run one of the following commands.

_published:_

```
npm install @givver-io/payroll-uk-ts-client@6.9.0 --save
```

_unPublished (not recommended):_

```
npm install PATH_TO_GENERATED_PACKAGE --save