@requestnetwork/payment-detection 0.54.1-next.e6f64ba8.0 → 0.54.1-next.e7cd4501.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CurrencyTypes } from '@requestnetwork/types';
|
|
2
|
-
import { Block_Height,
|
|
2
|
+
import { Block_Height, getSdk, Maybe } from './generated/graphql';
|
|
3
3
|
import { getSdk as getNearSdk } from './generated/graphql-near';
|
|
4
4
|
import { RequestConfig } from 'graphql-request/src/types';
|
|
5
5
|
/**
|
|
@@ -16,9 +16,12 @@ export type TheGraphQueryOptions = {
|
|
|
16
16
|
export type TheGraphClientOptions = RequestConfig & {
|
|
17
17
|
/** constraint to select indexers that have at least parsed this block */
|
|
18
18
|
minIndexedBlock?: number | undefined;
|
|
19
|
+
/** API key for accessing subgraphs hosted on TheGraph Explorer */
|
|
20
|
+
theGraphExplorerApiKey?: string;
|
|
19
21
|
};
|
|
20
22
|
export declare const getTheGraphClient: (network: string, url: string, options?: TheGraphClientOptions) => TheGraphClient<CurrencyTypes.NearChainName> | TheGraphClient<CurrencyTypes.EvmChainName>;
|
|
21
23
|
export declare const getTheGraphEvmClient: (url: string, options?: TheGraphClientOptions) => TheGraphClient<CurrencyTypes.EvmChainName>;
|
|
22
24
|
export declare const getTheGraphNearClient: (url: string, options?: TheGraphClientOptions) => TheGraphClient<CurrencyTypes.NearChainName>;
|
|
25
|
+
export declare const defaultGetTheGraphClientUrl: (network: CurrencyTypes.ChainName, options?: TheGraphClientOptions) => string | undefined;
|
|
23
26
|
export declare const defaultGetTheGraphClient: (network: CurrencyTypes.ChainName, options?: TheGraphClientOptions) => TheGraphClient<CurrencyTypes.NearChainName> | TheGraphClient<CurrencyTypes.EvmChainName> | undefined;
|
|
24
27
|
//# sourceMappingURL=client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/thegraph/client.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAGtD,OAAO,EAAE,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/thegraph/client.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAGtD,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAyD1D;;;;GAIG;AACH,MAAM,MAAM,cAAc,CAAC,MAAM,SAAS,aAAa,CAAC,WAAW,GAAG,aAAa,CAAC,YAAY,IAC9F,CAAC,MAAM,SAAS,aAAa,CAAC,aAAa,GACvC,UAAU,CAAC,OAAO,UAAU,CAAC,GAC7B,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC,GAAG;IAC/B,OAAO,CAAC,EAAE,oBAAoB,CAAC;CAChC,CAAC;AAEJ,MAAM,MAAM,oBAAoB,GAAG;IACjC,WAAW,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,aAAa,GAAG;IAClD,yEAAyE;IACzE,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,kEAAkE;IAClE,sBAAsB,CAAC,EAAE,MAAM,CAAC;CACjC,CAAC;AA6BF,eAAO,MAAM,iBAAiB,YAAa,MAAM,OAAO,MAAM,YAAY,qBAAqB,6FAGvD,CAAC;AAEzC,eAAO,MAAM,oBAAoB,QAAS,MAAM,YAAY,qBAAqB,+CAOhF,CAAC;AAEF,eAAO,MAAM,qBAAqB,QAAS,MAAM,YAAY,qBAAqB,gDAOjF,CAAC;AAEF,eAAO,MAAM,2BAA2B,YAC7B,cAAc,SAAS,YACtB,qBAAqB,uBAiChC,CAAC;AAEF,eAAO,MAAM,wBAAwB,YAC1B,cAAc,SAAS,YACtB,qBAAqB,yGAMhC,CAAC"}
|
package/dist/thegraph/client.js
CHANGED
|
@@ -1,22 +1,57 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.defaultGetTheGraphClient = exports.getTheGraphNearClient = exports.getTheGraphEvmClient = exports.getTheGraphClient = void 0;
|
|
3
|
+
exports.defaultGetTheGraphClient = exports.defaultGetTheGraphClientUrl = exports.getTheGraphNearClient = exports.getTheGraphEvmClient = exports.getTheGraphClient = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const currency_1 = require("@requestnetwork/currency");
|
|
6
6
|
const graphql_request_1 = require("graphql-request");
|
|
7
7
|
const graphql_1 = require("./generated/graphql");
|
|
8
8
|
const graphql_near_1 = require("./generated/graphql-near");
|
|
9
9
|
const THE_GRAPH_STUDIO_URL = 'https://api.studio.thegraph.com/query/67444/request-payments-$NETWORK/version/latest';
|
|
10
|
+
const THE_GRAPH_EXPLORER_URL = 'https://gateway.thegraph.com/api/$API_KEY/subgraphs/id/$SUBGRAPH_ID';
|
|
10
11
|
const THE_GRAPH_ALCHEMY_URL = 'https://subgraph.satsuma-prod.com/e2e4905ab7c8/request-network--434873/request-payments-$NETWORK/api';
|
|
11
12
|
const THE_GRAPH_URL_MANTLE_TESTNET = 'https://graph.testnet.mantle.xyz/subgraphs/name/requestnetwork/request-payments-mantle-testnet';
|
|
12
13
|
const THE_GRAPH_URL_MANTLE = 'https://subgraph-api.mantle.xyz/api/public/555176e7-c1f4-49f9-9180-f2f03538b039/subgraphs/requestnetwork/request-payments-mantle/v0.1.0/gn';
|
|
13
14
|
const THE_GRAPH_URL_CORE = 'https://thegraph.coredao.org/subgraphs/name/requestnetwork/request-payments-core';
|
|
15
|
+
const THE_GRAPH_ALCHEMY_CHAINS = [
|
|
16
|
+
'arbitrum-one',
|
|
17
|
+
'avalanche',
|
|
18
|
+
'base',
|
|
19
|
+
'bsc',
|
|
20
|
+
'fantom',
|
|
21
|
+
'mainnet',
|
|
22
|
+
'matic',
|
|
23
|
+
'sepolia',
|
|
24
|
+
'optimism',
|
|
25
|
+
'zksyncera',
|
|
26
|
+
];
|
|
27
|
+
const THE_GRAPH_EXPLORER_SUBGRAPH_ID = {
|
|
28
|
+
['arbitrum-one']: '3MtDdHbzvBVNBpzUTYXGuDDLgTd1b8bPYwoH1Hdssgp9',
|
|
29
|
+
avalanche: 'A27V4PeZdKHeyuBkehdBJN8cxNtzVpXvYoqkjHUHRCFp',
|
|
30
|
+
base: 'CcTtKy6BustyyVZ5XvFD4nLnbkgMBT1vcAEJ3sAx6bRe',
|
|
31
|
+
bsc: '4PScFUi3CFDbop9XzT6gCDtD4RR8kRzyrzSjrHoXHZBt',
|
|
32
|
+
celo: '5ts3PHjMcH2skCgKtvLLNE64WLjbhE5ipruvEcgqyZqC',
|
|
33
|
+
fantom: '6AwmiYo5eY36W526ZDQeAkNBjXjXKYcMLYyYHeM67xAb',
|
|
34
|
+
fuse: 'EHSpUBa7PAewX7WsaU2jbCKowF5it56yStr6Zgf8aDtx',
|
|
35
|
+
mainnet: '5mXPGZRC2Caynh4NyVrTK72DAGB9dfcKmLsnxYWHQ9nd',
|
|
36
|
+
matic: 'DPpU1WMxk2Z4H2TAqgwGbVBGpabjbC1972Mynak5jSuR',
|
|
37
|
+
moonbeam: '4Jo3DwA25zyVLeDhyi7cks52dNrkVCWWhQJzm1hKnCfj',
|
|
38
|
+
sepolia: '6e8Dcwt3cvsgNU3JYBtRQQ9Sj4P9VVVnXaPjJ3jUpYpY',
|
|
39
|
+
sonic: 'CQbtmuANYsChysuXTk9jWP3BD4ArncARVVw1b8JpHiTk',
|
|
40
|
+
near: '9yEg3h46CZiv4VuSqo1erMMBx5sHxRuW5Ai2V8goSpQL',
|
|
41
|
+
['near-testnet']: 'AusVyfndonsMVFrVzckuENLqx8t6kcXuxn6C6VbSGd7M',
|
|
42
|
+
optimism: '525fra79nG3Z1w8aPZh3nHsH5zCVetrVmceB1hKcTrTX',
|
|
43
|
+
xdai: '2UAW7B94eeeqaL5qUM5FDzTWJcmgA6ta1RcWMo3XuLmU',
|
|
44
|
+
zksyncera: 'HJNZW9vRSGXrcCVyQMdNKxxuLKeZcV6yMjTCyY6T2oon',
|
|
45
|
+
};
|
|
14
46
|
/** Splits the input options into "client options" to pass to the SDK, and "query options" to use in queries */
|
|
15
47
|
const extractClientOptions = (url, options) => {
|
|
16
48
|
const optionsObject = options !== null && options !== void 0 ? options : {};
|
|
17
49
|
// build query options
|
|
18
50
|
const queryOptions = {};
|
|
19
|
-
const { minIndexedBlock
|
|
51
|
+
const { minIndexedBlock,
|
|
52
|
+
// ignore theGraphExplorerApiKey, it should not be part of clientOptions
|
|
53
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
54
|
+
theGraphExplorerApiKey: _theGraphExplorerApiKey } = optionsObject, clientOptions = tslib_1.__rest(optionsObject, ["minIndexedBlock", "theGraphExplorerApiKey"]);
|
|
20
55
|
if (minIndexedBlock) {
|
|
21
56
|
queryOptions.blockFilter = { number_gte: minIndexedBlock };
|
|
22
57
|
}
|
|
@@ -45,29 +80,41 @@ const getTheGraphNearClient = (url, options) => {
|
|
|
45
80
|
return sdk;
|
|
46
81
|
};
|
|
47
82
|
exports.getTheGraphNearClient = getTheGraphNearClient;
|
|
83
|
+
const defaultGetTheGraphClientUrl = (network, options) => {
|
|
84
|
+
const chain = network.replace('aurora', 'near');
|
|
85
|
+
const theGraphExplorerSubgraphId = THE_GRAPH_EXPLORER_SUBGRAPH_ID[chain];
|
|
86
|
+
const { theGraphExplorerApiKey } = options || {};
|
|
87
|
+
// build URLs
|
|
88
|
+
const theGraphStudioUrl = THE_GRAPH_STUDIO_URL.replace('$NETWORK', chain);
|
|
89
|
+
const theGraphExplorerUrl = THE_GRAPH_EXPLORER_URL.replace('$API_KEY', theGraphExplorerApiKey || '').replace('$SUBGRAPH_ID', theGraphExplorerSubgraphId || '');
|
|
90
|
+
const theGraphAlchemyUrl = THE_GRAPH_ALCHEMY_URL.replace('$NETWORK', chain);
|
|
91
|
+
const shouldUseTheGraphExplorer = !!theGraphExplorerApiKey && !!theGraphExplorerSubgraphId;
|
|
92
|
+
const shouldUseAlchemy = THE_GRAPH_ALCHEMY_CHAINS.includes(chain);
|
|
93
|
+
switch (true) {
|
|
94
|
+
case chain === 'private':
|
|
95
|
+
return;
|
|
96
|
+
case chain === 'mantle':
|
|
97
|
+
return THE_GRAPH_URL_MANTLE;
|
|
98
|
+
case chain === 'mantle-testnet':
|
|
99
|
+
return THE_GRAPH_URL_MANTLE_TESTNET;
|
|
100
|
+
case chain === 'core':
|
|
101
|
+
return THE_GRAPH_URL_CORE;
|
|
102
|
+
default:
|
|
103
|
+
return shouldUseTheGraphExplorer
|
|
104
|
+
? theGraphExplorerUrl
|
|
105
|
+
: shouldUseAlchemy
|
|
106
|
+
? theGraphAlchemyUrl
|
|
107
|
+
: theGraphStudioUrl;
|
|
108
|
+
}
|
|
109
|
+
};
|
|
110
|
+
exports.defaultGetTheGraphClientUrl = defaultGetTheGraphClientUrl;
|
|
48
111
|
const defaultGetTheGraphClient = (network, options) => {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
: network === 'mantle-testnet'
|
|
56
|
-
? (0, exports.getTheGraphEvmClient)(THE_GRAPH_URL_MANTLE_TESTNET, options)
|
|
57
|
-
: network === 'core'
|
|
58
|
-
? (0, exports.getTheGraphEvmClient)(THE_GRAPH_URL_CORE, options)
|
|
59
|
-
: network === 'mainnet' ||
|
|
60
|
-
network === 'sepolia' ||
|
|
61
|
-
network === 'matic' ||
|
|
62
|
-
network === 'bsc' ||
|
|
63
|
-
network === 'optimism' ||
|
|
64
|
-
network === 'arbitrum-one' ||
|
|
65
|
-
network === 'base' ||
|
|
66
|
-
network === 'zksyncera' ||
|
|
67
|
-
network === 'avalanche' ||
|
|
68
|
-
network === 'fantom'
|
|
69
|
-
? (0, exports.getTheGraphEvmClient)(`${THE_GRAPH_ALCHEMY_URL.replace('$NETWORK', network)}`, options)
|
|
70
|
-
: (0, exports.getTheGraphEvmClient)(`${THE_GRAPH_STUDIO_URL.replace('$NETWORK', network)}`, options);
|
|
112
|
+
const url = (0, exports.defaultGetTheGraphClientUrl)(network, options);
|
|
113
|
+
if (!url)
|
|
114
|
+
return;
|
|
115
|
+
if (currency_1.NearChains.isChainSupported(network))
|
|
116
|
+
return (0, exports.getTheGraphNearClient)(url, options);
|
|
117
|
+
return (0, exports.getTheGraphEvmClient)(url, options);
|
|
71
118
|
};
|
|
72
119
|
exports.defaultGetTheGraphClient = defaultGetTheGraphClient;
|
|
73
120
|
//# sourceMappingURL=client.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../src/thegraph/client.ts"],"names":[],"mappings":";;;;AAEA,uDAAsD;AACtD,qDAAgD;AAChD,iDAAkE;AAClE,2DAAgE;AAGhE,MAAM,oBAAoB,GACxB,sFAAsF,CAAC;AAEzF,MAAM,qBAAqB,GACzB,sGAAsG,CAAC;AAEzG,MAAM,4BAA4B,GAChC,gGAAgG,CAAC;AAEnG,MAAM,oBAAoB,GACxB,4IAA4I,CAAC;AAE/I,MAAM,kBAAkB,GACtB,kFAAkF,CAAC;
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../src/thegraph/client.ts"],"names":[],"mappings":";;;;AAEA,uDAAsD;AACtD,qDAAgD;AAChD,iDAAkE;AAClE,2DAAgE;AAGhE,MAAM,oBAAoB,GACxB,sFAAsF,CAAC;AAEzF,MAAM,sBAAsB,GAC1B,qEAAqE,CAAC;AAExE,MAAM,qBAAqB,GACzB,sGAAsG,CAAC;AAEzG,MAAM,4BAA4B,GAChC,gGAAgG,CAAC;AA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B,EAAE;IACF,MAAM,GAAG,GAAG,IAAA,mCAA2B,EAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC1D,IAAI,CAAC,GAAG;QAAE,OAAO;IACjB,IAAI,qBAAU,CAAC,gBAAgB,CAAC,OAAO,CAAC;QAAE,OAAO,IAAA,6BAAqB,EAAC,GAAG,EAAE,OAAO,CAAC,CAAC;IACrF,OAAO,IAAA,4BAAoB,EAAC,GAAG,EAAE,OAAO,CAAC,CAAC;AAC5C,CAAC,CAAC;AARW,QAAA,wBAAwB,4BAQnC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@requestnetwork/payment-detection",
|
|
3
|
-
"version": "0.54.1-next.
|
|
3
|
+
"version": "0.54.1-next.e7cd4501.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
"codegen": "graphql-codegen --config codegen.yml ; graphql-codegen --config codegen-superfluid.yml; graphql-codegen --config codegen-near.yml"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@requestnetwork/currency": "^0.28.1-next.
|
|
45
|
-
"@requestnetwork/smart-contracts": "^0.48.1-next.
|
|
46
|
-
"@requestnetwork/types": "^0.54.1-next.
|
|
47
|
-
"@requestnetwork/utils": "^0.54.1-next.
|
|
44
|
+
"@requestnetwork/currency": "^0.28.1-next.e7cd4501.0",
|
|
45
|
+
"@requestnetwork/smart-contracts": "^0.48.1-next.e7cd4501.0",
|
|
46
|
+
"@requestnetwork/types": "^0.54.1-next.e7cd4501.0",
|
|
47
|
+
"@requestnetwork/utils": "^0.54.1-next.e7cd4501.0",
|
|
48
48
|
"ethers": "5.7.2",
|
|
49
49
|
"graphql": "16.8.1",
|
|
50
50
|
"graphql-request": "6.1.0",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@graphql-codegen/typescript-operations": "4.0.1",
|
|
62
62
|
"@graphql-codegen/typescript-resolvers": "4.0.1",
|
|
63
63
|
"@jridgewell/gen-mapping": "0.3.2",
|
|
64
|
-
"@requestnetwork/advanced-logic": "^0.54.1-next.
|
|
64
|
+
"@requestnetwork/advanced-logic": "^0.54.1-next.e7cd4501.0",
|
|
65
65
|
"@types/jest": "29.5.6",
|
|
66
66
|
"jest": "29.5.0",
|
|
67
67
|
"jest-junit": "16.0.0",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"ts-node": "10.9.1",
|
|
71
71
|
"typescript": "5.1.3"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "e7cd4501672c36eb61cefcbb4c09113b03f4ee0e"
|
|
74
74
|
}
|