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

466 Коммитов

Автор SHA1 Сообщение Дата
Dan Schulte afb8a5980a
Merge pull request #217 from Azure/daschult/scripts
Enable strict on scripts, fix problems
2018-09-05 14:05:58 -07:00
Dan Schulte 3cdc7ae9dc Enable strict on scripts, fix problems 2018-09-05 13:46:47 -07:00
Kamil Pajdzik 9cd19888a4
Added support for EventGrid TopicCredentials object (#216)
* Add support for EventGrid TopicCredentials
2018-09-05 12:25:08 -07:00
Rikki Gibson 77d134fa12
Change Object.values to Object.keys (#215)
* Add test for deserializing response bodies

* Use Object.keys instead of Object.values

* Check the actual value of the body in test
2018-09-05 10:00:56 -07:00
Dan Schulte da56465557
Merge pull request #214 from abhishekgoenka/master
Avoid split for undefined objects
2018-09-05 09:34:17 -07:00
Abhishek Goenka 0de30867dd Avoid split for undefined objects 2018-09-05 07:32:45 +05:30
Rikki Gibson c8ed5b1c42
Fix for IE 11 undefined body (#213) 2018-09-04 09:36:49 -07:00
Rikki Gibson 75a8b39713
IE fixes (#211)
* Catch exception when parsing invalid XML document

* xhr.open() before setting xhr.timeout

* Fix linter error
2018-08-31 15:52:25 -07:00
Rikki Gibson 7e57506b13
Correctly interpret paged responses as arrays (#210) 2018-08-31 11:40:04 -07:00
Rikki Gibson 86836d2443
Use Object.defineProperty for _response property (#209)
* Add test

* Use Object.defineProperty to add _response property
2018-08-31 10:30:38 -07:00
Rikki Gibson 3ddceeefd9
Update changelog (#208)
* Update changelog

* Update package-lock.json
2018-08-30 14:18:37 -07:00
Rikki Gibson fc9d8549a6
Remove totalBytes property from TransferProgressEvent (#207) 2018-08-30 12:46:54 -07:00
Rikki Gibson 16f681cd64
Add RestResponse type and more runtime deserialization features (#205)
* Add RestResponse type and more runtime deserialization features

* _response should always win in name conflicts

* Fix linter errors

* Make blobBody just a Promise, not a function. Resolves #192

* Fix tests

* Remove utils.responseToBody

* Update RestResponse doc

* Add default error to retry policy. Move error codes to RestError static properties.

* Bump to v0.21
2018-08-29 10:16:55 -07:00
Dan Schulte da6cd303f6
Merge pull request #202 from Azure/daschult/bumpversion
Bump minor version due to LRO changes
2018-08-24 15:18:42 -07:00
Dan Schulte 96f038db59 Bump minor version due to LRO changes 2018-08-24 15:09:30 -07:00
Dan Schulte 9220249b85
Merge pull request #201 from Azure/daschult/skipdeserialization
Changes needed for LRO support
2018-08-24 15:07:34 -07:00
Dan Schulte fb739be727 Remove reference to 'util' package 2018-08-24 14:54:34 -07:00
Dan Schulte 4e02e73a9d Remove promise return types 2018-08-24 14:36:39 -07:00
Dan Schulte 57e1c579c2 Merge branch 'master' into daschult/skipdeserialization 2018-08-24 13:34:31 -07:00
Dan Schulte ff7197f32f Revert utils.ts 2018-08-24 13:33:16 -07:00
Dan Schulte fa59b64ee8 Revert serializer changes 2018-08-24 13:29:16 -07:00
Dan Schulte 58cffc55b8 Set to preview 2018-08-24 13:23:15 -07:00
Dan Schulte 1bdefe3539 Changes needed for LRO support 2018-08-24 13:20:24 -07:00
Kamil Pajdzik 533ab2c7b8
Merge pull request #200 from Azure/feature/kamip/operation-spec-base-url
Change OperationSpec to be read only
2018-08-24 11:51:07 -07:00
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