@scalar/api-client 2.13.0 → 2.14.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/CHANGELOG.md +52 -0
- package/dist/libs/string-template.d.ts +2 -0
- package/dist/libs/string-template.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/v2/blocks/operation-block/helpers/build-request-parameters.d.ts +33 -0
- package/dist/v2/blocks/operation-block/helpers/build-request-parameters.d.ts.map +1 -0
- package/dist/v2/blocks/operation-block/helpers/build-request-security.d.ts +18 -0
- package/dist/v2/blocks/operation-block/helpers/build-request-security.d.ts.map +1 -0
- package/dist/v2/blocks/operation-block/helpers/decode-buffer.d.ts +7 -0
- package/dist/v2/blocks/operation-block/helpers/decode-buffer.d.ts.map +1 -0
- package/dist/v2/blocks/operation-block/helpers/get-delimiter.d.ts +8 -0
- package/dist/v2/blocks/operation-block/helpers/get-delimiter.d.ts.map +1 -0
- package/dist/v2/blocks/operation-block/helpers/get-example.d.ts +4 -0
- package/dist/v2/blocks/operation-block/helpers/get-example.d.ts.map +1 -0
- package/dist/v2/blocks/request-block/components/RequestBody.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestBody.vue.js +2 -2
- package/dist/v2/blocks/request-block/components/RequestBody.vue2.js +10 -9
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.d.ts +2 -2
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.js +90 -75
- package/dist/v2/features/operation/Operation.vue.js +1 -1
- package/dist/v2/helpers/drag-handle-factory.d.ts.map +1 -1
- package/dist/v2/helpers/drag-handle-factory.js +72 -71
- package/dist/v2/hooks/use-sidebar-state.d.ts.map +1 -1
- package/dist/v2/hooks/use-sidebar-state.js +23 -19
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/dist/views/Request/libs/oauth2.d.ts +2 -2
- package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
- package/dist/views/Request/libs/oauth2.js +66 -53
- package/package.json +19 -19
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,57 @@
|
|
|
1
1
|
# @scalar/api-client
|
|
2
2
|
|
|
3
|
+
## 2.14.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#7506](https://github.com/scalar/scalar/pull/7506) [`72cd82f`](https://github.com/scalar/scalar/commit/72cd82fb8df63a9e5d0db1202978aebfefd0457a) Thanks [@marcalexiei](https://github.com/marcalexiei)! - fix: use caret version for `yaml`
|
|
8
|
+
|
|
9
|
+
- [#7489](https://github.com/scalar/scalar/pull/7489) [`21aa62e`](https://github.com/scalar/scalar/commit/21aa62e2ebdd262cb5aa53658c3b659736660722) Thanks [@amritk](https://github.com/amritk)! - feat: added new helpers for building client v2 requests
|
|
10
|
+
|
|
11
|
+
- [#7506](https://github.com/scalar/scalar/pull/7506) [`72cd82f`](https://github.com/scalar/scalar/commit/72cd82fb8df63a9e5d0db1202978aebfefd0457a) Thanks [@marcalexiei](https://github.com/marcalexiei)! - fix: use caret version for `zod`
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [[`72cd82f`](https://github.com/scalar/scalar/commit/72cd82fb8df63a9e5d0db1202978aebfefd0457a), [`21aa62e`](https://github.com/scalar/scalar/commit/21aa62e2ebdd262cb5aa53658c3b659736660722), [`72cd82f`](https://github.com/scalar/scalar/commit/72cd82fb8df63a9e5d0db1202978aebfefd0457a)]:
|
|
14
|
+
- @scalar/import@0.4.38
|
|
15
|
+
- @scalar/json-magic@0.8.5
|
|
16
|
+
- @scalar/oas-utils@0.6.7
|
|
17
|
+
- @scalar/openapi-parser@0.23.6
|
|
18
|
+
- @scalar/workspace-store@0.22.2
|
|
19
|
+
- @scalar/helpers@0.2.1
|
|
20
|
+
- @scalar/analytics-client@1.0.1
|
|
21
|
+
- @scalar/openapi-types@0.5.3
|
|
22
|
+
- @scalar/types@0.5.2
|
|
23
|
+
- @scalar/use-hooks@0.3.3
|
|
24
|
+
- @scalar/components@0.16.7
|
|
25
|
+
- @scalar/postman-to-openapi@0.3.48
|
|
26
|
+
- @scalar/sidebar@0.5.2
|
|
27
|
+
- @scalar/object-utils@1.2.15
|
|
28
|
+
- @scalar/snippetz@0.5.5
|
|
29
|
+
- @scalar/use-codemirror@0.13.1
|
|
30
|
+
|
|
31
|
+
## 2.14.0
|
|
32
|
+
|
|
33
|
+
### Minor Changes
|
|
34
|
+
|
|
35
|
+
- [#7477](https://github.com/scalar/scalar/pull/7477) [`9ec8adf`](https://github.com/scalar/scalar/commit/9ec8adfea017333dee5bc3949104232f7dc57f4a) Thanks [@DemonHa](https://github.com/DemonHa)! - fix: correctly sort documents on the workspace
|
|
36
|
+
|
|
37
|
+
### Patch Changes
|
|
38
|
+
|
|
39
|
+
- [#7483](https://github.com/scalar/scalar/pull/7483) [`f446bbc`](https://github.com/scalar/scalar/commit/f446bbc0b8aec7fa7314603fd48471f06c1318d5) Thanks [@hanspagel](https://github.com/hanspagel)! - fix: can not use relative URLs in oauth security schemes
|
|
40
|
+
|
|
41
|
+
- Updated dependencies [[`8842799`](https://github.com/scalar/scalar/commit/884279984b144082e85b699014e77ed71e9ae6a5), [`18a7bcd`](https://github.com/scalar/scalar/commit/18a7bcd8ad00f9f7ee09a562167593c7ed07e01d), [`18a7bcd`](https://github.com/scalar/scalar/commit/18a7bcd8ad00f9f7ee09a562167593c7ed07e01d), [`9ec8adf`](https://github.com/scalar/scalar/commit/9ec8adfea017333dee5bc3949104232f7dc57f4a), [`cc4de25`](https://github.com/scalar/scalar/commit/cc4de2587b36f0d169b01c1bf312ba91b67e3e0c)]:
|
|
42
|
+
- @scalar/workspace-store@0.22.1
|
|
43
|
+
- @scalar/use-codemirror@0.13.0
|
|
44
|
+
- @scalar/helpers@0.2.0
|
|
45
|
+
- @scalar/use-hooks@0.3.2
|
|
46
|
+
- @scalar/oas-utils@0.6.6
|
|
47
|
+
- @scalar/sidebar@0.5.1
|
|
48
|
+
- @scalar/components@0.16.6
|
|
49
|
+
- @scalar/import@0.4.37
|
|
50
|
+
- @scalar/json-magic@0.8.4
|
|
51
|
+
- @scalar/object-utils@1.2.14
|
|
52
|
+
- @scalar/postman-to-openapi@0.3.47
|
|
53
|
+
- @scalar/openapi-parser@0.23.5
|
|
54
|
+
|
|
3
55
|
## 2.13.0
|
|
4
56
|
|
|
5
57
|
### Minor Changes
|
|
@@ -9,6 +9,8 @@ export declare function getDotPathValue(path: string, context: object): string;
|
|
|
9
9
|
* - {{ double curly }}
|
|
10
10
|
* - { single curly }
|
|
11
11
|
* - :colon
|
|
12
|
+
*
|
|
13
|
+
* @deprecated Use replaceVariables from @scalar/helpers/regex/replace-variables instead
|
|
12
14
|
*/
|
|
13
15
|
export declare function replaceTemplateVariables(templateString: string, context: object): string;
|
|
14
16
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"string-template.d.ts","sourceRoot":"","sources":["../../src/libs/string-template.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"string-template.d.ts","sourceRoot":"","sources":["../../src/libs/string-template.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,UAK5D;AAED;;;;;;;;GAQG;AACH,wBAAgB,wBAAwB,CAAC,cAAc,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,UAkC/E;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,WAAW,EAAE,MAAM,sBAoBjD"}
|