@apicircle/core 1.0.0 → 1.0.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.
- package/LICENSE +2 -2
- package/README.md +3 -3
- package/dist/index.cjs +7 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +7 -3
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/LICENSE
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
API Circle Studio License
|
|
2
2
|
Custom Source-Available License, v1.0
|
|
3
3
|
|
|
4
4
|
Copyright (c) 2026 Deva Prakash ("Licensor")
|
|
@@ -65,7 +65,7 @@ Source Initiative.
|
|
|
65
65
|
Software or any rights granted herein;
|
|
66
66
|
(d) remove, obscure, or alter any copyright, trademark, attribution,
|
|
67
67
|
or license notice contained in the Software;
|
|
68
|
-
(e) use the names "
|
|
68
|
+
(e) use the names "API Circle", "API Circle Studio", or any related
|
|
69
69
|
logos or trademarks, except as required for accurate attribution.
|
|
70
70
|
|
|
71
71
|
3. Contributions
|
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<img src="https://raw.githubusercontent.com/apicircle/studio/main/assets/logo.png" alt="
|
|
2
|
+
<img src="https://raw.githubusercontent.com/apicircle/studio/main/assets/logo.png" alt="API Circle Studio" width="120" height="120" />
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
<h1 align="center">@apicircle/core</h1>
|
|
6
6
|
|
|
7
|
-
The engine behind [
|
|
7
|
+
The engine behind [API Circle Studio](https://github.com/apicircle/studio) — request execution, environment resolution, auth signing, assertions, spec imports, and the `applyMutation` workspace mutation API.
|
|
8
8
|
|
|
9
9
|
## Install
|
|
10
10
|
|
|
@@ -32,4 +32,4 @@ import { loadFromFile, saveToFile, withWorkspace } from '@apicircle/core/workspa
|
|
|
32
32
|
|
|
33
33
|
## License
|
|
34
34
|
|
|
35
|
-
Released under the **
|
|
35
|
+
Released under the **API Circle Studio License** — a custom source-available license, not an OSI-approved open-source license. Free for personal, educational, and non-commercial use, plus a 30-day commercial evaluation period; ongoing commercial use requires a separate license. See [LICENSE](./LICENSE) for the full terms, or contact **apicircle365@gmail.com** for commercial licensing.
|
package/dist/index.cjs
CHANGED
|
@@ -345,7 +345,11 @@ var HTTP_HEADERS_MAP = [
|
|
|
345
345
|
{
|
|
346
346
|
name: "User-Agent",
|
|
347
347
|
description: "Client application identifier",
|
|
348
|
-
values: [
|
|
348
|
+
values: [
|
|
349
|
+
"API Circle Studio/1.0.0",
|
|
350
|
+
"Mozilla/5.0 (compatible; API Circle Studio)",
|
|
351
|
+
"curl/8.0.0"
|
|
352
|
+
],
|
|
349
353
|
reserved: "browser",
|
|
350
354
|
reservedNote: "Forbidden in web fetch; settable in Desktop (native) requests"
|
|
351
355
|
},
|
|
@@ -357,7 +361,7 @@ var HTTP_HEADERS_MAP = [
|
|
|
357
361
|
{
|
|
358
362
|
name: "X-Client-Name",
|
|
359
363
|
description: "Auto-fed: client application name",
|
|
360
|
-
values: ["
|
|
364
|
+
values: ["API Circle Studio"],
|
|
361
365
|
reserved: "app",
|
|
362
366
|
reservedNote: "Injected automatically; your value overrides it"
|
|
363
367
|
},
|
|
@@ -2260,7 +2264,7 @@ function isDesktop() {
|
|
|
2260
2264
|
|
|
2261
2265
|
// src/request/autoHeaders.ts
|
|
2262
2266
|
var APP_VERSION = "1.0.0";
|
|
2263
|
-
var APP_NAME = "
|
|
2267
|
+
var APP_NAME = "API Circle Studio";
|
|
2264
2268
|
var DESKTOP_APP_ORIGIN = "http://app.studio.apicircle.dev";
|
|
2265
2269
|
function generateSpanId() {
|
|
2266
2270
|
const bytes = new Uint8Array(8);
|