@open-connector/sdk 1.0.3 → 1.1.0
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-DikdPFcg.d.cts → index-BHcDR6hz.d.cts} +11 -1
- package/dist/{index-DikdPFcg.d.cts.map → index-BHcDR6hz.d.cts.map} +1 -1
- package/dist/{index-DPfKCE-d.d.ts → index-BuOGCASE.d.ts} +11 -1
- package/dist/{index-DPfKCE-d.d.ts.map → index-BuOGCASE.d.ts.map} +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/testing.d.cts +1 -1
- package/dist/testing.d.ts +1 -1
- package/package.json +3 -3
|
@@ -590,6 +590,11 @@ declare const nativeContract: {
|
|
|
590
590
|
displayName: import("zod").ZodString;
|
|
591
591
|
kind: import("zod").ZodString;
|
|
592
592
|
status: import("zod").ZodLiteral<"available">;
|
|
593
|
+
connectionMode: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
594
|
+
oauth_redirect: "oauth_redirect";
|
|
595
|
+
client_credentials: "client_credentials";
|
|
596
|
+
credential_submit: "credential_submit";
|
|
597
|
+
}>>;
|
|
593
598
|
}, import("zod/v4/core").$strip>>;
|
|
594
599
|
noAuth: import("zod").ZodBoolean;
|
|
595
600
|
scopes: import("zod").ZodArray<import("zod").ZodString>;
|
|
@@ -629,6 +634,11 @@ declare const nativeContract: {
|
|
|
629
634
|
displayName: import("zod").ZodString;
|
|
630
635
|
kind: import("zod").ZodString;
|
|
631
636
|
status: import("zod").ZodLiteral<"available">;
|
|
637
|
+
connectionMode: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
638
|
+
oauth_redirect: "oauth_redirect";
|
|
639
|
+
client_credentials: "client_credentials";
|
|
640
|
+
credential_submit: "credential_submit";
|
|
641
|
+
}>>;
|
|
632
642
|
}, import("zod/v4/core").$strip>>;
|
|
633
643
|
noAuth: import("zod").ZodBoolean;
|
|
634
644
|
scopes: import("zod").ZodArray<import("zod").ZodString>;
|
|
@@ -1494,4 +1504,4 @@ interface ConnectResult {
|
|
|
1494
1504
|
declare function connectOAuth(client: ConnectClient, opts: ConnectOAuthOptions): Promise<ConnectResult>;
|
|
1495
1505
|
//#endregion
|
|
1496
1506
|
export { connectError as a, ClientOptions as c, resolveRpcUrl as d, WaitOptions as i, OpenConnectorClient as l, ConnectOAuthOptions as n, connectOAuth as o, ConnectResult as r, waitForConnection as s, ConnectErrorReason as t, createClient as u };
|
|
1497
|
-
//# sourceMappingURL=index-
|
|
1507
|
+
//# sourceMappingURL=index-BHcDR6hz.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-BHcDR6hz.d.cts","names":[],"sources":["../../authorization/src/lib/catalog.ts","../../authorization/src/lib/requirements.ts","../../api-contracts/src/lib/native/index.ts","../src/client.ts","../src/connect.ts"],"mappings":";;;;cAEa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA8JD,kCAAkC;KAClC,iBAAiB,UAAU,oCACvB,oBAAoB;KACxB,sBACT,KAAK,wBAAwB,KAAK,iBAAiB,QACpD;;;KCnKU;KAEA;WACD;WACA;;KAGC;WACD;WACA,sBAAsB;WACtB,QAAQ;;KAGP;WACD;WACA;WACA,QAAQ;;KAGP;WACD;WACA;WACA,QAAQ;;KAGP,uBACR,6BACA,gCACA,+BACA;UA8Ba;WACN,eAAe;;;;cCrBb;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAsCD,wBAAwB;;;;;;;;KCrExB,sBAAsB,qBAAqB;UAE7C;;EAER;;EAEA,eAAe;;KAGL,gBAAgB;;EAIpB;EACA;EACA;EACA;;EAGA;;EAEA,sCAAsC;;EAEtC;;EAEA;;;;iBAMQ,cAAc;;iBAKd,aAAa,MAAM,gBAAgB;;;KCvCvC;;iBAGI,aAAa,QAAQ,oBAAoB,kBAAkB;UAgB1D;;EAEf;;EAEA;;EAEA;EACA,SAAS,eAAe;;KAKrB,gBAAgB,KAAK;;;;;;iBASJ,kBACpB,QAAQ,eACR,sBACA,OAAM,cACL;EAAU;EAAsB;;UAuBlB,4BAA4B;EAC3C;EACA;EACA;;EAEA;EACA;;EAEA,cAAc;;EAEd;;UAGe;EACf;EACA;EACA;;;;;;;;iBASoB,aACpB,QAAQ,eACR,MAAM,sBACL,QAAQ"}
|
|
@@ -590,6 +590,11 @@ declare const nativeContract: {
|
|
|
590
590
|
displayName: import("zod").ZodString;
|
|
591
591
|
kind: import("zod").ZodString;
|
|
592
592
|
status: import("zod").ZodLiteral<"available">;
|
|
593
|
+
connectionMode: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
594
|
+
oauth_redirect: "oauth_redirect";
|
|
595
|
+
client_credentials: "client_credentials";
|
|
596
|
+
credential_submit: "credential_submit";
|
|
597
|
+
}>>;
|
|
593
598
|
}, import("zod/v4/core").$strip>>;
|
|
594
599
|
noAuth: import("zod").ZodBoolean;
|
|
595
600
|
scopes: import("zod").ZodArray<import("zod").ZodString>;
|
|
@@ -629,6 +634,11 @@ declare const nativeContract: {
|
|
|
629
634
|
displayName: import("zod").ZodString;
|
|
630
635
|
kind: import("zod").ZodString;
|
|
631
636
|
status: import("zod").ZodLiteral<"available">;
|
|
637
|
+
connectionMode: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
638
|
+
oauth_redirect: "oauth_redirect";
|
|
639
|
+
client_credentials: "client_credentials";
|
|
640
|
+
credential_submit: "credential_submit";
|
|
641
|
+
}>>;
|
|
632
642
|
}, import("zod/v4/core").$strip>>;
|
|
633
643
|
noAuth: import("zod").ZodBoolean;
|
|
634
644
|
scopes: import("zod").ZodArray<import("zod").ZodString>;
|
|
@@ -1494,4 +1504,4 @@ interface ConnectResult {
|
|
|
1494
1504
|
declare function connectOAuth(client: ConnectClient, opts: ConnectOAuthOptions): Promise<ConnectResult>;
|
|
1495
1505
|
//#endregion
|
|
1496
1506
|
export { connectError as a, ClientOptions as c, resolveRpcUrl as d, WaitOptions as i, OpenConnectorClient as l, ConnectOAuthOptions as n, connectOAuth as o, ConnectResult as r, waitForConnection as s, ConnectErrorReason as t, createClient as u };
|
|
1497
|
-
//# sourceMappingURL=index-
|
|
1507
|
+
//# sourceMappingURL=index-BuOGCASE.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-BuOGCASE.d.ts","names":[],"sources":["../../authorization/src/lib/catalog.ts","../../authorization/src/lib/requirements.ts","../../api-contracts/src/lib/native/index.ts","../src/client.ts","../src/connect.ts"],"mappings":";;;;cAEa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA8JD,kCAAkC;KAClC,iBAAiB,UAAU,oCACvB,oBAAoB;KACxB,sBACT,KAAK,wBAAwB,KAAK,iBAAiB,QACpD;;;KCnKU;KAEA;WACD;WACA;;KAGC;WACD;WACA,sBAAsB;WACtB,QAAQ;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAsCD,wBAAwB;;;;;;;;KCrExB,sBAAsB,qBAAqB;UAE7C;;EAER;;EAEA,eAAe;;KAGL,gBAAgB;;EAIpB;EACA;EACA;EACA;;EAGA;;EAEA,sCAAsC;;EAEtC;;EAEA;;;;iBAMQ,cAAc;;iBAKd,aAAa,MAAM,gBAAgB;;;KCvCvC;;iBAGI,aAAa,QAAQ,oBAAoB,kBAAkB;UAgB1D;;EAEf;;EAEA;;EAEA;EACA,SAAS,eAAe;;KAKrB,gBAAgB,KAAK;;;;;;iBASJ,kBACpB,QAAQ,eACR,sBACA,OAAM,cACL;EAAU;EAAsB;;UAuBlB,4BAA4B;EAC3C;EACA;EACA;;EAEA;EACA;;EAEA,cAAc;;EAEd;;UAGe;EACf;EACA;EACA;;;;;;;;iBASoB,aACpB,QAAQ,eACR,MAAM,sBACL,QAAQ"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as ClientOptions, i as WaitOptions, l as OpenConnectorClient, n as ConnectOAuthOptions, o as connectOAuth, r as ConnectResult, s as waitForConnection, u as createClient } from "./index-
|
|
1
|
+
import { c as ClientOptions, i as WaitOptions, l as OpenConnectorClient, n as ConnectOAuthOptions, o as connectOAuth, r as ConnectResult, s as waitForConnection, u as createClient } from "./index-BHcDR6hz.cjs";
|
|
2
2
|
export { type ClientOptions, type ConnectOAuthOptions, type ConnectResult, type OpenConnectorClient, type WaitOptions, connectOAuth, createClient, waitForConnection };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as ClientOptions, i as WaitOptions, l as OpenConnectorClient, n as ConnectOAuthOptions, o as connectOAuth, r as ConnectResult, s as waitForConnection, u as createClient } from "./index-
|
|
1
|
+
import { c as ClientOptions, i as WaitOptions, l as OpenConnectorClient, n as ConnectOAuthOptions, o as connectOAuth, r as ConnectResult, s as waitForConnection, u as createClient } from "./index-BuOGCASE.js";
|
|
2
2
|
export { type ClientOptions, type ConnectOAuthOptions, type ConnectResult, type OpenConnectorClient, type WaitOptions, connectOAuth, createClient, waitForConnection };
|
package/dist/testing.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as connectError, c as ClientOptions, d as resolveRpcUrl, i as WaitOptions, l as OpenConnectorClient, n as ConnectOAuthOptions, o as connectOAuth, r as ConnectResult, s as waitForConnection, t as ConnectErrorReason, u as createClient } from "./index-
|
|
1
|
+
import { a as connectError, c as ClientOptions, d as resolveRpcUrl, i as WaitOptions, l as OpenConnectorClient, n as ConnectOAuthOptions, o as connectOAuth, r as ConnectResult, s as waitForConnection, t as ConnectErrorReason, u as createClient } from "./index-BHcDR6hz.cjs";
|
|
2
2
|
export { type ClientOptions, type ConnectErrorReason, type ConnectOAuthOptions, type ConnectResult, type OpenConnectorClient, type WaitOptions, connectError, connectOAuth, createClient, resolveRpcUrl, waitForConnection };
|
package/dist/testing.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as connectError, c as ClientOptions, d as resolveRpcUrl, i as WaitOptions, l as OpenConnectorClient, n as ConnectOAuthOptions, o as connectOAuth, r as ConnectResult, s as waitForConnection, t as ConnectErrorReason, u as createClient } from "./index-
|
|
1
|
+
import { a as connectError, c as ClientOptions, d as resolveRpcUrl, i as WaitOptions, l as OpenConnectorClient, n as ConnectOAuthOptions, o as connectOAuth, r as ConnectResult, s as waitForConnection, t as ConnectErrorReason, u as createClient } from "./index-BuOGCASE.js";
|
|
2
2
|
export { type ClientOptions, type ConnectErrorReason, type ConnectOAuthOptions, type ConnectResult, type OpenConnectorClient, type WaitOptions, connectError, connectOAuth, createClient, resolveRpcUrl, waitForConnection };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-connector/sdk",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Typed TypeScript SDK for the native Open Connector API",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"repository": {
|
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
"vite": "npm:@voidzero-dev/vite-plus-core@0.3.0",
|
|
63
63
|
"vite-plus": "0.3.0",
|
|
64
64
|
"vitest": "4.1.11",
|
|
65
|
-
"@open-connector/
|
|
66
|
-
"@open-connector/
|
|
65
|
+
"@open-connector/config": "0.0.0",
|
|
66
|
+
"@open-connector/api-contracts": "0.0.0"
|
|
67
67
|
},
|
|
68
68
|
"engines": {
|
|
69
69
|
"node": ">=20"
|