Skip to content

Commit 8d24583

Browse files
committed
fix: add type definitions and module exports
fix: add missing packages in android fix: change the package because it make crash on android
1 parent af56aca commit 8d24583

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,6 @@ dependencies {
9595
//noinspection GradleDynamicVersion
9696
implementation "com.facebook.react:react-native:+"
9797
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
98-
implementation "com.github.convertedin:android-pixel-sdk:1.4.3"
98+
implementation 'com.github.Scode-Njnjas:android-pixel-sdk:v1.0.1'
9999
}
100100

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
"source": "src/index.ts",
66
"main": "lib/commonjs/index.js",
77
"module": "lib/module/index.js",
8-
"types": "src/index.d.ts",
8+
"types": "./src/index.d.ts",
99
"exports": {
1010
".": {
11+
"types": "./src/index.d.ts",
1112
"import": "./lib/module/index.js",
1213
"require": "./lib/commonjs/index.js"
1314
}

0 commit comments

Comments
 (0)