@axium/client 0.26.2 → 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 CHANGED
@@ -218,7 +218,7 @@ axiumPlugin
218
218
  return;
219
219
  }
220
220
  if (!opt.long) {
221
- console.log(Array.from(plugins.keys()).join(', '));
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.ZodBase64>>;
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.base64().nullish(),
5
+ token: z.base64url().nullish(),
6
6
  server: z.url().nullish(),
7
7
  // Cache to reduce server load:
8
8
  cache: z
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axium/client",
3
- "version": "0.26.2",
3
+ "version": "0.26.3",
4
4
  "author": "James Prevett <jp@jamespre.dev>",
5
5
  "funding": {
6
6
  "type": "individual",