@soda-gql/builder 0.8.2 → 0.8.3
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/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1767,7 +1767,7 @@ const collectAllDefinitions$1 = ({ module: module$1, gqlIdentifiers, imports: _i
|
|
|
1767
1767
|
const getAnonymousName = (kind) => {
|
|
1768
1768
|
const count = anonymousCounters.get(kind) ?? 0;
|
|
1769
1769
|
anonymousCounters.set(kind, count + 1);
|
|
1770
|
-
return
|
|
1770
|
+
return `_${kind}_${count}`;
|
|
1771
1771
|
};
|
|
1772
1772
|
const withScope = (stack, segment, kind, stableKey, callback) => {
|
|
1773
1773
|
const handle = tracker.enterScope({
|
|
@@ -2182,7 +2182,7 @@ const collectAllDefinitions = ({ sourceFile, identifiers, exports: exports$1 })
|
|
|
2182
2182
|
const getAnonymousName = (kind) => {
|
|
2183
2183
|
const count = anonymousCounters.get(kind) ?? 0;
|
|
2184
2184
|
anonymousCounters.set(kind, count + 1);
|
|
2185
|
-
return
|
|
2185
|
+
return `_${kind}_${count}`;
|
|
2186
2186
|
};
|
|
2187
2187
|
const withScope = (stack, segment, kind, stableKey, callback) => {
|
|
2188
2188
|
const handle = tracker.enterScope({
|