The request library allows anything to be put in a Multipart body as
long as it can be passed to `Buffer.from()`: https://github.com/request/request/blob/master/lib/multipart.js#L74
However the current implementation allows only `string` to be used as
the multipart body. In my use-case I needed to pass a `Buffer` instance
directly.
This change defines a type alias for `MultipartBody` that includes
`string`, `Buffer`, `ArrayBuffer` or `UInt8Array`.
* move 'add' tests to separate file
* add README.md with instructions for adding and updating tests
* move 'addIndex' tests to separate file
* move 'all' tests to separate file
* move 'allPass' tests to separate file
* move 'always' tests to separate file
* move 'and' tests to separate file
* move 'any' tests to separate file
* move 'anyPass' tests to separate file
* move 'ap' tests to separate file
* move 'aperture' tests to separate file
* move 'append' tests to separate file
* move 'apply' tests to separate file
* move 'applySpec' tests to separate file
* move 'assoc' tests to separate file
* move 'assocPath' tests to separate file
* Update definition to imagemin v7
* Update index.d.ts
* update to fix test and lint
* use buffer options
* for not breaking other package test
* fix related test so that destination is no longer optional
* Revert "fix related test so that destination is no longer optional"
This reverts commit 5ec10f750a3ed1f50a46d7cf67084586ee2def5a.
* Support for Connect in PaymentIntent Checkout
Support for examples documented here: https://stripe.com/docs/payments/checkout/connect
* Add PaymentIntentData to ICheckoutCreationOptions
* Add tests for with destination and on_behalf_on
* Cleanup after merge
* 17.2.0.34 added
* Added non-npm package
* Removed space
* added new line
added ew line
* Changed the word
* 17.2.0.46 added
* Removed blank line and added non-npm entry
* changed Encoding format
* [bristol-sentry] Added type declarations
* [bristol-sentry] changed `any` to `object` for specificity
* [bristol-sentry] Updated `definitions by` github link
* Added missing params to Charge, Customer and related create and update options. Adding Customer Tax Id.
* Fix build errors that aren't caught by `npm run lint stripe`.
* Add IBalanceTransaction.exchange_rate. ICharge.dispute may be a string.
* PR feedback.
* [node-polyglot] Update types to match v2.3.1
* [node-polyglot] Update tests to match types
* [node-polyglot] Run prettier on test file
* [node-polyglot] Add myself to the contributors list
Co-Authored-By: Liam Ross <liamross.code@gmail.com>
* [yargs-parser] Add config options `strip-dashed` and `strip-aliased`
yargs-parser v.13.1.0 (2019-05-05) added the config options `strip-dashed` and `strip-aliased`
https://github.com/yargs/yargs-parser/blob/master/CHANGELOG.md#1310-2019-05-05
* Update date in header
* Drop patch version to fix CI
* Drop patch version to fix CI