Skip to content

Commit

Permalink
Merge pull request #105 from sharetribe/stripe-account-fetch
Browse files Browse the repository at this point in the history
Stripe account fetch
  • Loading branch information
sktoiva authored Dec 20, 2019
2 parents 8863ee3 + 2507c48 commit 5efa224
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased] - xxxx-xx-xx

## [v1.8.0] - 2019-12-20

### Changed

- Add endpoint [#105](https://github.com/sharetribe/flex-sdk-js/pull/105)
- `sdk.stripeAccount.fetch(/* ... */)`

## [v1.7.0] - 2019-12-05

### Changed
Expand Down
6 changes: 6 additions & 0 deletions build/sharetribe-flex-sdk-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -3340,6 +3340,12 @@ var endpointDefinitions = [{
internal: false,
method: 'post',
interceptors: [new __WEBPACK_IMPORTED_MODULE_22__interceptors_transit_response__["a" /* default */](), new __WEBPACK_IMPORTED_MODULE_21__interceptors_transit_request__["a" /* default */]()]
}, {
apiName: 'api',
path: 'stripe_account/fetch',
internal: false,
method: 'get',
interceptors: [new __WEBPACK_IMPORTED_MODULE_22__interceptors_transit_response__["a" /* default */]()]
}, {
apiName: 'api',
path: 'stripe_account/update',
Expand Down
2 changes: 1 addition & 1 deletion build/sharetribe-flex-sdk-web.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sharetribe-flex-sdk",
"version": "1.7.0",
"version": "1.8.0",
"description": "Sharetribe Flex SDK for JavaScript",
"main": "build/sharetribe-flex-sdk-node.js",
"browser": "build/sharetribe-flex-sdk-web.js",
Expand Down
7 changes: 7 additions & 0 deletions src/sdk.js
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,13 @@ const endpointDefinitions = [
method: 'post',
interceptors: [new TransitResponse(), new TransitRequest()],
},
{
apiName: 'api',
path: 'stripe_account/fetch',
internal: false,
method: 'get',
interceptors: [new TransitResponse()],
},
{
apiName: 'api',
path: 'stripe_account/update',
Expand Down

0 comments on commit 5efa224

Please sign in to comment.