@canva/error 2.2.0 → 2.2.1

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,5 +1,11 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 2.2.1 - 2026-02-16
4
+
5
+ ### Fixed
6
+
7
+ - Fixed a duplicate declaration error caused by scope hoisting
8
+
3
9
  ## 2.2.0 - 2026-01-19
4
10
 
5
11
  ### Added
@@ -8,5 +8,4 @@ Object.defineProperty(exports, "CanvaError", {
8
8
  return CanvaError;
9
9
  }
10
10
  });
11
- const { canva_sdk } = window;
12
11
  const CanvaError = canva_sdk.error.v2.CanvaError;
@@ -19,6 +19,6 @@ _export(exports, {
19
19
  return LATEST_VERSION_BETA;
20
20
  }
21
21
  });
22
- const LATEST_VERSION = '2.2.0';
22
+ const LATEST_VERSION = '2.2.1';
23
23
  const LATEST_VERSION_BETA = 'NONE';
24
24
  const LATEST_VERSION_ALPHA = 'NONE';
@@ -1,2 +1 @@
1
- const { canva_sdk } = window;
2
1
  export const CanvaError = canva_sdk.error.v2.CanvaError;
@@ -1,3 +1,3 @@
1
- export const LATEST_VERSION = '2.2.0';
1
+ export const LATEST_VERSION = '2.2.1';
2
2
  export const LATEST_VERSION_BETA = 'NONE';
3
3
  export const LATEST_VERSION_ALPHA = 'NONE';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canva/error",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "The Canva Apps SDK error library",
5
5
  "author": "Canva Pty Ltd.",
6
6
  "license": "SEE LICENSE IN LICENSE.md FILE",