@gvnrdao/dh-sdk 0.0.319 → 0.0.320
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.
- package/browser/dist/browser.js +1 -1
- package/dist/index.js +4 -4
- package/dist/index.mjs +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -12773,7 +12773,7 @@ var DiamondHandsGraph = class {
|
|
|
12773
12773
|
async getPSMConfiguration() {
|
|
12774
12774
|
const query = `
|
|
12775
12775
|
query GetPSMConfiguration {
|
|
12776
|
-
psmConfiguration(id: "psm") {
|
|
12776
|
+
psmConfiguration: psmconfiguration(id: "psm") {
|
|
12777
12777
|
id
|
|
12778
12778
|
version
|
|
12779
12779
|
redeemEnabled
|
|
@@ -12895,7 +12895,7 @@ var DiamondHandsGraph = class {
|
|
|
12895
12895
|
const whereClause = whereConditions.length > 0 ? `where: { ${whereConditions.join(", ")} }` : "";
|
|
12896
12896
|
const query = `
|
|
12897
12897
|
query GetPSMTransactions($first: Int!, $skip: Int!) {
|
|
12898
|
-
psmTransactions(${whereClause}, first: $first, skip: $skip, orderBy: timestamp, orderDirection: desc) {
|
|
12898
|
+
psmTransactions: psmtransactions(${whereClause}, first: $first, skip: $skip, orderBy: timestamp, orderDirection: desc) {
|
|
12899
12899
|
id
|
|
12900
12900
|
type
|
|
12901
12901
|
user
|
|
@@ -12930,7 +12930,7 @@ var DiamondHandsGraph = class {
|
|
|
12930
12930
|
const whereClause = whereConditions.length > 0 ? `where: { ${whereConditions.join(", ")} }` : "";
|
|
12931
12931
|
const query = `
|
|
12932
12932
|
query GetPSMDailyMetrics($first: Int!) {
|
|
12933
|
-
psmDailyMetrics(${whereClause}, first: $first, orderBy: date, orderDirection: desc) {
|
|
12933
|
+
psmDailyMetrics: psmdailyMetrics(${whereClause}, first: $first, orderBy: date, orderDirection: desc) {
|
|
12934
12934
|
id
|
|
12935
12935
|
date
|
|
12936
12936
|
totalSwapVolume
|
|
@@ -13654,7 +13654,7 @@ var DiamondHandsGraph = class {
|
|
|
13654
13654
|
}` : ""}
|
|
13655
13655
|
|
|
13656
13656
|
${includeKind("psm") ? `
|
|
13657
|
-
psmTransactions(
|
|
13657
|
+
psmTransactions: psmtransactions(
|
|
13658
13658
|
${buildTimeWhereClause()}
|
|
13659
13659
|
first: $limit, orderBy: timestamp, orderDirection: $orderDirection
|
|
13660
13660
|
) {
|
package/dist/index.mjs
CHANGED
|
@@ -12691,7 +12691,7 @@ var DiamondHandsGraph = class {
|
|
|
12691
12691
|
async getPSMConfiguration() {
|
|
12692
12692
|
const query = `
|
|
12693
12693
|
query GetPSMConfiguration {
|
|
12694
|
-
psmConfiguration(id: "psm") {
|
|
12694
|
+
psmConfiguration: psmconfiguration(id: "psm") {
|
|
12695
12695
|
id
|
|
12696
12696
|
version
|
|
12697
12697
|
redeemEnabled
|
|
@@ -12813,7 +12813,7 @@ var DiamondHandsGraph = class {
|
|
|
12813
12813
|
const whereClause = whereConditions.length > 0 ? `where: { ${whereConditions.join(", ")} }` : "";
|
|
12814
12814
|
const query = `
|
|
12815
12815
|
query GetPSMTransactions($first: Int!, $skip: Int!) {
|
|
12816
|
-
psmTransactions(${whereClause}, first: $first, skip: $skip, orderBy: timestamp, orderDirection: desc) {
|
|
12816
|
+
psmTransactions: psmtransactions(${whereClause}, first: $first, skip: $skip, orderBy: timestamp, orderDirection: desc) {
|
|
12817
12817
|
id
|
|
12818
12818
|
type
|
|
12819
12819
|
user
|
|
@@ -12848,7 +12848,7 @@ var DiamondHandsGraph = class {
|
|
|
12848
12848
|
const whereClause = whereConditions.length > 0 ? `where: { ${whereConditions.join(", ")} }` : "";
|
|
12849
12849
|
const query = `
|
|
12850
12850
|
query GetPSMDailyMetrics($first: Int!) {
|
|
12851
|
-
psmDailyMetrics(${whereClause}, first: $first, orderBy: date, orderDirection: desc) {
|
|
12851
|
+
psmDailyMetrics: psmdailyMetrics(${whereClause}, first: $first, orderBy: date, orderDirection: desc) {
|
|
12852
12852
|
id
|
|
12853
12853
|
date
|
|
12854
12854
|
totalSwapVolume
|
|
@@ -13572,7 +13572,7 @@ var DiamondHandsGraph = class {
|
|
|
13572
13572
|
}` : ""}
|
|
13573
13573
|
|
|
13574
13574
|
${includeKind("psm") ? `
|
|
13575
|
-
psmTransactions(
|
|
13575
|
+
psmTransactions: psmtransactions(
|
|
13576
13576
|
${buildTimeWhereClause()}
|
|
13577
13577
|
first: $limit, orderBy: timestamp, orderDirection: $orderDirection
|
|
13578
13578
|
) {
|
package/package.json
CHANGED