@alpic-ai/sdk 0.0.0-dev.g4cc0d5f → 0.0.0-dev.gc47cbb1
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/client.d.ts +2 -1
- package/dist/client.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/package.json +2 -8
package/dist/client.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type AlpicApi } from "./api/client.js";
|
|
2
2
|
import { AlpicAuth } from "./auth/index.js";
|
|
3
|
-
import { createTunnel } from "./tunnel/tunnel.js";
|
|
3
|
+
import { createTunnel, type TunnelHandle } from "./tunnel/tunnel.js";
|
|
4
4
|
export type AlpicClientOptions = {
|
|
5
5
|
apiBaseUrl?: string;
|
|
6
6
|
};
|
|
@@ -10,3 +10,4 @@ export declare class AlpicClient {
|
|
|
10
10
|
readonly tunnel: ReturnType<typeof createTunnel>;
|
|
11
11
|
constructor(opts?: AlpicClientOptions);
|
|
12
12
|
}
|
|
13
|
+
export type { TunnelHandle };
|
package/dist/client.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAE,YAAY,EAAqB,MAAM,oBAAoB,CAAC;AAMrE,MAAM,OAAO,WAAW;IACb,IAAI,CAAY;IAChB,GAAG,CAAW;IACd,MAAM,CAAkC;IAEjD,YAAY,IAAyB;QACnC,MAAM,UAAU,GAAG,IAAI,EAAE,UAAU,IAAI,GAAG,CAAC,kBAAkB,CAAC;QAE9D,IAAI,CAAC,IAAI,GAAG,IAAI,SAAS,EAAE,CAAC;QAC5B,IAAI,CAAC,GAAG,GAAG,eAAe,CAAC;YACzB,UAAU;YACV,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;SACrC,CAAC,CAAC;QACH,IAAI,CAAC,MAAM,GAAG,YAAY,CAAC;YACzB,GAAG,EAAE,IAAI,CAAC,GAAG;YACb,WAAW,EAAE,KAAK,EAAE,EAAE,SAAS,GAAG,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE;gBACtD,IAAI,KAAK,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,mBAAmB,EAAE,CAAC;gBAClD,IAAI,CAAC,KAAK,IAAI,SAAS,EAAE,CAAC;oBACxB,MAAM,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,UAAU,EAAE,CAAC,CAAC;oBACtC,KAAK,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,mBAAmB,EAAE,CAAC;gBAChD,CAAC;gBACD,IAAI,CAAC,KAAK,EAAE,CAAC;oBACX,MAAM,IAAI,KAAK,CAAC,6CAA6C,CAAC,CAAC;gBACjE,CAAC;gBACD,OAAO,KAAK,CAAC,YAAY,CAAC;YAC5B,CAAC;SACF,CAAC,CAAC;IACL,CAAC;CACF"}
|
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,6 @@ export type { Credentials, LoginOptions } from "./auth/index.js";
|
|
|
3
3
|
export { AlpicAuth } from "./auth/index.js";
|
|
4
4
|
export { getOAuthClient } from "./auth/oauth-client.js";
|
|
5
5
|
export { GlobalStore, globalStore } from "./auth/store.js";
|
|
6
|
-
export type { AlpicClientOptions } from "./client.js";
|
|
6
|
+
export type { AlpicClientOptions, TunnelHandle } from "./client.js";
|
|
7
7
|
export { AlpicClient } from "./client.js";
|
|
8
|
-
export type { OpenTunnelOptions,
|
|
8
|
+
export type { OpenTunnelOptions, TunnelRequest } from "./tunnel/tunnel.js";
|
package/package.json
CHANGED
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alpic-ai/sdk",
|
|
3
|
-
"version": "0.0.0-dev.
|
|
3
|
+
"version": "0.0.0-dev.gc47cbb1",
|
|
4
4
|
"description": "Programmatic SDK for Alpic (auth, API, tunnel)",
|
|
5
|
-
"homepage": "https://alpic.ai",
|
|
6
|
-
"repository": {
|
|
7
|
-
"type": "git",
|
|
8
|
-
"url": "https://github.com/alpic-ai/alpic.git",
|
|
9
|
-
"directory": "packages/sdk"
|
|
10
|
-
},
|
|
11
5
|
"type": "module",
|
|
12
6
|
"main": "./dist/index.js",
|
|
13
7
|
"types": "./dist/index.d.ts",
|
|
@@ -34,7 +28,7 @@
|
|
|
34
28
|
"open": "^11.0.0",
|
|
35
29
|
"openid-client": "^6.8.4",
|
|
36
30
|
"zod": "^4.4.3",
|
|
37
|
-
"@alpic-ai/api": "0.0.0-dev.
|
|
31
|
+
"@alpic-ai/api": "0.0.0-dev.gc47cbb1"
|
|
38
32
|
},
|
|
39
33
|
"devDependencies": {
|
|
40
34
|
"@total-typescript/tsconfig": "^1.0.4",
|