@debugbundle/sdk-react-native 0.1.1 → 1.0.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/DebugBundleReactNative.podspec +2 -2
- package/README.md +1 -1
- package/android/build.gradle +1 -1
- package/android/src/main/java/com/debugbundle/reactnative/DebugBundleReactNativeModule.java +1 -1
- package/app.plugin.js +1 -1
- package/dist/client.js +1 -1
- package/ios/DebugBundleReactNative.swift +1 -1
- package/package.json +1 -1
- package/src/client.ts +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Pod::Spec.new do |s|
|
|
2
2
|
s.name = "DebugBundleReactNative"
|
|
3
|
-
s.version = "0.
|
|
3
|
+
s.version = "1.0.0"
|
|
4
4
|
s.summary = "React Native wrapper for the DebugBundle mobile SDKs."
|
|
5
5
|
s.license = { :type => "AGPL-3.0-only" }
|
|
6
6
|
s.author = { "DebugBundle" => "support@debugbundle.com" }
|
|
@@ -11,5 +11,5 @@ Pod::Spec.new do |s|
|
|
|
11
11
|
s.swift_version = "5.10"
|
|
12
12
|
|
|
13
13
|
s.dependency "React-Core"
|
|
14
|
-
s.dependency "DebugBundle", "~> 0.
|
|
14
|
+
s.dependency "DebugBundle", "~> 1.0.0"
|
|
15
15
|
end
|
package/README.md
CHANGED
|
@@ -131,4 +131,4 @@ Expo development builds and prebuild are supported through the config plugin. Ex
|
|
|
131
131
|
|
|
132
132
|
## Release
|
|
133
133
|
|
|
134
|
-
The package publishes to npm from `v*` tags through GitHub Actions. Configure the repository secret `NPM_TOKEN`, make sure the tag matches `package.json` exactly, for example `
|
|
134
|
+
The package publishes to npm from `v*` tags through GitHub Actions. Configure the repository secret `NPM_TOKEN`, make sure the tag matches `package.json` exactly, for example `v1.0.0`, and push the tag after the native Swift `DebugBundle` pod version referenced by `DebugBundleReactNative.podspec` is available to CocoaPods consumers.
|
package/android/build.gradle
CHANGED
|
@@ -28,7 +28,7 @@ android {
|
|
|
28
28
|
dependencies {
|
|
29
29
|
compileOnly "com.facebook.react:react-android:${rootProject.findProperty("reactNativeVersion") ?: "0.85.3"}"
|
|
30
30
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:${hostKotlinVersion}"
|
|
31
|
-
implementation platform("com.debugbundle:debugbundle-android-bom:0.
|
|
31
|
+
implementation platform("com.debugbundle:debugbundle-android-bom:1.0.0")
|
|
32
32
|
implementation("com.debugbundle:debugbundle-android") {
|
|
33
33
|
exclude group: "org.jetbrains.kotlin", module: "kotlin-stdlib"
|
|
34
34
|
exclude group: "org.jetbrains.kotlin", module: "kotlin-stdlib-jdk7"
|
|
@@ -187,7 +187,7 @@ public final class DebugBundleReactNativeModule extends ReactContextBaseJavaModu
|
|
|
187
187
|
0,
|
|
188
188
|
false,
|
|
189
189
|
Collections.emptySet(),
|
|
190
|
-
stringOrDefault(config, "sdkVersion", "0.
|
|
190
|
+
stringOrDefault(config, "sdkVersion", "1.0.0"),
|
|
191
191
|
mask,
|
|
192
192
|
null);
|
|
193
193
|
}
|
package/app.plugin.js
CHANGED
package/dist/client.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getNativeModule, degradedNativeState, safeNativeCall } from "./native.js";
|
|
2
2
|
import { defaultRedactFields, DEFAULT_HEADER_ALLOWLIST, sanitizeHeaders, sanitizeValue } from "./redaction.js";
|
|
3
3
|
const SDK_NAME = "@debugbundle/sdk-react-native";
|
|
4
|
-
const DEFAULT_SDK_VERSION = "0.
|
|
4
|
+
const DEFAULT_SDK_VERSION = "1.0.0";
|
|
5
5
|
const LOG_LEVELS = {
|
|
6
6
|
debug: 10,
|
|
7
7
|
info: 20,
|
|
@@ -19,7 +19,7 @@ final class DebugBundleReactNative: NSObject {
|
|
|
19
19
|
releaseChannel: config["releaseChannel"] as? String ?? "production",
|
|
20
20
|
appVersion: config["appVersion"] as? String,
|
|
21
21
|
buildNumber: config["buildNumber"] as? String,
|
|
22
|
-
sdkVersion: config["sdkVersion"] as? String ?? "0.
|
|
22
|
+
sdkVersion: config["sdkVersion"] as? String ?? "1.0.0"
|
|
23
23
|
)
|
|
24
24
|
DebugBundle.initialize(sdkConfig, transport: DebugBundleHTTPTransport())
|
|
25
25
|
resolve(state())
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -16,7 +16,7 @@ import type {
|
|
|
16
16
|
} from "./types.js";
|
|
17
17
|
|
|
18
18
|
const SDK_NAME = "@debugbundle/sdk-react-native" as const;
|
|
19
|
-
const DEFAULT_SDK_VERSION = "0.
|
|
19
|
+
const DEFAULT_SDK_VERSION = "1.0.0";
|
|
20
20
|
const LOG_LEVELS: Record<DebugBundleLogLevel, number> = {
|
|
21
21
|
debug: 10,
|
|
22
22
|
info: 20,
|