@alienplatform/bindings 3.3.17 → 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/factories.d.ts +2 -0
- package/dist/factories.d.ts.map +1 -1
- package/dist/index.js +15 -4
- package/dist/loader.d.ts +1 -0
- package/dist/loader.d.ts.map +1 -1
- package/dist/loader.js +1757 -846
- package/dist/native.js +1 -1
- package/dist/remote.d.ts +4 -2
- package/dist/remote.d.ts.map +1 -1
- package/package.json +7 -7
package/dist/native.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as BindingNotConfiguredError, d as UnknownPostgresSslModeError, n as registerEmbeddedAddon, p as defineError, r as createFactories, s as AlienError, u as InvalidPostgresTlsConfigError } from "./loader.js";
|
|
2
2
|
import addon from "./alien-bindings.node";
|
|
3
3
|
//#region src/native.ts
|
|
4
4
|
/**
|
package/dist/remote.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import type { Key, RemoteStorage } from "./types.js";
|
|
2
|
+
import type { Key, RemoteStorage, Sandbox } from "./types.js";
|
|
3
3
|
declare const aiBindingSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4
4
|
service: z.ZodLiteral<"bedrock">;
|
|
5
5
|
region: z.ZodString;
|
|
@@ -51,7 +51,7 @@ export interface RemoteCustomerBindingsOptions {
|
|
|
51
51
|
export declare class Bindings {
|
|
52
52
|
#private;
|
|
53
53
|
private constructor();
|
|
54
|
-
/**
|
|
54
|
+
/** Address a customer by Project and stable external ID; each binding resolves its own deployment. */
|
|
55
55
|
static forRemoteCustomer(options: RemoteCustomerBindingsOptions): Promise<Bindings>;
|
|
56
56
|
/** Discover the deployment's manager and prepare remote Storage bindings. */
|
|
57
57
|
static forRemoteDeployment(options: RemoteDeploymentBindingsOptions): Promise<Bindings>;
|
|
@@ -62,6 +62,8 @@ export declare class Bindings {
|
|
|
62
62
|
key(name: string): Key;
|
|
63
63
|
/** Resolve the deployment's unique managed AI binding. */
|
|
64
64
|
ai(): Promise<RemoteAiLease>;
|
|
65
|
+
/** Resolve a remote Sandbox binding by resource name. */
|
|
66
|
+
sandbox(name: string): Sandbox;
|
|
65
67
|
}
|
|
66
68
|
export {};
|
|
67
69
|
//# sourceMappingURL=remote.d.ts.map
|
package/dist/remote.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote.d.ts","sourceRoot":"","sources":["../src/remote.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"remote.d.ts","sourceRoot":"","sources":["../src/remote.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAQvB,OAAO,KAAK,EAAE,GAAG,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAE7D,QAAA,MAAM,eAAe;;;;;;;;;;;8BAYnB,CAAA;AAEF,QAAA,MAAM,wBAAwB;;;;;;+BAI5B,CAAA;AAEF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAA;AAC7D,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAE3E,MAAM,WAAW,aAAa;IAC5B,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,EAAE,eAAe,CAAA;IACxB,YAAY,EAAE,oBAAoB,CAAA;IAClC,SAAS,EAAE,IAAI,CAAA;CAChB;AAED,yEAAyE;AACzE,MAAM,WAAW,+BAA+B;IAC9C,4BAA4B;IAC5B,YAAY,EAAE,MAAM,CAAA;IACpB,sDAAsD;IACtD,KAAK,EAAE,MAAM,CAAA;IACb,uCAAuC;IACvC,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAED,2EAA2E;AAC3E,MAAM,WAAW,6BAA6B;IAC5C,6DAA6D;IAC7D,OAAO,EAAE,MAAM,CAAA;IACf,6EAA6E;IAC7E,UAAU,EAAE,MAAM,CAAA;IAClB,gDAAgD;IAChD,KAAK,EAAE,MAAM,CAAA;IACb,uCAAuC;IACvC,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAED,kDAAkD;AAClD,qBAAa,QAAQ;;IAMnB,OAAO;IAYP,sGAAsG;WACzF,iBAAiB,CAAC,OAAO,EAAE,6BAA6B,GAAG,OAAO,CAAC,QAAQ,CAAC;IAezF,6EAA6E;WAChE,mBAAmB,CAAC,OAAO,EAAE,+BAA+B,GAAG,OAAO,CAAC,QAAQ,CAAC;IAc7F,OAAO,CAAC,MAAM,CAAC,gBAAgB;IAsB/B,yDAAyD;IACzD,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,aAAa;IAIpC,qDAAqD;IACrD,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG;IAItB,0DAA0D;IAC1D,EAAE,IAAI,OAAO,CAAC,aAAa,CAAC;IAI5B,yDAAyD;IACzD,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;CAG/B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alienplatform/bindings",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.19",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -50,17 +50,17 @@
|
|
|
50
50
|
"tsdown": "^0.13.0",
|
|
51
51
|
"typescript": "~5.9.0",
|
|
52
52
|
"vitest": "^4.0.0",
|
|
53
|
-
"zod": "4.
|
|
53
|
+
"zod": "4.5.2",
|
|
54
54
|
"@alienplatform/typescript-config": "^1.0.0"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@alienplatform/core": "^3.3.
|
|
57
|
+
"@alienplatform/core": "^3.3.19"
|
|
58
58
|
},
|
|
59
59
|
"optionalDependencies": {
|
|
60
|
-
"@alienplatform/bindings-darwin-arm64": "3.3.
|
|
61
|
-
"@alienplatform/bindings-darwin-x64": "3.3.
|
|
62
|
-
"@alienplatform/bindings-linux-x64-gnu": "3.3.
|
|
63
|
-
"@alienplatform/bindings-linux-arm64-gnu": "3.3.
|
|
60
|
+
"@alienplatform/bindings-darwin-arm64": "3.3.19",
|
|
61
|
+
"@alienplatform/bindings-darwin-x64": "3.3.19",
|
|
62
|
+
"@alienplatform/bindings-linux-x64-gnu": "3.3.19",
|
|
63
|
+
"@alienplatform/bindings-linux-arm64-gnu": "3.3.19"
|
|
64
64
|
},
|
|
65
65
|
"scripts": {
|
|
66
66
|
"build": "tsdown && tsc -p tsconfig.build.json --emitDeclarationOnly",
|