Skip to content

Commit

Permalink
Merge pull request #6 from rebythecode/missing-files
Browse files Browse the repository at this point in the history
Missing files fix
  • Loading branch information
pauleta6 authored Dec 16, 2021
2 parents 456c9a4 + a1de58a commit f7ceb9c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ import KustomerSDK from "react-native-kustomer-sdk";

### Methods

#### identify(token: String): void
#### identify(token: String): Promise<boolean>

Identify current user with a token, in order to recover its previous data, such as conversations and profile. This method is a promise so it will need some handling.

Expand Down
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
declare module "react-native-kustomer-sdk" {
class KustomerSDK {
static identify(hash: string): Promise<boolean, string>;
static identify(hash: string): Promise<boolean>;

static presentSupport(): void;

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
{
"name": "react-native-kustomer-sdk",
"title": "React Native Kustomer SDK",
"version": "2.0.0",
"version": "2.0.1",
"description": "Kustomer SDK for React Native",
"main": "index.js",
"files": [
"README.md",
"android",
"index.js",
"ios",
"index.d.ts",
"react-native-kustomer-sdk.podspec"
],
"scripts": {
Expand Down

0 comments on commit f7ceb9c

Please sign in to comment.