@oiyo/config 0.4.8 → 0.5.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/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @oiyo/config v0.4.8
2
+ * @oiyo/config v0.5.0
3
3
  * Copyright (c) 2026 skiyee. All rights reserved.
4
4
  * Commercial software. See LICENSE for terms.
5
5
  * Official site: https://oiyo.js.org
@@ -120,9 +120,11 @@ const DEFAULT_RUNTIME_EFFECT_SCOPE_APIS = [
120
120
  "onScopeDispose"
121
121
  ];
122
122
  const DEFAULT_RUNTIME_OIYO_APIS = [
123
- "http",
123
+ "createHttpAborter",
124
124
  "createHttp",
125
- "createHttpAborter"
125
+ "http",
126
+ "HttpError",
127
+ "isHttpError"
126
128
  ];
127
129
  const DEFAULT_RUNTIME_TYPES = [
128
130
  "Component",
@@ -145,7 +147,6 @@ const DEFAULT_RUNTIME_TYPES = [
145
147
  "WritableComputedRef",
146
148
  "ResponseBodyType",
147
149
  "HttpConfig",
148
- "HttpError",
149
150
  "HttpCommonOptions",
150
151
  "HttpDownloadOptions",
151
152
  "HttpOptions",
@@ -153,6 +154,7 @@ const DEFAULT_RUNTIME_TYPES = [
153
154
  "HttpUploadOptions",
154
155
  "HttpDownloadResponse",
155
156
  "HttpRequestResponse",
157
+ "HttpResponse",
156
158
  "HttpUploadResponse"
157
159
  ].map((name) => ({
158
160
  name,
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @oiyo/config v0.4.8
2
+ * @oiyo/config v0.5.0
3
3
  * Copyright (c) 2026 skiyee. All rights reserved.
4
4
  * Commercial software. See LICENSE for terms.
5
5
  * Official site: https://oiyo.js.org
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @oiyo/config v0.4.8
2
+ * @oiyo/config v0.5.0
3
3
  * Copyright (c) 2026 skiyee. All rights reserved.
4
4
  * Commercial software. See LICENSE for terms.
5
5
  * Official site: https://oiyo.js.org
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @oiyo/config v0.4.8
2
+ * @oiyo/config v0.5.0
3
3
  * Copyright (c) 2026 skiyee. All rights reserved.
4
4
  * Commercial software. See LICENSE for terms.
5
5
  * Official site: https://oiyo.js.org
@@ -96,9 +96,11 @@ const DEFAULT_RUNTIME_EFFECT_SCOPE_APIS = [
96
96
  "onScopeDispose"
97
97
  ];
98
98
  const DEFAULT_RUNTIME_OIYO_APIS = [
99
- "http",
99
+ "createHttpAborter",
100
100
  "createHttp",
101
- "createHttpAborter"
101
+ "http",
102
+ "HttpError",
103
+ "isHttpError"
102
104
  ];
103
105
  const DEFAULT_RUNTIME_TYPES = [
104
106
  "Component",
@@ -121,7 +123,6 @@ const DEFAULT_RUNTIME_TYPES = [
121
123
  "WritableComputedRef",
122
124
  "ResponseBodyType",
123
125
  "HttpConfig",
124
- "HttpError",
125
126
  "HttpCommonOptions",
126
127
  "HttpDownloadOptions",
127
128
  "HttpOptions",
@@ -129,6 +130,7 @@ const DEFAULT_RUNTIME_TYPES = [
129
130
  "HttpUploadOptions",
130
131
  "HttpDownloadResponse",
131
132
  "HttpRequestResponse",
133
+ "HttpResponse",
132
134
  "HttpUploadResponse"
133
135
  ].map((name) => ({
134
136
  name,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oiyo/config",
3
3
  "type": "module",
4
- "version": "0.4.8",
4
+ "version": "0.5.0",
5
5
  "author": {
6
6
  "name": "skiyee",
7
7
  "email": "319619193@qq.com",