Skip to content

Commit

Permalink
v6.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Aymkdn committed Dec 30, 2019
1 parent 00a36e8 commit cadb1de
Show file tree
Hide file tree
Showing 19 changed files with 25 additions and 20 deletions.
4 changes: 2 additions & 2 deletions browser/sharepointplus.js

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

**Change Log v6.0.3 (December 30, 2019)**

- Fixed `$SP().getRequestDigest()` when using on Node server
- `$SP().addressbook()` was incorrectly named `$SP().adressbook()`

**Change Log v6.0.2 (December 27, 2019)**

- Additional fix to follow up v6.0.1 release
Expand Down
2 changes: 1 addition & 1 deletion docs/core.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ <h3>Returns:</h3>
<div>Documentation built by <a target="_blank" href="http://twitter.com/aymkdn">@aymkdn</a> (<a href="http://kodono.info">http://kodono.info</a>) with <a href="https://jsdoc.app/">JSDoc</a>.</div>
<div>This work is licensed under <a rel="license" href="https://github.com/Aymkdn/SharepointPlus/blob/master/license.md">LGPL-3</a>.</div>
<div>Designed with <a href="http://twitter.github.com/bootstrap/">Bootstrap from Twitter</a>.</div>
<div>Automatically generated with JSDoc on Fri, 27 Dec 2019 16:21:05 GMT</div>
<div>Automatically generated with JSDoc on Mon, 30 Dec 2019 09:53:34 GMT</div>
</footer>
<script>prettyPrint()</script>
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/files.html
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ <h3>Example:</h3>
<div>Documentation built by <a target="_blank" href="http://twitter.com/aymkdn">@aymkdn</a> (<a href="http://kodono.info">http://kodono.info</a>) with <a href="https://jsdoc.app/">JSDoc</a>.</div>
<div>This work is licensed under <a rel="license" href="https://github.com/Aymkdn/SharepointPlus/blob/master/license.md">LGPL-3</a>.</div>
<div>Designed with <a href="http://twitter.github.com/bootstrap/">Bootstrap from Twitter</a>.</div>
<div>Automatically generated with JSDoc on Fri, 27 Dec 2019 16:21:05 GMT</div>
<div>Automatically generated with JSDoc on Mon, 30 Dec 2019 09:53:34 GMT</div>
</footer>
<script>prettyPrint()</script>
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ <h2>Older Versions</h2>
<div>Documentation built by <a target="_blank" href="http://twitter.com/aymkdn">@aymkdn</a> (<a href="http://kodono.info">http://kodono.info</a>) with <a href="https://jsdoc.app/">JSDoc</a>.</div>
<div>This work is licensed under <a rel="license" href="https://github.com/Aymkdn/SharepointPlus/blob/master/license.md">LGPL-3</a>.</div>
<div>Designed with <a href="http://twitter.github.com/bootstrap/">Bootstrap from Twitter</a>.</div>
<div>Automatically generated with JSDoc on Fri, 27 Dec 2019 16:21:05 GMT</div>
<div>Automatically generated with JSDoc on Mon, 30 Dec 2019 09:53:34 GMT</div>
</footer>
<script>prettyPrint()</script>
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/lists.html
Original file line number Diff line number Diff line change
Expand Up @@ -1584,7 +1584,7 @@ <h3>Example:</h3>
<div>Documentation built by <a target="_blank" href="http://twitter.com/aymkdn">@aymkdn</a> (<a href="http://kodono.info">http://kodono.info</a>) with <a href="https://jsdoc.app/">JSDoc</a>.</div>
<div>This work is licensed under <a rel="license" href="https://github.com/Aymkdn/SharepointPlus/blob/master/license.md">LGPL-3</a>.</div>
<div>Designed with <a href="http://twitter.github.com/bootstrap/">Bootstrap from Twitter</a>.</div>
<div>Automatically generated with JSDoc on Fri, 27 Dec 2019 16:21:05 GMT</div>
<div>Automatically generated with JSDoc on Mon, 30 Dec 2019 09:53:34 GMT</div>
</footer>
<script>prettyPrint()</script>
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/modals.html
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ <h3>Parameters:</h3>
<div>Documentation built by <a target="_blank" href="http://twitter.com/aymkdn">@aymkdn</a> (<a href="http://kodono.info">http://kodono.info</a>) with <a href="https://jsdoc.app/">JSDoc</a>.</div>
<div>This work is licensed under <a rel="license" href="https://github.com/Aymkdn/SharepointPlus/blob/master/license.md">LGPL-3</a>.</div>
<div>Designed with <a href="http://twitter.github.com/bootstrap/">Bootstrap from Twitter</a>.</div>
<div>Automatically generated with JSDoc on Fri, 27 Dec 2019 16:21:05 GMT</div>
<div>Automatically generated with JSDoc on Mon, 30 Dec 2019 09:53:34 GMT</div>
</footer>
<script>prettyPrint()</script>
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/node.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ <h3>Example:</h3>
<div>Documentation built by <a target="_blank" href="http://twitter.com/aymkdn">@aymkdn</a> (<a href="http://kodono.info">http://kodono.info</a>) with <a href="https://jsdoc.app/">JSDoc</a>.</div>
<div>This work is licensed under <a rel="license" href="https://github.com/Aymkdn/SharepointPlus/blob/master/license.md">LGPL-3</a>.</div>
<div>Designed with <a href="http://twitter.github.com/bootstrap/">Bootstrap from Twitter</a>.</div>
<div>Automatically generated with JSDoc on Fri, 27 Dec 2019 16:21:05 GMT</div>
<div>Automatically generated with JSDoc on Mon, 30 Dec 2019 09:53:34 GMT</div>
</footer>
<script>prettyPrint()</script>
</body>
Expand Down
4 changes: 2 additions & 2 deletions docs/people.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<div class="span10"><h1>Methods</h1>
<a name="addressbook"></a>
<div class="member">
<h2><a href="#addressbook" title="Direct link to the method 'addressbook'">addressbook</a></h2> (<a href="https://github.com/Aymkdn/SharepointPlus/blob/master/src/people/adressbook.js#L5">source code</a>)
<h2><a href="#addressbook" title="Direct link to the method 'addressbook'">addressbook</a></h2> (<a href="https://github.com/Aymkdn/SharepointPlus/blob/master/src/people/addressbook.js#L5">source code</a>)

<div>
<div class="method well">addressbook<span class="signature">(word, setup)</span></div>
Expand Down Expand Up @@ -470,7 +470,7 @@ <h3>Example:</h3>
<div>Documentation built by <a target="_blank" href="http://twitter.com/aymkdn">@aymkdn</a> (<a href="http://kodono.info">http://kodono.info</a>) with <a href="https://jsdoc.app/">JSDoc</a>.</div>
<div>This work is licensed under <a rel="license" href="https://github.com/Aymkdn/SharepointPlus/blob/master/license.md">LGPL-3</a>.</div>
<div>Designed with <a href="http://twitter.github.com/bootstrap/">Bootstrap from Twitter</a>.</div>
<div>Automatically generated with JSDoc on Fri, 27 Dec 2019 16:21:05 GMT</div>
<div>Automatically generated with JSDoc on Mon, 30 Dec 2019 09:53:34 GMT</div>
</footer>
<script>prettyPrint()</script>
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/utils.html
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@ <h3>Example:</h3>
<div>Documentation built by <a target="_blank" href="http://twitter.com/aymkdn">@aymkdn</a> (<a href="http://kodono.info">http://kodono.info</a>) with <a href="https://jsdoc.app/">JSDoc</a>.</div>
<div>This work is licensed under <a rel="license" href="https://github.com/Aymkdn/SharepointPlus/blob/master/license.md">LGPL-3</a>.</div>
<div>Designed with <a href="http://twitter.github.com/bootstrap/">Bootstrap from Twitter</a>.</div>
<div>Automatically generated with JSDoc on Fri, 27 Dec 2019 16:21:05 GMT</div>
<div>Automatically generated with JSDoc on Mon, 30 Dec 2019 09:53:34 GMT</div>
</footer>
<script>prettyPrint()</script>
</body>
Expand Down
4 changes: 2 additions & 2 deletions es5/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import removeNotify from './modals/removeNotify.js';
import resizeModalDialog from './modals/resizeModalDialog.js';
import showModalDialog from './modals/showModalDialog.js';
import waitModalDialog from './modals/waitModalDialog.js';
import adressbook from './people/adressbook.js';
import addressbook from './people/addressbook.js';
import distributionLists from './people/distributionLists.js';
import getManager from './people/getManager.js';
import getUserInfo from './people/getUserInfo.js';
Expand Down Expand Up @@ -104,7 +104,7 @@ export default spInit({
resizeModalDialog: resizeModalDialog,
showModalDialog: showModalDialog,
waitModalDialog: waitModalDialog,
adressbook: adressbook,
addressbook: addressbook,
distributionLists: distributionLists,
getManager: getManager,
getUserInfo: getUserInfo,
Expand Down
2 changes: 1 addition & 1 deletion es5/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function () {
_createClass(SharepointPlus, [{
key: "getVersion",
value: function getVersion() {
return "6.0.2";
return "6.0.3";
}
/**
@name $SP().auth
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion es5/utils/getRequestDigest.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function _getRequestDigest() {

global._SP_CACHE_REQUESTDIGEST[url] = digest;

if (document) {
if (global._SP_ISBROWSER && document) {
e = document.querySelector("#__REQUESTDIGEST");
if (e) e.value = digest;
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sharepointplus",
"version": "6.0.2",
"version": "6.0.3",
"description": "A library that offers an easy interface to deal with Sharepoint",
"module": "./es5/index.js",
"main": "./es5/index.js",
Expand Down
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import removeNotify from './modals/removeNotify.js'
import resizeModalDialog from './modals/resizeModalDialog.js'
import showModalDialog from './modals/showModalDialog.js'
import waitModalDialog from './modals/waitModalDialog.js'
import adressbook from './people/adressbook.js'
import addressbook from './people/addressbook.js'
import distributionLists from './people/distributionLists.js'
import getManager from './people/getManager.js'
import getUserInfo from './people/getUserInfo.js'
Expand Down Expand Up @@ -104,7 +104,7 @@ export default spInit({
resizeModalDialog:resizeModalDialog,
showModalDialog:showModalDialog,
waitModalDialog:waitModalDialog,
adressbook:adressbook,
addressbook:addressbook,
distributionLists:distributionLists,
getManager:getManager,
getUserInfo:getUserInfo,
Expand Down
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default class SharepointPlus {
@return {String} The current SharepointPlus version
*/
getVersion () { return "6.0.2" }
getVersion () { return "6.0.3" }

/**
@name $SP().auth
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/utils/getRequestDigest.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default async function getRequestDigest(settings) {
digest=data.d.GetContextWebInformation.FormDigestValue;
// cache
global._SP_CACHE_REQUESTDIGEST[url]=digest;
if (document) {
if (global._SP_ISBROWSER && document) {
e=document.querySelector("#__REQUESTDIGEST");
if (e) e.value=digest;
}
Expand Down

0 comments on commit cadb1de

Please sign in to comment.