react-native-carrot-quest 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/carrotquest/Func_void_CarrotQuestLogEntry.kt +0 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/carrotquest/Func_void_bool.kt +0 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/carrotquest/Func_void_double.kt +0 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/carrotquest/Func_void_std__string.kt +0 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/carrotquest/HybridCarrotQuestSpec.kt +2 -0
- package/package.json +4 -4
|
@@ -10,7 +10,6 @@ package com.margelo.nitro.carrotquest
|
|
|
10
10
|
import androidx.annotation.Keep
|
|
11
11
|
import com.facebook.jni.HybridData
|
|
12
12
|
import com.facebook.proguard.annotations.DoNotStrip
|
|
13
|
-
import dalvik.annotation.optimization.FastNative
|
|
14
13
|
|
|
15
14
|
|
|
16
15
|
/**
|
|
@@ -59,7 +58,6 @@ class Func_void_CarrotQuestLogEntry_cxx: Func_void_CarrotQuestLogEntry {
|
|
|
59
58
|
override fun invoke(entry: CarrotQuestLogEntry): Unit
|
|
60
59
|
= invoke_cxx(entry)
|
|
61
60
|
|
|
62
|
-
@FastNative
|
|
63
61
|
private external fun invoke_cxx(entry: CarrotQuestLogEntry): Unit
|
|
64
62
|
}
|
|
65
63
|
|
|
@@ -10,7 +10,6 @@ package com.margelo.nitro.carrotquest
|
|
|
10
10
|
import androidx.annotation.Keep
|
|
11
11
|
import com.facebook.jni.HybridData
|
|
12
12
|
import com.facebook.proguard.annotations.DoNotStrip
|
|
13
|
-
import dalvik.annotation.optimization.FastNative
|
|
14
13
|
|
|
15
14
|
|
|
16
15
|
/**
|
|
@@ -59,7 +58,6 @@ class Func_void_bool_cxx: Func_void_bool {
|
|
|
59
58
|
override fun invoke(visible: Boolean): Unit
|
|
60
59
|
= invoke_cxx(visible)
|
|
61
60
|
|
|
62
|
-
@FastNative
|
|
63
61
|
private external fun invoke_cxx(visible: Boolean): Unit
|
|
64
62
|
}
|
|
65
63
|
|
|
@@ -10,7 +10,6 @@ package com.margelo.nitro.carrotquest
|
|
|
10
10
|
import androidx.annotation.Keep
|
|
11
11
|
import com.facebook.jni.HybridData
|
|
12
12
|
import com.facebook.proguard.annotations.DoNotStrip
|
|
13
|
-
import dalvik.annotation.optimization.FastNative
|
|
14
13
|
|
|
15
14
|
|
|
16
15
|
/**
|
|
@@ -59,7 +58,6 @@ class Func_void_double_cxx: Func_void_double {
|
|
|
59
58
|
override fun invoke(count: Double): Unit
|
|
60
59
|
= invoke_cxx(count)
|
|
61
60
|
|
|
62
|
-
@FastNative
|
|
63
61
|
private external fun invoke_cxx(count: Double): Unit
|
|
64
62
|
}
|
|
65
63
|
|
package/nitrogen/generated/android/kotlin/com/margelo/nitro/carrotquest/Func_void_std__string.kt
CHANGED
|
@@ -10,7 +10,6 @@ package com.margelo.nitro.carrotquest
|
|
|
10
10
|
import androidx.annotation.Keep
|
|
11
11
|
import com.facebook.jni.HybridData
|
|
12
12
|
import com.facebook.proguard.annotations.DoNotStrip
|
|
13
|
-
import dalvik.annotation.optimization.FastNative
|
|
14
13
|
|
|
15
14
|
|
|
16
15
|
/**
|
|
@@ -59,7 +58,6 @@ class Func_void_std__string_cxx: Func_void_std__string {
|
|
|
59
58
|
override fun invoke(url: String): Unit
|
|
60
59
|
= invoke_cxx(url)
|
|
61
60
|
|
|
62
|
-
@FastNative
|
|
63
61
|
private external fun invoke_cxx(url: String): Unit
|
|
64
62
|
}
|
|
65
63
|
|
package/nitrogen/generated/android/kotlin/com/margelo/nitro/carrotquest/HybridCarrotQuestSpec.kt
CHANGED
|
@@ -10,6 +10,7 @@ package com.margelo.nitro.carrotquest
|
|
|
10
10
|
import androidx.annotation.Keep
|
|
11
11
|
import com.facebook.jni.HybridData
|
|
12
12
|
import com.facebook.proguard.annotations.DoNotStrip
|
|
13
|
+
import dalvik.annotation.optimization.FastNative
|
|
13
14
|
import com.margelo.nitro.core.Promise
|
|
14
15
|
import com.margelo.nitro.core.HybridObject
|
|
15
16
|
|
|
@@ -197,6 +198,7 @@ abstract class HybridCarrotQuestSpec: HybridObject() {
|
|
|
197
198
|
@Keep
|
|
198
199
|
protected open class CxxPart(javaPart: HybridCarrotQuestSpec): HybridObject.CxxPart(javaPart) {
|
|
199
200
|
// C++ JHybridCarrotQuestSpec::CxxPart::initHybrid(...)
|
|
201
|
+
@FastNative
|
|
200
202
|
external override fun initHybrid(): HybridData
|
|
201
203
|
}
|
|
202
204
|
override fun createCxxPart(): CxxPart {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-carrot-quest",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Unofficial React Native bindings for the Carrot quest SDK, built with Nitro Modules.",
|
|
5
5
|
"main": "./lib/module/index.js",
|
|
6
6
|
"types": "./lib/typescript/src/index.d.ts",
|
|
@@ -84,12 +84,12 @@
|
|
|
84
84
|
"eslint-plugin-prettier": "^5.5.6",
|
|
85
85
|
"jest": "^29",
|
|
86
86
|
"lefthook": "^2.1.10",
|
|
87
|
-
"nitrogen": "^0.
|
|
87
|
+
"nitrogen": "^0.37.1",
|
|
88
88
|
"prettier": "^3.8.3",
|
|
89
89
|
"react": "19.2.3",
|
|
90
90
|
"react-native": "0.85.0",
|
|
91
91
|
"react-native-builder-bob": "^0.41.0",
|
|
92
|
-
"react-native-nitro-modules": "^0.
|
|
92
|
+
"react-native-nitro-modules": "^0.37.1",
|
|
93
93
|
"release-it": "^21.0.1",
|
|
94
94
|
"turbo": "^2.9.16",
|
|
95
95
|
"typescript": "^6.0.3"
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"peerDependencies": {
|
|
98
98
|
"react": "*",
|
|
99
99
|
"react-native": "*",
|
|
100
|
-
"react-native-nitro-modules": "^0.
|
|
100
|
+
"react-native-nitro-modules": "^0.37.1"
|
|
101
101
|
},
|
|
102
102
|
"workspaces": [
|
|
103
103
|
"example"
|