Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cowprotocol/ts-dune-client

Package Overview
Dependencies
Maintainers
8
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cowprotocol/ts-dune-client - npm Package Compare versions

Comparing version 0.0.0-beta.2 to 0.0.1

2

dist/client.js

@@ -92,3 +92,3 @@ "use strict";

loglevel_1.default.info(utils_2.logPrefix, `waiting for query execution ${jobID} to complete: current state ${state}`);
(0, utils_1.sleep)(pingFrequency);
await (0, utils_1.sleep)(pingFrequency);
state = (await this.getStatus(jobID)).state;

@@ -95,0 +95,0 @@ }

{
"name": "@cowprotocol/ts-dune-client",
"version": "0.0.0-beta.2",
"version": "0.0.1",
"author": "Ben Smith <bh2smith@gmail.com>",

@@ -5,0 +5,0 @@ "description": "Node Client for Dune Analytics' officially supported API.",

@@ -0,4 +1,7 @@

[![Styled With Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://prettier.io/)
[![Build](https://github.com/cowprotocol/ts-dune-client/actions/workflows/pull-request.yaml/badge.svg)](https://github.com/cowprotocol/ts-dune-client/actions/workflows/pull-request.yaml/badge.svg)
# Dune Client TS
This package implements all the basic routes defined in the [Dune API Docs](https://dune.com/docs/api/). It also introduces a convenience method `refresh` which combines `execute`, `getStatus` and `getResults` in a way that makes it nearly trivial to fetch query execution results.
This [NPM package](https://www.npmjs.com/package/@cowprotocol/ts-dune-client) implements all the basic routes defined in the [Dune API Docs](https://dune.com/docs/api/). It also introduces a convenience method `refresh` which combines `execute`, `getStatus` and `getResults` in a way that makes it nearly trivial to fetch query execution results.

@@ -40,1 +43,3 @@ Install the package

Note also that the client has methods `execute`, `getStatus`, `getResult` and `cancelExecution`
Check out this [Demo Project](https://github.com/bh2smith/demo-ts-dune-client)!
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc