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

842 Коммитов

Автор SHA1 Сообщение Дата
Dan Schulte 3d7e8bda3b Change tilde to caret 2018-10-12 15:01:49 -07:00
Dan Schulte 294927a139 Remove writePackageJson() 2018-10-12 12:28:29 -07:00
Dan Schulte 5fa73d115f Remove script step that changes package.json main property 2018-10-12 12:20:26 -07:00
Rikki Gibson 5dcf17a942
Replace .npmignore with 'pkg.files' property (#244) 2018-10-04 14:24:34 -07:00
Rikki Gibson d393676d94
Rollup (#243)
* Add rollup config, update other configs, add thirdpartynotices for uuid

* Fix testserver

* Update changelog

* Update package-lock.json

* Move back to msRest global name

* Update changelog

* Properly depend on rollup

* Bump to v1.0.0
2018-10-04 13:47:11 -07:00
Amar Zavery ee65098f21
Merge pull request #242 from Azure/typestodev
move @types to devDependencies
2018-10-04 09:55:09 -07:00
Amar Zavery 0c0cf73497 update package-lock.json 2018-10-03 22:30:31 -07:00
Amar Zavery 04162b18a1
move @types to devDependencies 2018-10-03 22:12:31 -07:00
Dan Schulte 360831d0ba
Merge pull request #240 from Azure/daschult/dependencies
Fix dependency problems
2018-10-01 15:47:22 -07:00
Dan Schulte 1bc1d19003 Fix dependency problems 2018-10-01 15:38:45 -07:00
Kamil Pajdzik f64878f3d8
Update User-Agent (#239)
* Update User-Agent

This reverts commit 02cfece80a.

* Make User-Agent lowercase

* Update unit tests
2018-10-01 14:35:53 -07:00
Kamil Pajdzik 02cfece80a Revert "Update User-Agent"
This reverts commit bbf94fe98c.
2018-10-01 14:18:20 -07:00
Kamil Pajdzik bbf94fe98c Update User-Agent 2018-10-01 14:17:27 -07:00
Dan Schulte 940900d30c
Merge pull request #238 from Azure/daschult/appendPath
Add URLBuilder.appendPath()
2018-10-01 14:12:42 -07:00
Dan Schulte d188f4a1fd Add URLBuilder.appendPath() 2018-10-01 13:55:56 -07:00
Kamil Pajdzik 0f9c04da83
Add support for credentials to be a request policy (#237)
* Add support for credentials to be a request policy

* Improve policy request check

* Remove unnecassary casting
2018-10-01 12:56:50 -07:00
Kamil Pajdzik 8f17a6562a
Add Authenticator type (#234) 2018-09-27 09:58:28 -07:00
Amar Zavery a48c371278
Merge pull request #233 from Azure/break-cycle
Break cyclical reference between utils and webResource
2018-09-21 11:31:48 -07:00
Rikki Gibson d850b26a71 Break cyclical reference between utils and webResource 2018-09-21 11:20:47 -07:00
Rikki Gibson 3c131b37f7
Es interop (#232)
* Update tsconfig

* Update library code usages

* Update test code usages

* Update testserver
2018-09-20 10:02:51 -07:00
Rikki Gibson 47f5a8fb72
Check instanceof RestError in test (#229) 2018-09-12 14:58:42 -07:00
Kousuke Ebihara fa1b0c3b67 Fix `instanceof RestError` doens't work (#220) 2018-09-12 14:51:37 -07:00
Rikki Gibson 99216ae495
Tolerate unknown/missing polymorphic discriminators (#225)
* Tolerate unknown/missing polymorphic discriminators

* Automatically populate missing discriminator property
2018-09-12 14:41:14 -07:00
Rikki Gibson f30b1e9f42
Remove docs about TransferProgress being browser-only (#223) 2018-09-11 15:15:59 -07:00
Rikki Gibson ed41e39d6e
Simplify polymorphic serialization (#222)
* remove old version of polymorphic discriminator

* reduce some null/undefined checks

* Further condense getPolymorphicMapper

* Remove string polymorphic discriminator test
2018-09-11 15:04:02 -07:00
Rikki Gibson 98aba6036b
Add additional properties support to serializer (#219) 2018-09-10 13:44:24 -07:00
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