Neoplastic Plasma Medusa

    TypeScript icon, indicating that this package has built-in type declarations

    1.0.5 • Public • Published


    Ocean Protocol's Purgatory lists

    🦑 Policies

    Here are the policies & proceses around reporting an asset or account, and more.

    🤿 List Schema

    For each asset:

      "did": "did:op:0000",
      "date": "2020-10-27T18:29:35Z",
      "reason": "stolen data"

    For each account:

      "address": "0x.....",
      "date": "2020-10-27T18:29:35Z",
      "reason": "stolen data"

    🏄‍♀️ List Usage

    npm i @oceanprotocol/list-purgatory

    This list is published as a npm module and the market and react use it as a dependency to enhance the UI for those data partners.

    After every change, a new version of the list needs to be released.

    You can also directly fetch the list from the main branch:

    JavaScript usage:

    import listAssets from '@oceanprotocol/list-assets'
    // old-school
    const listAssets = require('@oceanprotocol/list-assets')

    TypeScript usage:

    import listAssets from '@oceanprotocol/list-assets'
    import { AssetData } from '@oceanprotocol/list-assets/types'

    ⬆️ Releases

    Releases are managed semi-automatically. They are always manually triggered from a developer's machine with release scripts.

    From a clean main branch you can run the release task bumping the version accordingly based on semantic versioning:

    npm run release

    The task does the following:

    • bumps the project version in package.json, package-lock.json
    • auto-generates and updates the file from commit messages
    • creates a Git tag
    • commits and pushes everything
    • creates a GitHub release with commit messages as description
    • Git tag push will trigger Travis to do a npm release

    For the GitHub releases steps a GitHub personal access token, exported as GITHUB_TOKEN is required. Setup

    🏛 License

    Copyright 2020 Ocean Protocol Foundation Ltd.
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.




    npm i @oceanprotocol/list-purgatory

    DownloadsWeekly Downloads






    Unpacked Size

    15.4 kB

    Total Files


    Last publish


    • alexbigchaindb
    • leucothia
    • kremalicious