@scalar/api-client 0.7.19 → 0.7.21

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 CHANGED
@@ -1,5 +1,23 @@
1
1
  # @scalar/api-client
2
2
 
3
+ ## 0.7.21
4
+
5
+ ### Patch Changes
6
+
7
+ - ab348cb5: Mobile improvements and layout fixes + consitency improvements
8
+ - aa24dbe6: fix: api client reset CSS
9
+ - ae247253: refactor: move generateRequest helpers to @scalar/api-reference
10
+ - Updated dependencies [aa24dbe6]
11
+ - @scalar/use-codemirror@0.7.9
12
+
13
+ ## 0.7.20
14
+
15
+ ### Patch Changes
16
+
17
+ - d87566fd: refactor: new section components, new sidebar
18
+ - 43628366: Fix overflow and scrolling issues for API client
19
+ - dd8df965: feat: add requestbody to api client if json schema available
20
+
3
21
  ## 0.7.19
4
22
 
5
23
  ### Patch Changes
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  ![Version](https://img.shields.io/npm/v/%40scalar/api-client)
4
4
  ![Downloads](https://img.shields.io/npm/dm/%40scalar/api-client)
5
5
  ![License](https://img.shields.io/npm/l/%40scalar%2Fapi-client)
6
- [![Discord](https://img.shields.io/discord/1135330207960678410?style=flat&color=5865F2)](https://discord.com/invite/Ve683JXN)
6
+ [![Discord](https://img.shields.io/discord/1135330207960678410?style=flat&color=5865F2)](https://discord.gg/8HeZcRGPFS)
7
7
 
8
8
  ## Installation
9
9
 
@@ -1 +1 @@
1
- {"version":3,"file":"RequestAuth.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ApiClient/Request/RequestAuth.vue.ts"],"names":[],"mappings":";AAoqBA,wBAAkD"}
1
+ {"version":3,"file":"RequestAuth.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ApiClient/Request/RequestAuth.vue.ts"],"names":[],"mappings":";AAqqBA,wBAAkD"}
@@ -1 +1 @@
1
- {"version":3,"file":"RequestMethodSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ApiClient/RequestMethodSelect.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAgJA,wBAAkD"}
1
+ {"version":3,"file":"RequestMethodSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ApiClient/RequestMethodSelect.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AA2JA,wBAAkD"}
@@ -0,0 +1,2 @@
1
+ export declare const validRequestMethods: string[];
2
+ //# sourceMappingURL=httpRequestMethods.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"httpRequestMethods.d.ts","sourceRoot":"","sources":["../../src/fixtures/httpRequestMethods.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,UAU/B,CAAA"}
@@ -1,3 +1,4 @@
1
- export { httpHeaders, type HttpHeader } from './httpHeaders';
2
- export { default as httpStatusCodes, type HttpStatusCode, type HttpStatusCodes, } from './httpStatusCodes';
1
+ export * from './httpHeaders';
2
+ export * from './httpRequestMethods';
3
+ export * from './httpStatusCodes';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/fixtures/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,UAAU,EAAE,MAAM,eAAe,CAAA;AAC5D,OAAO,EACL,OAAO,IAAI,eAAe,EAC1B,KAAK,cAAc,EACnB,KAAK,eAAe,GACrB,MAAM,mBAAmB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/fixtures/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA;AAC7B,cAAc,sBAAsB,CAAA;AACpC,cAAc,mBAAmB,CAAA"}
@@ -1,7 +1,5 @@
1
1
  export * from './concatenateUrlAndPath';
2
2
  export * from './createPlaceholderRequest';
3
- export * from './generateParameters';
4
- export * from './generateRequest';
5
3
  export * from './mapFromArray';
6
4
  export * from './normalizePath';
7
5
  export * from './normalizeRequestMethod';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,sBAAsB,CAAA;AACpC,cAAc,mBAAmB,CAAA;AACjC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,0BAA0B,CAAA;AACxC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,8BAA8B,CAAA;AAC5C,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,0BAA0B,CAAA;AACxC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,8BAA8B,CAAA;AAC5C,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA"}
@@ -1,4 +1,3 @@
1
- export declare const validRequestMethods: string[];
2
1
  /**
3
2
  * Get a normalized request method (e.g. GET, POST, etc.)
4
3
  */
@@ -1 +1 @@
1
- {"version":3,"file":"normalizeRequestMethod.d.ts","sourceRoot":"","sources":["../../src/helpers/normalizeRequestMethod.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,mBAAmB,UAU/B,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,sBAAsB,YAAa,MAAM,WAyBrD,CAAA"}
1
+ {"version":3,"file":"normalizeRequestMethod.d.ts","sourceRoot":"","sources":["../../src/helpers/normalizeRequestMethod.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,eAAO,MAAM,sBAAsB,YAAa,MAAM,WAyBrD,CAAA"}
package/dist/index.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  export { ApiClient } from './components/ApiClient';
2
2
  export * from './helpers';
3
- export * from './hooks';
4
3
  export * from './stores/apiClientStore';
5
4
  export * from './stores/apiClientRequestStore';
6
5
  export * from './types';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AAElD,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA;AACvB,cAAc,yBAAyB,CAAA;AACvC,cAAc,gCAAgC,CAAA;AAC9C,cAAc,SAAS,CAAA;AACvB,cAAc,YAAY,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AAElD,cAAc,WAAW,CAAA;AACzB,cAAc,yBAAyB,CAAA;AACvC,cAAc,gCAAgC,CAAA;AAC9C,cAAc,SAAS,CAAA;AACvB,cAAc,YAAY,CAAA"}