@gem-sdk/core 1.42.0-staging.11 → 1.42.0-staging.4

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.
@@ -122,7 +122,25 @@ const loopFetchProducts = async (fetcher, { ids, isSample, isStorefront, default
122
122
  },
123
123
  ...ids?.length ? {
124
124
  baseIDIn: ids
125
- } : {}
125
+ } : {},
126
+ or: [
127
+ {
128
+ hasProductTags: false
129
+ },
130
+ {
131
+ hasProductTagsWith: [
132
+ {
133
+ hasTagsWith: [
134
+ {
135
+ nameNotIn: [
136
+ 'bogos-gift'
137
+ ]
138
+ }
139
+ ]
140
+ }
141
+ ]
142
+ }
143
+ ]
126
144
  },
127
145
  after: productAfterFetcher
128
146
  };
@@ -120,7 +120,25 @@ const loopFetchProducts = async (fetcher, { ids, isSample, isStorefront, default
120
120
  },
121
121
  ...ids?.length ? {
122
122
  baseIDIn: ids
123
- } : {}
123
+ } : {},
124
+ or: [
125
+ {
126
+ hasProductTags: false
127
+ },
128
+ {
129
+ hasProductTagsWith: [
130
+ {
131
+ hasTagsWith: [
132
+ {
133
+ nameNotIn: [
134
+ 'bogos-gift'
135
+ ]
136
+ }
137
+ ]
138
+ }
139
+ ]
140
+ }
141
+ ]
124
142
  },
125
143
  after: productAfterFetcher
126
144
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "1.42.0-staging.11",
3
+ "version": "1.42.0-staging.4",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -27,8 +27,8 @@
27
27
  "type-check": "yarn tsc --noEmit"
28
28
  },
29
29
  "devDependencies": {
30
- "@gem-sdk/adapter-shopify": "1.42.0-staging.11",
31
- "@gem-sdk/styles": "1.42.0-staging.11"
30
+ "@gem-sdk/adapter-shopify": "1.41.2-staging.0",
31
+ "@gem-sdk/styles": "1.41.2-staging.0"
32
32
  },
33
33
  "dependencies": {
34
34
  "react-error-boundary": "4.0.10",