@axium/client 0.26.1 → 0.26.3
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/cli/index.js +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/config.js +1 -1
- package/dist/locales.d.ts +1 -0
- package/locales/en.json +1 -0
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -218,7 +218,7 @@ axiumPlugin
|
|
|
218
218
|
return;
|
|
219
219
|
}
|
|
220
220
|
if (!opt.long) {
|
|
221
|
-
console.log(
|
|
221
|
+
console.log(plugins.keys().toArray().join(', '));
|
|
222
222
|
return;
|
|
223
223
|
}
|
|
224
224
|
console.log(styleText('whiteBright', plugins.size + ' plugin(s) loaded:'));
|
package/dist/config.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
2
|
export declare const ClientConfig: z.ZodObject<{
|
|
3
|
-
token: z.ZodOptional<z.ZodNullable<z.
|
|
3
|
+
token: z.ZodOptional<z.ZodNullable<z.ZodBase64URL>>;
|
|
4
4
|
server: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
5
5
|
cache: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6
6
|
fetched: z.ZodInt;
|
package/dist/config.js
CHANGED
|
@@ -2,7 +2,7 @@ import { debug, warn } from 'ioium';
|
|
|
2
2
|
import { App, Session, User } from '@axium/core';
|
|
3
3
|
import * as z from 'zod';
|
|
4
4
|
export const ClientConfig = z.looseObject({
|
|
5
|
-
token: z.
|
|
5
|
+
token: z.base64url().nullish(),
|
|
6
6
|
server: z.url().nullish(),
|
|
7
7
|
// Cache to reduce server load:
|
|
8
8
|
cache: z
|
package/dist/locales.d.ts
CHANGED
|
@@ -247,6 +247,7 @@ declare let currentLoaded: {
|
|
|
247
247
|
readonly street1: "Street address";
|
|
248
248
|
readonly street2: "Street address line 2";
|
|
249
249
|
};
|
|
250
|
+
readonly audit_severity: readonly ["Emergency", "Alert", "Critical", "Error", "Warning", "Notice", "Info", "Debug"];
|
|
250
251
|
readonly preference: {
|
|
251
252
|
readonly debug: "Debug mode";
|
|
252
253
|
};
|
package/locales/en.json
CHANGED