deyaaeldeen
dcb00d1085
update version
2021-01-22 20:59:36 +00:00
deyaaeldeen
2a9b864a12
bump version number
2021-01-22 20:53:14 +00:00
deyaaeldeen
c49d531c05
Adding TokenResponse
2021-01-22 20:48:09 +00:00
deyaaeldeen
4a1c627466
address feedback
2021-01-22 20:48:09 +00:00
deyaaeldeen
212668350d
Add TokenCredential adapter
2021-01-22 20:48:09 +00:00
Josh Gummersall
7ee850a967
Bump minor version, update Changelog
2020-10-08 10:49:49 -07:00
Josh Gummersall
7127027130
Add HTTP agent settings and policy
...
This commit introduces support for passing a custom HTTP and/or HTTPS
agent as a `ServiceClientOption` option, a `WebResource` option, or by
using the `agentPolicy` mechanism. This will provide users greater
control over how outbound requests are made when using this library via
Node.
2020-10-02 09:13:13 -07:00
Sarangan Rajamanickam
f87a54a622
Code to load proxyPolicy browser js ( #397 )
...
* Code to load proxyPolicy browser js
* Release patch version
2020-07-23 19:31:32 -07:00
Sarangan Rajamanickam
a84f5460e5
Merge remote-tracking branch 'origin/master' into Issue4244
2020-04-22 11:29:43 -07:00
Sarangan Rajamanickam
6f7090c7bb
Changelog & Version Update modifications
2020-04-16 17:12:11 -07:00
Jeff Fisher
e1908774a5
Remove unnecessary rollup plugin
...
This broke the build on Windows
2020-04-14 15:46:05 -07:00
Jeff Fisher
90053fa355
Widen usage of WebResource to interface
2020-04-14 15:35:46 -07:00
David Wilson
35ca14278e
Bump version to 2.0.5, update Changelog.md
2020-01-07 15:07:04 -08:00
Amar Zavery
096687b544
Ensure that a primitive type (string, number, boolean, null, undefined) response body with or without a `bodyMapper` is not flattened.
2019-07-30 19:15:46 -07:00
Amar Zavery
09afc2019f
remove opn-cli dev dependency as it has been replaced by karma
2019-07-11 11:21:09 -07:00
Amar Zavery
cb0c0a5279
serialization updates
2019-07-10 16:44:40 -07:00
Amar Zavery
71e156dd57
updated dependencies and dev dependencies. made modifications based on updated type definitions and modified rollup.config.ts as required by the latest version of node resolve rollup plugin.
2019-07-05 18:07:51 -07:00
Amar Zavery
7543c78d38
keep the script happy
2019-07-05 15:21:43 -07:00
Amar Zavery
ec2e21b4ef
Create CookieJar in looseMode and setCookie with ignoreError to true for NodeFetchHttpClient
2019-07-05 14:54:52 -07:00
Kamil Pajdzik
5f3395fb8d
Update tests to include Pattern constraint
2019-06-25 16:47:13 -07:00
Kamil Pajdzik
7b065ccaab
Add support for Fetch in Node.js environment ( #351 )
...
* Update version
* Add Fetch HTTP client (#342 )
* Add Fetch HTTP client
* Reset version
* Update version
* Fix isNode method to return true in Electron apps
* Update Constants
* Fix incorrect undefined check in Axios client
* Add TSLint check. Fix TSLint errors (#344 )
* Add TSLint check. Fix TSLint errors
* Add type to delay callback
* Update TypeScript
* Remove unnecessary types/xhr-mock package
* Fix missing delay import
* Reformat Fetch client
* Fix wrong union type
* Fix tests
* Normalize the safe-check
* Add script to run tests on dependent projects (#345 )
* Add script to run tests on dependent projects
* Bump the version
* Fix logging statements
* Update constants
* Update Azure Pipelines configuration
* Fix Azure Pipeline job name
* Add gulp build command
* Add npm run local
* Flip order
* Add build step
* Add more logging
* Fix undefined result print
* Remove inheriting stdio
* Change to spawnSync
* Add more logging
* Remove build step
* Change exec to run from JS dev tools
* Add logger-js package
* Add build step back
* Add process.exit
* Add logging
* Change error logging
* Add command printing
* Extract options object
* Add fullOptions parameter
* Change NPM command name
* Remove logging
* Remove npm run test
* Await additional commands
* Add test command to package.json
* Add timeout
* Add test as separate task
* Change foreach to for
* Remove test from package.json command
* Uncomment npm install commands
* Add latest ms-rest-js to npm install
* Add autorest.typescript DevOps task
* Add npm link
* Change link to install
* Remove prepack script
* Change package name to ../..
* Remove rm -rf
* Add build step
* Add git checkout
* Add dependent project directory
* Remove git branch checkout
* Bump the version to 1.8.6
* Add git checkout
* Change branch name
* Add execution directory
* Remove git checkout
* Add tsc --version command
* Remove local ms-rest-js install
* Move .tmp folder
* Change .tmp path creation
* Fix path in Azure DevOps config
* Renable logging
* Add run to build command
* Move scripts back to TypeScript
* Improve logging
* Fixed #347 and #348
* nit fix
* bump version in the constant file.
* Address reiew feedback
* upgrade ci to run node 8, 10, 12 versions. Remove 6.x.
* Reformat mockHttp
* Add Fetch to browser
* Add Firefox Karma configuration
* Switch from isomorphic-fetch to cross-fetch
* Add cross-fetch to rollup configuration
* Remove buffer and streams from webpack test configuration
* Add Firefox karma launcher
* Add FetchMock for browser scenarios
* Extract platform specific code to child classes
* Bump the version
* Add proxy support to fetch client (#350 )
* Remove cross-fetch
* Add proxy support
* Fix stream upload tests
* Extract ProxyAgent
* Bring XHR as default client for browsers
* Address feedback
* Bring back browser mock
* Add type
* Fix pass through mock
* Change import type
* Fix fetch import
* Change fetch reference
* Remove cross fetch from rollup config
* Remote unit.ts
* Add fallback fetch reference
* Fix constants
* Fix fetch bugs
* Upgrade TypeScript
* Remove unnecessary code from mock class
* Remove type
* Change vresion to preview
* Remove Method import
* Fix user agent tests
* Remove Method casting
* Remove Method type
* Disable ms-rest-azure-js installation in CI
* Fix pack order
* Add keep-alive support (#362 )
* Remove remaining axios references
* Update documentation
* Add missing external packages in rollup config
* Add Keep-Alive changelog
* Bump the version
2019-06-24 09:01:20 -07:00
J. Kalyana Sundaram
94ed16d268
Incremented version and updated changelog per PR feedback.
2019-06-11 19:02:16 -07:00
Amar Zavery
bbeb122737
Bring back the workaround of uppercasing method names as that is required for storage data plane library
2019-06-06 16:02:28 -07:00
Kamil Pajdzik
4273b5122e
Move testing dependent projects from a script to Azure Devops Pipeline ( #357 )
...
* Disable ms-rest-azure-js tests
* Refactor script
* Add debug statement
* Change test command
* Remove command line arguments
* Rename command
* Split the script
* Add directory creation
* Combine jobs
* Refactor script
* Remove workdir
* Add pwd script
* Change variable name
* Split jobs
* Add additional logging
* Add additional logging
* Add ls -a
* Combine jobs
* Add copying artifacts
* Move artifact to a folder
* Move artifact to a folder
* Rename artifact
* Add npm pack
* Add ls -a
* Fix path
* Add predefined variable
* Introduce variables
* Fix missing variable
* Add autorest.typescript testing
* Add ms-rest-azure-js publishing
* Add working directory parameter
* Fix dependent tasks
* Add debug statement
* Flip order of gulp build
* Bump the version
* Update Constants
* Add friendly job names
* Cleanup debug statements
2019-06-06 09:35:57 -07:00
Amar Zavery
73d900ba4b
Set tranformResponse property of axios req. config to an identity function.
2019-06-04 16:32:26 -07:00
Kamil Pajdzik
4e6f18dac9
Add build job to CI pipeline ( #356 )
...
* Fix CI configuration errors
* Remove downloading artifacts
* Add external NPM task
* Add build job to CI pipeline
* Bump the version
2019-06-03 15:38:24 -07:00
Amar Zavery
0e1c327a8f
Bumped version of axios to 0.19.0
2019-06-01 18:12:07 -07:00
Amar Zavery
2c874ee8a7
Fixed #347 and #348
2019-05-16 11:11:57 -07:00
Kamil Pajdzik
c7b3e6c70a
Add script to run tests on dependent projects ( #345 )
...
* Add script to run tests on dependent projects
* Bump the version
* Fix logging statements
* Update constants
* Update Azure Pipelines configuration
* Fix Azure Pipeline job name
* Add gulp build command
* Add npm run local
* Flip order
* Add build step
* Add more logging
* Fix undefined result print
* Remove inheriting stdio
* Change to spawnSync
* Add more logging
* Remove build step
* Change exec to run from JS dev tools
* Add logger-js package
* Add build step back
* Add process.exit
* Add logging
* Change error logging
* Add command printing
* Extract options object
* Add fullOptions parameter
* Change NPM command name
* Remove logging
* Remove npm run test
* Await additional commands
* Add test command to package.json
* Add timeout
* Add test as separate task
* Change foreach to for
* Remove test from package.json command
* Uncomment npm install commands
* Add latest ms-rest-js to npm install
* Add autorest.typescript DevOps task
* Add npm link
* Change link to install
* Remove prepack script
* Change package name to ../..
* Remove rm -rf
* Add build step
* Add git checkout
* Add dependent project directory
* Remove git branch checkout
* Bump the version to 1.8.6
* Add git checkout
* Change branch name
* Add execution directory
* Remove git checkout
* Add tsc --version command
* Remove local ms-rest-js install
* Move .tmp folder
* Change .tmp path creation
* Fix path in Azure DevOps config
* Renable logging
* Add run to build command
* Move scripts back to TypeScript
* Improve logging
2019-05-10 16:58:13 -07:00
Kamil Pajdzik
62d85bfeb8
Add TSLint check. Fix TSLint errors ( #344 )
...
* Add TSLint check. Fix TSLint errors
* Add type to delay callback
* Update TypeScript
* Remove unnecessary types/xhr-mock package
* Fix missing delay import
2019-05-07 11:40:22 -07:00
Kamil Pajdzik
ea7ceb86f1
Fix incorrect undefined check in Axios client
2019-05-07 09:31:27 -07:00
a-hohaze
e7fa52ff13
Fix http over https bug ( #341 )
...
* Fix http over https bug
* Update version
* Fix unit tests
2019-04-25 09:48:03 -07:00
Kamil Pajdzik
2d4e6b747d
Fix serialization issue when required object is empty ( #337 )
...
* Fix serialization issue when required object is empty
* Update constants
2019-04-01 13:14:01 -07:00
Jeremy Meng
8c54b3905f
Add exports to several request policy factory methods ( #336 )
...
* Add exports to several request policy factory methods
They are useful when customizing the requestPolicyFactories array of a
ServiceClientOptions instance.
* Update version to 1.8.0
2019-03-19 11:09:15 -07:00
Dan Schulte
d9482041dd
Update version to 1.7.0
2019-02-11 10:07:51 -08:00
Kamil Pajdzik
fafa26180e
Fix including proxy policy in browser ( #328 )
...
* Fix including proxy policy in browser
* Add browser tests
2019-01-30 13:21:26 -08:00
Kamil Pajdzik
c1742fe6a8
Bring Axios interceptors back ( #325 )
...
* Bring Axios interceptors back
* Bump the constant version
2019-01-25 17:28:39 -08:00
Vlad Barosan
87203b6711
Update package.json
2019-01-25 11:25:18 -08:00
Vlad Barosan
7a9b496d04
Fix tunnel types are missing
...
- type from tunnel is exposed but the types dependency is a dev dependency only
2019-01-25 11:21:40 -08:00
Kamil Pajdzik
1ee5a40d50
Add HTTP(S) over HTTP(S) proxy support ( #322 )
...
* Add proxy support using tunnel package
# Conflicts:
# lib/axiosHttpClient.ts
# lib/policies/proxyPolicy.ts
# lib/serviceClient.ts
# package.json
* Fix incorrect merge
* Add tests
* Remove commented code
* Add tunnel to rollup configuration
* Fix test title casing
* Remove only
* Add axios client tests
* Mock buffer
* Remove rewire
* Fix default HTTP client tests
* Add some proxy tests
* Add support for HTTPS proxy
* Address PR comments
2019-01-25 09:22:30 -08:00
Kamil Pajdzik
4c2b1c5390
Fix default HTTP client tests ( #321 )
...
* Enable CORS
* Add empty line
* Add mock http proxy
* Fix few tests
* Remove axios workaround that was fixed in current release
* Fix all tests except download/upload progress
* Fix stream HTTP tests
* Delete testserver
* Remove reporting skipped tests as warning
* Remove .only
* Add nodeIt
* Fix Constants.ts
* Remove it.skip()
2019-01-22 11:46:55 -08:00
Kamil Pajdzik
1d960e1ad6
Add support for HTTP proxy ( #315 )
...
* Add support for HTTP proxy
* Fix overriding existing properties
* Bump the version to 1.5.0
2019-01-15 16:47:43 -08:00
Kamil Pajdzik
6b217db81d
Add karma for browser tests ( #316 )
...
* Add karma dependency
* Add karma extensions
* Add karma configuration
* Add karma script
* Add karma types
* Format configs
* Working TS scripts
* Move tests around
* Add nodeDescribe and browserDescribe
* Working karma bundle
* Add maps
* Trying to make karma-webpack working
* Fix uuid import
* Trying to make rollup work
* Working debug maps (not working regular tests)
* Working headless Chrome
* Add chrome debugging
* Fix config sharing
* Add TS mappings
* Fix rollup config
* Add TypeScript typings
* Rename multi entry typings
* Fix semicolon
* Make webpack work
* Working webpack
* Add webpack scripts
* Start XHR mocks
* Fix another test
* Skip defaultHttpClient tests
* Add browser test to the test script
* Update the version to 1.4.1
2019-01-15 15:00:06 -08:00
Dan Schulte
11b35172dd
Add checkConstantsVersion.ts
2019-01-15 12:53:12 -08:00
Dan Schulte
a90d80f8d1
Working on requestPolicyFactories as a function
2019-01-15 10:57:10 -08:00
Dan Schulte
3ea4c62830
Update version to 1.2.7
2018-12-26 10:44:26 -08:00
Dan Schulte
1d4d6a6bea
Update version to 1.2.6
2018-12-20 14:21:29 -08:00
Dan Schulte
c5aafbabfb
Add checkEverything.ts
2018-12-20 12:37:38 -08:00
Dan Schulte
82c03c355f
Add only() check
2018-12-20 11:03:56 -08:00
Dan Schulte
5c353f94c2
Update dev tools version
2018-12-19 09:31:33 -08:00