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

Commit 5e4d553

Browse files
authored
Merge pull request #1 from mobify/module-name-change
Module name change
2 parents 02f467b + 0b46526 commit 5e4d553

File tree

7 files changed

+5654
-60
lines changed

7 files changed

+5654
-60
lines changed

.babelrc

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,5 @@
88
],
99
"stage-0"
1010
],
11-
"env": {
12-
"production": {
13-
"plugins": ["external-helpers", "transform-es2015-function-name"]
14-
},
15-
"test": {
16-
"plugins": ["babel-plugin-transform-es2015-modules-commonjs"]
17-
}
18-
}
11+
"plugins": ["babel-plugin-transform-es2015-modules-commonjs"]
1912
}

CHANGELOG.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
## v0.2.2 (November 3, 2017)
1+
## To be released
2+
- Module name change
23
- Add ASCII art
34
- Add circleci/npm links to README
45
- Fix npm package content in package.json
5-
6-
## v0.2.1 (November 1, 2017)
76
- Update README
87
- Remove reference to test Salesforce instance
98
- Compile docs
10-
11-
## v0.2.0 (November 1, 2017)
129
- Initial release

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
# OCAPI Client
1+
# Salesforce Commerce Cloud OCAPI Client
22

33
```
4-
__________________________________________________________________
5-
6-
, / ,
7-
----__----__----__------__------------__---/--------__----__--_/_-
8-
/ ) / ' / ) / ) / / ' / / /___) / ) /
9-
_(___/_(___ _(___(___/___/_/_______(___ _/___/___(___ _/___/_(_ __
10-
/
11-
/
4+
_______________________________________________________________________________________________________________________________________________________
5+
6+
/ / , / ,
7+
----__----__---_--_---_--_----__---)__----__----__----__---/----__-----------__-/--------__----__----__------__------------__---/--------__----__--_/_-
8+
/ ' / ) / / ) / / ) /___) / ) / ' /___) / ' / / ) / / / / / ) / ' / ) / ) / / ' / / /___) / ) /
9+
_(___ _(___/_/_/__/_/_/__/_(___ _/_____(___ _(___ _(___ _/___(___/_(___(__(___/_______(___/_(___ _(___(___/___/_/_______(___ _/___/___(___ _/___/_(_ __
10+
/
11+
/
1212
```
1313

