@frontic/nuxt 0.5.2 → 0.6.1

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 CHANGED
@@ -1,11 +1,11 @@
1
1
  # @frontic/nuxt
2
2
 
3
- Nuxt module for integrating with [Frontstack](https://frontstack.dev) headless commerce. Provides auto-imported composables for data fetching with smart caching, page routing, and context management.
3
+ Nuxt module for building with the [Frontic](https://frontic.com) API and [Frontic UI](https://ui.frontic.com) components. Provides auto-imported composables for data fetching with smart caching, page routing, and context management.
4
4
 
5
5
  ## Features
6
6
 
7
7
  - **Smart caching** via [Pinia Colada](https://pinia-colada.esm.dev/) - stale-while-revalidate, request deduplication, SSR hydration
8
- - **Type-safe composables** - Full TypeScript support with generated types from your Frontstack schema
8
+ - **Type-safe composables** - Full TypeScript support with generated types from your Frontic schema
9
9
  - **Search & filtering** - Ready-to-use search state management with filters, sorting, pagination, and infinite scroll
10
10
  - **Page routing** - Dynamic page resolution with automatic redirects and 404 handling
11
11
  - **Context management** - Locale and region switching with cookie persistence
@@ -30,7 +30,7 @@ export default defineNuxtConfig({
30
30
  })
31
31
  ```
32
32
 
33
- Generate the Frontstack client:
33
+ Generate the Frontic client:
34
34
 
35
35
  ```bash
36
36
  npx @frontic/cli generate
@@ -102,7 +102,7 @@ export default defineNuxtConfig({
102
102
 
103
103
  // API proxy
104
104
  proxy: true, // or '/api/custom-path'
105
- fetchApiSecret: process.env.FRONTSTACK_FETCH_SECRET,
105
+ fetchApiSecret: process.env.FRONTIC_FETCH_SECRET,
106
106
 
107
107
  // Context cookies
108
108
  contextCookieName: 'fs-context',
@@ -112,7 +112,7 @@ export default defineNuxtConfig({
112
112
  composables: true, // or ['page', 'search', 'listing', 'block', 'context', 'client']
113
113
 
114
114
  // UI components (optional)
115
- prefix: 'Ui',
115
+ componentsPrefix: '',
116
116
  componentDir: '@/components/ui',
117
117
  },
118
118
  })
@@ -120,7 +120,7 @@ export default defineNuxtConfig({
120
120
 
121
121
  ## Documentation
122
122
 
123
- Full documentation at [docs.frontstack.dev/reference/nuxt-module](https://docs.frontstack.dev/reference/nuxt-module)
123
+ Full documentation at [docs.frontic.com](https://docs.frontic.com)
124
124
 
125
125
  ## License
126
126
 
package/dist/module.d.mts CHANGED
@@ -23,10 +23,11 @@ type FronticComposablesConfig = boolean | FronticComposable[];
23
23
  */
24
24
  interface FronticOptions {
25
25
  /**
26
- * Prefix for all the imported components
27
- * @default "Ui"
26
+ * Prefix for all auto-imported Frontic UI components.
27
+ * Set to 'Ui' to get `<UiButton>`, or leave empty for `<Button>`.
28
+ * @default ''
28
29
  */
29
- prefix: string;
30
+ componentsPrefix: string;
30
31
  /**
31
32
  * Directory that the components live in.
32
33
  * @default "@/components/ui"
@@ -57,7 +58,7 @@ interface FronticOptions {
57
58
  composables?: FronticComposablesConfig;
58
59
  /**
59
60
  * Enable/configure the API proxy for CORS prevention
60
- * - true: Enable proxy at default path '/api/stack'
61
+ * - true: Enable proxy at default path '/api/frontic'
61
62
  * - false: Disable proxy
62
63
  * - string: Enable proxy at custom path
63
64
  *
@@ -65,12 +66,21 @@ interface FronticOptions {
65
66
  */
66
67
  proxy?: boolean | string;
67
68
  /**
68
- * Context domain for page slug construction
69
- * Used by useFronticPage when auto-detecting slug from current route
69
+ * Context domain for scope/region/locale resolution and page slug construction.
70
+ *
71
+ * Controls which Frontic domain is used across all composables:
72
+ * - useFronticPage: prepended to the pathname to construct the page slug
73
+ * - useFronticBlock/Listing/Context: injected as contextDomain request option
74
+ *
75
+ * - string: Static domain (e.g. 'shop.com')
76
+ * - true: Read `contextDomain` property from current @nuxtjs/i18n locale object
77
+ *
78
+ * When not set, useFronticPage derives the domain from the request URL host.
70
79
  *
71
80
  * @example 'demo-shop.com'
81
+ * @example true
72
82
  */
73
- contextDomain?: string;
83
+ contextDomain?: string | boolean;
74
84
  /**
75
85
  * Cookie name for persisting the context token
76
86
  * @default 'fs-context'
@@ -115,7 +125,7 @@ interface FronticOptions {
115
125
  *
116
126
  * For client-side requests, the secret is automatically injected by the proxy
117
127
  *
118
- * @example process.env.FRONTSTACK_FETCH_SECRET
128
+ * @example process.env.FRONTIC_FETCH_SECRET
119
129
  */
120
130
  fetchApiSecret?: string;
121
131
  }
package/dist/module.mjs CHANGED
@@ -1,4 +1,5 @@
1
1
  import { existsSync, readdirSync } from 'node:fs';
2
+ import { createRequire } from 'node:module';
2
3
  import { dirname, join } from 'node:path';
3
4
  import { fileURLToPath } from 'node:url';
4
5
  import { defineNuxtModule, createResolver, addServerHandler, hasNuxtModule, installModule, addImports, addComponentsDir, addComponentExports } from '@nuxt/kit';
@@ -13,7 +14,7 @@ function isComposableEnabled(config, name) {
13
14
  }
14
15
  const module$1 = defineNuxtModule({
15
16
  defaults: {
16
- prefix: "",
17
+ componentsPrefix: "",
17
18
  componentDir: "@/components/ui",
18
19
  composables: true,
19
20
  proxy: true,
@@ -35,7 +36,7 @@ const module$1 = defineNuxtModule({
35
36
  async setup(options, nuxt) {
36
37
  const {
37
38
  componentDir,
38
- prefix,
39
+ componentsPrefix,
39
40
  composables: composablesConfig = true,
40
41
  proxy: proxyConfig = true,
41
42
  contextDomain,
@@ -52,12 +53,10 @@ const module$1 = defineNuxtModule({
52
53
  const { resolve: resolveModule } = createResolver(_dirname);
53
54
  const runtimeDir = resolveModule("./runtime");
54
55
  const fronticClientFile = "generated-client.ts";
55
- const fronticDir = join(ROOT_DIR_PATH, ".frontic");
56
- const frontstackDir = join(ROOT_DIR_PATH, ".frontstack");
57
- const fronticClientDir = existsSync(join(fronticDir, fronticClientFile)) ? fronticDir : frontstackDir;
56
+ const fronticClientDir = join(ROOT_DIR_PATH, ".frontic");
58
57
  const fronticClientPath = join(fronticClientDir, fronticClientFile);
59
58
  const hasFronticClient = existsSync(fronticClientPath);
60
- const proxyPath = typeof proxyConfig === "string" ? proxyConfig : proxyConfig !== false ? "/api/stack" : void 0;
59
+ const proxyPath = typeof proxyConfig === "string" ? proxyConfig : proxyConfig !== false ? "/api/frontic" : void 0;
61
60
  if (proxyPath && hasFronticClient) {
62
61
  addServerHandler({
63
62
  route: `${proxyPath}/**`,
@@ -71,6 +70,11 @@ const module$1 = defineNuxtModule({
71
70
  const contextEnabled = isComposableEnabled(composablesConfig, "context");
72
71
  const clientEnabled = isComposableEnabled(composablesConfig, "client");
73
72
  const anyComposableEnabled = ALL_COMPOSABLES.some((c) => isComposableEnabled(composablesConfig, c));
73
+ if (contextDomain === true && !hasNuxtModule("@nuxtjs/i18n", nuxt)) {
74
+ console.warn(
75
+ "\n[@frontic/nuxt] contextDomain: true requires @nuxtjs/i18n module.\nInstall @nuxtjs/i18n and add a `contextDomain` property to your locale objects,\nor use a static string instead: frontic: { contextDomain: 'your-domain.com' }\n"
76
+ );
77
+ }
74
78
  if (anyComposableEnabled && !hasFronticClient) {
75
79
  const enabledList = ALL_COMPOSABLES.filter((c) => isComposableEnabled(composablesConfig, c)).map((c) => {
76
80
  if (c === "client") return "useFronticClient";
@@ -85,23 +89,29 @@ frontic: { composables: false }
85
89
  `
86
90
  );
87
91
  }
88
- const clientDirName = fronticClientDir === fronticDir ? ".frontic" : ".frontstack";
89
- const clientDirPath = join(ROOT_DIR_PATH, clientDirName);
92
+ const clientDirPath = fronticClientDir;
93
+ const piniaEsmPath = anyComposableEnabled ? join(dirname(createRequire(import.meta.url).resolve("pinia/package.json")), "dist/pinia.mjs") : null;
90
94
  nuxt.options.vite ||= {};
91
95
  nuxt.options.vite.resolve ||= {};
92
96
  nuxt.options.vite.resolve.alias ||= {};
93
97
  nuxt.options.vite.resolve.alias["@frontic/stack"] = clientDirPath;
98
+ if (piniaEsmPath) {
99
+ nuxt.options.vite.resolve.alias["pinia"] = piniaEsmPath;
100
+ }
94
101
  nuxt.hook("nitro:config", (nitroConfig) => {
95
102
  nitroConfig.alias ||= {};
96
103
  nitroConfig.alias["@frontic/stack"] = clientDirPath;
104
+ if (piniaEsmPath) {
105
+ nitroConfig.alias["pinia"] = piniaEsmPath;
106
+ }
97
107
  });
98
108
  nuxt.hook("prepare:types", ({ tsConfig }) => {
99
109
  tsConfig.compilerOptions ||= {};
100
110
  tsConfig.compilerOptions.paths ||= {};
101
- tsConfig.compilerOptions.paths["@frontic/stack/*"] = [`../${clientDirName}/*`];
111
+ tsConfig.compilerOptions.paths["@frontic/stack/*"] = [`../.frontic/*`];
102
112
  if (hasFronticClient) {
103
113
  tsConfig.include = tsConfig.include || [];
104
- tsConfig.include.push(`../${clientDirName}/generated-types.d.ts`, `../${clientDirName}/fetch-api.d.ts`);
114
+ tsConfig.include.push(`../.frontic/generated-types.d.ts`, `../.frontic/fetch-api.d.ts`);
105
115
  }
106
116
  });
107
117
  if (anyComposableEnabled) {
@@ -214,7 +224,7 @@ frontic: { composables: false }
214
224
  extensions: [".ts", ".js"]
215
225
  });
216
226
  addComponentExports({
217
- prefix,
227
+ prefix: componentsPrefix,
218
228
  filePath: resolve(filePath),
219
229
  priority: 1
220
230
  });
@@ -35,7 +35,7 @@ export interface UseFronticClientOptions {
35
35
  * Creates an SSR-aware Frontic client with automatic proxy and context injection
36
36
  *
37
37
  * @param options - Optional configuration to override defaults
38
- * @returns Type-safe FrontstackClient instance
38
+ * @returns Type-safe Frontic client instance
39
39
  *
40
40
  * @example
41
41
  * ```ts
@@ -1,5 +1,6 @@
1
1
  import { useRuntimeConfig, useRequestURL } from "nuxt/app";
2
2
  import { createClient } from "@frontic/stack/generated-client";
3
+ import { resolveI18nContextDomain } from "../utils/resolve-context-domain.js";
3
4
  export function useFronticClient(options) {
4
5
  const config = useRuntimeConfig();
5
6
  const fronticConfig = config.public.frontic;
@@ -13,7 +14,10 @@ export function useFronticClient(options) {
13
14
  const resolveContextDomain = () => {
14
15
  if (options?.contextDomain === false) return void 0;
15
16
  if (typeof options?.contextDomain === "string") return options.contextDomain;
16
- return fronticConfig?.contextDomain;
17
+ const configDomain = fronticConfig?.contextDomain;
18
+ if (typeof configDomain === "string") return configDomain;
19
+ if (configDomain === true) return resolveI18nContextDomain();
20
+ return void 0;
17
21
  };
18
22
  const resolveRequestUrl = () => {
19
23
  if (options?.requestUrl === false) return void 0;
@@ -3,6 +3,7 @@ import { computed, toValue, watch } from "vue";
3
3
  import { useQuery } from "@pinia/colada";
4
4
  import { fetchPageQuery } from "./pages.js";
5
5
  import { useFronticClient } from "./useFronticClient.js";
6
+ import { resolveI18nContextDomain } from "../utils/resolve-context-domain.js";
6
7
  export function useFronticPage(slug, options) {
7
8
  const requestURL = useRequestURL();
8
9
  const config = useRuntimeConfig();
@@ -10,7 +11,16 @@ export function useFronticPage(slug, options) {
10
11
  const pageSlug = computed(() => {
11
12
  if (slug) return toValue(slug);
12
13
  const pathname = requestURL.pathname.replace(/\/+$/, "");
13
- return `${requestURL.host}${pathname}`;
14
+ let domain;
15
+ const optionDomain = options?.contextDomain ? toValue(options.contextDomain) : void 0;
16
+ if (typeof optionDomain === "string") {
17
+ domain = optionDomain;
18
+ } else if (typeof fronticConfig?.contextDomain === "string") {
19
+ domain = fronticConfig.contextDomain;
20
+ } else if (fronticConfig?.contextDomain === true) {
21
+ domain = resolveI18nContextDomain();
22
+ }
23
+ return `${domain ?? requestURL.host}${pathname}`;
14
24
  });
15
25
  const _client = useFronticClient();
16
26
  const pageQuery = fetchPageQuery({
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Ambient type declarations for @frontic/stack/* virtual modules.
3
3
  *
4
- * At runtime, @frontic/stack/* resolves to the user's .frontic/ or .frontstack/
4
+ * At runtime, @frontic/stack/* resolves to the user's .frontic/ directory
5
5
  * directory via aliases configured by the @frontic/nuxt module.
6
6
  * These declarations provide fallback types so that:
7
7
  * 1. The module builds with proper .d.ts output (mkdist can resolve imports)
@@ -14,7 +14,7 @@ export type { Query, Sort, EqualsFilter, LogicalFilter, Filter, RangeFilter, Con
14
14
  * These options match the client's RequestOptions interface
15
15
  *
16
16
  * TODO(FSC-3044): Replace with imported RequestOptions from @frontic/stack/generated-types
17
- * once the CLI exports it. See: https://linear.app/frontstack/issue/FSC-3044
17
+ * once the CLI exports it. See: https://linear.app/frontic/issue/FSC-3044
18
18
  */
19
19
  export interface FronticRequestOptions {
20
20
  /**
@@ -109,7 +109,7 @@ export interface ListingFieldConfig<TFields = Record<string, unknown>> {
109
109
  type?: Partial<Record<NoInfer<keyof TFields & string>, string>>;
110
110
  }
111
111
  /**
112
- * Filter option from API response (matches Frontstack response structure)
112
+ * Filter option from API response (matches Frontic response structure)
113
113
  * @internal - Used internally, components should use UiFilter
114
114
  */
115
115
  export interface FilterOption {
@@ -246,7 +246,7 @@ export interface UseListingConfig<TListing extends string = string, TFilters = R
246
246
  * Type-safe: label must use valid sort field names with :asc/:desc suffix
247
247
  *
248
248
  * Special handling for 'default' sort:
249
- * - The 'default' sort represents Frontstack backend's default sorting (no sort applied to query)
249
+ * - The 'default' sort represents Frontic backend's default sorting (no sort applied to query)
250
250
  * - It's automatically included if a label is provided in sorts.label
251
251
  * - Can be controlled via include/exclude mode like other sorts
252
252
  * - Use resetSorting() to return to default sorting
@@ -320,7 +320,7 @@ export interface UseListingReturn<TResponse = unknown, TFilters = Record<string,
320
320
  */
321
321
  sortItems: (sortBy: string) => Promise<void>;
322
322
  /**
323
- * Resets sorting to default (Frontstack backend default)
323
+ * Resets sorting to default (Frontic backend default)
324
324
  */
325
325
  resetSorting: () => Promise<void>;
326
326
  /**
@@ -115,7 +115,7 @@ export interface UseFronticSearchOptions<TSearch extends keyof Listings = keyof
115
115
  * Type-safe: label must use valid sort field names with :asc/:desc suffix
116
116
  *
117
117
  * Special handling for 'default' sort:
118
- * - The 'default' sort represents Frontstack backend's default sorting (no sort applied to query)
118
+ * - The 'default' sort represents Frontic backend's default sorting (no sort applied to query)
119
119
  * - It's automatically included if a label is provided in sorting.label
120
120
  * - Can be controlled via include/exclude mode like other sorts
121
121
  * - Use resetSorting() to return to default sorting
@@ -152,7 +152,7 @@ export interface UseFronticSearchOptions<TSearch extends keyof Listings = keyof
152
152
  */
153
153
  disableSorting?: boolean;
154
154
  /**
155
- * Number of items per page (sent as `limit` to the Frontstack API).
155
+ * Number of items per page (sent as `limit` to the Frontic API).
156
156
  * When omitted, the backend default is used.
157
157
  */
158
158
  limit?: number;
@@ -229,7 +229,7 @@ export interface UseSearchReturn<TSearch extends keyof Listings = keyof Listings
229
229
  */
230
230
  sortResult: (sortBy?: string) => Promise<void>;
231
231
  /**
232
- * Resets sorting to default (Frontstack backend default)
232
+ * Resets sorting to default (Frontic backend default)
233
233
  */
234
234
  resetSorting: () => Promise<void>;
235
235
  /**
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Filter Helper Utilities
3
3
  *
4
- * Functions for creating, managing, and manipulating filters for Frontstack listings.
4
+ * Functions for creating, managing, and manipulating filters for Frontic listings.
5
5
  */
6
6
  /**
7
7
  * Filter type for equals comparison
@@ -0,0 +1 @@
1
+ export declare function resolveI18nContextDomain(): string | undefined;
@@ -0,0 +1,17 @@
1
+ import { useNuxtApp } from "nuxt/app";
2
+ export function resolveI18nContextDomain() {
3
+ try {
4
+ const app = useNuxtApp();
5
+ const i18n = app.$i18n;
6
+ if (i18n) {
7
+ const domain = i18n.localeProperties.value.contextDomain;
8
+ if (typeof domain === "string") return domain;
9
+ console.warn("[@frontic/nuxt] contextDomain: true but current locale has no contextDomain property");
10
+ } else {
11
+ console.warn("[@frontic/nuxt] contextDomain: true but @nuxtjs/i18n is not available");
12
+ }
13
+ } catch {
14
+ console.warn("[@frontic/nuxt] contextDomain: true but @nuxtjs/i18n is not available");
15
+ }
16
+ return void 0;
17
+ }
@@ -5,13 +5,13 @@
5
5
  */
6
6
  import type { ListingFieldConfig, UiFilter, UiSort, AggregationTotal, FilterOption } from '../types/listing.js';
7
7
  /**
8
- * Frontstack filter response structure
8
+ * Frontic filter response structure
9
9
  */
10
10
  interface FrontstackFilterResponse {
11
11
  [key: string]: FilterOption[] | undefined;
12
12
  }
13
13
  /**
14
- * Frontstack aggregation response structure
14
+ * Frontic aggregation response structure
15
15
  * Matches the _aggregation schema from the Fetch API
16
16
  */
17
17
  interface FrontstackAggregationResponse {
@@ -22,7 +22,7 @@ interface FrontstackAggregationResponse {
22
22
  /**
23
23
  * Extracts active (selected) filters from the API response
24
24
  *
25
- * @param filters - The filter response from Frontstack API
25
+ * @param filters - The filter response from Frontic API
26
26
  * @returns Record of active filters keyed by field name
27
27
  *
28
28
  * @example
@@ -43,8 +43,8 @@ export declare function makeFilterState(filters: FrontstackFilterResponse | unde
43
43
  * Aggregation data is merged onto matching filters or added as new entries.
44
44
  *
45
45
  * @template TFilters - Filter fields type for this listing (provides typed keys)
46
- * @param rawFilters - Raw filter response from Frontstack API
47
- * @param rawAggregation - Raw aggregation response from Frontstack API
46
+ * @param rawFilters - Raw filter response from Frontic API
47
+ * @param rawAggregation - Raw aggregation response from Frontic API
48
48
  * @param config - Filter configuration (select, mode, label, sort, type)
49
49
  * @returns Array of UiFilter objects ready for rendering (with typed keys)
50
50
  *
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@frontic/nuxt",
3
- "version": "0.5.2",
4
- "description": "Nuxt module for Frontstack headless commerce - zero config data fetching composables with smart caching, page routing, and context management",
3
+ "version": "0.6.1",
4
+ "description": "Nuxt module for Frontic - data fetching composables with smart caching, page routing, and context management",
5
5
  "license": "MIT",
6
6
  "author": "Frontic",
7
7
  "repository": {
@@ -9,7 +9,7 @@
9
9
  "url": "git+https://github.com/frontic/frontic-nuxt.git",
10
10
  "directory": "packages/nuxt"
11
11
  },
12
- "homepage": "https://docs.frontstack.dev/reference/nuxt-module",
12
+ "homepage": "https://docs.frontic.com",
13
13
  "bugs": {
14
14
  "url": "https://github.com/frontic/frontic-nuxt/issues"
15
15
  },
@@ -17,7 +17,7 @@
17
17
  "nuxt",
18
18
  "nuxt-module",
19
19
  "frontic",
20
- "frontstack",
20
+ "frontic-api",
21
21
  "vue",
22
22
  "headless-commerce",
23
23
  "e-commerce",
@@ -42,6 +42,18 @@
42
42
  "dist",
43
43
  "README.md"
44
44
  ],
45
+ "scripts": {
46
+ "prepack": "nuxt-module-build build",
47
+ "dev": "nuxi dev playground",
48
+ "dev:build": "nuxi build playground",
49
+ "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
50
+ "build": "nuxt-module-build build",
51
+ "typecheck": "vue-tsc --noEmit",
52
+ "test": "vitest run",
53
+ "test:watch": "vitest watch",
54
+ "test:coverage": "vitest run --coverage",
55
+ "clean": "rm -rf dist .nuxt"
56
+ },
45
57
  "dependencies": {
46
58
  "@nuxt/kit": "^3.17.0",
47
59
  "@pinia/colada": "^1.0.0",
@@ -65,16 +77,5 @@
65
77
  },
66
78
  "peerDependencies": {
67
79
  "nuxt": ">=3.17.0"
68
- },
69
- "scripts": {
70
- "dev": "nuxi dev playground",
71
- "dev:build": "nuxi build playground",
72
- "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
73
- "build": "nuxt-module-build build",
74
- "typecheck": "vue-tsc --noEmit",
75
- "test": "vitest run",
76
- "test:watch": "vitest watch",
77
- "test:coverage": "vitest run --coverage",
78
- "clean": "rm -rf dist .nuxt"
79
80
  }
80
- }
81
+ }
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 Frontic
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.