@interopio/fdc3-web-bridge 1.2.0 → 1.3.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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2020 Tick42
3
+ Copyright (c) 2026 interop.io
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md ADDED
@@ -0,0 +1,5 @@
1
+ # @interopio/fdc3-web-bridge
2
+
3
+ io.Connect implementation of the [FDC3 Web Connection Protocol](https://fdc3.finos.org/docs/api/specs/webConnectionProtocol) used internally by the **io.Connect Browser** platform. Enables FDC3 client apps that use the `@finos/fdc3` library to acquire a `DesktopAgent` instance via the `getAgent()` method.
4
+
5
+ > ⚠️ *Note that the recommended method for acquiring access to the FDC3 API in your FDC3 apps that are part of an **io.Connect Browser** project is to use the `@interopio/fdc3` library instead.*
package/changelog.md CHANGED
@@ -1,3 +1,5 @@
1
+ 1.3.0
2
+ feat: io.Connect Browser 4.3
1
3
  1.2.0
2
4
  feat: io.Connect Browser 4.2
3
5
  1.1.0
@@ -1580,6 +1580,15 @@ const nonNegativeNumberDecoder = number().where((num) => num >= 0, "Expected a n
1580
1580
  const regexDecoder = anyJson().andThen((value) => {
1581
1581
  return value instanceof RegExp ? anyJson() : fail(`expected a regex, got a ${typeof value}`);
1582
1582
  });
1583
+ const urlDecoder = nonEmptyStringDecoder$4.andThen((url) => {
1584
+ try {
1585
+ new URL(url);
1586
+ return nonEmptyStringDecoder$4;
1587
+ }
1588
+ catch {
1589
+ return fail("Should be a valid URL");
1590
+ }
1591
+ });
1583
1592
 
1584
1593
  const intentDefinitionDecoder = object({
1585
1594
  name: nonEmptyStringDecoder$4,
@@ -1907,7 +1916,8 @@ const decoders$1 = {
1907
1916
  common: {
1908
1917
  nonEmptyStringDecoder: nonEmptyStringDecoder$4,
1909
1918
  nonNegativeNumberDecoder,
1910
- regexDecoder
1919
+ regexDecoder,
1920
+ urlDecoder
1911
1921
  },
1912
1922
  fdc3: {
1913
1923
  allDefinitionsDecoder,
@@ -3704,7 +3714,7 @@ class IoC {
3704
3714
  }
3705
3715
  }
3706
3716
 
3707
- var version = "1.2.0";
3717
+ var version = "1.3.0";
3708
3718
 
3709
3719
  window.fdc3WebBridgeInfo = {
3710
3720
  version