Граф коммитов

842 Коммитов

Автор SHA1 Сообщение Дата
Kamil Pajdzik 0b5acb2d4c Make OperationSpec read only 2018-08-24 09:50:21 -07:00
Kamil Pajdzik 85790d05a7 Fix incorrect whitespace 2018-08-24 09:48:29 -07:00
Kamil Pajdzik de13d146ae Refactor flow 2018-08-24 08:21:26 -07:00
Kamil Pajdzik 0f346bfc19 Avoid modyfing baseUrl of OperationSpec 2018-08-24 08:02:33 -07:00
Rikki Gibson 6a66832cb7
Headers fix (#199)
* Fix axios type errors

* Lowercase header names in .rawHeaders()

* Fix Firefox headers deserialization for empty string header value

* Add xhr parseHeaders tests

* Fix linter error
2018-08-23 13:13:48 -07:00
Dan Schulte f966bcd641
Merge pull request #198 from Azure/daschult/scriptfixes
Small script fixes
2018-08-23 10:23:12 -07:00
Dan Schulte f169927d4f Small script fixes 2018-08-23 10:11:24 -07:00
Rikki Gibson c5d54d7e63
Typescript 3 (#182)
* Add module field referencing esm code. Update typescript and ts-node.

* Update package-lock.json

* Use <reference lib=dom /> to solve #157

* Add simple test for nonexistent host

* Use -T with ts-node

* Use forward declaration instead of reference lib directive
2018-08-22 16:16:40 -07:00
Rikki Gibson d1bc00b001
Browser xml (#187)
* Pull in subset of isomorphic-xm2js

* Update package.json

* Update webpack configs

* Add XML declaration when stringifying
2018-08-22 14:46:25 -07:00
Dan Schulte 5c83e3c3e8
Merge pull request #194 from Azure/daschult/scripts
Various improvements to our script infrastructure
2018-08-21 14:09:46 -07:00
Dan Schulte 7de2b93474 Remove RefreshNodeModulesOptions and unnecessary checks 2018-08-21 13:38:45 -07:00
Dan Schulte 0a6ffbf6c3 Various improvements to our script infrastructure 2018-08-21 13:24:51 -07:00
Rikki Gibson bfde830d77
Export AbortSignalLike (#193) 2018-08-16 21:13:57 -07:00
Rikki Gibson 1e1f575d29
Add BaseHttpOperationResponse (#191)
Add base HttpResponse
2018-08-16 09:06:26 -07:00
Rikki Gibson 1d0f90aaa9
Export TransferProgressEvent from msRest.ts (#189) 2018-08-14 15:32:54 -07:00
Rikki Gibson e240203ca0
RequestPolicyCreator -> RequestPolicyFactory (#184)
* RequestPolicyCreator -> RequestPolicyFactory

* Bump to v0.18

* Update changelog for 0.18
2018-08-08 17:00:35 -07:00
Rikki Gibson 3ff6c8c0e6
Add "sideEffects": false for webpack 4 (#181)
When constructing my sample I found this flag prevented webpack from including a redundant copy of the runtime in the bundle.
2018-08-03 11:37:22 -07:00
Rikki Gibson 5bd7b67e4d
Mapper interfaces (#180)
* Update mapper type definitions

* Fix tests

* Fix CompositeType className and modelProperties

* Bump to v0.17.0
2018-07-31 13:08:24 -07:00
Rikki Gibson 46f5065fd1
Add base request content type in ServiceClient (#178) 2018-07-26 15:59:08 -07:00
Rikki Gibson bfeb1adfc9
Call progress callbacks in nodejs streams (#177)
* Call progress callbacks in nodejs streams

* Use tough-cookie instead of isomorphic-tough-cookie

* Support progress reporting for non-stream scenarios

* Add separate blob/stream and buffer/string progress tests
2018-07-26 09:23:42 -07:00
Rikki Gibson 3d11856df6
Export interfaces from operationParameter.ts (#176) 2018-07-20 09:23:32 -07:00
Rikki Gibson 1a5875a792
Merge pull request #174 from RikkiGibson/Timeout
Timeout
2018-07-17 13:52:48 -07:00
Rikki Gibson 648d4ccf84 Fix log filter test 2018-07-17 13:47:21 -07:00
Rikki Gibson 60efd45caf Pass timeout from options to WebResource 2018-07-17 13:43:47 -07:00
Rikki Gibson 33e446c44e Add test 2018-07-17 13:35:55 -07:00
Rikki Gibson 7cd2fa887a Add timeout property 2018-07-17 13:35:47 -07:00
Dan Schulte 3e09095403
Merge pull request #173 from Azure/daschult/optionalparameters
Simplify OperationArguments
2018-07-16 13:12:18 -07:00
Rikki Gibson 8d97041c2f
Merge pull request #172 from RikkiGibson/ResponseToBody
Add responseToBody method
2018-07-16 12:08:20 -07:00
Dan Schulte d8cb52744c Bump minor version 2018-07-16 09:57:23 -07:00
Dan Schulte 0ee4a731da Fix package.json main property 2018-07-16 09:54:18 -07:00
Dan Schulte 6adb071586 Add tests for getting operation arguments 2018-07-16 09:52:39 -07:00
Rikki Gibson 324f200ab0 Fix bug and add tests 2018-07-16 09:06:43 -07:00
Rikki Gibson bd56bbea31 Fix linter errors 2018-07-13 18:46:01 -07:00
Rikki Gibson f88b06c853 Add responseToBody method 2018-07-13 18:34:15 -07:00
Dan Schulte 1317489974 Working on failing autorest.typescript tests 2018-07-12 10:34:17 -07:00
Dan Schulte e9264bf45d
Merge pull request #171 from Azure/daschult/clientproperties
Get client properties from ServiceClient instead of OperationArguments
2018-07-11 11:07:32 -07:00
Dan Schulte 701b559649 Reset main property in package.json 2018-07-11 10:43:23 -07:00
Dan Schulte 971617eece Get client properties from ServiceClient instead of OperationArguments 2018-07-11 10:42:51 -07:00
Rikki Gibson 32c272da56
Merge pull request #170 from RikkiGibson/XmlHeaders
Fall back to serializedName when deserializing property in XML mode
2018-07-10 12:38:55 -07:00
Rikki Gibson 090a2093aa Fall back to serializedName when deserializing property in XML mode 2018-07-10 12:16:51 -07:00
Dan Schulte ee2732038c
Merge pull request #166 from Azure/daschult/jsdoc
Restructure some of documentation comments
2018-07-09 15:37:46 -07:00
Dan Schulte 46645f4223 Fix RequestPrepareOptions.body documentation comment 2018-07-09 15:31:33 -07:00
Dan Schulte 6898d391c4 Add documentation comment to TokenCredentials. 2018-07-09 15:27:11 -07:00
Dan Schulte bcb3485947 Restructure some of documentation comments 2018-07-09 14:26:56 -07:00
Dan Schulte e04821facc
Merge pull request #165 from Azure/daschult/xmlStreamBodies
Fix bug where we were stringifying XML stream request bodies
2018-07-09 13:39:29 -07:00
Dan Schulte cd42407fbc Extract common isStream expression to variable 2018-07-09 13:34:46 -07:00
Dan Schulte d3d1e89a2b Fix tests 2018-07-09 13:32:30 -07:00
Dan Schulte d22849a6fd Fix bug where we were stringifying XML stream request bodies 2018-07-09 13:22:39 -07:00
Rikki Gibson 8748897cef
Merge pull request #164 from Azure/Xhr-Cors
Allow withCredentials: true
2018-07-09 11:47:38 -07:00
Rikki Gibson 0ace3050d7 Link to mdn docs for withCredentials 2018-07-09 11:20:23 -07:00