Skip to content

Commit

Permalink
Update for v2.11.2
Browse files Browse the repository at this point in the history
  • Loading branch information
joeluong-sfcc committed Sep 20, 2023
1 parent 0f50d2e commit 23eee7b
Show file tree
Hide file tree
Showing 12 changed files with 47 additions and 33 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ only use JavaScript, or if you use TypeScript but only import the client classes
then your usage **will not change**. You will likely only need to make changes if
you import the type definitions directly.

## v2.11.2

#### Bug fixes

- Mark `expand` query parameter for `getProduct` endpoint as optional instead of required

### v2.11.1

#### Bug fixes
Expand Down
4 changes: 3 additions & 1 deletion apis/product/shopper-products/shopper-products.raml
Original file line number Diff line number Diff line change
Expand Up @@ -878,11 +878,12 @@ types:
type: string
required: false
example: USD
expand?:
expand:
description: The expand parameter. A comma separated list with the allowed values (availability, links, promotions, options, images, prices, variations, recommendations). All expand parameters are used for the request when no expand parameter is provided. The value "none" may be used to turn off all expand options.
type: array
items:
enum: [availability,links,promotions,options,images,prices,variations,recommendations]
required: false
example: [prices,promotions]
locale:
description: The locale context.
Expand Down Expand Up @@ -955,6 +956,7 @@ types:
type: array
items:
enum: [availability,bundled_products,links,promotions,options,images,prices,variations,set_products,recommendations]
required: false
example: [prices,promotions]
locale:
description: The locale context.
Expand Down
6 changes: 6 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ only use JavaScript, or if you use TypeScript but only import the client classes
then your usage **will not change**. You will likely only need to make changes if
you import the type definitions directly.

## v2.11.2

#### Bug fixes

- Mark `expand` query parameter for `getProduct` endpoint as optional instead of required

### v2.11.1

