routesync 1.0.24 → 1.0.25

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.
Files changed (2) hide show
  1. package/dist/cli.js +1 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -9108,7 +9108,7 @@ var NextActionGenerator = class {
9108
9108
  const ContractName = `${TitleCaseGroup}${TitleCaseAction}Contract`;
9109
9109
  const hasBody = route.schema && route.schema.rules && Object.keys(route.schema.rules).length > 0;
9110
9110
  const hasQuery = route.method === "GET";
9111
- const hasParams = route.path.includes(":");
9111
+ const hasParams = route.path.includes("{");
9112
9112
  const count = (hasBody ? 1 : 0) + (hasQuery ? 1 : 0) + (hasParams ? 1 : 0);
9113
9113
  let payloadParam = "";
9114
9114
  const args = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "routesync",
3
- "version": "1.0.24",
3
+ "version": "1.0.25",
4
4
  "description": "Laravel routes to typed frontend SDKs.",
5
5
  "main": "./dist/sdk.js",
6
6
  "module": "./dist/sdk.mjs",