@omercnet/paseo-omp 0.4.0-next.139.1 → 0.4.0-next.146.1

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/README.md CHANGED
@@ -20,7 +20,7 @@ before capture.
20
20
 
21
21
  ## Quick start
22
22
 
23
- Requirements: Paseo `>=0.9.0 <0.10.0`, OMP `18.1.15` or newer, and OMP RPC protocol v2. Paseo 0.9 is required for the Help report's supported copy and external-link APIs, nested provider-subagent ancestry, spawning-tool links, npm-managed installation, and the complete client integration.
23
+ Requirements: Paseo `^0.9.0`, OMP `18.1.15` or newer, and OMP RPC protocol v2. Paseo 0.9 is required for the Help report's supported copy and external-link APIs, nested provider-subagent ancestry, spawning-tool links, npm-managed installation, and the complete client integration.
24
24
 
25
25
  ```bash
26
26
  paseo plugin install npm:@omercnet/paseo-omp@<version>
@@ -1,14 +1,5 @@
1
- import * as paseoClient from "@getpaseo/plugin/client";
2
- import { Linking } from "react-native";
3
- import { selectExternalUrlOpener, validatedHttpUrl } from "../shared/external-url";
4
-
5
- const paseoOpenExternalUrl =
6
- "openExternalUrl" in paseoClient && typeof paseoClient.openExternalUrl === "function"
7
- ? paseoClient.openExternalUrl
8
- : undefined;
9
- const openExternalUrl = selectExternalUrlOpener(paseoOpenExternalUrl, (url) =>
10
- Linking.openURL(url),
11
- );
1
+ import { openExternalUrl } from "@getpaseo/plugin/client";
2
+ import { validatedHttpUrl } from "../shared/external-url";
12
3
 
13
4
  export function openOmpExternalUrl(url: string): Promise<void> {
14
5
  return openExternalUrl(validatedHttpUrl(url));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omercnet/paseo-omp",
3
- "version": "0.4.0-next.139.1",
3
+ "version": "0.4.0-next.146.1",
4
4
  "type": "module",
5
5
  "description": "Paseo integration for OMP, including its direct provider and workspace tooling.",
6
6
  "license": "MIT",
@@ -48,7 +48,7 @@
48
48
  "test:integration:wsl": "node --import tsx scripts/test-wsl-host-tools.ts",
49
49
  "test:integration:canary": "node --import tsx scripts/test-canary.ts",
50
50
  "test:integration:install": "node --import tsx scripts/test-package-install.ts",
51
- "typecheck": "tsc --noEmit"
51
+ "typecheck": "tsc --noEmit -p tsconfig.client.json && tsc --noEmit -p tsconfig.server.json && tsc --noEmit -p tsconfig.tests.json"
52
52
  },
53
53
  "dependencies": {
54
54
  "@getpaseo/protocol": "0.9.0",
package/paseo-plugin.json CHANGED
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "id": "paseo-omp",
3
- "requirements": { "paseo": ">=0.9.0 <0.10.0" },
3
+ "description": "Paseo integration for OMP, including its direct provider and workspace tooling.",
4
+ "requirements": { "paseo": "^0.9.0" },
4
5
  "build": [["node", "scripts/prepare-dependencies.mjs"]]
5
6
  }
@@ -1,2 +1,2 @@
1
1
  /** Release Please keeps this bundle-safe constant aligned with package.json. */
2
- export const PASEO_OMP_PACKAGE_VERSION = "0.4.0-next.139.1"; // x-release-please-version
2
+ export const PASEO_OMP_PACKAGE_VERSION = "0.4.0-next.146.1"; // x-release-please-version
@@ -1,12 +1,3 @@
1
- export type ExternalUrlOpener = (url: string) => Promise<void>;
2
-
3
- export function selectExternalUrlOpener(
4
- paseoOpener: ExternalUrlOpener | undefined,
5
- fallback: ExternalUrlOpener,
6
- ): ExternalUrlOpener {
7
- return paseoOpener ?? fallback;
8
- }
9
-
10
1
  export function validatedHttpUrl(value: string): string {
11
2
  let url: URL;
12
3
  try {