@reopt-ai/brandapp-sdk 4.7.0-rc.21 → 4.7.0-rc.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/CHANGELOG.md CHANGED
@@ -7,6 +7,11 @@ This project adheres to [Semantic Versioning](https://semver.org/).
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [4.7.0-rc.22] — 2026-11-22
11
+
12
+ Pre-release (`npm i @reopt-ai/brandapp-sdk@next`) — `@reopt-ai/workspace-sdk@0.1.0-rc.13`을 싣는다. 브랜드앱 표면은 바뀌지
13
+ 않았다(워크스페이스 앱의 공개 폼 클라이언트는 `@reopt-ai/workspace-sdk/forms`에서 직접 가져온다).
14
+
10
15
  ## [4.7.0-rc.21] — 2026-11-22
11
16
 
12
17
  Pre-release (`npm i @reopt-ai/brandapp-sdk@next`) — `@reopt-ai/workspace-sdk@0.1.0-rc.12`를 싣는다(`/workspace` 재수출에 업무
package/dist/ai/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { S as ReoptSDKError } from "../config-RIyk14F0.js";
2
- import { n as createReoptAiClient, t as ReoptAiClient } from "../client-GUVpbYH-.js";
1
+ import { S as ReoptSDKError } from "../config-B75s1YUE.js";
2
+ import { n as createReoptAiClient, t as ReoptAiClient } from "../client-CrUOcUUX.js";
3
3
 
4
4
  //#region src/ai/evaluator.ts
5
5
  function createBrandappEvaluator(source, options = {}) {
@@ -1,4 +1,4 @@
1
- import { M as mapHttpStatusToError, i as resolveBaseUrl, n as SDK_VERSION, o as validateConfig, r as assertBrowserSafe } from "../config-RIyk14F0.js";
1
+ import { M as mapHttpStatusToError, i as resolveBaseUrl, n as SDK_VERSION, o as validateConfig, r as assertBrowserSafe } from "../config-B75s1YUE.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-C_sCw-xt.js";
1
+ import { n as createReoptAnalyticsClient, t as ReoptAnalyticsClient } from "../client-CYGnb0Kj.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-D_b1tDFh.js";
1
+ import { n as createReoptAuthClient, t as ReoptAuthClient } from "../client-9-_bUa9y.js";
2
2
 
3
3
  //#region src/auth/session.ts
4
4
  /**
@@ -1,5 +1,5 @@
1
- import { S as ReoptSDKError, a as resolveIdBaseUrl, k as isReoptSDKError, s as AuthError, t as REOPT_BASE_URLS, w as ServerError, x as RateLimitError } from "../config-RIyk14F0.js";
2
- import { t as BaseHttpClient } from "../http-client-Bf4VOsIj.js";
1
+ import { S as ReoptSDKError, a as resolveIdBaseUrl, k as isReoptSDKError, s as AuthError, t as REOPT_BASE_URLS, w as ServerError, x as RateLimitError } from "../config-B75s1YUE.js";
2
+ import { t as BaseHttpClient } from "../http-client-Dd08tJgK.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-Dq032jKk.js";
4
4
  import { createAdapterFactory } from "better-auth/adapters";
5
5
  import { createPrivateKeyJwtClientAssertionGetter } from "@better-auth/core/oauth2";
@@ -1,4 +1,4 @@
1
- import { t as BaseHttpClient } from "./http-client-Bf4VOsIj.js";
1
+ import { t as BaseHttpClient } from "./http-client-Dd08tJgK.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-D_b1tDFh.js.map
53
+ //# sourceMappingURL=client-9-_bUa9y.js.map
@@ -1,4 +1,4 @@
1
- import { t as BaseHttpClient } from "./http-client-Bf4VOsIj.js";
1
+ import { t as BaseHttpClient } from "./http-client-Dd08tJgK.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-DmS3A66k.js.map
146
+ //# sourceMappingURL=client-BujdHeNA.js.map
@@ -1,4 +1,4 @@
1
- import { t as BaseHttpClient } from "./http-client-Bf4VOsIj.js";
1
+ import { t as BaseHttpClient } from "./http-client-Dd08tJgK.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-JDeMAduC.js.map
28
+ //# sourceMappingURL=client-BvtDMqqD.js.map
@@ -1,4 +1,4 @@
1
- import { t as BaseHttpClient } from "./http-client-Bf4VOsIj.js";
1
+ import { t as BaseHttpClient } from "./http-client-Dd08tJgK.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-1YBPa4s_.js.map
86
+ //# sourceMappingURL=client-C4wma_rK.js.map
@@ -1,4 +1,4 @@
1
- import { t as BaseHttpClient } from "./http-client-Bf4VOsIj.js";
1
+ import { t as BaseHttpClient } from "./http-client-Dd08tJgK.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-CW5DCZJL.js.map
83
+ //# sourceMappingURL=client-C81YWLKJ.js.map
@@ -1,5 +1,5 @@
1
- import { t as BaseHttpClient } from "./http-client-Bf4VOsIj.js";
2
- import { t as buildQuery } from "./query-BZVK1k75.js";
1
+ import { t as BaseHttpClient } from "./http-client-Dd08tJgK.js";
2
+ import { t as buildQuery } from "./query-UOSyG4T7.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-CK2u0bDx.js.map
55
+ //# sourceMappingURL=client-CEbRaBlN.js.map
@@ -1,4 +1,4 @@
1
- import { t as BaseHttpClient } from "./http-client-Bf4VOsIj.js";
1
+ import { t as BaseHttpClient } from "./http-client-Dd08tJgK.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-C_sCw-xt.js.map
20
+ //# sourceMappingURL=client-CYGnb0Kj.js.map
@@ -1,6 +1,6 @@
1
- import { M as mapHttpStatusToError, S as ReoptSDKError, n as SDK_VERSION, o as validateConfig } from "./config-RIyk14F0.js";
1
+ import { M as mapHttpStatusToError, S as ReoptSDKError, n as SDK_VERSION, o as validateConfig } from "./config-B75s1YUE.js";
2
2
  import { t as createManagedAbort } from "./abort--nOBFN4M.js";
3
- import { t as BaseHttpClient } from "./http-client-Bf4VOsIj.js";
3
+ import { t as BaseHttpClient } from "./http-client-Dd08tJgK.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.21"}-${url.length}`;
265
+ const requestId = globalThis.crypto?.randomUUID?.() ?? `sdk-${"4.7.0-rc.22"}-${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-GUVpbYH-.js.map
346
+ //# sourceMappingURL=client-CrUOcUUX.js.map
@@ -1,6 +1,6 @@
1
- import { S as ReoptSDKError, u as BadRequestError } from "./config-RIyk14F0.js";
2
- import { t as BaseHttpClient } from "./http-client-Bf4VOsIj.js";
3
- import { t as buildQuery } from "./query-BZVK1k75.js";
1
+ import { S as ReoptSDKError, u as BadRequestError } from "./config-B75s1YUE.js";
2
+ import { t as BaseHttpClient } from "./http-client-Dd08tJgK.js";
3
+ import { t as buildQuery } from "./query-UOSyG4T7.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-BNIvDTeo.js.map
743
+ //# sourceMappingURL=client-JGCzY3d-.js.map
@@ -1,6 +1,6 @@
1
- import { M as mapHttpStatusToError, S as ReoptSDKError, n as SDK_VERSION, o as validateConfig } from "./config-RIyk14F0.js";
1
+ import { M as mapHttpStatusToError, S as ReoptSDKError, n as SDK_VERSION, o as validateConfig } from "./config-B75s1YUE.js";
2
2
  import { t as createManagedAbort } from "./abort--nOBFN4M.js";
3
- import { n as parseFieldErrors, t as BaseHttpClient } from "./http-client-Bf4VOsIj.js";
3
+ import { n as parseFieldErrors, t as BaseHttpClient } from "./http-client-Dd08tJgK.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-C0ovQwtU.js.map
279
+ //# sourceMappingURL=client-Mmu2s7xG.js.map
package/dist/cms/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as createReoptCmsClient } from "../client-CK2u0bDx.js";
1
+ import { t as createReoptCmsClient } from "../client-CEbRaBlN.js";
2
2
 
3
3
  //#region src/cms/helpers.ts
4
4
  function joinUrl(siteUrl, path) {
@@ -397,7 +397,7 @@ function mapHttpStatusToError(status, code, message, ctx, fieldErrors) {
397
397
 
398
398
  //#endregion
399
399
  //#region src/core/config.ts
400
- const SDK_VERSION = "4.7.0-rc.21";
400
+ const SDK_VERSION = "4.7.0-rc.22";
401
401
  /**
402
402
  * Default API host for EAV / AI / Files / CMS / Terms. Consumers can override
403
403
  * via `config.baseUrl` or the `REOPT_BASE_URL` env var.
@@ -550,4 +550,4 @@ function resolveBaseUrl(config) {
550
550
 
551
551
  //#endregion
552
552
  export { isRequiredTermsError as A, RequiredTermsError as C, isCreditLimitError as D, fieldErrorsOf as E, mapHttpStatusToError as M, isModelAccessError 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, isValidationError as j, isReoptSDKError 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 };
553
- //# sourceMappingURL=config-RIyk14F0.js.map
553
+ //# sourceMappingURL=config-B75s1YUE.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-RIyk14F0.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-BNIvDTeo.js";
1
+ import { c as AuthUserNotFoundError, g as LimitExceededError, l as AuthUserRecordExistsError, m as DuplicateAuthUserError } from "../config-B75s1YUE.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-JGCzY3d-.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-1YBPa4s_.js";
1
+ import { n as createReoptFeedbackClient, t as ReoptFeedbackClient } from "../client-C4wma_rK.js";
2
2
 
3
3
  export { ReoptFeedbackClient, createReoptFeedbackClient };
@@ -1,4 +1,4 @@
1
- import { n as createReoptFileClient, t as ReoptFileClient } from "../client-C0ovQwtU.js";
1
+ import { n as createReoptFileClient, t as ReoptFileClient } from "../client-Mmu2s7xG.js";
2
2
 
3
3
  //#region src/files/helpers.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { M as mapHttpStatusToError, S as ReoptSDKError, a as resolveIdBaseUrl, i as resolveBaseUrl, n as SDK_VERSION, o as validateConfig, r as assertBrowserSafe, w as ServerError, x as RateLimitError } from "./config-RIyk14F0.js";
1
+ import { M as mapHttpStatusToError, S as ReoptSDKError, a as resolveIdBaseUrl, i as resolveBaseUrl, n as SDK_VERSION, o as validateConfig, r as assertBrowserSafe, w as ServerError, x as RateLimitError } from "./config-B75s1YUE.js";
2
2
  import { t as createAuthHeader } from "./encoding-Bwfm3iaE.js";
3
3
 
4
4
  //#region src/core/debug.ts
@@ -413,4 +413,4 @@ function parseFieldErrors(body) {
413
413
 
414
414
  //#endregion
415
415
  export { parseFieldErrors as n, BaseHttpClient as t };
416
- //# sourceMappingURL=http-client-Bf4VOsIj.js.map
416
+ //# sourceMappingURL=http-client-Dd08tJgK.js.map
package/dist/index.js CHANGED
@@ -1,15 +1,15 @@
1
- import { A as isRequiredTermsError, C as RequiredTermsError, D as isCreditLimitError, E as fieldErrorsOf, M as mapHttpStatusToError, O as isModelAccessError, 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 isValidationError, k as isReoptSDKError, 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-RIyk14F0.js";
2
- import { t as BaseHttpClient } from "./http-client-Bf4VOsIj.js";
3
- import { n as createReoptAiClient } from "./client-GUVpbYH-.js";
4
- import { n as createReoptAuthClient } from "./client-D_b1tDFh.js";
5
- import { t as createReoptCmsClient } from "./client-CK2u0bDx.js";
6
- import { t as createReoptEavClient } from "./client-BNIvDTeo.js";
7
- import { n as createReoptFeedbackClient } from "./client-1YBPa4s_.js";
8
- import { n as createReoptFileClient } from "./client-C0ovQwtU.js";
9
- import { n as createReoptAnalyticsClient } from "./client-C_sCw-xt.js";
10
- import { n as createReoptPlansClient } from "./client-DmS3A66k.js";
11
- import { n as createReoptPushClient } from "./client-JDeMAduC.js";
12
- import { n as createReoptTermsClient } from "./client-CW5DCZJL.js";
1
+ import { A as isRequiredTermsError, C as RequiredTermsError, D as isCreditLimitError, E as fieldErrorsOf, M as mapHttpStatusToError, O as isModelAccessError, 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 isValidationError, k as isReoptSDKError, 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-B75s1YUE.js";
2
+ import { t as BaseHttpClient } from "./http-client-Dd08tJgK.js";
3
+ import { n as createReoptAiClient } from "./client-CrUOcUUX.js";
4
+ import { n as createReoptAuthClient } from "./client-9-_bUa9y.js";
5
+ import { t as createReoptCmsClient } from "./client-CEbRaBlN.js";
6
+ import { t as createReoptEavClient } from "./client-JGCzY3d-.js";
7
+ import { n as createReoptFeedbackClient } from "./client-C4wma_rK.js";
8
+ import { n as createReoptFileClient } from "./client-Mmu2s7xG.js";
9
+ import { n as createReoptAnalyticsClient } from "./client-CYGnb0Kj.js";
10
+ import { n as createReoptPlansClient } from "./client-BujdHeNA.js";
11
+ import { n as createReoptPushClient } from "./client-BvtDMqqD.js";
12
+ import { n as createReoptTermsClient } from "./client-C81YWLKJ.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-RIyk14F0.js";
1
+ import { S as ReoptSDKError, a as resolveIdBaseUrl } from "../config-B75s1YUE.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-DmS3A66k.js";
1
+ import { n as createReoptPlansClient, t as ReoptPlansClient } from "../client-BujdHeNA.js";
2
2
 
3
3
  export { ReoptPlansClient, createReoptPlansClient };
@@ -1,3 +1,3 @@
1
- import { n as createReoptPushClient, t as ReoptPushClient } from "../client-JDeMAduC.js";
1
+ import { n as createReoptPushClient, t as ReoptPushClient } from "../client-BvtDMqqD.js";
2
2
 
3
3
  export { ReoptPushClient, createReoptPushClient };
@@ -1,4 +1,4 @@
1
- import { S as ReoptSDKError } from "./config-RIyk14F0.js";
1
+ import { S as ReoptSDKError } from "./config-B75s1YUE.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-BZVK1k75.js.map
35
+ //# sourceMappingURL=query-UOSyG4T7.js.map
@@ -1,3 +1,3 @@
1
- import { n as createReoptTermsClient, t as ReoptTermsClient } from "../client-CW5DCZJL.js";
1
+ import { n as createReoptTermsClient, t as ReoptTermsClient } from "../client-C81YWLKJ.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.21",
3
+ "version": "4.7.0-rc.22",
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.12",
215
+ "@reopt-ai/workspace-sdk": "0.1.0-rc.13",
216
216
  "jose": "^6.2.3"
217
217
  },
218
218
  "scripts": {