@ardimedia/angular-portal-azure 0.2.333 → 0.2.334
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apn.js +8 -0
- package/index.js +14 -14
- package/package.json +1 -1
package/apn.js
CHANGED
|
@@ -1777,6 +1777,14 @@ var angularportalazure;
|
|
|
1777
1777
|
exception.Message = response.json().InnerException.InnerException.Message;
|
|
1778
1778
|
}
|
|
1779
1779
|
// #endregion
|
|
1780
|
+
// #region Process (Angular 2) response._body
|
|
1781
|
+
else if (response._body !== undefined) {
|
|
1782
|
+
var body = JSON.parse(response._body);
|
|
1783
|
+
if (body.Message) {
|
|
1784
|
+
exception.Message = body.Message;
|
|
1785
|
+
}
|
|
1786
|
+
}
|
|
1787
|
+
// #endregion
|
|
1780
1788
|
//exception.convertResponse(response);
|
|
1781
1789
|
exception.Url = response.url;
|
|
1782
1790
|
exception.Status = response.status;
|
package/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
require('./apn');
|
|
2
|
-
module.exports = angularportalazure;
|
|
3
|
-
|
|
4
|
-
// TODO: 2016-10-25/hp: maybe we should use
|
|
5
|
-
/// https://www.typescriptlang.org/docs/handbook/declaration-files/library-structures.html
|
|
6
|
-
(function (root, factory) {
|
|
7
|
-
if (typeof define === "function" && define.amd) {
|
|
8
|
-
define(["libName"], factory);
|
|
9
|
-
} else if (typeof module === "object" && module.exports) {
|
|
10
|
-
module.exports = factory(require("libName"));
|
|
11
|
-
} else {
|
|
12
|
-
root.returnExports = factory(root.libName);
|
|
13
|
-
}
|
|
14
|
-
}(this, function (b) { console.log(b); }))
|
|
1
|
+
require('./apn');
|
|
2
|
+
module.exports = angularportalazure;
|
|
3
|
+
|
|
4
|
+
// TODO: 2016-10-25/hp: maybe we should use something like this and change our code from [global] to [umd]
|
|
5
|
+
/// https://www.typescriptlang.org/docs/handbook/declaration-files/library-structures.html
|
|
6
|
+
(function (root, factory) {
|
|
7
|
+
if (typeof define === "function" && define.amd) {
|
|
8
|
+
define(["libName"], factory);
|
|
9
|
+
} else if (typeof module === "object" && module.exports) {
|
|
10
|
+
module.exports = factory(require("libName"));
|
|
11
|
+
} else {
|
|
12
|
+
root.returnExports = factory(root.libName);
|
|
13
|
+
}
|
|
14
|
+
}(this, function (b) { console.log(b); }))
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@ardimedia/angular-portal-azure",
|
|
3
3
|
"description": "Angular Portal Azure - GUI Framework.",
|
|
4
4
|
"author": "Ardimedia Anstalt <info@ardimedia.com> (http://www.ardimedia.com)",
|
|
5
|
-
"version": "0.2.
|
|
5
|
+
"version": "0.2.334",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|