@fragment-dev/cli 2026.9.1-3 → 2026.9.1-6

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.
@@ -5604,12 +5604,12 @@ var transformAndValidateAccounts = ({
5604
5604
  isTotalBalance
5605
5605
  });
5606
5606
  errors.push(...accountConsistencyTypeErrors);
5607
- const walk = (account, objPath, depth, accountPath) => [
5608
- { account, objPath, accountPath, depth },
5607
+ const walk = (account, errorPath, depth, accountPath) => [
5608
+ { account, errorPath, accountPath, depth },
5609
5609
  ...(account.children ?? []).flatMap(
5610
5610
  (child, idx) => walk(
5611
5611
  child,
5612
- [...objPath, "children", idx],
5612
+ [...errorPath, "children", idx],
5613
5613
  depth + 1,
5614
5614
  `${accountPath}/${child.key}`
5615
5615
  )
@@ -5619,17 +5619,17 @@ var transformAndValidateAccounts = ({
5619
5619
  (account, idx) => walk(account, ["accounts", idx], 1, account.key)
5620
5620
  );
5621
5621
  walkedNodes.filter(({ depth }) => depth > MAX_COA_DEPTH).forEach(
5622
- ({ account, objPath, accountPath }) => errors.push({
5622
+ ({ account, errorPath, accountPath }) => errors.push({
5623
5623
  message: `You attempted to add an account (key: ${account.key}), which exceeds the allowed maximum depth of 10 nested accounts. Path: ${accountPath}`,
5624
- path: objPath
5624
+ path: errorPath
5625
5625
  })
5626
5626
  );
5627
5627
  const seenAccountPaths = /* @__PURE__ */ new Map();
5628
- walkedNodes.forEach(({ accountPath, objPath }) => {
5628
+ walkedNodes.forEach(({ accountPath, errorPath }) => {
5629
5629
  if (accountPath) {
5630
5630
  seenAccountPaths.set(accountPath, [
5631
5631
  ...seenAccountPaths.get(accountPath) ?? [],
5632
- objPath
5632
+ errorPath
5633
5633
  ]);
5634
5634
  }
5635
5635
  });
@@ -5656,9 +5656,9 @@ var transformAndValidateAccounts = ({
5656
5656
  });
5657
5657
  if (paymentAccounts.length > 1) {
5658
5658
  paymentAccounts.forEach(
5659
- ({ account, objPath }) => errors.push({
5659
+ ({ account, errorPath }) => errors.push({
5660
5660
  message: paymentAccountUniquenessMessage({ key: account.key }),
5661
- path: [...objPath, "payment"]
5661
+ path: [...errorPath, "payment"]
5662
5662
  })
5663
5663
  );
5664
5664
  }
@@ -27,10 +27,10 @@ import {
27
27
  } from "./chunk-PISSWWTD.js";
28
28
  import {
29
29
  VerifySchema
30
- } from "./chunk-GIJOE3QK.js";
30
+ } from "./chunk-MQJC7QJK.js";
31
31
  import {
32
32
  GenGraphQL
33
- } from "./chunk-VRWIIYJD.js";
33
+ } from "./chunk-C3CCDGQU.js";
34
34
  import {
35
35
  GetSchema
36
36
  } from "./chunk-UZGZUY2H.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Schema,
3
3
  parseWithError
4
- } from "./chunk-N3CORUEQ.js";
4
+ } from "./chunk-4KNYOXDK.js";
5
5
  import {
6
6
  formatValidationErrors
7
7
  } from "./chunk-MJNYOK4S.js";
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  Schema,
9
9
  parseWithError
10
- } from "./chunk-N3CORUEQ.js";
10
+ } from "./chunk-4KNYOXDK.js";
11
11
  import {
12
12
  formatValidationErrors,
13
13
  logValidationErrors
@@ -2,7 +2,7 @@ import {
2
2
  extractSchemaMetadata,
3
3
  isJsonParseError,
4
4
  validateSchemaStructure
5
- } from "./chunk-2MSDIARC.js";
5
+ } from "./chunk-63OAB3UI.js";
6
6
  import {
7
7
  DEFAULT_SCHEMA_PATH
8
8
  } from "./chunk-A4BSWX5D.js";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  GenGraphQL
3
- } from "../chunk-VRWIIYJD.js";
3
+ } from "../chunk-C3CCDGQU.js";
4
4
  import "../chunk-TPOGVOCD.js";
5
5
  import "../chunk-FMY4RHS4.js";
6
6
  import "../chunk-ZMFGVGZP.js";
7
- import "../chunk-N3CORUEQ.js";
7
+ import "../chunk-4KNYOXDK.js";
8
8
  import "../chunk-MJNYOK4S.js";
9
9
  import "../chunk-S555YKB3.js";
10
10
  import "../chunk-TSEOLBSQ.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  VerifySchema
3
- } from "../chunk-GIJOE3QK.js";
4
- import "../chunk-2MSDIARC.js";
3
+ } from "../chunk-MQJC7QJK.js";
4
+ import "../chunk-63OAB3UI.js";
5
5
  import "../chunk-A4BSWX5D.js";
