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 1.2.5 to 1.2.6

3

dist/faces.js

@@ -1,1 +0,2 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -1,3 +0,6 @@

import txQuery from "./queries/tx";
export function arGql(endpointUrl) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GQLUrls = exports.arGql = void 0;
const tx_1 = require("./queries/tx");
function arGql(endpointUrl) {
//sanity check

@@ -48,3 +51,3 @@ if (endpointUrl && !endpointUrl.match(/^https?:\/\/.*\/graphql$/)) {

const tx = async (id) => {
const res = await run(txQuery, { id });
const res = await run(tx_1.default, { id });
return res.data.transaction;

@@ -66,6 +69,7 @@ };

}
exports.arGql = arGql;
/** some useful constants */
export const GQLUrls = {
exports.GQLUrls = {
goldsky: 'https://arweave-search.goldsky.com/graphql',
arweave: 'https://arweave.net/graphql',
};

@@ -1,2 +0,4 @@

export default `
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = `
query($id: ID!) {

@@ -3,0 +5,0 @@ transaction(id: $id) {

{
"name": "ar-gql",
"version": "1.2.5",
"version": "1.2.6",
"main": "dist/index",

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

@@ -7,5 +7,6 @@ {

"lib": ["ESNext", "DOM"],
"target": "ES2021"
"target": "ES2021",
"module": "CommonJS",
},
"include": ["src/**/*"]
}
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