@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/auth/index.cjs +29 -5
- package/dist/auth/index.cjs.map +1 -1
- package/dist/auth/index.js +29 -5
- package/dist/auth/index.js.map +1 -1
- package/dist/cron.cjs +6 -5
- package/dist/cron.cjs.map +1 -1
- package/dist/cron.js +6 -5
- package/dist/cron.js.map +1 -1
- package/dist/eval.cjs +6 -5
- package/dist/eval.cjs.map +1 -1
- package/dist/eval.js +6 -5
- package/dist/eval.js.map +1 -1
- package/dist/index.cjs +6 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -5
- package/dist/index.js.map +1 -1
- package/dist/internal/auth/credential-store.d.ts +20 -3
- package/dist/models.cjs +11 -5
- package/dist/models.cjs.map +1 -1
- package/dist/models.js +11 -5
- package/dist/models.js.map +1 -1
- package/package.json +1 -1
package/dist/eval.js
CHANGED
|
@@ -2203,11 +2203,12 @@ function writeCredential(cred, config, env = {}) {
|
|
|
2203
2203
|
var CredentialError, apiFileSchema, oauthFileSchema, fileSchema;
|
|
2204
2204
|
var init_credential_store = __esm({
|
|
2205
2205
|
"src/internal/auth/credential-store.ts"() {
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2206
|
+
init_errors();
|
|
2207
|
+
CredentialError = class extends AuthenticationError {
|
|
2208
|
+
// Field, not an assignment in the constructor: `AuthenticationError.name` is `override readonly`
|
|
2209
|
+
// (`errors.ts:174`), so `this.name = …` does not compile. Caught by `tsc`, not by vitest — the
|
|
2210
|
+
// suite was green with the broken assignment because the transpiler strips the type.
|
|
2211
|
+
name = "CredentialError";
|
|
2211
2212
|
};
|
|
2212
2213
|
apiFileSchema = z.object({
|
|
2213
2214
|
type: z.literal("api").optional(),
|