@scalar/api-client 2.2.6 → 2.2.7

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.
Files changed (44) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/components/AddressBar/AddressBar.vue.js +2 -2
  3. package/dist/components/AddressBar/AddressBar.vue2.js +1 -1
  4. package/dist/components/AddressBar/AddressBarServer.vue.js +18 -18
  5. package/dist/components/CommandPalette/CommandPaletteRequest.vue.js +20 -20
  6. package/dist/components/HttpMethod/HttpMethod.vue.js +2 -2
  7. package/dist/components/HttpMethod/HttpMethod.vue2.js +12 -12
  8. package/dist/components/HttpMethod/index.d.ts +0 -1
  9. package/dist/components/HttpMethod/index.d.ts.map +1 -1
  10. package/dist/components/HttpMethod/index.js +2 -4
  11. package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts.map +1 -1
  12. package/dist/components/ImportCollection/ImportCollectionModal.vue.js +119 -102
  13. package/dist/components/OpenApiClientButton.vue.d.ts +1 -0
  14. package/dist/components/OpenApiClientButton.vue.d.ts.map +1 -1
  15. package/dist/components/OpenApiClientButton.vue.js +2 -2
  16. package/dist/components/OpenApiClientButton.vue2.js +23 -17
  17. package/dist/components/Search/useSearch.d.ts.map +1 -1
  18. package/dist/components/Search/useSearch.js +45 -41
  19. package/dist/layouts/Modal/ApiClientModal.vue.d.ts.map +1 -1
  20. package/dist/layouts/Modal/ApiClientModal.vue.js +2 -2
  21. package/dist/layouts/Modal/ApiClientModal.vue2.js +28 -23
  22. package/dist/libs/create-client.d.ts +1 -0
  23. package/dist/libs/create-client.d.ts.map +1 -1
  24. package/dist/libs/create-client.js +31 -30
  25. package/dist/style.css +1 -1
  26. package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
  27. package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +65 -62
  28. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
  29. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +1 -1
  30. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +82 -84
  31. package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
  32. package/dist/views/Request/RequestSection/RequestBody.vue.js +2 -2
  33. package/dist/views/Request/RequestSection/RequestBody.vue2.js +27 -24
  34. package/dist/views/Request/RequestSubpageHeader.vue.d.ts.map +1 -1
  35. package/dist/views/Request/RequestSubpageHeader.vue.js +3 -3
  36. package/dist/views/Request/RequestSubpageHeader.vue2.js +34 -32
  37. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  38. package/dist/views/Request/components/WorkspaceDropdown.vue.js +1 -1
  39. package/dist/views/Request/libs/live-sync.d.ts.map +1 -1
  40. package/dist/views/Request/libs/live-sync.js +77 -78
  41. package/package.json +10 -10
  42. package/dist/components/HttpMethod/helpers.d.ts +0 -4
  43. package/dist/components/HttpMethod/helpers.d.ts.map +0 -1
  44. package/dist/components/HttpMethod/helpers.js +0 -5
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "rest",
19
19
  "testing"
20
20
  ],
21
- "version": "2.2.6",
21
+ "version": "2.2.7",
22
22
  "engines": {
23
23
  "node": ">=18"
24
24
  },
@@ -159,20 +159,20 @@
159
159
  "whatwg-mimetype": "^4.0.0",
160
160
  "yaml": "^2.4.5",
161
161
  "zod": "^3.23.8",
162
- "@scalar/components": "0.13.1",
163
- "@scalar/draggable": "0.1.7",
162
+ "@scalar/components": "0.13.2",
164
163
  "@scalar/icons": "0.1.2",
165
- "@scalar/import": "0.2.2",
164
+ "@scalar/import": "0.2.3",
165
+ "@scalar/oas-utils": "0.2.85",
166
166
  "@scalar/object-utils": "1.1.12",
167
- "@scalar/oas-utils": "0.2.84",
167
+ "@scalar/draggable": "0.1.7",
168
168
  "@scalar/openapi-parser": "0.8.10",
169
169
  "@scalar/openapi-types": "0.1.5",
170
170
  "@scalar/themes": "0.9.54",
171
+ "@scalar/use-codemirror": "0.11.46",
171
172
  "@scalar/types": "0.0.23",
172
- "@scalar/use-codemirror": "0.11.45",
173
173
  "@scalar/use-hooks": "0.1.7",
174
- "@scalar/use-tooltip": "1.0.4",
175
- "@scalar/use-toasts": "0.7.7"
174
+ "@scalar/use-toasts": "0.7.7",
175
+ "@scalar/use-tooltip": "1.0.4"
176
176
  },
177
177
  "devDependencies": {
178
178
  "@types/js-cookie": "^3.0.6",
@@ -189,8 +189,8 @@
189
189
  "vite": "^5.4.10",
190
190
  "vite-svg-loader": "^5.1.0",
191
191
  "vitest": "^1.6.0",
192
- "@scalar/galaxy": "0.2.16",
193
- "@scalar/build-tooling": "0.1.12"
192
+ "@scalar/build-tooling": "0.1.12",
193
+ "@scalar/galaxy": "0.2.16"
194
194
  },
195
195
  "scripts": {
196
196
  "build": "vite build && pnpm types:build && tsc-alias -p tsconfig.build.json",
@@ -1,4 +0,0 @@
1
- import { type RequestMethod } from '@scalar/oas-utils/entities/spec';
2
- /** Type guard which takes in a string and returns true if it is in fact an HTTPMethod */
3
- export declare const isHTTPMethod: (method: string) => method is RequestMethod;
4
- //# sourceMappingURL=helpers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/components/HttpMethod/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAEnB,MAAM,iCAAiC,CAAA;AAExC,yFAAyF;AACzF,eAAO,MAAM,YAAY,WAAY,MAAM,KAAG,MAAM,IAAI,aACN,CAAA"}
@@ -1,5 +0,0 @@
1
- import { requestMethods as o } from "@scalar/oas-utils/entities/spec";
2
- const s = (e) => o.includes(e);
3
- export {
4
- s as isHTTPMethod
5
- };