@canva/platform 2.2.1-beta.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.
@@ -1,20 +0,0 @@
1
- "use strict"
2
- Object.defineProperty(exports, "__esModule", {
3
- value: true
4
- });
5
- const _version = require("./version");
6
- _export_star(require("./public"), exports);
7
- function _export_star(from, to) {
8
- Object.keys(from).forEach(function(k) {
9
- if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
10
- Object.defineProperty(to, k, {
11
- enumerable: true,
12
- get: function() {
13
- return from[k];
14
- }
15
- });
16
- }
17
- });
18
- return from;
19
- }
20
- window.__canva__?.sdkRegistration?.registerPackageVersion('platform', _version.LATEST_VERSION_BETA, 'beta');
@@ -1,18 +0,0 @@
1
- "use strict"
2
- Object.defineProperty(exports, "__esModule", {
3
- value: true
4
- });
5
- _export_star(require("./index"), exports);
6
- function _export_star(from, to) {
7
- Object.keys(from).forEach(function(k) {
8
- if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
9
- Object.defineProperty(to, k, {
10
- enumerable: true,
11
- get: function() {
12
- return from[k];
13
- }
14
- });
15
- }
16
- });
17
- return from;
18
- }
@@ -1,3 +0,0 @@
1
- import { LATEST_VERSION_BETA } from './version';
2
- export * from './public';
3
- window.__canva__?.sdkRegistration?.registerPackageVersion('platform', LATEST_VERSION_BETA, 'beta');
@@ -1 +0,0 @@
1
- export * from './index';
package/test/beta.d.ts DELETED
@@ -1,11 +0,0 @@
1
- /**
2
- * @public
3
- * Initializes a test environment for the `@canva/platform` package, enabling unit tests to mock Canva's APIs.
4
- * @remarks
5
- * This method should only be called once in a test environment, such as in a Jest setup file.
6
- * @see
7
- * https://www.canva.dev/docs/apps/testing/
8
- */
9
- export declare function initTestEnvironment(): void;
10
-
11
- export { }