6
- import "../chunk-N3CORUEQ.js";
6
+ import "../chunk-4KNYOXDK.js";
7
7
  import "../chunk-MJNYOK4S.js";
8
8
  import "../chunk-S555YKB3.js";
9
9
  import "../chunk-TSEOLBSQ.js";
package/dist/commands.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  COMMANDS
3
- } from "./chunk-KPFS6LIZ.js";
3
+ } from "./chunk-4S4ZBAWA.js";
4
4
  import "./chunk-EXE547EZ.js";
5
5
  import "./chunk-IMKPDURF.js";
6
6
  import "./chunk-XDMOC74J.js";
@@ -10,14 +10,14 @@ import "./chunk-C76SZWZQ.js";
10
10
  import "./chunk-IJZAXY2T.js";
11
11
  import "./chunk-LFLUV5JB.js";
12
12
  import "./chunk-PISSWWTD.js";
13
- import "./chunk-GIJOE3QK.js";
14
- import "./chunk-2MSDIARC.js";
13
+ import "./chunk-MQJC7QJK.js";
14
+ import "./chunk-63OAB3UI.js";
15
15
  import "./chunk-A4BSWX5D.js";
16
- import "./chunk-VRWIIYJD.js";
16
+ import "./chunk-C3CCDGQU.js";
17
17
  import "./chunk-TPOGVOCD.js";
18
18
  import "./chunk-FMY4RHS4.js";
19
19
  import "./chunk-ZMFGVGZP.js";
20
- import "./chunk-N3CORUEQ.js";
20
+ import "./chunk-4KNYOXDK.js";
21
21
  import "./chunk-MJNYOK4S.js";
22
22
  import "./chunk-S555YKB3.js";
23
23
  import "./chunk-TSEOLBSQ.js";
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  COMMANDS
3
- } from "./chunk-KPFS6LIZ.js";
3
+ } from "./chunk-4S4ZBAWA.js";
4
4
  import "./chunk-EXE547EZ.js";
5
5
  import "./chunk-IMKPDURF.js";
6
6
  import "./chunk-XDMOC74J.js";
@@ -10,14 +10,14 @@ import "./chunk-C76SZWZQ.js";
10
10
  import "./chunk-IJZAXY2T.js";
11
11
  import "./chunk-LFLUV5JB.js";
12
12
  import "./chunk-PISSWWTD.js";
13
- import "./chunk-GIJOE3QK.js";
14
- import "./chunk-2MSDIARC.js";
13
+ import "./chunk-MQJC7QJK.js";
14
+ import "./chunk-63OAB3UI.js";
15
15
  import "./chunk-A4BSWX5D.js";
16
- import "./chunk-VRWIIYJD.js";
16
+ import "./chunk-C3CCDGQU.js";
17
17
  import "./chunk-TPOGVOCD.js";
18
18
  import "./chunk-FMY4RHS4.js";
19
19
  import "./chunk-ZMFGVGZP.js";
20
- import "./chunk-N3CORUEQ.js";
20
+ import "./chunk-4KNYOXDK.js";
21
21
  import "./chunk-MJNYOK4S.js";
22
22
  import "./chunk-S555YKB3.js";
23
23
  import "./chunk-TSEOLBSQ.js";
@@ -3,8 +3,8 @@ import {
3
3
  extractSchemaMetadata,
4
4
  isJsonParseError,
5
5
  validateSchemaStructure
6
- } from "../chunk-2MSDIARC.js";
7
- import "../chunk-N3CORUEQ.js";
6
+ } from "../chunk-63OAB3UI.js";
7
+ import "../chunk-4KNYOXDK.js";
8
8
  import "../chunk-MJNYOK4S.js";
9
9
  import "../chunk-S555YKB3.js";
10
10
  import "../chunk-TSEOLBSQ.js";
@@ -1096,5 +1096,5 @@
1096
1096
  "help": "Generate GraphQL queries from your Schema for your SDK."
1097
1097
  }
1098
1098
  },
1099
- "version": "2026.9.1-3"
1099
+ "version": "2026.9.1-6"
1100
1100
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fragment-dev/cli",
3
- "version": "2026.9.1-3",
3
+ "version": "2026.9.1-6",
4
4
  "description": "FRAGMENT CLI",
5
5
  "author": "hello@fragment.dev",
6
6
  "bin": {