aeria-sdk 0.0.68 → 0.0.70
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/types.d.ts +1 -0
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +3 -3
- package/dist/utils.mjs +1 -1
- package/package.json +3 -3
package/dist/types.d.ts
CHANGED
package/dist/utils.d.ts
CHANGED
package/dist/utils.js
CHANGED
|
@@ -7,9 +7,9 @@ const publicUrl = (config) => {
|
|
|
7
7
|
if (typeof config.publicUrl === 'string') {
|
|
8
8
|
return config.publicUrl;
|
|
9
9
|
}
|
|
10
|
-
return
|
|
11
|
-
? config.publicUrl.
|
|
12
|
-
: config.publicUrl.
|
|
10
|
+
return config.environment === 'development'
|
|
11
|
+
? config.publicUrl.development
|
|
12
|
+
: config.publicUrl.production;
|
|
13
13
|
};
|
|
14
14
|
exports.publicUrl = publicUrl;
|
|
15
15
|
const getConfig = async () => {
|
package/dist/utils.mjs
CHANGED
|
@@ -5,7 +5,7 @@ export const publicUrl = (config) => {
|
|
|
5
5
|
if (typeof config.publicUrl === "string") {
|
|
6
6
|
return config.publicUrl;
|
|
7
7
|
}
|
|
8
|
-
return
|
|
8
|
+
return config.environment === "development" ? config.publicUrl.development : config.publicUrl.production;
|
|
9
9
|
};
|
|
10
10
|
export const getConfig = async () => {
|
|
11
11
|
const { aeriaSdk } = await dynamicImport(path.join(process.cwd(), "package.json"));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aeria-sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.70",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
"@aeriajs/types": "link:../types"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
|
-
"@aeriajs/common": "^0.0.
|
|
64
|
-
"@aeriajs/types": "^0.0.
|
|
63
|
+
"@aeriajs/common": "^0.0.47",
|
|
64
|
+
"@aeriajs/types": "^0.0.44"
|
|
65
65
|
},
|
|
66
66
|
"scripts": {
|
|
67
67
|
"test": "echo skipping",
|