Skip to content

Commit f17d9c9

Browse files
Aditi3uerceg
authored andcommitted
fix(ts): update datatype for price & purchaseTime as number
1 parent 166aadb commit f17d9c9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,13 +153,13 @@ declare module 'react-native-adjust' {
153153

154154
export class AdjustPlayStoreSubscription {
155155
constructor(
156-
price: string,
156+
price: number,
157157
currency: string,
158158
sku: string,
159159
orderId: string,
160160
signature: string,
161161
purchaseToken: string)
162-
public setPurchaseTime(purchaseTime: string): void
162+
public setPurchaseTime(purchaseTime: number): void
163163
public addCallbackParameter(key: string, value: string): void
164164
public addPartnerParameter(key: string, value: string): void
165165
}

test/app/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const App: () => React$Node = () => {
4848
}
4949

5050
var urlOverwrite = "";
51-
var ipAddress = "192.168.8.38";
51+
var ipAddress = "192.168.8.202";
5252
if (Platform.OS === "android") {
5353
urlOverwrite = "https://" + ipAddress + ":8443";
5454
} else if (Platform.OS === "ios") {
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)