From 58162406a9f30fea6d122a027ce2581b177af5d7 Mon Sep 17 00:00:00 2001 From: Alex Venetidis Date: Fri, 10 Jul 2026 17:13:20 +0100 Subject: [PATCH 1/3] rename npm package to terra-rt (org-team owned, unscoped) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The old name react-native-terra-rt-react is redundant + individually owned (elliottyu). Republish as unscoped 'terra-rt' — matching the org's other SDK packages (terra-react, terra-api, terra-capacitor, terra-graphs are all unscoped names managed by the tryterra org team) rather than the scoped @tryterra/terra-ui outlier. Version continues 0.2.4 -> 0.2.5. Native module names (podspec s.name, android project) unchanged — RN autolinking is independent of the npm name, and the bump workflows reference the podspec by filename. Package added to the tryterra org team after first publish. --- example/src/App.tsx | 6 +++--- package.json | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/example/src/App.tsx b/example/src/App.tsx index a5bd3e2..e98def0 100644 --- a/example/src/App.tsx +++ b/example/src/App.tsx @@ -21,14 +21,14 @@ import { stopRealtime, disconnect, getUserId, -} from 'react-native-terra-rt-react'; +} from 'terra-rt'; import { config } from './config'; import type { Device, SuccessMessage, Update, -} from 'react-native-terra-rt-react'; -import { Connections, DataTypes } from 'react-native-terra-rt-react'; +} from 'terra-rt'; +import { Connections, DataTypes } from 'terra-rt'; import { BLWidget } from './iOSBleWidget'; export default function App() { diff --git a/package.json b/package.json index 8130ab1..d3fa5dd 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { - "name": "react-native-terra-rt-react", - "version": "0.2.4", - "description": "test", + "name": "terra-rt", + "version": "0.2.5", + "description": "React Native SDK for Terra's realtime (websocket) streaming — live data from BLE devices and Apple Watch.", "main": "lib/commonjs/index", "module": "lib/module/index", "types": "lib/typescript/index.d.ts", From 9dfd9e1de1e30274d73e5f8b4b317cc982c05f9b Mon Sep 17 00:00:00 2001 From: Alex Venetidis Date: Fri, 10 Jul 2026 17:23:13 +0100 Subject: [PATCH 2/3] style: collapse example import after rename (prettier) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 'terra-rt' is shorter than the old name, so the named import now fits on one line — prettier/eslint --fix. --- example/src/App.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/example/src/App.tsx b/example/src/App.tsx index e98def0..1c84370 100644 --- a/example/src/App.tsx +++ b/example/src/App.tsx @@ -23,11 +23,7 @@ import { getUserId, } from 'terra-rt'; import { config } from './config'; -import type { - Device, - SuccessMessage, - Update, -} from 'terra-rt'; +import type { Device, SuccessMessage, Update } from 'terra-rt'; import { Connections, DataTypes } from 'terra-rt'; import { BLWidget } from './iOSBleWidget'; From 437a2e0a6c59d194d806d3896cc148ccbbc288d4 Mon Sep 17 00:00:00 2001 From: Alex Venetidis Date: Fri, 10 Jul 2026 17:25:05 +0100 Subject: [PATCH 3/3] rename: update tsconfig path map, README, link message to terra-rt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit tsconfig paths mapping is what typecheck resolves the local package through — must match the new npm name. Also README title/install + the not-linked error message shown to consumers. Native module name (podspec s.name, CONTRIBUTING dev refs) intentionally unchanged. --- README.md | 4 ++-- src/index.tsx | 2 +- tsconfig.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 1676c69..1fb90b0 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ -# react-native-terra-rt-react +# terra-rt React Native bridge for Terra Realtime mobile SDKs ## Installation ```sh -npm install react-native-terra-rt-react +npm install terra-rt ``` ## Usage diff --git a/src/index.tsx b/src/index.tsx index 14d57cb..3fd5123 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -6,7 +6,7 @@ export * from './types'; export * from './enums'; const LINKING_ERROR = - `The package 'react-native-terra-rt-react' doesn't seem to be linked. Make sure: \n\n` + + `The package 'terra-rt' doesn't seem to be linked. Make sure: \n\n` + Platform.select({ ios: "- You have run 'pod install'\n", default: '' }) + '- You rebuilt the app after installing the package\n' + '- You are not using Expo Go\n'; diff --git a/tsconfig.json b/tsconfig.json index c1c0922..e31e04b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,7 +2,7 @@ "compilerOptions": { "baseUrl": "./", "paths": { - "react-native-terra-rt-react": ["./src/index"] + "terra-rt": ["./src/index"] }, "allowUnreachableCode": false, "allowUnusedLabels": false,