@xyo-network/api-models 3.0.1 → 3.0.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/package.json CHANGED
@@ -6,14 +6,14 @@
6
6
  },
7
7
  "bugs": {
8
8
  "email": "support@xyo.network",
9
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
9
+ "url": "git+https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
10
10
  },
11
11
  "dependencies": {
12
- "axios": "^1.7.3"
12
+ "axios": "^1.7.4"
13
13
  },
14
14
  "devDependencies": {
15
- "@xylabs/ts-scripts-yarn3": "^4.0.0-rc.15",
16
- "@xylabs/tsconfig": "^4.0.0-rc.15",
15
+ "@xylabs/ts-scripts-yarn3": "^4.0.0-rc.20",
16
+ "@xylabs/tsconfig": "^4.0.0-rc.20",
17
17
  "typescript": "^5.5.4"
18
18
  },
19
19
  "description": "Primary SDK for using XYO Protocol 2.0",
@@ -34,9 +34,9 @@
34
34
  },
35
35
  "repository": {
36
36
  "type": "git",
37
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
37
+ "url": "git+https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
38
38
  },
39
39
  "sideEffects": false,
40
- "version": "3.0.1",
40
+ "version": "3.0.3",
41
41
  "type": "module"
42
42
  }
package/src/Config.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { ApiReportable } from './Reportable.ts'
1
+ import type { ApiReportable } from './Reportable.ts'
2
2
 
3
3
  interface ApiConfig extends ApiReportable {
4
4
  /** @description The domain where the api is located */
package/src/Envelope.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { ApiError } from './Error.ts'
2
- import { ApiWarning } from './Warning.ts'
1
+ import type { ApiError } from './Error.ts'
2
+ import type { ApiWarning } from './Warning.ts'
3
3
 
4
4
  export interface ApiEnvelopeBase {
5
5
  warning?: ApiWarning[]
package/src/Error.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { AxiosError } from 'axios'
1
+ import type { AxiosError } from 'axios'
2
2
 
3
3
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
4
4
  export interface ApiError<T = any, D = any> extends AxiosError<T, D> {
package/src/Reportable.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { ApiError } from './Error.ts'
2
- import { ApiResponse } from './Response.ts'
1
+ import type { ApiError } from './Error.ts'
2
+ import type { ApiResponse } from './Response.ts'
3
3
 
4
4
  export interface ApiReportable {
5
5
  onError?: (error: ApiError, depth: number) => void
package/src/Response.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { AxiosResponse } from 'axios'
1
+ import type { AxiosResponse } from 'axios'
2
2
 
3
- import { ApiEnvelope } from './Envelope.ts'
3
+ import type { ApiEnvelope } from './Envelope.ts'
4
4
 
5
5
  export type ApiResponse<T = unknown, D = unknown> = AxiosResponse<T, D>
6
6
 
package/xy.config.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { XyTsupConfig } from '@xylabs/ts-scripts-yarn3'
1
+ import type { XyTsupConfig } from '@xylabs/ts-scripts-yarn3'
2
2
  const config: XyTsupConfig = {
3
3
  compile: {
4
4
  browser: {},