#### Bug fixes
Expand Down
16 changes: 8 additions & 8 deletions docs/classes/product.shopperproducts.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ <h2>Security</h2>
<p>For more information about security considerations related to developing headless commerce applications, see
<a href="https://developer.salesforce.com/docs/commerce/commerce-api/guide/security-considerations-for-headless-commerce.html">Security Considerations for Headless Commerce</a> on the
<a href="https://developer.salesforce.com/developer-centers/commerce-cloud">Commerce Cloud Developer Center</a>.</p>
<p>If you discover any potential security issues, please report them to <a href="mailto:&#115;&#101;&#99;&#117;&#x72;&#x69;&#116;&#121;&#x40;&#x73;&#97;&#108;&#x65;&#115;&#102;&#111;&#x72;&#99;&#101;&#x2e;&#99;&#x6f;&#109;">&#115;&#101;&#99;&#117;&#x72;&#x69;&#116;&#121;&#x40;&#x73;&#97;&#108;&#x65;&#115;&#102;&#111;&#x72;&#99;&#101;&#x2e;&#99;&#x6f;&#109;</a> as soon as possible.</p>
<p>If you discover any potential security issues, please report them to <a href="mailto:&#115;&#x65;&#x63;&#117;&#x72;&#105;&#116;&#121;&#64;&#x73;&#x61;&#108;&#x65;&#x73;&#102;&#111;&#114;&#99;&#101;&#46;&#99;&#111;&#x6d;">&#115;&#x65;&#x63;&#117;&#x72;&#105;&#116;&#121;&#64;&#x73;&#x61;&#108;&#x65;&#x73;&#102;&#111;&#114;&#99;&#101;&#46;&#99;&#111;&#x6d;</a> as soon as possible.</p>
<a href="#additional-documentation" id="additional-documentation" style="color: inherit; text-decoration: none;">
<h2>Additional Documentation</h2>
</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/cdn.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> USER_<wbr>AGENT_<wbr>HEADER
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
<a name="user_agent_value" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> USER_<wbr>AGENT_<wbr>VALUE</h3>
<div class="tsd-signature tsd-kind-icon">USER_<wbr>AGENT_<wbr>VALUE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"commerce-sdk@2.11.0;"</span><span class="tsd-signature-symbol"> = &quot;commerce-sdk@2.11.0;&quot;</span></div>
<div class="tsd-signature tsd-kind-icon">USER_<wbr>AGENT_<wbr>VALUE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"commerce-sdk@2.11.1;"</span><span class="tsd-signature-symbol"> = &quot;commerce-sdk@2.11.1;&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in renderedTemplates/cdn/cdnZones/cdnZones.ts:642</li>
Expand Down
6 changes: 3 additions & 3 deletions docs/modules/checkout.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> USER_<wbr>AGENT_<wbr>HEADER
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
<a name="user_agent_value" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> USER_<wbr>AGENT_<wbr>VALUE</h3>
<div class="tsd-signature tsd-kind-icon">USER_<wbr>AGENT_<wbr>VALUE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"commerce-sdk@2.11.0;"</span><span class="tsd-signature-symbol"> = &quot;commerce-sdk@2.11.0;&quot;</span></div>
<div class="tsd-signature tsd-kind-icon">USER_<wbr>AGENT_<wbr>VALUE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"commerce-sdk@2.11.1;"</span><span class="tsd-signature-symbol"> = &quot;commerce-sdk@2.11.1;&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in renderedTemplates/checkout/orders/orders.ts:722</li>
Expand All @@ -137,7 +137,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> USER_<wbr>AGENT_<wbr>VALUE<
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
<a name="user_agent_value-1" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> USER_<wbr>AGENT_<wbr>VALUE</h3>
<div class="tsd-signature tsd-kind-icon">USER_<wbr>AGENT_<wbr>VALUE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"commerce-sdk@2.11.0;"</span><span class="tsd-signature-symbol"> = &quot;commerce-sdk@2.11.0;&quot;</span></div>
<div class="tsd-signature tsd-kind-icon">USER_<wbr>AGENT_<wbr>VALUE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"commerce-sdk@2.11.1;"</span><span class="tsd-signature-symbol"> = &quot;commerce-sdk@2.11.1;&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in renderedTemplates/checkout/shopperBaskets/shopperBaskets.ts:716</li>
Expand All @@ -147,7 +147,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> USER_<wbr>AGENT_<wbr>VALUE<
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
<a name="user_agent_value-2" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> USER_<wbr>AGENT_<wbr>VALUE</h3>
<div class="tsd-signature tsd-kind-icon">USER_<wbr>AGENT_<wbr>VALUE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"commerce-sdk@2.11.0;"</span><span class="tsd-signature-symbol"> = &quot;commerce-sdk@2.11.0;&quot;</span></div>
<div class="tsd-signature tsd-kind-icon">USER_<wbr>AGENT_<wbr>VALUE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"commerce-sdk@2.11.1;"</span><span class="tsd-signature-symbol"> = &quot;commerce-sdk@2.11.1;&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in renderedTemplates/checkout/shopperOrders/shopperOrders.ts:715</li>
Expand Down
10 changes: 5 additions & 5 deletions docs/modules/customer.html
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> USER_<wbr>AGENT_<wbr>HEADER
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
<a name="user_agent_value" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> USER_<wbr>AGENT_<wbr>VALUE</h3>
<div class="tsd-signature tsd-kind-icon">USER_<wbr>AGENT_<wbr>VALUE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"commerce-sdk@2.11.0;"</span><span class="tsd-signature-symbol"> = &quot;commerce-sdk@2.11.0;&quot;</span></div>
<div class="tsd-signature tsd-kind-icon">USER_<wbr>AGENT_<wbr>VALUE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"commerce-sdk@2.11.1;"</span><span class="tsd-signature-symbol"> = &quot;commerce-sdk@2.11.1;&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in renderedTemplates/customer/customers/customers.ts:386</li>
Expand All @@ -163,7 +163,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> USER_<wbr>AGENT_<wbr>VALUE<
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
<a name="user_agent_value-1" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> USER_<wbr>AGENT_<wbr>VALUE</h3>
<div class="tsd-signature tsd-kind-icon">USER_<wbr>AGENT_<wbr>VALUE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"commerce-sdk@2.11.0;"</span><span class="tsd-signature-symbol"> = &quot;commerce-sdk@2.11.0;&quot;</span></div>
<div class="tsd-signature tsd-kind-icon">USER_<wbr>AGENT_<wbr>VALUE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"commerce-sdk@2.11.1;"</span><span class="tsd-signature-symbol"> = &quot;commerce-sdk@2.11.1;&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in renderedTemplates/customer/shopperContext/shopperContext.ts:300</li>
Expand All @@ -173,7 +173,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> USER_<wbr>AGENT_<wbr>VALUE<
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
<a name="user_agent_value-2" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> USER_<wbr>AGENT_<wbr>VALUE</h3>
<div class="tsd-signature tsd-kind-icon">USER_<wbr>AGENT_<wbr>VALUE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"commerce-sdk@2.11.0;"</span><span class="tsd-signature-symbol"> = &quot;commerce-sdk@2.11.0;&quot;</span></div>
<div class="tsd-signature tsd-kind-icon">USER_<wbr>AGENT_<wbr>VALUE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"commerce-sdk@2.11.1;"</span><span class="tsd-signature-symbol"> = &quot;commerce-sdk@2.11.1;&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in renderedTemplates/customer/shopperCustomers/shopperCustomers.ts:1074</li>
Expand All @@ -183,7 +183,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> USER_<wbr>AGENT_<wbr>VALUE<
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
<a name="user_agent_value-3" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> USER_<wbr>AGENT_<wbr>VALUE</h3>
<div class="tsd-signature tsd-kind-icon">USER_<wbr>AGENT_<wbr>VALUE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"commerce-sdk@2.11.0;"</span><span class="tsd-signature-symbol"> = &quot;commerce-sdk@2.11.0;&quot;</span></div>
<div class="tsd-signature tsd-kind-icon">USER_<wbr>AGENT_<wbr>VALUE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"commerce-sdk@2.11.1;"</span><span class="tsd-signature-symbol"> = &quot;commerce-sdk@2.11.1;&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in renderedTemplates/customer/shopperLogin/shopperLogin.ts:416</li>
Expand All @@ -193,7 +193,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> USER_<wbr>AGENT_<wbr>VALUE<
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
<a name="user_agent_value-4" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> USER_<wbr>AGENT_<wbr>VALUE</h3>
<div class="tsd-signature tsd-kind-icon">USER_<wbr>AGENT_<wbr>VALUE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"commerce-sdk@2.11.0;"</span><span class="tsd-signature-symbol"> = &quot;commerce-sdk@2.11.0;&quot;</span></div>
<div class="tsd-signature tsd-kind-icon">USER_<wbr>AGENT_<wbr>VALUE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"commerce-sdk@2.11.1;"</span><span class="tsd-signature-symbol"> = &quot;commerce-sdk@2.11.1;&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in renderedTemplates/customer/slasAdmin/slasAdmin.ts:217</li>
Expand Down
4 changes: 2 additions & 2 deletions docs/modules/discovery.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> USER_<wbr>AGENT_<wbr>HEADER
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
<a name="user_agent_value" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> USER_<wbr>AGENT_<wbr>VALUE</h3>
<div class="tsd-signature tsd-kind-icon">USER_<wbr>AGENT_<wbr>VALUE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"commerce-sdk@2.11.0;"</span><span class="tsd-signature-symbol"> = &quot;commerce-sdk@2.11.0;&quot;</span></div>
<div class="tsd-signature tsd-kind-icon">USER_<wbr>AGENT_<wbr>VALUE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"commerce-sdk@2.11.1;"</span><span class="tsd-signature-symbol"> = &quot;commerce-sdk@2.11.1;&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in renderedTemplates/discovery/shopperDiscoverySearch/shopperDiscoverySearch.ts:419</li>
Expand All @@ -124,7 +124,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> USER_<wbr>AGENT_<wbr>VALUE<
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
<a name="user_agent_value-1" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> USER_<wbr>AGENT_<wbr>VALUE</h3>
<div class="tsd-signature tsd-kind-icon">USER_<wbr>AGENT_<wbr>VALUE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"commerce-sdk@2.11.0;"</span><span class="tsd-signature-symbol"> = &quot;commerce-sdk@2.11.0;&quot;</span></div>
<div class="tsd-signature tsd-kind-icon">USER_<wbr>AGENT_<wbr>VALUE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"commerce-sdk@2.11.1;"</span><span class="tsd-signature-symbol"> = &quot;commerce-sdk@2.11.1;&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in renderedTemplates/discovery/shopperSearch/shopperSearch.ts:450</li>
Expand Down
Loading

0 comments on commit 23eee7b

Please sign in to comment.