@readme/oas-to-har 24.0.0 → 24.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.
@@ -1 +1 @@
1
- {"version":3,"sources":["/Users/kanadg/Code/readmeio/oas/packages/oas-to-har/dist/lib/types.cjs","../../src/lib/types.ts"],"names":[],"mappings":"AAAA;ACEA,kCAA2B;ADA3B;AACE;AACF,uCAAC","file":"/Users/kanadg/Code/readmeio/oas/packages/oas-to-har/dist/lib/types.cjs","sourcesContent":[null,"export type AuthForHAR = Record<string, number | string | { pass?: string; user?: string }>;\n\nexport { DataForHAR } from 'oas/types';\n\nexport interface oasToHarOptions {\n /* the URL of a proxy to use. Requests will be preefixed with its value; for\n * example if you use \"https://try.readme.io\", a request to\n * \"https://example.com/some/api\" will be sent to\n * \"https://try.readme.io/https://example.com/some/api\"\n */\n proxyUrl: string;\n}\n"]}
1
+ {"version":3,"sources":["/Users/kanadg/Code/readmeio/oas/packages/oas-to-har/dist/lib/types.cjs","../../src/lib/types.ts"],"names":[],"mappings":"AAAA;ACEA,kCAA2B;ADA3B;AACE;AACF,uCAAC","file":"/Users/kanadg/Code/readmeio/oas/packages/oas-to-har/dist/lib/types.cjs","sourcesContent":[null,"export type AuthForHAR = Record<string, number | string | { pass?: string; user?: string }>;\n\nexport { DataForHAR } from 'oas/types';\n\nexport interface oasToHarOptions {\n /**\n * The URL of a proxy to use. Requests will be prefixed with its value; for\n * example if you use \"https://try.readme.io\", a request to\n * \"https://example.com/some/api\" will be sent to\n * \"https://try.readme.io/https://example.com/some/api\"\n */\n proxyUrl: string;\n}\n"]}
@@ -6,6 +6,12 @@ type AuthForHAR = Record<string, number | string | {
6
6
  }>;
7
7
 
8
8
  interface oasToHarOptions {
9
+ /**
10
+ * The URL of a proxy to use. Requests will be prefixed with its value; for
11
+ * example if you use "https://try.readme.io", a request to
12
+ * "https://example.com/some/api" will be sent to
13
+ * "https://try.readme.io/https://example.com/some/api"
14
+ */
9
15
  proxyUrl: string;
10
16
  }
11
17
 
@@ -6,6 +6,12 @@ type AuthForHAR = Record<string, number | string | {
6
6
  }>;
7
7
 
8
8
  interface oasToHarOptions {
9
+ /**
10
+ * The URL of a proxy to use. Requests will be prefixed with its value; for
11
+ * example if you use "https://try.readme.io", a request to
12
+ * "https://example.com/some/api" will be sent to
13
+ * "https://try.readme.io/https://example.com/some/api"
14
+ */
9
15
  proxyUrl: string;
10
16
  }
11
17
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/lib/types.ts"],"sourcesContent":["export type AuthForHAR = Record<string, number | string | { pass?: string; user?: string }>;\n\nexport { DataForHAR } from 'oas/types';\n\nexport interface oasToHarOptions {\n /* the URL of a proxy to use. Requests will be preefixed with its value; for\n * example if you use \"https://try.readme.io\", a request to\n * \"https://example.com/some/api\" will be sent to\n * \"https://try.readme.io/https://example.com/some/api\"\n */\n proxyUrl: string;\n}\n"],"mappings":";AAEA,SAAS,kBAAkB;","names":[]}
1
+ {"version":3,"sources":["../../src/lib/types.ts"],"sourcesContent":["export type AuthForHAR = Record<string, number | string | { pass?: string; user?: string }>;\n\nexport { DataForHAR } from 'oas/types';\n\nexport interface oasToHarOptions {\n /**\n * The URL of a proxy to use. Requests will be prefixed with its value; for\n * example if you use \"https://try.readme.io\", a request to\n * \"https://example.com/some/api\" will be sent to\n * \"https://try.readme.io/https://example.com/some/api\"\n */\n proxyUrl: string;\n}\n"],"mappings":";AAEA,SAAS,kBAAkB;","names":[]}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@readme/oas-to-har",
3
3
  "description": "Utility to transform an OAS operation into a HAR representation",
4
- "version": "24.0.0",
4
+ "version": "24.0.1",
5
5
  "author": "Jon Ursenbach <jon@ursenba.ch>",
6
6
  "license": "ISC",
7
7
  "sideEffects": false,
@@ -50,7 +50,7 @@
50
50
  },
51
51
  "dependencies": {
52
52
  "@readme/data-urls": "^3.0.0",
53
- "oas": "^25.0.2",
53
+ "oas": "^25.0.3",
54
54
  "qs": "^6.12.0",
55
55
  "remove-undefined-objects": "^5.0.0"
56
56
  },
@@ -66,5 +66,5 @@
66
66
  "vitest": "^2.1.3"
67
67
  },
68
68
  "prettier": "@readme/eslint-config/prettier",
69
- "gitHead": "f93cd1cb438a034420311a6451b194fa3ae6de4b"
69
+ "gitHead": "c305bba1f1e562cc5985b9b55bb30549dc689c61"
70
70
  }