@genesislcap/foundation-comms 14.225.3-alpha-05eb387.0 → 14.225.3-alpha-15b094e.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"kv.service.d.ts","sourceRoot":"","sources":["../../../../src/storage/kv/kv.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AAMpD,OAAO,EAAgB,OAAO,EAA0B,MAAM,eAAe,CAAC;AAE9E,OAAO,EAA0B,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EACL,QAAQ,EACR,gBAAgB,EAChB,OAAO,EACP,sBAAsB,EAGvB,MAAM,YAAY,CAAC;AAEpB;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,SAAS;IACxB,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,GAAG,sBAAsB,CAAC,CAAC;IAC/D,GAAG,CAAC,CAAC,GAAG,OAAO,KAAK,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;IACnD,GAAG,CAAC,CAAC,GAAG,OAAO,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC;IAC5D,IAAI,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;IAC1B,GAAG,CAAC,GAAG,EAAE,QAAQ,CAAC,OAAO,CAAC,EAAE,GAAG,OAAO,CAAC,IAAI,GAAG,sBAAsB,CAAC,CAAC;CACvE;AAED;;;GAGG;AACH,qBAAa,gBAAiB,YAAW,SAAS;IAErC,OAAO,CAAC,OAAO;IAClB,SAAS,CAAC,IAAI,EAAE,IAAI;IACC,OAAO,CAAC,eAAe;gBAFjC,OAAO,EAAE,OAAO,EACjB,IAAI,EAAE,IAAI,EACS,eAAe,kBAAyB;IAK7E;;;OAGG;YACW,iBAAiB;IAa/B;;;;;;;;;;;;OAYG;IACG,MAAM,CAAC,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ded = decodeFromBase64WithPrefix(decoded);
86
86
  }
87
87
  // TODO: /\ /\ The bit above only applies if `put` was called with `base64: true`
88
- // `decoded` now is really unknown, due double possibility encoding from the server
89
- let value = decoded;
90
- if (typeof decoded === 'string') {
91
- try {
92
- value = JSON.parse(decoded);
93
- }
94
- catch (_a) {
95
- // Silent fail for now, when storing simple strings (not stringfied JSON) this will fail.
96
- // logger.error(`Failed to parse value for key ${kv.KEY}`);
97
- }
98
- }
99
88
  return {
100
- kv: { key: kv.KEY, value: value },
89
+ kv: { key: kv.KEY, value: decoded },
101
90
  };
102
91
  });
103
92
  return key ? kvs[0] : kvs;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-comms",
3
3
  "description": "Genesis Foundation UI Comms",
4
- "version": "14.225.3-alpha-05eb387.0",
4
+ "version": "14.225.3-alpha-15b094e.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -75,23 +75,23 @@
75
75
  }
76
76
  },
77
77
  "devDependencies": {
78
- "@genesislcap/foundation-testing": "14.225.3-alpha-05eb387.0",
79
- "@genesislcap/genx": "14.225.3-alpha-05eb387.0",
80
- "@genesislcap/rollup-builder": "14.225.3-alpha-05eb387.0",
81
- "@genesislcap/ts-builder": "14.225.3-alpha-05eb387.0",
82
- "@genesislcap/uvu-playwright-builder": "14.225.3-alpha-05eb387.0",
83
- "@genesislcap/vite-builder": "14.225.3-alpha-05eb387.0",
84
- "@genesislcap/webpack-builder": "14.225.3-alpha-05eb387.0",
78
+ "@genesislcap/foundation-testing": "14.225.3-alpha-15b094e.0",
79
+ "@genesislcap/genx": "14.225.3-alpha-15b094e.0",
80
+ "@genesislcap/rollup-builder": "14.225.3-alpha-15b094e.0",
81
+ "@genesislcap/ts-builder": "14.225.3-alpha-15b094e.0",
82
+ "@genesislcap/uvu-playwright-builder": "14.225.3-alpha-15b094e.0",
83
+ "@genesislcap/vite-builder": "14.225.3-alpha-15b094e.0",
84
+ "@genesislcap/webpack-builder": "14.225.3-alpha-15b094e.0",
85
85
  "@types/js-cookie": "^3.0.2",
86
86
  "@types/json-schema": "^7.0.11",
87
87
  "@types/webappsec-credential-management": "^0.6.2",
88
88
  "rimraf": "^5.0.0"
89
89
  },
90
90
  "dependencies": {
91
- "@genesislcap/foundation-broadcast-channel": "14.225.3-alpha-05eb387.0",
92
- "@genesislcap/foundation-logger": "14.225.3-alpha-05eb387.0",
93
- "@genesislcap/foundation-user": "14.225.3-alpha-05eb387.0",
94
- "@genesislcap/foundation-utils": "14.225.3-alpha-05eb387.0",
91
+ "@genesislcap/foundation-broadcast-channel": "14.225.3-alpha-15b094e.0",
92
+ "@genesislcap/foundation-logger": "14.225.3-alpha-15b094e.0",
93
+ "@genesislcap/foundation-user": "14.225.3-alpha-15b094e.0",
94
+ "@genesislcap/foundation-utils": "14.225.3-alpha-15b094e.0",
95
95
  "@microsoft/fast-element": "1.14.0",
96
96
  "@microsoft/fast-foundation": "2.49.6",
97
97
  "analytics": "^0.8.0",
@@ -111,5 +111,5 @@
111
111
  "publishConfig": {
112
112
  "access": "public"
113
113
  },
114
- "gitHead": "a2d452dd10b1e62289adc8a4fbea2dce8e6262c9"
114
+ "gitHead": "042f1b051fd4a57c332966e1d13d7944e211d1a5"
115
115
  }