Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

True promise OR callback refactor #62

Merged

Conversation

vernak2539
Copy link
Contributor

  • updated auth client
  • refactored promise integration
  • added/updated tests
  • slimmed dependencies

- updated auth client
- refactored promise integration
- added/updated tests
- slimmed dependencies
@dougwilson
Copy link
Contributor

Looks like the failure is from a missing dependency.

@vernak2539
Copy link
Contributor Author

Yep, hopefully the new push works

@vernak2539
Copy link
Contributor Author

@dougwilson all the tests are passing. mind taking a look?

Future work will include refactoring the tests and such, but I think they've been modified in the correct way, and I've tested a few scenarios.

@dougwilson
Copy link
Contributor

Changes seem fine to me.

vernak2539 added a commit that referenced this pull request Nov 3, 2015
True promise OR callback refactor
@vernak2539 vernak2539 merged commit 37fb478 into salesforce-marketingcloud:master Nov 3, 2015
@vernak2539 vernak2539 deleted the refactor-simple branch November 3, 2015 15:32
@dougwilson
Copy link
Contributor

Because this used to technically always return a promise, even if a callback was provided, I'm leaning towards releasing this as 2.0.0. It'll match fuel-auth as well. @vernak2539

@vernak2539
Copy link
Contributor Author

Sounds close enough to a breaking change. Go for it
On Thu, 5 Nov 2015 at 02:19, Douglas Christopher Wilson <
notifications@github.com> wrote:

Because this used to technically always return a promise, even if a
callback was provided, I'm leaning towards releasing this as 2.0.0. It'll
match fuel-auth as well. @vernak2539 https://github.com/vernak2539


Reply to this email directly or view it on GitHub
#62 (comment)
.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants