@interopio/fdc3 2.3.1 → 2.3.2

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/changelog.md CHANGED
@@ -1,3 +1,11 @@
1
+ 2.3.2
2
+ feat: Add support for 'ioConnect' prop under hostManifests key
3
+ 2.2.2
4
+ feat: Implement FDC3 2.1
5
+ fix: Change wrapped fdc3intentContext to comply with .NET implementation
6
+ fix: Add check if io.logger is defined
7
+ chore: Create Intents Error enum
8
+ chore: Add error in @interopio/utils package for intent handler rejection
1
9
  2.1.2
2
10
  fix: reworked the private channel implementation to be encapsulated better
3
11
  fix: multiple invocations of addContextListener's handler
@@ -1,11 +1,10 @@
1
- const urlAlphabet =
1
+ let urlAlphabet =
2
2
  'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict';
3
-
4
3
  let nanoid = (size = 21) => {
5
4
  let id = '';
6
- let bytes = crypto.getRandomValues(new Uint8Array(size));
7
- while (size--) {
8
- id += urlAlphabet[bytes[size] & 63];
5
+ let i = size;
6
+ while (i--) {
7
+ id += urlAlphabet[(Math.random() * 64) | 0];
9
8
  }
10
9
  return id
11
10
  };
@@ -3356,7 +3355,7 @@ class IntentsController {
3356
3355
  }
3357
3356
  }
3358
3357
 
3359
- var version = "2.3.1";
3358
+ var version = "2.3.2";
3360
3359
 
3361
3360
  class ApplicationsController {
3362
3361
  glueController;
@@ -4,14 +4,13 @@
4
4
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.fdc3 = global.fdc3 || {}, global.fdc3.electron = global.fdc3.electron || {}, global.fdc3.electron.umd = factory()));
5
5
  })(this, (function () { 'use strict';
6
6
 
7
- const urlAlphabet =
7
+ let urlAlphabet =
8
8
  'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict';
9
-
10
9
  let nanoid = (size = 21) => {
11
10
  let id = '';
12
- let bytes = crypto.getRandomValues(new Uint8Array(size));
13
- while (size--) {
14
- id += urlAlphabet[bytes[size] & 63];
11
+ let i = size;
12
+ while (i--) {
13
+ id += urlAlphabet[(Math.random() * 64) | 0];
15
14
  }
16
15
  return id
17
16
  };
@@ -3362,7 +3361,7 @@
3362
3361
  }
3363
3362
  }
3364
3363
 
3365
- var version = "2.3.1";
3364
+ var version = "2.3.2";
3366
3365
 
3367
3366
  class ApplicationsController {
3368
3367
  glueController;
package/dist/fdc3.es.js CHANGED
@@ -1,11 +1,10 @@
1
- const urlAlphabet =
1
+ let urlAlphabet =
2
2
  'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict';
3
-
4
3
  let nanoid = (size = 21) => {
5
4
  let id = '';
6
- let bytes = crypto.getRandomValues(new Uint8Array(size));
7
- while (size--) {
8
- id += urlAlphabet[bytes[size] & 63];
5
+ let i = size;
6
+ while (i--) {
7
+ id += urlAlphabet[(Math.random() * 64) | 0];
9
8
  }
10
9
  return id
11
10
  };
@@ -3345,7 +3344,7 @@ class IntentsController {
3345
3344
  }
3346
3345
  }
3347
3346
 
3348
- var version = "2.3.1";
3347
+ var version = "2.3.2";
3349
3348
 
3350
3349
  class ApplicationsController {
3351
3350
  glueController;
package/dist/fdc3.umd.js CHANGED
@@ -4,14 +4,13 @@
4
4
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.fdc3 = factory());
5
5
  })(this, (function () { 'use strict';
6
6
 
7
- const urlAlphabet =
7
+ let urlAlphabet =
8
8
  'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict';
9
-
10
9
  let nanoid = (size = 21) => {
11
10
  let id = '';
12
- let bytes = crypto.getRandomValues(new Uint8Array(size));
13
- while (size--) {
14
- id += urlAlphabet[bytes[size] & 63];
11
+ let i = size;
12
+ while (i--) {
13
+ id += urlAlphabet[(Math.random() * 64) | 0];
15
14
  }
16
15
  return id
17
16
  };
@@ -3351,7 +3350,7 @@
3351
3350
  }
3352
3351
  }
3353
3352
 
3354
- var version = "2.3.1";
3353
+ var version = "2.3.2";
3355
3354
 
3356
3355
  class ApplicationsController {
3357
3356
  glueController;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@interopio/fdc3",
3
- "version": "2.3.1",
3
+ "version": "2.3.2",
4
4
  "description": "IO Connect implementation of the FDC3 standard",
5
5
  "main": "dist/fdc3.umd.js",
6
6
  "module": "dist/fdc3.es.js",
@@ -32,7 +32,7 @@
32
32
  },
33
33
  "license": "MIT",
34
34
  "devDependencies": {
35
- "@interopio/utils": "^1.3.1"
35
+ "@interopio/utils": "^1.3.2"
36
36
  },
37
37
  "dependencies": {
38
38
  "@finos/fdc3": "2.1.0"
@@ -40,5 +40,5 @@
40
40
  "publishConfig": {
41
41
  "access": "public"
42
42
  },
43
- "gitHead": "0a5d347ff9b1f248f7c936450973e527c53a9cd9"
43
+ "gitHead": "22aeb9aaf4e0f50f0686b071d7f5aac334c69513"
44
44
  }