@axium/client 0.20.0 → 0.20.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.
@@ -1,4 +1,4 @@
1
- import * as io from '@axium/core/node/io';
1
+ import * as io from 'ioium/node';
2
2
  import { loadPlugin } from '@axium/core/node/plugins';
3
3
  import { existsSync, mkdirSync, writeFileSync } from 'node:fs';
4
4
  import { homedir } from 'node:os';
package/dist/cli/index.js CHANGED
@@ -51,7 +51,8 @@ var __disposeResources = (this && this.__disposeResources) || (function (Suppres
51
51
  var e = new Error(message);
52
52
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
53
53
  });
54
- import { io, outputDaemonStatus, pluginText } from '@axium/core/node';
54
+ import { outputDaemonStatus, pluginText } from '@axium/core/node';
55
+ import * as io from 'ioium/node';
55
56
  import { _findPlugin, plugins } from '@axium/core/plugins';
56
57
  import { program } from 'commander';
57
58
  import { createServer } from 'node:http';
package/dist/config.js CHANGED
@@ -1,4 +1,4 @@
1
- import { debug, warn } from '@axium/core/io';
1
+ 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({
package/dist/locales.js CHANGED
@@ -1,4 +1,4 @@
1
- import { debug, error, info, warn } from '@axium/core/io';
1
+ import { debug, error, info, warn } from 'ioium';
2
2
  import { deepAssign, getByString } from 'utilium';
3
3
  import en from '../locales/en.json' with { type: 'json' };
4
4
  const loadedLocales = Object.assign(Object.create(null), { en });
package/dist/requests.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { $API } from '@axium/core/api';
2
- import { errorText } from '@axium/core/io';
2
+ import { errorText } from 'ioium';
3
3
  import { prettifyError } from 'zod';
4
4
  // @ts-expect-error 2339
5
5
  BigInt.prototype.toJSON = function () {
@@ -2,7 +2,7 @@
2
2
  import { text } from '@axium/client';
3
3
  import { fetchAPI } from '@axium/client/requests';
4
4
  import { getUserImage, type UserPublic } from '@axium/core';
5
- import { errorText } from '@axium/core/io';
5
+ import { errorText } from 'ioium';
6
6
  import Icon from './Icon.svelte';
7
7
 
8
8
  const {
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { text } from '@axium/client';
3
- import { error } from '@axium/core/io';
3
+ import { error } from 'ioium';
4
4
  import { lt as ltVersion } from 'semver';
5
5
 
6
6
  const { v, latest: _latest }: { v: string; latest?: string | null | Promise<string> } = $props();
package/lib/toast.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { debug, errorText } from '@axium/core/io';
1
+ import { debug, errorText } from 'ioium';
2
2
  import { text } from '@axium/client/locales';
3
3
  import { animate, onAnimationEnd } from '@axium/client/gui';
4
4
  import Icon from './Icon.svelte';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axium/client",
3
- "version": "0.20.0",
3
+ "version": "0.20.1",
4
4
  "author": "James Prevett <jp@jamespre.dev>",
5
5
  "funding": {
6
6
  "type": "individual",
@@ -45,7 +45,7 @@
45
45
  "build": "tsc"
46
46
  },
47
47
  "peerDependencies": {
48
- "@axium/core": ">=0.23.0",
48
+ "@axium/core": ">=0.24.0",
49
49
  "svelte": "^5.36.0",
50
50
  "utilium": "^2.8.0",
51
51
  "zod": "^4.0.5"