Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertGardner committed Apr 13, 2020
1 parent c1b1bb8 commit 6f18471
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
Changelog

## 6.4.0 (2020, April 13)
### Fixes
- [(# 105)](https://github.com/triniwiz/nativescript-stripe/issues/105) `createSource` support.

## 6.3.2 (2020, April 4)
### Fixes
- [(# 103)](https://github.com/triniwiz/nativescript-stripe/issues/103) Android PaymentSession with Prefilled Address crashes
Expand Down
2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nativescript-stripe",
"version": "6.3.2",
"version": "6.4.0",
"description": "NativeScript Stripe sdk",
"main": "stripe",
"typings": "index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions src/stripe.android.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as utils from 'tns-core-modules/utils/utils';
import { android as androidApp } from "tns-core-modules/application";
import * as utils from 'tns-core-modules/utils/utils';
import { CardBrand, CardCommon, CreditCardViewBase, PaymentMethodCommon, Source, StripePaymentIntentCommon, StripePaymentIntentStatus, Token } from './stripe.common';

export class Stripe {
Expand Down Expand Up @@ -62,7 +62,7 @@ export class Stripe {

try {
this._stripe.createSource(
cardSourceParams,
cardSourceParams,
new com.stripe.android.SourceCallback({
onSuccess: function (source: com.stripe.android.model.Source) {
if (typeof cb === 'function') {
Expand Down
2 changes: 1 addition & 1 deletion src/stripe.ios.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export class Stripe {
}
return;
}

const sourceParams = STPSourceParams.cardParamsWithCard(card.native);

const apiClient = STPAPIClient.sharedClient();
Expand Down

0 comments on commit 6f18471

Please sign in to comment.