@yuno-payments/sdk-web 4.3.0 → 4.4.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.
@@ -45,7 +45,7 @@ const EnvToEnvironmentSuffix = {
45
45
  * @returns The full URL to the SDK script.
46
46
  */
47
47
  const LATEST_VERSION = "v1.5";
48
- const LATEST_VERSION_SRI = "v1.5.2";
48
+ const LATEST_VERSION_SRI = "v1.5.5";
49
49
  const getUrl = (options = {}) => {
50
50
  var _a;
51
51
  const { env = "prod", sri } = options;
@@ -59,8 +59,8 @@ const getUrl = (options = {}) => {
59
59
 
60
60
  const SCRIPT_ID = 'yuno-script';
61
61
  const SRI_HASHES = {
62
- prod: 'sha384-7B7O3ZvTBIcjUrm2lCvnQQLSioNmEVNrg4UK8wGMFSXXoq0+kTAsyHx8XrNKlbyp',
63
- sandbox: 'sha384-KI3iysky6jeWdL+XUss1xR2q5EugsqSwH9c4vf2v9p4z/1pmxqPNpNo3V+fbk/6a',
62
+ prod: 'sha384-Z2oL+2aCaeMzdFc1N3qLTs57/hCF8J5L1uXQrSAlfUnMIDcWLhno+CDTpal+2Ynd',
63
+ sandbox: 'sha384-fb83jjDYP7/+FIDsIsJHFFyAIhmvKE3H2EE+1XxeKFrR91/Sea9jb0oxUGVeyYmP',
64
64
  };
65
65
  const injectScript = (_a) => __awaiter(void 0, [_a], void 0, function* ({ url, sri, env = 'prod' }) {
66
66
  if (document.getElementById(SCRIPT_ID)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuno-payments/sdk-web",
3
- "version": "4.3.0",
3
+ "version": "4.4.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",