You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>Implementation of <ahref="../interfaces/clientconfig.clientconfiginit.html">ClientConfigInit</a>.<ahref="../interfaces/clientconfig.clientconfiginit.html#baseuri">baseUri</a></p>
<p>Implementation of <ahref="../interfaces/clientconfig.clientconfiginit.html">ClientConfigInit</a>.<ahref="../interfaces/clientconfig.clientconfiginit.html#fetch">fetch</a></p>
178
+
<ul>
179
+
<li>Defined in src/lib/clientConfig.ts:59</li>
168
180
</ul>
169
181
</aside>
170
182
</section>
@@ -175,7 +187,7 @@ <h3>fetch<wbr>Options</h3>
175
187
<asideclass="tsd-sources">
176
188
<p>Implementation of <ahref="../interfaces/clientconfig.clientconfiginit.html">ClientConfigInit</a>.<ahref="../interfaces/clientconfig.clientconfiginit.html#fetchoptions">fetchOptions</a></p>
177
189
<ul>
178
-
<li>Defined in src/lib/clientConfig.ts:56</li>
190
+
<li>Defined in src/lib/clientConfig.ts:57</li>
179
191
</ul>
180
192
</aside>
181
193
</section>
@@ -186,7 +198,7 @@ <h3>headers</h3>
186
198
<asideclass="tsd-sources">
187
199
<p>Implementation of <ahref="../interfaces/clientconfig.clientconfiginit.html">ClientConfigInit</a>.<ahref="../interfaces/clientconfig.clientconfiginit.html#headers">headers</a></p>
188
200
<ul>
189
-
<li>Defined in src/lib/clientConfig.ts:52</li>
201
+
<li>Defined in src/lib/clientConfig.ts:53</li>
190
202
</ul>
191
203
</aside>
192
204
<divclass="tsd-type-declaration">
@@ -205,7 +217,7 @@ <h3>parameters</h3>
205
217
<asideclass="tsd-sources">
206
218
<p>Implementation of <ahref="../interfaces/clientconfig.clientconfiginit.html">ClientConfigInit</a>.<ahref="../interfaces/clientconfig.clientconfiginit.html#parameters">parameters</a></p>
<p>Implementation of <ahref="../interfaces/clientconfig.clientconfiginit.html">ClientConfigInit</a>.<ahref="../interfaces/clientconfig.clientconfiginit.html#proxy">proxy</a></p>
<p>Implementation of <ahref="../interfaces/clientconfig.clientconfiginit.html">ClientConfigInit</a>.<ahref="../interfaces/clientconfig.clientconfiginit.html#throwonbadresponse">throwOnBadResponse</a></p>
<p>Implementation of <ahref="../interfaces/clientconfig.clientconfiginit.html">ClientConfigInit</a>.<ahref="../interfaces/clientconfig.clientconfiginit.html#transformrequest">transformRequest</a></p>
<li>The SDK requires B2C Commerce API (SCAPI) to be configured. For more info see <ahref="https://developer.salesforce.com/docs/commerce/commerce-api/guide/get-started.html">Getting started with SCAPI</a>.</li>
<li>You want the smallest overall bundle size for comprehensive usage</li>
195
+
<li>The entire SDK is optimized and maximally compressed as a single bundle</li>
196
+
</ul>
197
+
<p><strong>Note:</strong> Default and named imports load the entire SDK, including all APIs, helpers, and dependencies.</p>
198
+
<p><strong>Use Subpath Imports when:</strong></p>
199
+
<ul>
200
+
<li>You only need specific APIs</li>
201
+
<li>You want to minimize initial bundle size</li>
202
+
<li>You're implementing dynamic loading for better page performance</li>
203
+
<li>You need granular control over which APIs are loaded</li>
204
+
</ul>
205
+
<p><strong>Note:</strong> While subpath imports reduce initial bundle size, using them for all APIs will result in a larger total bundle size due to duplicated dependencies required for standalone operation.</p>
<p><strong>⚠️ Important: Unstable/preview releases are experimental and not officially supported.</strong></p>
422
+
<p>Preview releases (e.g., preview, unstable, or pre-release versions) are provided for experimental purposes and early testing of upcoming features. These releases:</p>
423
+
<ul>
424
+
<li><strong>Are not intended for production use</strong> - Do not use unstable releases in production environments</li>
425
+
<li><strong>May contain breaking changes</strong> - API signatures, behavior, and structure may change without notice</li>
426
+
<li><strong>Are not officially supported</strong> - No support, bug fixes, or security patches are guaranteed</li>
427
+
<li><strong>May have incomplete features</strong> - Functionality may be partially implemented or subject to change</li>
428
+
</ul>
429
+
<p><strong>Use stable releases for production applications.</strong> Only use unstable releases for:</p>
430
+
<ul>
431
+
<li>Testing upcoming features in development environments</li>
432
+
<li>Providing feedback on new functionality before official release</li>
433
+
<li>Experimental integrations that are not mission-critical</li>
434
+
</ul>
435
+
<p>For production deployments, always use the latest stable release version available on npm.</p>
0 commit comments