14-
[![NPM](https://nodei.co/npm/ocapi-client.png?downloads=true&stars=true)](https://nodei.co/npm/ocapi-client/)
14+
[![NPM](https://nodei.co/npm/commercecloud-ocapi-client.png?downloads=true&stars=true)](https://nodei.co/npm/commercecloud-ocapi-client/)
1515

16-
[![CircleCI](https://circleci.com/gh/mobify/ocapi-client.svg?style=svg)](https://circleci.com/gh/mobify/ocapi-client)
16+
[![CircleCI](https://circleci.com/gh/mobify/commercecloud-ocapi-client.svg?style=svg)](https://circleci.com/gh/mobify/commercecloud-ocapi-client)
1717

1818
## Introduction
1919

20-
ShopApi - JavaScript client for Salesforce OCAPI shop api.
20+
ShopApi - ES6 JavaScript client for Salesforce Commerce Cloud OCAPI Shop API.
2121

2222
- API version: 17.8
2323

@@ -33,7 +33,7 @@ please follow the procedure in ["Publishing npm packages"](https://docs.npmjs.co
3333
Then install it via:
3434

3535
```shell
36-
npm install ocapi-client --save
36+
npm install commercecloud-ocapi-client --save
3737
```
3838

3939
#### git
@@ -81,7 +81,7 @@ module: {
8181
Please follow the [installation](#installation) instruction and execute the following JS code:
8282

8383
```javascript
84-
import ShopApi from 'ocapi-client'
84+
import ShopApi from 'commercecloud-ocapi-client'
8585

8686
ShopApi.ApiClient.instance = new ShopApi.ApiClient({
8787
clientUsername: 'YOUR USERNAME', // Configure HTTP basic authorization: customers_auth
@@ -105,7 +105,7 @@ api.deleteBasketsByID(basketId)
105105

106106
## Documentation for API Endpoints
107107

108-
- [API Docs](https://mobify.github.io/ocapi-client/)
108+
- [API Docs](https://mobify.github.io/commercecloud-ocapi-client/)
109109

110110
## Documentation for Authorization
111111

docs/index.html

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -43,23 +43,23 @@ <h3> </h3>
4343

4444

4545
<section>
46-
<article><h1>OCAPI Client</h1><pre class="prettyprint source"><code>__________________________________________________________________
47-
48-
, / ,
49-
----__----__----__------__------------__---/--------__----__--_/_-
50-
/ ) / ' / ) / ) / / ' / / /___) / ) /
51-
_(___/_(___ _(___(___/___/_/_______(___ _/___/___(___ _/___/_(_ __
52-
/
53-
/</code></pre><p><a href="https://nodei.co/npm/ocapi-client/"><img src="https://nodei.co/npm/ocapi-client.png?downloads=true&amp;stars=true" alt="NPM"></a></p>
54-
<p><a href="https://circleci.com/gh/mobify/ocapi-client"><img src="https://circleci.com/gh/mobify/ocapi-client.svg?style=svg" alt="CircleCI"></a></p>
55-
<h2>Introduction</h2><p>ShopApi - JavaScript client for Salesforce OCAPI shop api.</p>
46+
<article><h1>Salesforce Commerce Cloud OCAPI Client</h1><pre class="prettyprint source"><code>_______________________________________________________________________________________________________________________________________________________
47+
48+
/ / , / ,
49+
----__----__---_--_---_--_----__---)__----__----__----__---/----__-----------__-/--------__----__----__------__------------__---/--------__----__--_/_-
50+
/ ' / ) / / ) / / ) /___) / ) / ' /___) / ' / / ) / / / / / ) / ' / ) / ) / / ' / / /___) / ) /
51+
_(___ _(___/_/_/__/_/_/__/_(___ _/_____(___ _(___ _(___ _/___(___/_(___(__(___/_______(___/_(___ _(___(___/___/_/_______(___ _/___/___(___ _/___/_(_ __
52+
/
53+
/</code></pre><p><a href="https://nodei.co/npm/commercecloud-ocapi-client/"><img src="https://nodei.co/npm/commercecloud-ocapi-client.png?downloads=true&amp;stars=true" alt="NPM"></a></p>
54+
<p><a href="https://circleci.com/gh/mobify/commercecloud-ocapi-client"><img src="https://circleci.com/gh/mobify/commercecloud-ocapi-client.svg?style=svg" alt="CircleCI"></a></p>
55+
<h2>Introduction</h2><p>ShopApi - JavaScript client for Salesforce Commerce Cloud OCAPI Shop API.</p>
5656
<ul>
5757
<li>API version: 17.8</li>
5858
</ul>
5959
<h2>Installation</h2><h3>For <a href="https://nodejs.org/">Node.js</a></h3><h4>npm</h4><p>To publish the library as a <a href="https://www.npmjs.com/">npm</a>,
6060
please follow the procedure in <a href="https://docs.npmjs.com/getting-started/publishing-npm-packages">&quot;Publishing npm packages&quot;</a>.</p>
6161
<p>Then install it via:</p>
62-
<pre class="prettyprint source lang-shell"><code>npm install ocapi-client --save</code></pre><h4>git</h4><p>#
62+
<pre class="prettyprint source lang-shell"><code>npm install commercecloud-ocapi-client --save</code></pre><h4>git</h4><p>#
6363
If the library is hosted at a git repository, e.g.
6464
https://github.com/GIT_USER_ID/GIT_REPO_ID
6565
then install it via:</p>
@@ -79,7 +79,7 @@ <h3>Webpack Configuration</h3><p>Using Webpack you may encounter the following e
7979
}
8080
]
8181
}</code></pre><h2>Getting Started</h2><p>Please follow the <a href="#installation">installation</a> instruction and execute the following JS code:</p>
82-
<pre class="prettyprint source lang-javascript"><code>import ShopApi from 'ocapi-client'
82+
<pre class="prettyprint source lang-javascript"><code>import ShopApi from 'commercecloud-ocapi-client'
8383

8484
ShopApi.ApiClient.instance = new ShopApi.ApiClient({
8585
clientUsername: 'YOUR USERNAME', // Configure HTTP basic authorization: customers_auth
@@ -98,7 +98,7 @@ <h3>Webpack Configuration</h3><p>Using Webpack you may encounter the following e
9898
.catch((fault) => {
9999
console.error(fault)
100100
})</code></pre><h2>Documentation for API Endpoints</h2><ul>
101-
<li><a href="https://mobify.github.io/ocapi-client/">API Docs</a></li>
101+
<li><a href="https://mobify.github.io/commercecloud-ocapi-client/">API Docs</a></li>
102102
</ul>
103103
<h2>Documentation for Authorization</h2><h3>client_id</h3><ul>
104104
<li><strong>Type</strong>: API key</li>

0 commit comments

Comments
 (0)