@forgezero/providers 0.1.31 → 0.1.32

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
@@ -110,30 +110,25 @@ const service = createService(notifications, {
110
110
  });
111
111
  ```
112
112
 
113
- ## @forgezero/providers — Vault first, systemd credential fallback
113
+ ## @forgezero/providers — Purpose-bound Vault provider authority
114
114
 
115
- Bootstrap tries the scoped Vault entry first and the identically named systemd credential second. If neither exists, the provider call fails.
115
+ Managed services resolve provider credentials from one scoped Vault reference. Bootstrap or host-recovery credentials are separate lifecycle inputs and are never an implicit application fallback.
116
116
 
117
117
  ```text
118
118
  import {
119
- chainScopedCredentials,
120
- scopeCredentials,
119
+ createService,
121
120
  } from '@forgezero/providers';
122
121
  import {
123
122
  createVault,
124
- systemdCredentials,
125
123
  } from '@forgezero/vault';
126
124
  import {
127
125
  vaultCredentials,
128
126
  } from '@forgezero/vault/providers';
129
127
 
130
128
  const vault = createVault({ project: 'my-project', environment: 'production' });
131
- const credentials = chainScopedCredentials(
132
- vaultCredentials(vault, 'jetemail'),
133
- scopeCredentials(systemdCredentials({
134
- nameFor: (reference, field) => `${reference}-${field}`
135
- }), 'jetemail')
136
- );
129
+ const credentials = vaultCredentials(vault, 'jetemail');
130
+ // Bind this source only to the reviewed provider method that declares it.
131
+ // A missing or locked managed Vault fails closed instead of reading systemd.
137
132
  ```
138
133
 
139
134
  <a id="forgezero-providers-email"></a>
package/dist/billing.js CHANGED
@@ -336,7 +336,7 @@ function createService(definition, methods, options = {}) {
336
336
  }
337
337
  };
338
338
  }
339
- var VERSION = "0.1.31";
339
+ var VERSION = "0.1.32";
340
340
 
341
341
  // src/billing.ts
342
342
  var PAYMENT_PROVIDER_KEYS = ["stripe:v1", "paypal:v1", "razorpay:v1"];
package/dist/database.js CHANGED
@@ -336,7 +336,7 @@ function createService(definition, methods, options = {}) {
336
336
  }
337
337
  };
338
338
  }
339
- var VERSION = "0.1.31";
339
+ var VERSION = "0.1.32";
340
340
 
341
341
  // src/database.ts
342
342
  var pools = new Map;
package/dist/email.js CHANGED
@@ -336,7 +336,7 @@ function createService(definition, methods, options = {}) {
336
336
  }
337
337
  };
338
338
  }
339
- var VERSION = "0.1.31";
339
+ var VERSION = "0.1.32";
340
340
 
341
341
  // src/email.ts
342
342
  var recipients = (to) => Array.isArray(to) ? [...to] : [to];
package/dist/git.js CHANGED
@@ -336,7 +336,7 @@ function createService(definition, methods, options = {}) {
336
336
  }
337
337
  };
338
338
  }
339
- var VERSION = "0.1.31";
339
+ var VERSION = "0.1.32";
340
340
 
341
341
  // src/git.ts
342
342
  var githubAppConfigSchema = {
package/dist/http.js CHANGED
@@ -336,7 +336,7 @@ function createService(definition, methods, options = {}) {
336
336
  }
337
337
  };
338
338
  }
339
- var VERSION = "0.1.31";
339
+ var VERSION = "0.1.32";
340
340
 
341
341
  // src/http.ts
342
342
  class BudgetExhausted extends ProviderError {
package/dist/index.d.ts CHANGED
@@ -303,5 +303,5 @@ export interface EmailBatchResult {
303
303
  };
304
304
  results: readonly EmailBatchItemResult[];
305
305
  }
306
- export declare const VERSION = "0.1.31";
306
+ export declare const VERSION = "0.1.32";
307
307
  export {};
package/dist/index.js CHANGED
@@ -336,7 +336,7 @@ function createService(definition, methods, options = {}) {
336
336
  }
337
337
  };
338
338
  }
339
- var VERSION = "0.1.31";
339
+ var VERSION = "0.1.32";
340
340
  export {
341
341
  staticConfig,
342
342
  serviceMethod,
package/dist/pool.js CHANGED
@@ -336,7 +336,7 @@ function createService(definition, methods, options = {}) {
336
336
  }
337
337
  };
338
338
  }
339
- var VERSION = "0.1.31";
339
+ var VERSION = "0.1.32";
340
340
 
341
341
  // src/http.ts
342
342
  class BudgetExhausted extends ProviderError {
package/dist/storage.js CHANGED
@@ -336,7 +336,7 @@ function createService(definition, methods, options = {}) {
336
336
  }
337
337
  };
338
338
  }
339
- var VERSION = "0.1.31";
339
+ var VERSION = "0.1.32";
340
340
 
341
341
  // src/storage.ts
342
342
  var encoder = new TextEncoder;
@@ -336,7 +336,7 @@ function createService(definition, methods, options = {}) {
336
336
  }
337
337
  };
338
338
  }
339
- var VERSION = "0.1.31";
339
+ var VERSION = "0.1.32";
340
340
 
341
341
  // src/translation.ts
342
342
  var GOOGLE_ENDPOINT = "https://generativelanguage.googleapis.com/v1beta/models";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forgezero/providers",
3
- "version": "0.1.31",
3
+ "version": "0.1.32",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -85,6 +85,6 @@
85
85
  "LICENSE"
86
86
  ],
87
87
  "dependencies": {
88
- "@forgezero/runtime": "^0.1.22"
88
+ "@forgezero/runtime": "^0.1.24"
89
89
  }
90
90
  }