@reopt-ai/workspace-sdk 0.1.0-rc.15 → 0.1.0-rc.16
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/CHANGELOG.md +10 -0
- package/dist/{client-BqdU2uJM.js → client-B6J76nIc.js} +3 -3
- package/dist/connect.js +2 -2
- package/dist/{errors-Cnh-XDtf.js → errors-CL71x7w_.js} +2 -2
- package/dist/index.js +3 -3
- package/dist/installation/index.js +1 -1
- package/dist/operator/index.d.ts +3 -1
- package/dist/operator/index.js +9 -1
- package/dist/{page-Ck2IVCQF.js → page-qbTOv_Mn.js} +3 -3
- package/dist/social/index.js +2 -2
- package/dist/{transport-C8zLAgkC.js → transport-DPO-gA7S.js} +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,16 @@ This project adheres to [Semantic Versioning](https://semver.org/).
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.1.0-rc.16] — 2026-11-22
|
|
11
|
+
|
|
12
|
+
Pre-release (`npm i @reopt-ai/workspace-sdk@next`).
|
|
13
|
+
|
|
14
|
+
### Security
|
|
15
|
+
|
|
16
|
+
- `/operator` — `evaluateOperator`·`requireOperator`가 **미래의 `auth_time`을 받지 않는다**(시계 오차 60초까지,
|
|
17
|
+
`AUTH_TIME_FUTURE_TOLERANCE_SECONDS`). 지금까지는 나이를 0으로 눌러 통과시켜, 먼 미래의 `auth_time`을 가진 토큰이
|
|
18
|
+
step-up 상한을 영원히 통과했다. 정상 토큰에서는 일어나지 않는 값이다.
|
|
19
|
+
|
|
10
20
|
## [0.1.0-rc.15] — 2026-11-22
|
|
11
21
|
|
|
12
22
|
Pre-release (`npm i @reopt-ai/workspace-sdk@next`). 깨지는 변경 없음(웹훅 등록의 scope 규칙이 서버에서 바뀐다 — 아래 Changed).
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as SDK_VERSION, n as PlatformApiError } from "./errors-
|
|
2
|
-
import { n as readPlatformFailure } from "./transport-
|
|
1
|
+
import { l as SDK_VERSION, n as PlatformApiError } from "./errors-CL71x7w_.js";
|
|
2
|
+
import { n as readPlatformFailure } from "./transport-DPO-gA7S.js";
|
|
3
3
|
import { resolvePlatformUrls } from "./urls.js";
|
|
4
4
|
import { o as readClientKeyRing } from "./keys--ef_VwZ-.js";
|
|
5
5
|
import { r as createMachineClient } from "./client-BLaFMBbS.js";
|
|
@@ -272,4 +272,4 @@ function createPlatformClient(config) {
|
|
|
272
272
|
|
|
273
273
|
//#endregion
|
|
274
274
|
export { createPlatformClient as n, createPlatformRequester as r, DEFAULT_PLATFORM_SCOPES as t };
|
|
275
|
-
//# sourceMappingURL=client-
|
|
275
|
+
//# sourceMappingURL=client-B6J76nIc.js.map
|
package/dist/connect.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as isPermissionDenied, c as isSignInRequired, i as isNotImplemented, n as PlatformApiError, o as isPlatformApiError, r as SDK_ERROR_CODES, s as isPlatformError, t as PLATFORM_ERROR_CODES } from "./errors-
|
|
1
|
+
import { a as isPermissionDenied, c as isSignInRequired, i as isNotImplemented, n as PlatformApiError, o as isPlatformApiError, r as SDK_ERROR_CODES, s as isPlatformError, t as PLATFORM_ERROR_CODES } from "./errors-CL71x7w_.js";
|
|
2
2
|
import { CONNECT_OPERATIONS, CONNECT_OPERATION_NAMES, CONNECT_SCOPES, WORKSPACE_PERMISSION_KEYS, can, canAll, canAny, canCall } from "./permissions.js";
|
|
3
3
|
import { mentionToken, splitMentions } from "./mentions.js";
|
|
4
|
-
import { _ as connectPostSummarySchema, a as connectEavRecordSchema, b as createConnectClient, c as connectFolderSchema, d as connectInquirySchema, f as connectMeSchema, g as connectPostSchema, h as connectPostGroupSchema, i as connectEavEntitySchema, l as connectFormSchema, m as connectPipelineSchema, n as listAll, o as connectFileSchema, p as connectMemberSchema, r as connectBrandSchema, s as connectFileUsageSchema, t as iterate, u as connectInquiryDetailSchema, v as connectPostTagSchema, y as connectTaskSchema } from "./page-
|
|
4
|
+
import { _ as connectPostSummarySchema, a as connectEavRecordSchema, b as createConnectClient, c as connectFolderSchema, d as connectInquirySchema, f as connectMeSchema, g as connectPostSchema, h as connectPostGroupSchema, i as connectEavEntitySchema, l as connectFormSchema, m as connectPipelineSchema, n as listAll, o as connectFileSchema, p as connectMemberSchema, r as connectBrandSchema, s as connectFileUsageSchema, t as iterate, u as connectInquiryDetailSchema, v as connectPostTagSchema, y as connectTaskSchema } from "./page-qbTOv_Mn.js";
|
|
5
5
|
|
|
6
6
|
export { CONNECT_OPERATIONS, CONNECT_OPERATION_NAMES, CONNECT_SCOPES, PLATFORM_ERROR_CODES, PlatformApiError, SDK_ERROR_CODES, WORKSPACE_PERMISSION_KEYS, can, canAll, canAny, canCall, connectBrandSchema, connectEavEntitySchema, connectEavRecordSchema, connectFileSchema, connectFileUsageSchema, connectFolderSchema, connectFormSchema, connectInquiryDetailSchema, connectInquirySchema, connectMeSchema, connectMemberSchema, connectPipelineSchema, connectPostGroupSchema, connectPostSchema, connectPostSummarySchema, connectPostTagSchema, connectTaskSchema, createConnectClient, isNotImplemented, isPermissionDenied, isPlatformApiError, isPlatformError, isSignInRequired, iterate, listAll, mentionToken, splitMentions };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//#region src/version.ts
|
|
2
2
|
/** 이 패키지(`@reopt-ai/workspace-sdk`)의 버전 — 빌드가 package.json에서 주입한다(미번들 실행은 `0.0.0-dev`). */
|
|
3
|
-
const SDK_VERSION = "0.1.0-rc.
|
|
3
|
+
const SDK_VERSION = "0.1.0-rc.16";
|
|
4
4
|
|
|
5
5
|
//#endregion
|
|
6
6
|
//#region src/workspace/errors.ts
|
|
@@ -120,4 +120,4 @@ function isPermissionDenied(error) {
|
|
|
120
120
|
|
|
121
121
|
//#endregion
|
|
122
122
|
export { isPermissionDenied as a, isSignInRequired as c, isNotImplemented as i, SDK_VERSION as l, PlatformApiError as n, isPlatformApiError as o, SDK_ERROR_CODES as r, isPlatformError as s, PLATFORM_ERROR_CODES as t };
|
|
123
|
-
//# sourceMappingURL=errors-
|
|
123
|
+
//# sourceMappingURL=errors-CL71x7w_.js.map
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as isPermissionDenied, c as isSignInRequired, i as isNotImplemented, n as PlatformApiError, o as isPlatformApiError, r as SDK_ERROR_CODES, s as isPlatformError, t as PLATFORM_ERROR_CODES } from "./errors-
|
|
1
|
+
import { a as isPermissionDenied, c as isSignInRequired, i as isNotImplemented, n as PlatformApiError, o as isPlatformApiError, r as SDK_ERROR_CODES, s as isPlatformError, t as PLATFORM_ERROR_CODES } from "./errors-CL71x7w_.js";
|
|
2
2
|
import { REOPT_PLATFORM_ID_URLS, REOPT_PLATFORM_URLS, resolvePlatformUrls } from "./urls.js";
|
|
3
3
|
import { $ as platformWebhookSchema, A as platformMeSchema, B as platformPublishedPostDetailQuerySchema, C as platformEavSchemaApplyInputSchema, D as platformExternalIdSchema, E as platformErrorSchema, F as platformPipelineResourceSchema, G as platformResourceKeySchema, H as platformPublishedPostPageSchema, I as platformPipelineSchema, J as platformTaskSchema, K as platformResourcesSchema, L as platformPipelineStageInputSchema, M as platformOAuthClientResourceSchema, N as platformOAuthClientUpsertInputSchema, O as platformLockAcquiredSchema, P as platformPipelineImportInputSchema, Q as platformWebhookResourceSchema, R as platformPipelineUpsertInputSchema, S as platformEavEntityResourceSchema, T as platformEavSchemaOperationSchema, U as platformPublishedPostSchema, V as platformPublishedPostListQuerySchema, W as platformPublishedPostSummarySchema, X as platformTaskStageSchema, Y as platformTaskStageInputSchema, Z as platformTaskUpsertInputSchema, _ as platformBrandUpsertInputSchema, a as PLATFORM_MANAGED_BY_VALUES, b as platformCustomerUpsertInputSchema, c as PLATFORM_OAUTH_GRANT_TYPES, d as PLATFORM_TASK_PRIORITIES, et as platformWebhookUpsertInputSchema, f as PLATFORM_TOKEN_ENDPOINT_AUTH_METHODS, g as platformBrandResourceSchema, h as platformBrandImportInputSchema, i as PLATFORM_EAV_DATA_TYPES, j as platformOAuthClientImportInputSchema, k as platformLockReleasedSchema, l as PLATFORM_STAGE_COLORS, m as PLATFORM_WEBHOOK_TRIGGER_SCOPES, n as PLATFORM_BRANDAPP_STATUSES, nt as platformWriteMetaSchema, o as PLATFORM_OAUTH_APPLICATION_TYPES, p as PLATFORM_WEBHOOK_TRIGGERS, q as platformResourcesV2Schema, r as PLATFORM_DOMAIN_STATUSES, s as PLATFORM_OAUTH_CLIENT_PURPOSES, t as PLATFORM_ADMIN_SCOPE, tt as platformWorkTaskStageChangedEventSchema, u as PLATFORM_TASK_OUTCOMES, v as platformBrandappResourceSchema, w as platformEavSchemaApplyResultSchema, x as platformEavBrandappResourcesSchema, y as platformBrandappUpsertInputSchema, z as platformPostsChangedEventSchema } from "./schemas-BBUKRn_G.js";
|
|
4
|
-
import { n as createPlatformClient, t as DEFAULT_PLATFORM_SCOPES } from "./client-
|
|
4
|
+
import { n as createPlatformClient, t as DEFAULT_PLATFORM_SCOPES } from "./client-B6J76nIc.js";
|
|
5
5
|
import { CONNECT_OPERATIONS, CONNECT_OPERATION_NAMES, CONNECT_SCOPES, WORKSPACE_PERMISSION_KEYS, can, canAll, canAny, canCall } from "./permissions.js";
|
|
6
6
|
import { mentionToken, splitMentions } from "./mentions.js";
|
|
7
|
-
import { _ as connectPostSummarySchema, a as connectEavRecordSchema, b as createConnectClient, c as connectFolderSchema, d as connectInquirySchema, f as connectMeSchema, g as connectPostSchema, h as connectPostGroupSchema, i as connectEavEntitySchema, l as connectFormSchema, m as connectPipelineSchema, n as listAll, o as connectFileSchema, p as connectMemberSchema, r as connectBrandSchema, s as connectFileUsageSchema, t as iterate, u as connectInquiryDetailSchema, v as connectPostTagSchema, y as connectTaskSchema } from "./page-
|
|
7
|
+
import { _ as connectPostSummarySchema, a as connectEavRecordSchema, b as createConnectClient, c as connectFolderSchema, d as connectInquirySchema, f as connectMeSchema, g as connectPostSchema, h as connectPostGroupSchema, i as connectEavEntitySchema, l as connectFormSchema, m as connectPipelineSchema, n as listAll, o as connectFileSchema, p as connectMemberSchema, r as connectBrandSchema, s as connectFileUsageSchema, t as iterate, u as connectInquiryDetailSchema, v as connectPostTagSchema, y as connectTaskSchema } from "./page-qbTOv_Mn.js";
|
|
8
8
|
|
|
9
9
|
export { CONNECT_OPERATIONS, CONNECT_OPERATION_NAMES, CONNECT_SCOPES, DEFAULT_PLATFORM_SCOPES, PLATFORM_ADMIN_SCOPE, PLATFORM_BRANDAPP_STATUSES, PLATFORM_DOMAIN_STATUSES, PLATFORM_EAV_DATA_TYPES, PLATFORM_ERROR_CODES, PLATFORM_MANAGED_BY_VALUES, PLATFORM_OAUTH_APPLICATION_TYPES, PLATFORM_OAUTH_CLIENT_PURPOSES, PLATFORM_OAUTH_GRANT_TYPES, PLATFORM_STAGE_COLORS, PLATFORM_TASK_OUTCOMES, PLATFORM_TASK_PRIORITIES, PLATFORM_TOKEN_ENDPOINT_AUTH_METHODS, PLATFORM_WEBHOOK_TRIGGERS, PLATFORM_WEBHOOK_TRIGGER_SCOPES, PlatformApiError, REOPT_PLATFORM_ID_URLS, REOPT_PLATFORM_URLS, SDK_ERROR_CODES, WORKSPACE_PERMISSION_KEYS, can, canAll, canAny, canCall, connectBrandSchema, connectEavEntitySchema, connectEavRecordSchema, connectFileSchema, connectFileUsageSchema, connectFolderSchema, connectFormSchema, connectInquiryDetailSchema, connectInquirySchema, connectMeSchema, connectMemberSchema, connectPipelineSchema, connectPostGroupSchema, connectPostSchema, connectPostSummarySchema, connectPostTagSchema, connectTaskSchema, createConnectClient, createPlatformClient, isNotImplemented, isPermissionDenied, isPlatformApiError, isPlatformError, isSignInRequired, iterate, listAll, mentionToken, platformBrandImportInputSchema, platformBrandResourceSchema, platformBrandUpsertInputSchema, platformBrandappResourceSchema, platformBrandappUpsertInputSchema, platformCustomerUpsertInputSchema, platformEavBrandappResourcesSchema, platformEavEntityResourceSchema, platformEavSchemaApplyInputSchema, platformEavSchemaApplyResultSchema, platformEavSchemaOperationSchema, platformErrorSchema, platformExternalIdSchema, platformLockAcquiredSchema, platformLockReleasedSchema, platformMeSchema, platformOAuthClientImportInputSchema, platformOAuthClientResourceSchema, platformOAuthClientUpsertInputSchema, platformPipelineImportInputSchema, platformPipelineResourceSchema, platformPipelineSchema, platformPipelineStageInputSchema, platformPipelineUpsertInputSchema, platformPostsChangedEventSchema, platformPublishedPostDetailQuerySchema, platformPublishedPostListQuerySchema, platformPublishedPostPageSchema, platformPublishedPostSchema, platformPublishedPostSummarySchema, platformResourceKeySchema, platformResourcesSchema, platformResourcesV2Schema, platformTaskSchema, platformTaskStageInputSchema, platformTaskStageSchema, platformTaskUpsertInputSchema, platformWebhookResourceSchema, platformWebhookSchema, platformWebhookUpsertInputSchema, platformWorkTaskStageChangedEventSchema, platformWriteMetaSchema, resolvePlatformUrls, splitMentions };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as SDK_VERSION, n as PlatformApiError } from "../errors-
|
|
1
|
+
import { l as SDK_VERSION, n as PlatformApiError } from "../errors-CL71x7w_.js";
|
|
2
2
|
import { resolvePlatformUrls } from "../urls.js";
|
|
3
3
|
import { o as readClientKeyRing } from "../keys--ef_VwZ-.js";
|
|
4
4
|
import { r as createMachineClient } from "../client-BLaFMBbS.js";
|
package/dist/operator/index.d.ts
CHANGED
|
@@ -59,6 +59,8 @@ type EvaluateOperatorResult = {
|
|
|
59
59
|
message: string;
|
|
60
60
|
maxAuthAgeSeconds?: number;
|
|
61
61
|
};
|
|
62
|
+
/** 리옵트(id)와 이 앱의 시계 오차로 볼 수 있는 한도 — `auth_time`이 이보다 더 미래면 받지 않는다. */
|
|
63
|
+
declare const AUTH_TIME_FUTURE_TOLERANCE_SECONDS = 60;
|
|
62
64
|
/** 순수 판정 — 던지지 않는다. 가드·화면·테스트가 같은 답을 낸다. */
|
|
63
65
|
declare function evaluateOperator(claims: OperatorClaims | null | undefined, options?: EvaluateOperatorOptions): EvaluateOperatorResult;
|
|
64
66
|
/** 가드 — 통과하면 운영자, 아니면 `OperatorAccessError`. */
|
|
@@ -83,5 +85,5 @@ declare function stepUpAuthorizationParams(maxAgeSeconds?: number): {
|
|
|
83
85
|
/** 운영자 거절 화면 문구 — 서브 제품이 같은 말을 쓰게(§5.2 "운영자가 아닙니다"는 명단 화면 링크를 준다). */
|
|
84
86
|
declare const OPERATOR_ACCESS_MESSAGES: Record<OperatorAccessErrorCode, string>;
|
|
85
87
|
//#endregion
|
|
86
|
-
export { DEFAULT_OPERATOR_MAX_AUTH_AGE_SECONDS, EvaluateOperatorOptions, EvaluateOperatorResult, OPERATOR_ACCESS_ERROR_CODES, OPERATOR_ACCESS_MESSAGES, OPERATOR_MFA_METHODS, OperatorAccessError, OperatorAccessErrorCode, OperatorClaims, OperatorMfaMethod, OperatorPrincipal, REOPT_PROVIDER_ID, REOPT_PROVIDER_IDS, REOPT_STEP_UP_PROVIDER_ID, STEP_UP_MAX_AUTH_AGE_SECONDS, decodeIdTokenClaims, evaluateOperator, isOperatorAccessError, latestReoptAccount, requireOperator, stepUpAuthorizationParams };
|
|
88
|
+
export { AUTH_TIME_FUTURE_TOLERANCE_SECONDS, DEFAULT_OPERATOR_MAX_AUTH_AGE_SECONDS, EvaluateOperatorOptions, EvaluateOperatorResult, OPERATOR_ACCESS_ERROR_CODES, OPERATOR_ACCESS_MESSAGES, OPERATOR_MFA_METHODS, OperatorAccessError, OperatorAccessErrorCode, OperatorClaims, OperatorMfaMethod, OperatorPrincipal, REOPT_PROVIDER_ID, REOPT_PROVIDER_IDS, REOPT_STEP_UP_PROVIDER_ID, STEP_UP_MAX_AUTH_AGE_SECONDS, decodeIdTokenClaims, evaluateOperator, isOperatorAccessError, latestReoptAccount, requireOperator, stepUpAuthorizationParams };
|
|
87
89
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/operator/index.js
CHANGED
|
@@ -60,6 +60,8 @@ const DEFAULT_OPERATOR_MAX_AUTH_AGE_SECONDS = 3600;
|
|
|
60
60
|
function isMfaMethod(value) {
|
|
61
61
|
return typeof value === "string" && OPERATOR_MFA_METHODS.includes(value);
|
|
62
62
|
}
|
|
63
|
+
/** 리옵트(id)와 이 앱의 시계 오차로 볼 수 있는 한도 — `auth_time`이 이보다 더 미래면 받지 않는다. */
|
|
64
|
+
const AUTH_TIME_FUTURE_TOLERANCE_SECONDS = 60;
|
|
63
65
|
/** 순수 판정 — 던지지 않는다. 가드·화면·테스트가 같은 답을 낸다. */
|
|
64
66
|
function evaluateOperator(claims, options = {}) {
|
|
65
67
|
const maxAuthAgeSeconds = options.maxAuthAgeSeconds ?? 3600;
|
|
@@ -86,6 +88,12 @@ function evaluateOperator(claims, options = {}) {
|
|
|
86
88
|
maxAuthAgeSeconds
|
|
87
89
|
};
|
|
88
90
|
const nowSeconds = Math.floor((options.now?.() ?? /* @__PURE__ */ new Date()).getTime() / 1e3);
|
|
91
|
+
if (authTime - nowSeconds > 60) return {
|
|
92
|
+
ok: false,
|
|
93
|
+
code: "reauth_required",
|
|
94
|
+
message: "The login time is in the future — sign in again",
|
|
95
|
+
maxAuthAgeSeconds
|
|
96
|
+
};
|
|
89
97
|
const authAgeSeconds = Math.max(0, nowSeconds - authTime);
|
|
90
98
|
if (authAgeSeconds > maxAuthAgeSeconds) return {
|
|
91
99
|
ok: false,
|
|
@@ -154,5 +162,5 @@ const OPERATOR_ACCESS_MESSAGES = {
|
|
|
154
162
|
};
|
|
155
163
|
|
|
156
164
|
//#endregion
|
|
157
|
-
export { DEFAULT_OPERATOR_MAX_AUTH_AGE_SECONDS, OPERATOR_ACCESS_ERROR_CODES, OPERATOR_ACCESS_MESSAGES, OPERATOR_MFA_METHODS, OperatorAccessError, REOPT_PROVIDER_ID, REOPT_PROVIDER_IDS, REOPT_STEP_UP_PROVIDER_ID, STEP_UP_MAX_AUTH_AGE_SECONDS, decodeIdTokenClaims, evaluateOperator, isOperatorAccessError, latestReoptAccount, requireOperator, stepUpAuthorizationParams };
|
|
165
|
+
export { AUTH_TIME_FUTURE_TOLERANCE_SECONDS, DEFAULT_OPERATOR_MAX_AUTH_AGE_SECONDS, OPERATOR_ACCESS_ERROR_CODES, OPERATOR_ACCESS_MESSAGES, OPERATOR_MFA_METHODS, OperatorAccessError, REOPT_PROVIDER_ID, REOPT_PROVIDER_IDS, REOPT_STEP_UP_PROVIDER_ID, STEP_UP_MAX_AUTH_AGE_SECONDS, decodeIdTokenClaims, evaluateOperator, isOperatorAccessError, latestReoptAccount, requireOperator, stepUpAuthorizationParams };
|
|
158
166
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as PlatformApiError } from "./errors-
|
|
2
|
-
import { t as createTransport } from "./transport-
|
|
1
|
+
import { n as PlatformApiError } from "./errors-CL71x7w_.js";
|
|
2
|
+
import { t as createTransport } from "./transport-DPO-gA7S.js";
|
|
3
3
|
import { resolvePlatformUrls } from "./urls.js";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
@@ -693,4 +693,4 @@ async function listAll(fetchPage, query, options = {}) {
|
|
|
693
693
|
|
|
694
694
|
//#endregion
|
|
695
695
|
export { connectPostSummarySchema as _, connectEavRecordSchema as a, createConnectClient as b, connectFolderSchema as c, connectInquirySchema as d, connectMeSchema as f, connectPostSchema as g, connectPostGroupSchema as h, connectEavEntitySchema as i, connectFormSchema as l, connectPipelineSchema as m, listAll as n, connectFileSchema as o, connectMemberSchema as p, connectBrandSchema as r, connectFileUsageSchema as s, iterate as t, connectInquiryDetailSchema as u, connectPostTagSchema as v, connectTaskSchema as y };
|
|
696
|
-
//# sourceMappingURL=page-
|
|
696
|
+
//# sourceMappingURL=page-qbTOv_Mn.js.map
|
package/dist/social/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as PlatformApiError } from "../errors-
|
|
1
|
+
import { n as PlatformApiError } from "../errors-CL71x7w_.js";
|
|
2
2
|
import { REOPT_PLATFORM_ID_URLS, REOPT_PLATFORM_URLS, resolvePlatformUrls } from "../urls.js";
|
|
3
|
-
import { r as createPlatformRequester } from "../client-
|
|
3
|
+
import { r as createPlatformRequester } from "../client-B6J76nIc.js";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/social/schemas.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as SDK_VERSION, n as PlatformApiError } from "./errors-
|
|
1
|
+
import { l as SDK_VERSION, n as PlatformApiError } from "./errors-CL71x7w_.js";
|
|
2
2
|
|
|
3
3
|
//#region src/workspace/transport.ts
|
|
4
4
|
function parseRetryAfter(value) {
|
|
@@ -189,4 +189,4 @@ function createTransport(config) {
|
|
|
189
189
|
|
|
190
190
|
//#endregion
|
|
191
191
|
export { readPlatformFailure as n, createTransport as t };
|
|
192
|
-
//# sourceMappingURL=transport-
|
|
192
|
+
//# sourceMappingURL=transport-DPO-gA7S.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reopt-ai/workspace-sdk",
|
|
3
|
-
"version": "0.1.0-rc.
|
|
3
|
+
"version": "0.1.0-rc.16",
|
|
4
4
|
"description": "Reopt workspace SDK — platform API, delegated (connect) access, machine credentials and installations for workspace apps",
|
|
5
5
|
"author": "Reopt",
|
|
6
6
|
"license": "MIT",
|