@yuno-payments/sdk-web 1.2.2 → 2.0.0
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/bundle.esm.js +1 -1
- package/package.json +2 -2
package/dist/bundle.esm.js
CHANGED
|
@@ -45,7 +45,7 @@ const EnvToEnvironmentSuffix = {
|
|
|
45
45
|
*/
|
|
46
46
|
const getUrl = (options = {}) => {
|
|
47
47
|
var _a;
|
|
48
|
-
const { env = 'prod', version = 'v1.
|
|
48
|
+
const { env = 'prod', version = 'v1.3' } = options;
|
|
49
49
|
const environmentSuffix = (_a = EnvToEnvironmentSuffix[env]) !== null && _a !== void 0 ? _a : '';
|
|
50
50
|
const baseUrl = `https://sdk-web${environmentSuffix}.y.uno/${version}/main.js`;
|
|
51
51
|
return baseUrl;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yuno-payments/sdk-web",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Wrapper to install sdk-web and types",
|
|
5
5
|
"main": "dist/bundle.esm.js",
|
|
6
6
|
"module": "dist/bundle.esm.js",
|
|
@@ -36,6 +36,6 @@
|
|
|
36
36
|
"access": "public"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@yuno-payments/sdk-web-types": "^
|
|
39
|
+
"@yuno-payments/sdk-web-types": "^4.0.0"
|
|
40
40
|
}
|
|
41
41
|
}
|