@scalar/api-client 1.2.12 → 1.2.17

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 { type AuthenticationState } from '@scalar/oas-utils';
1
+ import type { AuthenticationState } from '@scalar/oas-utils';
2
2
  export declare const createEmptyAuthenticationState: () => AuthenticationState;
3
3
  export declare const useAuthenticationStore: () => {
4
4
  authentication: {
@@ -1 +1 @@
1
- {"version":3,"file":"useAuthenticationStore.d.ts","sourceRoot":"","sources":["../../src/stores/useAuthenticationStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAI5D,eAAO,MAAM,8BAA8B,QAAO,mBAsBhD,CAAA;AASF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;kCAHE,QAAQ,mBAAmB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;CAM/D,CAAA"}
1
+ {"version":3,"file":"useAuthenticationStore.d.ts","sourceRoot":"","sources":["../../src/stores/useAuthenticationStore.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAI5D,eAAO,MAAM,8BAA8B,QAAO,mBAsBhD,CAAA;AASF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;kCAHE,QAAQ,mBAAmB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;CAM/D,CAAA"}
@@ -43,43 +43,7 @@ export declare const useOpenApiStore: () => {
43
43
  requestBody?: {
44
44
  description?: string | undefined;
45
45
  required?: boolean | undefined;
46
- content?: {
47
- "application/json"?: {
48
- schema?: any;
49
- example?: any;
50
- examples?: any;
51
- } | undefined;
52
- "application/xml"?: {
53
- schema?: any;
54
- example?: any;
55
- examples?: any;
56
- } | undefined;
57
- "text/plain"?: {
58
- schema?: any;
59
- example?: any;
60
- examples?: any;
61
- } | undefined;
62
- "text/html"?: {
63
- schema?: any;
64
- example?: any;
65
- examples?: any;
66
- } | undefined;
67
- "application/x-www-form-urlencoded"?: {
68
- schema?: any;
69
- example?: any;
70
- examples?: any;
71
- } | undefined;
72
- "multipart/form-data"?: {
73
- schema?: any;
74
- example?: any;
75
- examples?: any;
76
- } | undefined;
77
- "application/octet-stream"?: {
78
- schema?: any;
79
- example?: any;
80
- examples?: any;
81
- } | undefined;
82
- } | undefined;
46
+ content?: import("@scalar/oas-utils").RequestBodyMimeTypes | undefined;
83
47
  } | undefined;
84
48
  summary?: string | undefined;
85
49
  tags?: string[] | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"useOpenApiStore.d.ts","sourceRoot":"","sources":["../../src/stores/useOpenApiStore.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAC7D,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAGpE,MAAM,MAAM,YAAY,GAAG;IACzB,SAAS,EAAE,oBAAoB,CAAA;IAC/B,cAAc,EACV,SAAS,CAAC,yBAAyB,EAAE,GACrC,WAAW,CAAC,yBAAyB,EAAE,CAAA;CAC5C,CAAA;AAED,eAAO,MAAM,uBAAuB,QAAO,YAIzC,CAAA;AAoBF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA5BtB,UAAU,yBAAyB,EAAE,GACrC,YAAY,yBAAyB,EAAE;;iCAWT,oBAAoB,GAAG,SAAS;2CAQ/C,YAAY,yBAAyB,EAAE,GAAG,SAAS;CAYtE,CAAA"}
1
+ {"version":3,"file":"useOpenApiStore.d.ts","sourceRoot":"","sources":["../../src/stores/useOpenApiStore.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAC7D,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAGpE,MAAM,MAAM,YAAY,GAAG;IACzB,SAAS,EAAE,oBAAoB,CAAA;IAC/B,cAAc,EACV,SAAS,CAAC,yBAAyB,EAAE,GACrC,WAAW,CAAC,yBAAyB,EAAE,CAAA;CAC5C,CAAA;AAED,eAAO,MAAM,uBAAuB,QAAO,YAIzC,CAAA;AAoBF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA5BtB,UAAU,yBAAyB,EAAE,GACrC,YAAY,yBAAyB,EAAE;;iCAWT,oBAAoB,GAAG,SAAS;2CAQ/C,YAAY,yBAAyB,EAAE,GAAG,SAAS;CAYtE,CAAA"}
package/package.json CHANGED
@@ -5,6 +5,11 @@
5
5
  "author": "Scalar (https://github.com/scalar)",
6
6
  "homepage": "https://github.com/scalar/scalar",
7
7
  "bugs": "https://github.com/scalar/scalar/issues/new/choose",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/scalar/scalar.git",
11
+ "directory": "packages/api-client"
12
+ },
8
13
  "keywords": [
9
14
  "api",
10
15
  "client",
@@ -13,7 +18,7 @@
13
18
  "rest",
14
19
  "testing"
15
20
  ],
16
- "version": "1.2.12",
21
+ "version": "1.2.17",
17
22
  "engines": {
18
23
  "node": ">=18"
19
24
  },
@@ -26,11 +31,6 @@
26
31
  "CHANGELOG.md"
27
32
  ],
28
33
  "module": "./dist/index.js",
29
- "repository": {
30
- "type": "git",
31
- "url": "https://github.com/scalar/scalar.git",
32
- "directory": "packages/api-client"
33
- },
34
34
  "dependencies": {
35
35
  "@floating-ui/vue": "^1.0.2",
36
36
  "@headlessui/vue": "^1.7.20",
@@ -42,11 +42,11 @@
42
42
  "nanoid": "^5.0.1",
43
43
  "pretty-bytes": "^6.1.1",
44
44
  "pretty-ms": "^8.0.0",
45
- "@scalar/components": "0.6.1",
46
- "@scalar/themes": "0.7.6",
47
- "@scalar/use-modal": "0.3.0",
48
- "@scalar/use-codemirror": "0.10.1",
49
- "@scalar/use-tooltip": "0.6.0"
45
+ "@scalar/themes": "0.7.9",
46
+ "@scalar/components": "0.7.3",
47
+ "@scalar/use-codemirror": "0.10.3",
48
+ "@scalar/use-tooltip": "0.6.2",
49
+ "@scalar/use-modal": "0.3.3"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@types/content-type": "^1.1.6",
@@ -58,13 +58,13 @@
58
58
  "vitest": "^1.5.0",
59
59
  "vue": "^3.4.21",
60
60
  "vue-tsc": "^1.8.19",
61
- "@scalar/api-client-proxy": "0.5.24",
62
- "@scalar/echo-server": "0.6.1",
63
- "@scalar/oas-utils": "0.1.6"
61
+ "@scalar/api-client-proxy": "0.5.27",
62
+ "@scalar/oas-utils": "0.1.10",
63
+ "@scalar/echo-server": "0.6.4"
64
64
  },
65
65
  "peerDependencies": {
66
66
  "vue": "^3.3.0",
67
- "@scalar/oas-utils": "0.1.6"
67
+ "@scalar/oas-utils": "0.1.10"
68
68
  },
69
69
  "scripts": {
70
70
  "build": "vite build && pnpm types:build && tsc-alias -p tsconfig.build.json",