@remotion/webcodecs 4.0.405 → 4.0.406
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,4 +1,4 @@
|
|
|
1
|
-
export declare const stringsToUint8Array: (str: string) => Uint8Array<
|
|
1
|
+
export declare const stringsToUint8Array: (str: string) => Uint8Array<ArrayBuffer>;
|
|
2
2
|
export declare const numberTo32BitUIntOrInt: (num: number) => Uint8Array<ArrayBuffer>;
|
|
3
3
|
export declare const numberTo64BitUIntOrInt: (num: number | bigint) => Uint8Array<ArrayBuffer>;
|
|
4
4
|
export declare const numberTo32BitUIntOrIntLeading128: (num: number) => Uint8Array<ArrayBuffer>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/webcodecs",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.406",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"module": "dist/esm/index.mjs",
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
"author": "Jonny Burger <jonny@remotion.dev>",
|
|
28
28
|
"license": "Remotion License (See https://remotion.dev/docs/webcodecs#license)",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@remotion/media-parser": "4.0.
|
|
30
|
+
"@remotion/media-parser": "4.0.406"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/dom-webcodecs": "0.1.11",
|
|
35
|
-
"@remotion/example-videos": "4.0.
|
|
36
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
35
|
+
"@remotion/example-videos": "4.0.406",
|
|
36
|
+
"@remotion/eslint-config-internal": "4.0.406",
|
|
37
37
|
"playwright": "1.55.1",
|
|
38
38
|
"vite": "5.4.21",
|
|
39
39
|
"@playwright/test": "1.55.1",
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.sendUsageEvent = void 0;
|
|
4
|
-
const licensing_1 = require("@remotion/licensing");
|
|
5
|
-
const sendUsageEvent = async ({ apiKey, succeeded, }) => {
|
|
6
|
-
const host = typeof window === 'undefined'
|
|
7
|
-
? null
|
|
8
|
-
: typeof window.location === 'undefined'
|
|
9
|
-
? null
|
|
10
|
-
: (window.location.origin ?? null);
|
|
11
|
-
if (host === null) {
|
|
12
|
-
return;
|
|
13
|
-
}
|
|
14
|
-
await (0, licensing_1.registerUsageEvent)({
|
|
15
|
-
apiKey,
|
|
16
|
-
event: 'webcodec-conversion',
|
|
17
|
-
host,
|
|
18
|
-
succeeded,
|
|
19
|
-
});
|
|
20
|
-
};
|
|
21
|
-
exports.sendUsageEvent = sendUsageEvent;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.setRemotionImported = void 0;
|
|
4
|
-
const media_parser_1 = require("@remotion/media-parser");
|
|
5
|
-
// We set the `window.remotion_imported` variable for the sole purpose
|
|
6
|
-
// of being picked up by Wappalyzer.
|
|
7
|
-
// The Wappalyzer Chrome extension is used to detect the technologies
|
|
8
|
-
// used on websites, and it looks for this variable.
|
|
9
|
-
// Remotion is a customer of Wappalyzer and buys a list of domains
|
|
10
|
-
// where Remotion is used from time to time.
|
|
11
|
-
// Remotion uses this data to ensure companies which are required to get
|
|
12
|
-
// a company license for this pacakge are actually doing so.
|
|
13
|
-
const setRemotionImported = () => {
|
|
14
|
-
if (typeof globalThis === 'undefined') {
|
|
15
|
-
return;
|
|
16
|
-
}
|
|
17
|
-
if (globalThis.remotion_imported) {
|
|
18
|
-
return;
|
|
19
|
-
}
|
|
20
|
-
globalThis.remotion_imported = media_parser_1.VERSION;
|
|
21
|
-
if (typeof window !== 'undefined') {
|
|
22
|
-
window.remotion_imported = `${media_parser_1.VERSION}-webcodecs`;
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
exports.setRemotionImported = setRemotionImported;
|