xapi-to 0.1.21 → 0.1.22
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 +123 -1
- package/dist/{chunk-UEQCIJ7T.js → chunk-2YRWNREY.js} +2 -2
- package/dist/index.js +475 -33
- package/dist/openai-sandbox-client.js +1 -1
- package/examples/openai-gpt-live-text.mjs +128 -0
- package/examples/provider/openapi.json +34 -0
- package/package.json +1 -1
- package/skills/xapi/SKILL.md +42 -193
- package/skills/xapi/guides/binance_web3.md +210 -0
- package/skills/xapi/guides/blockpi.md +112 -0
- package/skills/xapi/guides/domains.md +189 -0
- package/skills/xapi/guides/provider.md +30 -0
- package/skills/xapi/guides/ws_gateway.md +64 -4
- package/src/client.ts +6 -2
package/src/client.ts
CHANGED
|
@@ -683,7 +683,11 @@ export async function initiateOAuth(
|
|
|
683
683
|
);
|
|
684
684
|
}
|
|
685
685
|
|
|
686
|
-
export async function listOAuthBindings(
|
|
686
|
+
export async function listOAuthBindings(
|
|
687
|
+
jwtToken: string,
|
|
688
|
+
apiHost: string,
|
|
689
|
+
signal?: AbortSignal,
|
|
690
|
+
) {
|
|
687
691
|
return request<Array<{
|
|
688
692
|
id: string;
|
|
689
693
|
apiKeyId: string;
|
|
@@ -696,7 +700,7 @@ export async function listOAuthBindings(jwtToken: string, apiHost: string) {
|
|
|
696
700
|
provider: { id: string; name: string; type: string };
|
|
697
701
|
}>>(
|
|
698
702
|
`${scheme(apiHost)}://${apiHost}/api/oauth/bindings`,
|
|
699
|
-
{ method: 'GET', headers: jwtHeaders(jwtToken) },
|
|
703
|
+
{ method: 'GET', headers: jwtHeaders(jwtToken), signal },
|
|
700
704
|
DEFAULT_TIMEOUT_MS,
|
|
701
705
|
IDEMPOTENT_RETRIES,
|
|
702
706
|
);
|