@remotion/licensing 4.0.427 → 4.0.429

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/README.md CHANGED
@@ -1,18 +1,18 @@
1
1
  # @remotion/licensing
2
-
2
+
3
3
  Manage your Remotion.pro license
4
-
4
+
5
5
  [![NPM Downloads](https://img.shields.io/npm/dm/@remotion/licensing.svg?style=flat&color=black&label=Downloads)](https://npmcharts.com/compare/@remotion/licensing?minimal=true)
6
-
6
+
7
7
  ## Installation
8
-
8
+
9
9
  ```bash
10
10
  npm install @remotion/licensing --save-exact
11
11
  ```
12
-
12
+
13
13
  When installing a Remotion package, make sure to align the version of all `remotion` and `@remotion/*` packages to the same version.
14
14
  Remove the `^` character from the version number to use the exact version.
15
-
15
+
16
16
  ## Usage
17
-
17
+
18
18
  See the [documentation](https://www.remotion.dev/docs/licensing) for more information.
@@ -109,6 +109,7 @@ var getUsage = async ({
109
109
  if (json.success) {
110
110
  return {
111
111
  cloudRenders: json.cloudRenders,
112
+ webRenders: json.webcodecConversions,
112
113
  webcodecConversions: json.webcodecConversions
113
114
  };
114
115
  }
@@ -13,6 +13,10 @@ export type GetUsageApiResponse = {
13
13
  };
14
14
  export type GetUsageResponse = {
15
15
  cloudRenders: EventCount;
16
+ webRenders: EventCount;
17
+ /**
18
+ * @deprecated Use `webRenders` instead
19
+ */
16
20
  webcodecConversions: EventCount;
17
21
  };
18
22
  export declare const getUsage: ({ since, ...apiOrLicenseKey }: {
package/dist/get-usage.js CHANGED
@@ -19,6 +19,7 @@ const getUsage = async ({ since, ...apiOrLicenseKey }) => {
19
19
  if (json.success) {
20
20
  return {
21
21
  cloudRenders: json.cloudRenders,
22
+ webRenders: json.webcodecConversions,
22
23
  webcodecConversions: json.webcodecConversions,
23
24
  };
24
25
  }
package/dist/index.d.ts CHANGED
@@ -4,7 +4,7 @@ export declare const LicensingInternals: {
4
4
  internalRegisterUsageEvent: ({ host, succeeded, event, isStill, isProduction, licenseKey, }: {
5
5
  host: string | null;
6
6
  succeeded: boolean;
7
- event: "cloud-render" | "webcodec-conversion";
7
+ event: "cloud-render" | "web-render" | "webcodec-conversion";
8
8
  } & {
9
9
  isStill: boolean;
10
10
  isProduction: boolean;
@@ -6,7 +6,11 @@ export type RegisterUsageEventResponse = {
6
6
  billable: boolean;
7
7
  classification: UsageEventClassification;
8
8
  };
9
- type UsageEventType = 'webcodec-conversion' | 'cloud-render';
9
+ type UsageEventType = 'web-render' | 'cloud-render'
10
+ /**
11
+ * @deprecated Use `'web-render'` instead
12
+ */
13
+ | 'webcodec-conversion';
10
14
  export type UsageEventClassification = 'billable' | 'development' | 'failed';
11
15
  export type EitherApiKeyOrLicenseKey = true extends typeof NoReactInternals.ENABLE_V5_BREAKING_CHANGES ? {
12
16
  licenseKey: string | null;
package/package.json CHANGED
@@ -3,13 +3,13 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/licensing"
4
4
  },
5
5
  "name": "@remotion/licensing",
6
- "version": "4.0.427",
6
+ "version": "4.0.429",
7
7
  "description": "Manage your Remotion.pro license",
8
8
  "main": "dist",
9
9
  "sideEffects": false,
10
10
  "scripts": {
11
11
  "lint": "eslint src",
12
- "formatting": "prettier src --check",
12
+ "formatting": "oxfmt src --check",
13
13
  "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts",
14
14
  "test": "bun test src/test/prod-domain.test.ts src/test/register-usage-event-retry.test.ts"
15
15
  },
@@ -24,10 +24,10 @@
24
24
  },
25
25
  "dependencies": {},
26
26
  "devDependencies": {
27
- "@remotion/eslint-config-internal": "4.0.427",
27
+ "@remotion/eslint-config-internal": "4.0.429",
28
28
  "eslint": "9.19.0",
29
29
  "msw": "^2.7.1",
30
- "remotion": "4.0.427",
30
+ "remotion": "4.0.429",
31
31
  "@typescript/native-preview": "7.0.0-dev.20260217.1"
32
32
  },
33
33
  "homepage": "https://www.remotion.dev/docs/licensing",