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

ar-gql

Package Overview
Dependencies
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ar-gql - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

4

dist/index.d.ts

@@ -20,4 +20,4 @@ import GQLResultInterface, { GQLEdgeInterface, GQLNodeInterface } from "./faces";

export declare const GQLUrls: {
goldsky: string;
arweave: string;
goldsky: `http://${string}/graphql${string}` | `https://${string}/graphql${string}`;
arweave: `http://${string}/graphql${string}` | `https://${string}/graphql${string}`;
};
{
"name": "ar-gql",
"version": "2.0.0",
"version": "2.0.1",
"main": "dist/index",

@@ -5,0 +5,0 @@ "types": "dist/index",

@@ -39,3 +39,3 @@ # `ar-gql` version 1

// you can set up another instance with another endpoint
const goldsky = arGql(GQLUrls.goldsky) // 'https://arweave-search.goldsky.com/graphql'
const goldsky = arGql({ endpointUrl: GQLUrls.goldsky }) // 'https://arweave-search.goldsky.com/graphql'
// and use it at the same time

@@ -42,0 +42,0 @@ const edges = await goldsky.tx(someTxid)

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