@sphereon/ui-components.credential-branding 0.2.1-unstable.5 → 0.2.1-unstable.6

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -2
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -52,7 +52,6 @@ var ui_components_core_1 = require("@sphereon/ui-components.core");
52
52
  var ssi_sdk_core_1 = require("@sphereon/ssi-sdk.core");
53
53
  var ImageUtils_1 = require("./utils/ImageUtils");
54
54
  var MappingUtils_1 = require("./utils/MappingUtils");
55
- var ReactNativeImagePreloader_1 = require("./services/ReactNativeImagePreloader");
56
55
  var WebImagePreloader_1 = require("./services/WebImagePreloader");
57
56
  function findCorrelationIdName(correlationId, contacts) {
58
57
  var contact = contacts.find(function (contact) {
@@ -237,7 +236,7 @@ var selectAppLocaleBranding = function (args) { return __awaiter(void 0, void 0,
237
236
  localeBranding = (_a = args.localeBranding) === null || _a === void 0 ? void 0 : _a.find(function (branding) { var _a; return ((_a = branding.locale) === null || _a === void 0 ? void 0 : _a.startsWith(appLocale)) || branding.locale === undefined; });
238
237
  logo = ((_b = localeBranding === null || localeBranding === void 0 ? void 0 : localeBranding.logo) === null || _b === void 0 ? void 0 : _b.dataUri) || ((_c = localeBranding === null || localeBranding === void 0 ? void 0 : localeBranding.logo) === null || _c === void 0 ? void 0 : _c.uri);
239
238
  if (typeof navigator !== 'undefined' && navigator.product === 'ReactNative') {
240
- imagePreloader = new ReactNativeImagePreloader_1.ReactNativeImagePreloader();
239
+ throw new Error('Not implemented');
241
240
  }
242
241
  else {
243
242
  imagePreloader = new WebImagePreloader_1.WebImagePreloader();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sphereon/ui-components.credential-branding",
3
3
  "private": false,
4
- "version": "0.2.1-unstable.5+5c9a628",
4
+ "version": "0.2.1-unstable.6+2b7f5ca",
5
5
  "description": "SSI UI components credential Branding",
6
6
  "repository": "git@github.com:Sphereon-Opensource/UI-Components.git",
7
7
  "author": "Sphereon <dev@sphereon.com>",
@@ -31,7 +31,7 @@
31
31
  "@sphereon/ssi-sdk.core": "^0.23.4",
32
32
  "@sphereon/ssi-sdk.data-store": "0.23.4",
33
33
  "@sphereon/ssi-types": "^0.23.4",
34
- "@sphereon/ui-components.core": "0.2.1-unstable.5+5c9a628",
34
+ "@sphereon/ui-components.core": "0.2.1-unstable.6+2b7f5ca",
35
35
  "@veramo/core": "4.2.0",
36
36
  "@veramo/utils": "4.2.0",
37
37
  "i18n-js": "^3.8.0",
@@ -52,5 +52,5 @@
52
52
  "peerDependencies": {
53
53
  "react": ">= 18"
54
54
  },
55
- "gitHead": "5c9a628778acb42f1d54fd23fafc187ea7d08eca"
55
+ "gitHead": "2b7f5cab03e93c7a3a26d880a5097f24e3149591"
56
56
  }