Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Commit 22f8a3f

Browse files
authored
Merge release-v0.2.0 into master
2 parents 166dd3b + 79cbbbf commit 22f8a3f

File tree

661 files changed

+104663
-36422
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

661 files changed

+104663
-36422
lines changed

.babelrc

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,15 @@
55
["env", {"modules": false}]
66
],
77
"plugins": [
8-
"external-helpers"
8+
"external-helpers",
9+
"transform-class-properties"
910
]
1011
},
1112
"test": {
12-
"presets": ["env"]
13+
"presets": ["env"],
14+
"plugins": [
15+
"transform-class-properties"
16+
]
1317
}
1418
}
15-
}
19+
}

.eslintrc.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,9 @@ globals:
88
rules:
99
camelcase: off
1010
no-prototype-builtins: 0
11+
no-useless-constructor: off
12+
max-len:
13+
- error
14+
- 200
15+
- ignoreComments: true
1116
parser: babel-eslint

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## v0.2.0 (July 21, 2020)
2+
- Regenerate client using version 20.4 of the OCAPI swagger definition. [#37](https://github.com/mobify/commercecloud-ocapi-client/pull/37)
3+
14
## v0.1.12 (January 15, 2020)
25
- Fix refine option processing to include refine_1 ... refine_n alternatives
36

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ _(___ _(___/_/_/__/_/_/__/_(___ _/_____(___ _(___ _(___ _/___(___/_(___(__(___/_
1919

2020
Salesforce Commerce Cloud Open Commerce API (OCAPI) for Node and browsers.
2121

22-
- API version: 17.8
22+
- API version: 20.4
2323

2424
### ⚒ Installation
2525

@@ -78,7 +78,7 @@ The API client accepts an configuration object, example:
7878
import ShopApi from 'commercecloud-ocapi-client'
7979

8080
const config = {
81-
basePath: 'https://localhost/s/siteId/dw/shop/v17_8',
81+
basePath: 'https://localhost/s/siteId/dw/shop/v20_4',
8282
defaultHeaders: {}, // HTTP header for all requests
8383
timeout: 60000, // Request timeout in milliseconds
8484
cache: true, // If set to false an additional timestamp parameter is added to all API GET calls to prevent browser caching
@@ -126,7 +126,7 @@ Example:
126126
```json
127127
{
128128
"clientId": "5640cc6b-f5e9-466e-9134-9853e9f9db93",
129-
"baseUrl": "https://localhost/s/siteId/dw/shop/v17_8"
129+
"baseUrl": "https://localhost/s/siteId/dw/shop/v20_4"
130130
}
131131
```
132132
Then run the following command:

docs/ApiClient.js.html

Lines changed: 6 additions & 6 deletions
Large diffs are not rendered by default.

docs/api_AiApi.js.html

Lines changed: 166 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)