Skip to content

Commit

Permalink
Merge pull request #49 from Tealium/bug/typings
Browse files Browse the repository at this point in the history
Bug/typings
  • Loading branch information
craigrouse authored Feb 24, 2020
2 parents f285e85 + 7e1a4b6 commit b3d6e85
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Change Log

- 1.0.9
- Bug fix
- Removed duplicate default keywords from Typescript definitions file
- 1.0.8
- Added support for [Remote Commands](https://docs.tealium.com/platforms/remote-commands/)
- Underlying Tealium libraries updated to versions 5.7.0 (Android) and 5.6.6 (iOS)
Expand Down
6 changes: 3 additions & 3 deletions npm-package/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ declare module 'tealium-react-native' {
* @param iosDataSource A data source key from UDH eg. “abc123”
* @param androidDataSource A data source key from UDH eg. “def456”
*/
export default static initialize(
static initialize(
account: string,
profile = string,
environment: string,
Expand All @@ -34,7 +34,7 @@ declare module 'tealium-react-native' {
* @param iosDataSource A data source key from UDH eg. “abc123”
* @param androidDataSource A data source key from UDH eg. “def456”
*/
export default static initializeWithConsentManager(
static initializeWithConsentManager(
account: string,
profile = string,
environment: string,
Expand All @@ -56,7 +56,7 @@ declare module 'tealium-react-native' {
* @param enableCollectEndpoint True sends data to the Collect endpoint (default: true)
* @param enableConsentManager True enables Consent Management
*/
export default static initializeCustom(
static initializeCustom(
account: string,
profile = string,
environment: string,
Expand Down
2 changes: 1 addition & 1 deletion npm-package/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tealium-react-native",
"version": "1.0.8",
"version": "1.0.9",
"description": "A native module for using Tealium's Android and iOS libraries from a React Native app.",
"main": "index.js",
"types": "index.d.ts",
Expand Down

0 comments on commit b3d6e85

Please sign in to comment.