@synkro-sh/cli 1.4.69 → 1.4.70

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/bootstrap.js CHANGED
@@ -7038,11 +7038,6 @@ const server = Bun.serve({
7038
7038
  }
7039
7039
 
7040
7040
  if (req.method === 'POST') {
7041
- const authHeader = req.headers.get('authorization') || '';
7042
- const token = authHeader.startsWith('Bearer ') ? authHeader.slice(7) : '';
7043
- if (token !== SERVER_TOKEN) {
7044
- return Response.json({ error: 'Unauthorized' }, { status: 401, headers: cors });
7045
- }
7046
7041
  try {
7047
7042
  const body = await req.json();
7048
7043
  const result = await handleRpc(body);
@@ -7125,7 +7120,7 @@ function writeConfigEnv(opts) {
7125
7120
  `SYNKRO_CREDENTIALS_PATH=${shellQuoteSingle(credsPath)}`,
7126
7121
  `SYNKRO_TIER=${shellQuoteSingle(safeTier)}`,
7127
7122
  `SYNKRO_INFERENCE=${shellQuoteSingle(safeInference)}`,
7128
- `SYNKRO_VERSION=${shellQuoteSingle("1.4.69")}`
7123
+ `SYNKRO_VERSION=${shellQuoteSingle("1.4.70")}`
7129
7124
  ];
7130
7125
  if (safeSynkroBin) lines.push(`SYNKRO_CLI_BIN=${shellQuoteSingle(safeSynkroBin)}`);
7131
7126
  if (safeUserId) lines.push(`SYNKRO_USER_ID=${shellQuoteSingle(safeUserId)}`);