@remotion/captions 4.0.244 → 4.0.245

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.md CHANGED
@@ -11,7 +11,7 @@ Depending on the type of your legal entity, you are granted permission to use Re
11
11
 
12
12
  ## Free license
13
13
 
14
- Copyright © 2024 [Remotion](https://www.remotion.dev)
14
+ Copyright © 2025 [Remotion](https://www.remotion.dev)
15
15
 
16
16
  ### Eligibility
17
17
 
@@ -16,4 +16,4 @@ export type CreateTikTokStyleCaptionsInput = {
16
16
  export type CreateTikTokStyleCaptionsOutput = {
17
17
  pages: TikTokPage[];
18
18
  };
19
- export declare function createTikTokStyleCaptions({ captions, combineTokensWithinMilliseconds, }: CreateTikTokStyleCaptionsInput): CreateTikTokStyleCaptionsOutput;
19
+ export declare const createTikTokStyleCaptions: ({ captions, combineTokensWithinMilliseconds, }: CreateTikTokStyleCaptionsInput) => CreateTikTokStyleCaptionsOutput;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.createTikTokStyleCaptions = createTikTokStyleCaptions;
4
- function createTikTokStyleCaptions({ captions, combineTokensWithinMilliseconds, }) {
3
+ exports.createTikTokStyleCaptions = void 0;
4
+ const createTikTokStyleCaptions = ({ captions, combineTokensWithinMilliseconds, }) => {
5
5
  const tikTokStyleCaptions = [];
6
6
  let currentText = '';
7
7
  let currentTokens = [];
@@ -54,4 +54,5 @@ function createTikTokStyleCaptions({ captions, combineTokensWithinMilliseconds,
54
54
  }
55
55
  });
56
56
  return { pages: tikTokStyleCaptions };
57
- }
57
+ };
58
+ exports.createTikTokStyleCaptions = createTikTokStyleCaptions;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/captions"
4
4
  },
5
5
  "name": "@remotion/captions",
6
- "version": "4.0.244",
6
+ "version": "4.0.245",
7
7
  "description": "Primitives for dealing with captions",
8
8
  "main": "dist/index.js",
9
9
  "sideEffects": false,
@@ -19,7 +19,7 @@
19
19
  "peerDependencies": {},
20
20
  "devDependencies": {
21
21
  "eslint": "9.14.0",
22
- "@remotion/eslint-config-internal": "4.0.244"
22
+ "@remotion/eslint-config-internal": "4.0.245"
23
23
  },
24
24
  "keywords": [
25
25
  "remotion"