Skip to content

Commit

Permalink
Merge pull request #7 from v-empower/adding-api-calls
Browse files Browse the repository at this point in the history
Initial commit
  • Loading branch information
fareed069417 authored Feb 21, 2023
2 parents 9b5e94b + 4747906 commit e2dae2e
Show file tree
Hide file tree
Showing 17 changed files with 1,044 additions and 120 deletions.
519 changes: 418 additions & 101 deletions README.md

Large diffs are not rendered by default.

104 changes: 88 additions & 16 deletions package-lock.json

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

9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-native-meet-hour-sdk",
"description": "Meet Hour SDK wrapper for React Native.",
"version": "3.0.17",
"description": "Meet Hour SDK for React Native.",
"version": "3.0.18",
"author": "MeetHour, LLC <[email protected]>",
"contributors": [],
"homepage": "https://github.com/v-empower/react-native-meet-hour-sdk",
Expand Down Expand Up @@ -31,6 +31,7 @@
"test": "jest",
"typescript": "tsc --noEmit",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"lint-fix": "eslint \"**/*.{js,ts,tsx}\" --fix",
"prepare": "bob build",
"release": "release-it",
"pods": "pod-install --quiet",
Expand Down Expand Up @@ -144,5 +145,7 @@
]
]
},
"dependencies": {}
"dependencies": {
"axios": "^1.2.2"
}
}
Binary file added screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/constants/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export const GRANT_TYPE = 'password';
export const GRANT_REFRESH_TYPE = 'refresh_token';
export const API_BASE_URL = 'api.meethour.io';
export const API_VERSION = 'v1.1';
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { NativeModules, requireNativeComponent } from 'react-native';
import ApiServices from './services/apiServices';
import type { MeetHourType, MeetHourViewType } from './types';

const { MeetHour } = NativeModules;
Expand All @@ -8,3 +9,4 @@ const MeetHourView: MeetHourViewType = requireNativeComponent('MeetHourView');
export { MeetHourView };

export default MeetHour as MeetHourType;
export { ApiServices };
Loading

0 comments on commit e2dae2e

Please sign in to comment.