@configura/web-api 1.4.0-alpha.2 → 1.4.0-alpha.3
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/dist/CatalogueAPI.js +1 -1
- package/package.json +3 -3
package/dist/CatalogueAPI.js
CHANGED
|
@@ -13,7 +13,7 @@ export class APIError extends Error {
|
|
|
13
13
|
}
|
|
14
14
|
export class CatalogueAPI {
|
|
15
15
|
constructor() {
|
|
16
|
-
const parts =
|
|
16
|
+
const parts = new RegExp("^(http[s]?:\\/\\/[^:\\/\\s]+)", "i").exec(document.referrer);
|
|
17
17
|
if (parts !== null) {
|
|
18
18
|
this._alternativeReferer = parts[1] + "/";
|
|
19
19
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@configura/web-api",
|
|
3
|
-
"version": "1.4.0-alpha.
|
|
3
|
+
"version": "1.4.0-alpha.3",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"access": "public"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@configura/web-utilities": "^1.4.0-alpha.
|
|
26
|
+
"@configura/web-utilities": "^1.4.0-alpha.3"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "59b9b60b62da2baf0a623f0659bf3abbb8a43196"
|
|
29
29
|
}
|