@dcl/content-validator 6.0.1 → 6.0.2

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.
@@ -192,20 +192,20 @@ query getBlockForTimestampRange($timestamp: Int!, $timestamp5Min: Int!) {
192
192
  }
193
193
  }`;
194
194
  const QUERY_NAMES_FOR_ADDRESS_AT_BLOCK = `
195
- query getNftNamesForBlock($block: Int!, $ethAddress: String!, $nameList: [String!]) {
195
+ query getNftNamesForBlock($block: Int!, $ethAddress: Bytes!, $nameList: [String!]) {
196
196
  names: nfts(
197
197
  block: {number: $block}
198
- where: {owner: $ethAddress, category: ens, name_in: $nameList}
198
+ where: {owner_: {address: $ethAddress},, category: ens, name_in: $nameList}
199
199
  first: 1000
200
200
  ) {
201
201
  name
202
202
  }
203
203
  }`;
204
204
  const QUERY_ITEMS_FOR_ADDRESS_AT_BLOCK = `
205
- query getNftItemsForBlock($block: Int!, $ethAddress: String!, $urnList: [String!]) {
205
+ query getNftItemsForBlock($block: Int!, $ethAddress: Bytes!, $urnList: [String!]) {
206
206
  items: nfts(
207
207
  block: {number: $block}
208
- where: {owner: $ethAddress, searchItemType_in: ["wearable_v1", "wearable_v2", "smart_wearable_v1", "emote_v1"] urn_in: $urnList}
208
+ where: {owner_: {address: $ethAddress}, searchItemType_in: ["wearable_v1", "wearable_v2", "smart_wearable_v1", "emote_v1"] urn_in: $urnList}
209
209
  first: 1000
210
210
  ) {
211
211
  urn
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl/content-validator",
3
- "version": "6.0.1",
3
+ "version": "6.0.2",
4
4
  "description": "Catalyst content validations",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -53,5 +53,5 @@
53
53
  "files": [
54
54
  "dist"
55
55
  ],
56
- "commit": "bd67e701ccf128ac7743b736b21a49ff9321d04c"
56
+ "commit": "7058b22271d438aa44101d81d48be2f972b130c3"
57
57
  }