@reopt-ai/brandapp-sdk 4.7.0-rc.16 → 4.7.0-rc.17

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 CHANGED
@@ -7,6 +7,12 @@ This project adheres to [Semantic Versioning](https://semver.org/).
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [4.7.0-rc.17] — 2026-11-20
11
+
12
+ Pre-release (`npm i @reopt-ai/brandapp-sdk@next`) — `@reopt-ai/workspace-sdk@0.1.0-rc.1`을 싣는다. 옛 서브패스
13
+ (`/workspace`·`/installation` 등)로도 새 기능이 보인다: `connection.registerKeys()`(설치 단언으로 공개키 등록 요청)·
14
+ `connect.eav.*`·`PLATFORM_EAV_DATA_TYPES`, EAV 속성 연산의 `dataType`·`label` 검사. 상세는 workspace-sdk CHANGELOG.
15
+
10
16
  ## [4.7.0-rc.16] — 2026-11-20
11
17
 
12
18
  Pre-release (`npm i @reopt-ai/brandapp-sdk@next`) — 플랫폼 계층을 `@reopt-ai/workspace-sdk@0.1.0-rc.0`으로 분리하고,
package/dist/ai/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { S as ReoptSDKError } from "../config-CjwPB89K.js";
2
- import { n as createReoptAiClient, t as ReoptAiClient } from "../client-D5ZVsy8Y.js";
1
+ import { S as ReoptSDKError } from "../config-Dz4Qk5qN.js";
2
+ import { n as createReoptAiClient, t as ReoptAiClient } from "../client-CVeE_j0G.js";
3
3
 
4
4
  //#region src/ai/evaluator.ts
5
5
  function createBrandappEvaluator(source, options = {}) {
@@ -1,4 +1,4 @@
1
- import { i as resolveBaseUrl, j as mapHttpStatusToError, n as SDK_VERSION, o as validateConfig, r as assertBrowserSafe } from "../config-CjwPB89K.js";
1
+ import { i as resolveBaseUrl, j as mapHttpStatusToError, n as SDK_VERSION, o as validateConfig, r as assertBrowserSafe } from "../config-Dz4Qk5qN.js";
2
2
  import { t as createManagedAbort } from "../abort--nOBFN4M.js";
3
3
  import { t as createAuthHeader } from "../encoding-Bwfm3iaE.js";
4
4
  import { t as createSSELineProcessor } from "../sse-parser-D65dmL4A.js";
@@ -1,4 +1,4 @@
1
- import { n as createReoptAnalyticsClient, t as ReoptAnalyticsClient } from "../client-lHWyhnKI.js";
1
+ import { n as createReoptAnalyticsClient, t as ReoptAnalyticsClient } from "../client-CeyTfrL7.js";
2
2
  import { getInstance, identify, init, pageView, setConsent, track } from "@reopt-ai/data-sdk";
3
3
 
4
4
  //#region src/analytics/browser.ts
@@ -1,4 +1,4 @@
1
- import { n as createReoptAuthClient, t as ReoptAuthClient } from "../client-DU8XR4_z.js";
1
+ import { n as createReoptAuthClient, t as ReoptAuthClient } from "../client-60obCSiP.js";
2
2
 
3
3
  //#region src/auth/session.ts
4
4
  /**
@@ -1,5 +1,5 @@
1
- import { O as isReoptSDKError, S as ReoptSDKError, a as resolveIdBaseUrl, s as AuthError, t as REOPT_BASE_URLS, w as ServerError, x as RateLimitError } from "../config-CjwPB89K.js";
2
- import { t as BaseHttpClient } from "../http-client-he14vKAL.js";
1
+ import { O as isReoptSDKError, S as ReoptSDKError, a as resolveIdBaseUrl, s as AuthError, t as REOPT_BASE_URLS, w as ServerError, x as RateLimitError } from "../config-Dz4Qk5qN.js";
2
+ import { t as BaseHttpClient } from "../http-client-BqV3EwdH.js";
3
3
  import { a as STEP_UP_MAX_AUTH_AGE_SECONDS, i as REOPT_STEP_UP_PROVIDER_ID, n as REOPT_PROVIDER_ID, r as REOPT_PROVIDER_IDS, t as REOPT_DEFAULT_SCOPES } from "../types-DGAVaUCc.js";
4
4
  import { createAdapterFactory } from "better-auth/adapters";
5
5
  import { createPrivateKeyJwtClientAssertionGetter } from "@better-auth/core/oauth2";
@@ -1,6 +1,6 @@
1
- import { S as ReoptSDKError, j as mapHttpStatusToError, n as SDK_VERSION, o as validateConfig } from "./config-CjwPB89K.js";
1
+ import { S as ReoptSDKError, j as mapHttpStatusToError, n as SDK_VERSION, o as validateConfig } from "./config-Dz4Qk5qN.js";
2
2
  import { t as createManagedAbort } from "./abort--nOBFN4M.js";
3
- import { n as parseFieldErrors, t as BaseHttpClient } from "./http-client-he14vKAL.js";
3
+ import { n as parseFieldErrors, t as BaseHttpClient } from "./http-client-BqV3EwdH.js";
4
4
 
5
5
  //#region src/files/client.ts
6
6
  var ReoptFileClient = class {
@@ -276,4 +276,4 @@ function createReoptFileClient(config) {
276
276
 
277
277
  //#endregion
278
278
  export { createReoptFileClient as n, ReoptFileClient as t };
279
- //# sourceMappingURL=client-CZe_S1HM.js.map
279
+ //# sourceMappingURL=client-0WbiigTy.js.map
@@ -1,4 +1,4 @@
1
- import { t as BaseHttpClient } from "./http-client-he14vKAL.js";
1
+ import { t as BaseHttpClient } from "./http-client-BqV3EwdH.js";
2
2
 
3
3
  //#region src/auth/client.ts
4
4
  function unwrap(body) {
@@ -50,4 +50,4 @@ function createReoptAuthClient(config) {
50
50
 
51
51
  //#endregion
52
52
  export { createReoptAuthClient as n, ReoptAuthClient as t };
53
- //# sourceMappingURL=client-DU8XR4_z.js.map
53
+ //# sourceMappingURL=client-60obCSiP.js.map
@@ -1,4 +1,4 @@
1
- import { t as BaseHttpClient } from "./http-client-he14vKAL.js";
1
+ import { t as BaseHttpClient } from "./http-client-BqV3EwdH.js";
2
2
 
3
3
  //#region src/plans/client.ts
4
4
  function unwrap(body) {
@@ -143,4 +143,4 @@ function createReoptPlansClient(config) {
143
143
 
144
144
  //#endregion
145
145
  export { createReoptPlansClient as n, ReoptPlansClient as t };
146
- //# sourceMappingURL=client-DeyC3NFp.js.map
146
+ //# sourceMappingURL=client-BDa6bFFM.js.map
@@ -1,4 +1,4 @@
1
- import { t as BaseHttpClient } from "./http-client-he14vKAL.js";
1
+ import { t as BaseHttpClient } from "./http-client-BqV3EwdH.js";
2
2
 
3
3
  //#region src/terms/client.ts
4
4
  function unwrap(body) {
@@ -80,4 +80,4 @@ function createReoptTermsClient(config) {
80
80
 
81
81
  //#endregion
82
82
  export { createReoptTermsClient as n, ReoptTermsClient as t };
83
- //# sourceMappingURL=client-CbQP3u9_.js.map
83
+ //# sourceMappingURL=client-BOBNqTK-.js.map
@@ -1,4 +1,4 @@
1
- import { t as BaseHttpClient } from "./http-client-he14vKAL.js";
1
+ import { t as BaseHttpClient } from "./http-client-BqV3EwdH.js";
2
2
 
3
3
  //#region src/feedback/client.ts
4
4
  function buildListQuery(query) {
@@ -83,4 +83,4 @@ function createReoptFeedbackClient(config) {
83
83
 
84
84
  //#endregion
85
85
  export { createReoptFeedbackClient as n, ReoptFeedbackClient as t };
86
- //# sourceMappingURL=client-D3zSBcPj.js.map
86
+ //# sourceMappingURL=client-CVeBSkoM.js.map
@@ -1,6 +1,6 @@
1
- import { S as ReoptSDKError, j as mapHttpStatusToError, n as SDK_VERSION, o as validateConfig } from "./config-CjwPB89K.js";
1
+ import { S as ReoptSDKError, j as mapHttpStatusToError, n as SDK_VERSION, o as validateConfig } from "./config-Dz4Qk5qN.js";
2
2
  import { t as createManagedAbort } from "./abort--nOBFN4M.js";
3
- import { t as BaseHttpClient } from "./http-client-he14vKAL.js";
3
+ import { t as BaseHttpClient } from "./http-client-BqV3EwdH.js";
4
4
  import { n as parseSSEStream } from "./sse-parser-D65dmL4A.js";
5
5
 
6
6
  //#region src/ai/client.ts
@@ -262,7 +262,7 @@ var ReoptAiClient = class {
262
262
  }
263
263
  async fetchSSE(options) {
264
264
  const url = `${this.http.requestBaseUrl}/chat/completions`;
265
- const requestId = globalThis.crypto?.randomUUID?.() ?? `sdk-${"4.7.0-rc.16"}-${url.length}`;
265
+ const requestId = globalThis.crypto?.randomUUID?.() ?? `sdk-${"4.7.0-rc.17"}-${url.length}`;
266
266
  const ctx = {
267
267
  method: "POST",
268
268
  url,
@@ -343,4 +343,4 @@ function createReoptAiClient(config) {
343
343
 
344
344
  //#endregion
345
345
  export { createReoptAiClient as n, ReoptAiClient as t };
346
- //# sourceMappingURL=client-D5ZVsy8Y.js.map
346
+ //# sourceMappingURL=client-CVeE_j0G.js.map
@@ -1,4 +1,4 @@
1
- import { t as BaseHttpClient } from "./http-client-he14vKAL.js";
1
+ import { t as BaseHttpClient } from "./http-client-BqV3EwdH.js";
2
2
 
3
3
  //#region src/analytics/client.ts
4
4
  var ReoptAnalyticsClient = class {
@@ -17,4 +17,4 @@ function createReoptAnalyticsClient(config) {
17
17
 
18
18
  //#endregion
19
19
  export { createReoptAnalyticsClient as n, ReoptAnalyticsClient as t };
20
- //# sourceMappingURL=client-lHWyhnKI.js.map
20
+ //# sourceMappingURL=client-CeyTfrL7.js.map
@@ -1,5 +1,5 @@
1
- import { t as BaseHttpClient } from "./http-client-he14vKAL.js";
2
- import { t as buildQuery } from "./query-BmI60Jw2.js";
1
+ import { t as BaseHttpClient } from "./http-client-BqV3EwdH.js";
2
+ import { t as buildQuery } from "./query-DZ80YmH1.js";
3
3
 
4
4
  //#region src/cms/client.ts
5
5
  function createReoptCmsClient(config) {
@@ -52,4 +52,4 @@ async list(query) {
52
52
 
53
53
  //#endregion
54
54
  export { createReoptCmsClient as t };
55
- //# sourceMappingURL=client-M1yp71xP.js.map
55
+ //# sourceMappingURL=client-D1iwvFdf.js.map
@@ -1,6 +1,6 @@
1
- import { S as ReoptSDKError, u as BadRequestError } from "./config-CjwPB89K.js";
2
- import { t as BaseHttpClient } from "./http-client-he14vKAL.js";
3
- import { t as buildQuery } from "./query-BmI60Jw2.js";
1
+ import { S as ReoptSDKError, u as BadRequestError } from "./config-Dz4Qk5qN.js";
2
+ import { t as BaseHttpClient } from "./http-client-BqV3EwdH.js";
3
+ import { t as buildQuery } from "./query-DZ80YmH1.js";
4
4
 
5
5
  //#region src/eav/attribute-keys.ts
6
6
  const BUILT_IN_SORT_KEYS = /* @__PURE__ */ new Set(["createdAt", "updatedAt"]);
@@ -740,4 +740,4 @@ function createReoptEavClient(config) {
740
740
 
741
741
  //#endregion
742
742
  export { RECORDS_PAGE_LIMIT_MAX as i, ATTRIBUTE_FILTER_LIST_MAX as n, ATTRIBUTE_FILTER_OPERATORS as r, createReoptEavClient as t };
743
- //# sourceMappingURL=client-BFfyuoNI.js.map
743
+ //# sourceMappingURL=client-DJemYtoz.js.map
@@ -1,4 +1,4 @@
1
- import { t as BaseHttpClient } from "./http-client-he14vKAL.js";
1
+ import { t as BaseHttpClient } from "./http-client-BqV3EwdH.js";
2
2
 
3
3
  //#region src/push/client.ts
4
4
  var ReoptPushClient = class {
@@ -25,4 +25,4 @@ function createReoptPushClient(config) {
25
25
 
26
26
  //#endregion
27
27
  export { createReoptPushClient as n, ReoptPushClient as t };
28
- //# sourceMappingURL=client-B4pglmTS.js.map
28
+ //# sourceMappingURL=client-Dsp0BKoL.js.map
package/dist/cms/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as createReoptCmsClient } from "../client-M1yp71xP.js";
1
+ import { t as createReoptCmsClient } from "../client-D1iwvFdf.js";
2
2
 
3
3
  //#region src/cms/helpers.ts
4
4
  function joinUrl(siteUrl, path) {
@@ -372,7 +372,7 @@ function mapHttpStatusToError(status, code, message, ctx, fieldErrors) {
372
372
 
373
373
  //#endregion
374
374
  //#region src/core/config.ts
375
- const SDK_VERSION = "4.7.0-rc.16";
375
+ const SDK_VERSION = "4.7.0-rc.17";
376
376
  /**
377
377
  * Default API host for EAV / AI / Files / CMS / Terms. Consumers can override
378
378
  * via `config.baseUrl` or the `REOPT_BASE_URL` env var.
@@ -496,4 +496,4 @@ function resolveBaseUrl(config) {
496
496
 
497
497
  //#endregion
498
498
  export { isValidationError as A, RequiredTermsError as C, isModelAccessError as D, isCreditLimitError as E, isReoptSDKError as O, ReoptSDKError as S, ValidationError as T, ModelAccessError as _, resolveIdBaseUrl as a, PreconditionFailedError as b, AuthUserNotFoundError as c, ConflictError as d, ContentFilterError as f, LimitExceededError as g, ForbiddenError as h, resolveBaseUrl as i, mapHttpStatusToError as j, isRequiredTermsError as k, AuthUserRecordExistsError as l, DuplicateAuthUserError as m, SDK_VERSION as n, validateConfig as o, CreditLimitError as p, assertBrowserSafe as r, AuthError as s, REOPT_BASE_URLS as t, BadRequestError as u, ModelNotFoundError as v, ServerError as w, RateLimitError as x, NotFoundError as y };
499
- //# sourceMappingURL=config-CjwPB89K.js.map
499
+ //# sourceMappingURL=config-Dz4Qk5qN.js.map
package/dist/eav/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { c as AuthUserNotFoundError, g as LimitExceededError, l as AuthUserRecordExistsError, m as DuplicateAuthUserError } from "../config-CjwPB89K.js";
2
- import { i as RECORDS_PAGE_LIMIT_MAX, n as ATTRIBUTE_FILTER_LIST_MAX, r as ATTRIBUTE_FILTER_OPERATORS, t as createReoptEavClient } from "../client-BFfyuoNI.js";
1
+ import { c as AuthUserNotFoundError, g as LimitExceededError, l as AuthUserRecordExistsError, m as DuplicateAuthUserError } from "../config-Dz4Qk5qN.js";
2
+ import { i as RECORDS_PAGE_LIMIT_MAX, n as ATTRIBUTE_FILTER_LIST_MAX, r as ATTRIBUTE_FILTER_OPERATORS, t as createReoptEavClient } from "../client-DJemYtoz.js";
3
3
 
4
4
  //#region src/eav/verify.ts
5
5
  async function verifyEavSchema(input) {
@@ -1,3 +1,3 @@
1
- import { n as createReoptFeedbackClient, t as ReoptFeedbackClient } from "../client-D3zSBcPj.js";
1
+ import { n as createReoptFeedbackClient, t as ReoptFeedbackClient } from "../client-CVeBSkoM.js";
2
2
 
3
3
  export { ReoptFeedbackClient, createReoptFeedbackClient };
@@ -1,4 +1,4 @@
1
- import { n as createReoptFileClient, t as ReoptFileClient } from "../client-CZe_S1HM.js";
1
+ import { n as createReoptFileClient, t as ReoptFileClient } from "../client-0WbiigTy.js";
2
2
 
3
3
  //#region src/files/helpers.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { S as ReoptSDKError, a as resolveIdBaseUrl, i as resolveBaseUrl, j as mapHttpStatusToError, n as SDK_VERSION, o as validateConfig, w as ServerError, x as RateLimitError } from "./config-CjwPB89K.js";
1
+ import { S as ReoptSDKError, a as resolveIdBaseUrl, i as resolveBaseUrl, j as mapHttpStatusToError, n as SDK_VERSION, o as validateConfig, w as ServerError, x as RateLimitError } from "./config-Dz4Qk5qN.js";
2
2
  import { t as createAuthHeader } from "./encoding-Bwfm3iaE.js";
3
3
 
4
4
  //#region src/core/debug.ts
@@ -412,4 +412,4 @@ function parseFieldErrors(body) {
412
412
 
413
413
  //#endregion
414
414
  export { parseFieldErrors as n, BaseHttpClient as t };
415
- //# sourceMappingURL=http-client-he14vKAL.js.map
415
+ //# sourceMappingURL=http-client-BqV3EwdH.js.map
package/dist/index.js CHANGED
@@ -1,15 +1,15 @@
1
- import { A as isValidationError, C as RequiredTermsError, D as isModelAccessError, E as isCreditLimitError, O as isReoptSDKError, S as ReoptSDKError, T as ValidationError, _ as ModelAccessError, b as PreconditionFailedError, c as AuthUserNotFoundError, d as ConflictError, f as ContentFilterError, g as LimitExceededError, h as ForbiddenError, i as resolveBaseUrl, j as mapHttpStatusToError, k as isRequiredTermsError, l as AuthUserRecordExistsError, m as DuplicateAuthUserError, p as CreditLimitError, r as assertBrowserSafe, s as AuthError, t as REOPT_BASE_URLS, u as BadRequestError, v as ModelNotFoundError, w as ServerError, x as RateLimitError, y as NotFoundError } from "./config-CjwPB89K.js";
2
- import { t as BaseHttpClient } from "./http-client-he14vKAL.js";
3
- import { n as createReoptAiClient } from "./client-D5ZVsy8Y.js";
4
- import { n as createReoptAuthClient } from "./client-DU8XR4_z.js";
5
- import { t as createReoptCmsClient } from "./client-M1yp71xP.js";
6
- import { t as createReoptEavClient } from "./client-BFfyuoNI.js";
7
- import { n as createReoptFeedbackClient } from "./client-D3zSBcPj.js";
8
- import { n as createReoptFileClient } from "./client-CZe_S1HM.js";
9
- import { n as createReoptAnalyticsClient } from "./client-lHWyhnKI.js";
10
- import { n as createReoptPlansClient } from "./client-DeyC3NFp.js";
11
- import { n as createReoptPushClient } from "./client-B4pglmTS.js";
12
- import { n as createReoptTermsClient } from "./client-CbQP3u9_.js";
1
+ import { A as isValidationError, C as RequiredTermsError, D as isModelAccessError, E as isCreditLimitError, O as isReoptSDKError, S as ReoptSDKError, T as ValidationError, _ as ModelAccessError, b as PreconditionFailedError, c as AuthUserNotFoundError, d as ConflictError, f as ContentFilterError, g as LimitExceededError, h as ForbiddenError, i as resolveBaseUrl, j as mapHttpStatusToError, k as isRequiredTermsError, l as AuthUserRecordExistsError, m as DuplicateAuthUserError, p as CreditLimitError, r as assertBrowserSafe, s as AuthError, t as REOPT_BASE_URLS, u as BadRequestError, v as ModelNotFoundError, w as ServerError, x as RateLimitError, y as NotFoundError } from "./config-Dz4Qk5qN.js";
2
+ import { t as BaseHttpClient } from "./http-client-BqV3EwdH.js";
3
+ import { n as createReoptAiClient } from "./client-CVeE_j0G.js";
4
+ import { n as createReoptAuthClient } from "./client-60obCSiP.js";
5
+ import { t as createReoptCmsClient } from "./client-D1iwvFdf.js";
6
+ import { t as createReoptEavClient } from "./client-DJemYtoz.js";
7
+ import { n as createReoptFeedbackClient } from "./client-CVeBSkoM.js";
8
+ import { n as createReoptFileClient } from "./client-0WbiigTy.js";
9
+ import { n as createReoptAnalyticsClient } from "./client-CeyTfrL7.js";
10
+ import { n as createReoptPlansClient } from "./client-BDa6bFFM.js";
11
+ import { n as createReoptPushClient } from "./client-Dsp0BKoL.js";
12
+ import { n as createReoptTermsClient } from "./client-BOBNqTK-.js";
13
13
 
14
14
  //#region src/singleton.ts
15
15
  let _instance;
@@ -1,4 +1,4 @@
1
- import { S as ReoptSDKError, a as resolveIdBaseUrl } from "../config-CjwPB89K.js";
1
+ import { S as ReoptSDKError, a as resolveIdBaseUrl } from "../config-Dz4Qk5qN.js";
2
2
 
3
3
  //#region src/logout/verify.ts
4
4
  /**
@@ -1,3 +1,3 @@
1
- import { n as createReoptPlansClient, t as ReoptPlansClient } from "../client-DeyC3NFp.js";
1
+ import { n as createReoptPlansClient, t as ReoptPlansClient } from "../client-BDa6bFFM.js";
2
2
 
3
3
  export { ReoptPlansClient, createReoptPlansClient };
@@ -1,3 +1,3 @@
1
- import { n as createReoptPushClient, t as ReoptPushClient } from "../client-B4pglmTS.js";
1
+ import { n as createReoptPushClient, t as ReoptPushClient } from "../client-Dsp0BKoL.js";
2
2
 
3
3
  export { ReoptPushClient, createReoptPushClient };
@@ -1,4 +1,4 @@
1
- import { S as ReoptSDKError } from "./config-CjwPB89K.js";
1
+ import { S as ReoptSDKError } from "./config-Dz4Qk5qN.js";
2
2
 
3
3
  //#region src/core/query.ts
4
4
  /**
@@ -32,4 +32,4 @@ function buildQuery(params) {
32
32
 
33
33
  //#endregion
34
34
  export { buildQuery as t };
35
- //# sourceMappingURL=query-BmI60Jw2.js.map
35
+ //# sourceMappingURL=query-DZ80YmH1.js.map
@@ -1,3 +1,3 @@
1
- import { n as createReoptTermsClient, t as ReoptTermsClient } from "../client-CbQP3u9_.js";
1
+ import { n as createReoptTermsClient, t as ReoptTermsClient } from "../client-BOBNqTK-.js";
2
2
 
3
3
  export { ReoptTermsClient, createReoptTermsClient };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reopt-ai/brandapp-sdk",
3
- "version": "4.7.0-rc.16",
3
+ "version": "4.7.0-rc.17",
4
4
  "description": "Reopt Brandapp SDK — Better Auth adapter, OAuth login, and EAV client",
5
5
  "author": "Reopt",
6
6
  "license": "MIT",
@@ -212,7 +212,7 @@
212
212
  "reopt-keygen": "./dist/machine/keygen-cli.js"
213
213
  },
214
214
  "dependencies": {
215
- "@reopt-ai/workspace-sdk": "0.1.0-rc.0",
215
+ "@reopt-ai/workspace-sdk": "0.1.0-rc.1",
216
216
  "jose": "^6.2.3"
217
217
  },
218
218
  "scripts": {