@prismer/runtime 1.9.0 → 1.9.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.
@@ -31,6 +31,13 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
31
31
  ));
32
32
 
33
33
  // src/keychain.ts
34
+ var keychain_exports = {};
35
+ __export(keychain_exports, {
36
+ Keychain: () => Keychain,
37
+ KeychainAccessDeniedError: () => KeychainAccessDeniedError,
38
+ KeychainOperationError: () => KeychainOperationError,
39
+ NoKeychainBackendError: () => NoKeychainBackendError
40
+ });
34
41
  function isMacAccessDenied(err) {
35
42
  if (typeof err !== "object" || err === null) return false;
36
43
  const rec = err;
@@ -8154,7 +8161,8 @@ var init_runner = __esm({
8154
8161
  // src/commands/pair.ts
8155
8162
  async function getAuthHeaders() {
8156
8163
  try {
8157
- const cfg = await loadConfig().catch(() => ({}));
8164
+ const { Keychain: Keychain2 } = await Promise.resolve().then(() => (init_keychain(), keychain_exports));
8165
+ const cfg = await loadConfig({ keychain: new Keychain2() }).catch(() => ({}));
8158
8166
  if (cfg.apiKey) {
8159
8167
  return { "Authorization": `Bearer ${cfg.apiKey}` };
8160
8168
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prismer/runtime",
3
- "version": "1.9.0",
3
+ "version": "1.9.1",
4
4
  "description": "Prismer Cloud v1.9.0 daemon runtime: agent supervisor, local HTTP API, event bus, CLI",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",