@ax-hub/sdk 0.1.0 → 0.1.1
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/CHANGELOG.md +8 -0
- package/dist/cli/doctor.cjs +1 -1
- package/dist/cli/doctor.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2166,10 +2166,10 @@ declare function isAllowed(r: GatewayQueryResult | InvokeResult): boolean;
|
|
|
2166
2166
|
/**
|
|
2167
2167
|
* True when a deny is an SQL-format rejection the caller can fix by editing the SQL.
|
|
2168
2168
|
*
|
|
2169
|
-
*
|
|
2170
|
-
*
|
|
2171
|
-
*
|
|
2172
|
-
*
|
|
2169
|
+
* The live backend wraps these as `"SQL 형식 오류: safesql: only SELECT or WITH allowed
|
|
2170
|
+
* (got \"delete\")"` — a Korean prefix plus the inner `safesql:` marker. Matches either so
|
|
2171
|
+
* it survives wording shifts in the wrapper. String matching is brittle by construction;
|
|
2172
|
+
* branch on this for UX hints only, not control flow that must be exact.
|
|
2173
2173
|
*/
|
|
2174
2174
|
declare function isSqlFormatError(r: GatewayQueryResult | InvokeResult): boolean;
|
|
2175
2175
|
/** True when a deny is a policy denial (not an SQL-format error). Editing SQL will not help. */
|
package/dist/index.d.ts
CHANGED
|
@@ -2166,10 +2166,10 @@ declare function isAllowed(r: GatewayQueryResult | InvokeResult): boolean;
|
|
|
2166
2166
|
/**
|
|
2167
2167
|
* True when a deny is an SQL-format rejection the caller can fix by editing the SQL.
|
|
2168
2168
|
*
|
|
2169
|
-
*
|
|
2170
|
-
*
|
|
2171
|
-
*
|
|
2172
|
-
*
|
|
2169
|
+
* The live backend wraps these as `"SQL 형식 오류: safesql: only SELECT or WITH allowed
|
|
2170
|
+
* (got \"delete\")"` — a Korean prefix plus the inner `safesql:` marker. Matches either so
|
|
2171
|
+
* it survives wording shifts in the wrapper. String matching is brittle by construction;
|
|
2172
|
+
* branch on this for UX hints only, not control flow that must be exact.
|
|
2173
2173
|
*/
|
|
2174
2174
|
declare function isSqlFormatError(r: GatewayQueryResult | InvokeResult): boolean;
|
|
2175
2175
|
/** True when a deny is a policy denial (not an SQL-format error). Editing SQL will not help. */
|