@hahnfeld/msrelay-provider 0.1.0 → 0.1.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/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export { createRelayPlugin } from "./plugin.js";
2
- export { createRelayPlugin as default } from "./plugin.js";
2
+ declare const _default: import("@openacp/cli").OpenACPPlugin;
3
+ export default _default;
3
4
  export { AzureRelayProvider } from "./provider.js";
4
5
  export type { RelayMetrics } from "./provider.js";
5
6
  export type { AzureRelayConfig } from "./types.js";
package/dist/index.js CHANGED
@@ -1,4 +1,9 @@
1
1
  export { createRelayPlugin } from "./plugin.js";
2
- export { createRelayPlugin as default } from "./plugin.js";
2
+ /**
3
+ * Default export is the plugin instance (not the factory).
4
+ * OpenACP's plugin loader expects `default` to be an OpenACPPlugin object.
5
+ */
6
+ import { createRelayPlugin } from "./plugin.js";
7
+ export default createRelayPlugin();
3
8
  export { AzureRelayProvider } from "./provider.js";
4
9
  export { AzureRelayConfigSchema, DEFAULT_CONFIG } from "./types.js";
package/dist/plugin.js CHANGED
@@ -64,7 +64,7 @@ export function createRelayPlugin() {
64
64
  let provider = null;
65
65
  return {
66
66
  name: "@hahnfeld/msrelay-provider",
67
- version: "0.1.0",
67
+ version: "0.1.1",
68
68
  description: "Azure Relay Hybrid Connections tunnel provider — private HTTP tunneling via Azure backbone",
69
69
  essential: false,
70
70
  permissions: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hahnfeld/msrelay-provider",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Azure Relay Hybrid Connections tunnel provider plugin for OpenACP",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -11,6 +11,14 @@
11
11
  "import": "./dist/index.js"
12
12
  }
13
13
  },
14
+ "scripts": {
15
+ "build": "tsc",
16
+ "dev": "tsc --watch",
17
+ "test": "vitest run",
18
+ "test:watch": "vitest",
19
+ "prepublishOnly": "pnpm build",
20
+ "lint": "tsc --noEmit"
21
+ },
14
22
  "keywords": [
15
23
  "openacp",
16
24
  "openacp-plugin",
@@ -52,11 +60,5 @@
52
60
  "dist",
53
61
  "!dist/__tests__"
54
62
  ],
55
- "scripts": {
56
- "build": "tsc",
57
- "dev": "tsc --watch",
58
- "test": "vitest run",
59
- "test:watch": "vitest",
60
- "lint": "tsc --noEmit"
61
- }
62
- }
63
+ "packageManager": "pnpm@9.15.0"
64
+ }