Sign In

@debugbundle/sdk-react-native

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@debugbundle/sdk-react-native - npm Package Compare versions

Comparing version
0.1.0
to
0.1.1
+1
-1
android/src/main/j...ative/DebugBundleReactNativeModule.java

@@ -190,3 +190,3 @@ package com.debugbundle.reactnative;

Collections.emptySet(),
stringOrDefault(config, "sdkVersion", "0.1.0"),
stringOrDefault(config, "sdkVersion", "0.1.1"),
mask,

@@ -193,0 +193,0 @@ null);

@@ -52,2 +52,2 @@ import { createRunOncePlugin, withAndroidManifest, withAppBuildGradle, withInfoPlist } from "@expo/config-plugins";

export default createRunOncePlugin(withDebugBundle, "@debugbundle/sdk-react-native", "0.1.0");
export default createRunOncePlugin(withDebugBundle, "@debugbundle/sdk-react-native", "0.1.1");
import { getNativeModule, degradedNativeState, safeNativeCall } from "./native.js";
import { defaultRedactFields, DEFAULT_HEADER_ALLOWLIST, sanitizeHeaders, sanitizeValue } from "./redaction.js";
const SDK_NAME = "@debugbundle/sdk-react-native";
const DEFAULT_SDK_VERSION = "0.1.0";
const DEFAULT_SDK_VERSION = "0.1.1";
const LOG_LEVELS = {

@@ -6,0 +6,0 @@ debug: 10,

@@ -22,3 +22,3 @@ import Foundation

buildNumber: config["buildNumber"] as? String,
sdkVersion: config["sdkVersion"] as? String ?? "0.1.0"
sdkVersion: config["sdkVersion"] as? String ?? "0.1.1"
)

@@ -25,0 +25,0 @@ DebugBundle.initialize(sdkConfig, transport: DebugBundleHTTPTransport())

{
"name": "@debugbundle/sdk-react-native",
"version": "0.1.0",
"version": "0.1.1",
"description": "React Native SDK for DebugBundle mobile event capture.",
"license": "AGPL-3.0-only",
"type": "module",
"homepage": "https://github.com/debugbundle/debugbundle-react-native#readme",
"homepage": "https://debugbundle.com/docs/sdks/react-native",
"keywords": [
"debugbundle",
"react-native",
"mobile",
"debugging",
"error-tracking",
"ai-agent"
],
"repository": {

@@ -78,3 +86,4 @@ "type": "git",

"test": "vitest run",
"pack:check": "npm pack --dry-run"
"pack:check": "npm pack --dry-run",
"smoke:registry": "node scripts/smoke-registry.mjs"
},

@@ -84,4 +93,4 @@ "peerDependencies": {

"@react-navigation/native": ">=6",
"react": ">=18",
"react-native": ">=0.84"
"react": ">=18.2 <20",
"react-native": ">=0.76 <1.0"
},

@@ -88,0 +97,0 @@ "peerDependenciesMeta": {

@@ -9,3 +9,3 @@ # DebugBundle React Native

Release candidate implementation:
Published implementation:

@@ -22,4 +22,14 @@ - TypeScript facade and instance client.

Before public npm publication, publish or otherwise make the native `DebugBundle` iOS pod available to CocoaPods consumers. Local smoke tests inject the sibling Swift SDK pod path so the bridge can be validated before registry publication.
## Runtime Support
| Lane | Support |
| --- | --- |
| Minimum compatibility | React Native 0.76+, React 18.2+, iOS 15+, Android minSdk 23 |
| Recommended production | Current stable React Native 0.85.x with Hermes and the New Architecture enabled where your app supports it |
| Installed-base compatibility | React Native 0.76 through current stable, including legacy bridge apps |
| Rolling CI | TypeScript/package smoke, Android bridge compile on RN 0.76.9, 0.82.1, and 0.85.3, plus current-stable Android and iOS clean-app smokes |
| Expo | Expo development builds and prebuild; Expo Go is degraded because it cannot load custom native modules |
JSC compatibility is best-effort where the selected React Native lane still supports it. Hermes is the primary tested JavaScript engine.
## Install

@@ -32,3 +42,3 @@

iOS autolinking resolves the `DebugBundleReactNative.podspec`, which depends on the native `DebugBundle` pod from the Swift SDK. Until that pod is published to the public CocoaPods specs repo, local validation must add the Swift SDK pod path to the app Podfile.
iOS autolinking resolves the `DebugBundleReactNative.podspec`, which depends on the native `DebugBundle` pod from the Swift SDK.

@@ -127,2 +137,2 @@ Android apps must enable core library desugaring because the native Android SDK

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 `v0.1.0`, and push the tag after the native Swift `DebugBundle` pod is available to CocoaPods consumers.
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 `v0.1.1`, and push the tag after the native Swift `DebugBundle` pod version referenced by `DebugBundleReactNative.podspec` is available to CocoaPods consumers.

@@ -19,3 +19,3 @@ import { getNativeModule, degradedNativeState, safeNativeCall } from "./native.js";

const SDK_NAME = "@debugbundle/sdk-react-native" as const;
const DEFAULT_SDK_VERSION = "0.1.0";
const DEFAULT_SDK_VERSION = "0.1.1";
const LOG_LEVELS: Record<DebugBundleLogLevel, number> = {

@@ -22,0 +22,0 @@ debug: 10,

Sorry, the diff of this file is not supported yet