@alienplatform/bindings 3.3.18 → 3.3.19

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.js CHANGED
@@ -1,4 +1,9 @@
1
- import { _ as object, a as createRemoteSandboxFactory, b as datetime, c as BindingNotConfiguredError, d as UnknownPostgresSslModeError, f as UnknownSandboxValueError, g as literal, h as discriminatedUnion, i as createRemoteKeyFactory, l as BindingNotFoundError, m as unwrapNapiError, o as createRemoteStorageFactory, p as defineError, r as createFactories, s as AlienError, t as loadAddon, u as InvalidPostgresTlsConfigError, v as string, y as url } from "./loader.js";
1
+ import { _ as literal, a as createRemoteSandboxFactory, b as url, c as BindingNotConfiguredError, d as UnknownPostgresSslModeError, f as UnknownSandboxValueError, g as discriminatedUnion, h as ZodISODateTime, i as createRemoteKeyFactory, l as BindingNotFoundError, m as unwrapNapiError, o as createRemoteStorageFactory, p as defineError, r as createFactories, s as AlienError, t as loadAddon, u as InvalidPostgresTlsConfigError, v as object, x as _isoDateTime, y as string } from "./loader.js";
2
+ //#region ../../node_modules/.pnpm/zod@4.5.2/node_modules/zod/v4/classic/iso.js
3
+ function datetime(params) {
4
+ return _isoDateTime(ZodISODateTime, params);
5
+ }
6
+ //#endregion
2
7
  //#region src/remote.ts
3
8
  const aiBindingSchema = discriminatedUnion("service", [
4
9
  object({
@@ -33,7 +38,7 @@ var Bindings = class Bindings {
33
38
  this.#ai = ai;
34
39
  this.#sandbox = sandbox;
35
40
  }
36
- /** Select a customer's Storage by Project and stable external ID. */
41
+ /** Address a customer by Project and stable external ID; each binding resolves its own deployment. */
37
42
  static async forRemoteCustomer(options) {
38
43
  try {
39
44
  const bindings = await loadAddon().RemoteBindingsHandle.forCustomer(options.project, options.externalId, options.token, options.apiBaseUrl);