@theokit/sdk 4.23.0 → 4.24.0

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/eval.cjs CHANGED
@@ -2206,11 +2206,12 @@ function writeCredential(cred, config, env = {}) {
2206
2206
  var CredentialError, apiFileSchema, oauthFileSchema, fileSchema;
2207
2207
  var init_credential_store = __esm({
2208
2208
  "src/internal/auth/credential-store.ts"() {
2209
- CredentialError = class extends Error {
2210
- constructor(message) {
2211
- super(message);
2212
- this.name = "CredentialError";
2213
- }
2209
+ init_errors();
2210
+ CredentialError = class extends AuthenticationError {
2211
+ // Field, not an assignment in the constructor: `AuthenticationError.name` is `override readonly`
2212
+ // (`errors.ts:174`), so `this.name = …` does not compile. Caught by `tsc`, not by vitest — the
2213
+ // suite was green with the broken assignment because the transpiler strips the type.
2214
+ name = "CredentialError";
2214
2215
  };
2215
2216
  apiFileSchema = zod.z.object({
2216
2217
  type: zod.z.literal("api").optional(),