waha-shared 1.0.326 → 1.0.331
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/dist/data/languages/index.d.ts +1 -5
- package/dist/data/languages/languages.json +45 -135
- package/dist/data/languages/languages.schema.json +3 -24
- package/dist/data/languages/languages.zod.d.ts +1 -10
- package/dist/data/languages/languages.zod.js +5 -18
- package/dist/data/mediaDurations/mediaDurations.json +673 -45
- package/dist/data/releaseNotes/releaseNotes.json +9 -2
- package/dist/data/youtubeVideos/youtubeVideos.json +115 -55
- package/dist/functions/scripturePassages.js +11 -9
- package/dist/functions/sets.d.ts +4 -15
- package/dist/functions/sets.js +228 -168
- package/dist/functions/utils.d.ts +1 -6
- package/dist/functions/utils.js +4 -18
- package/dist/types/sets.d.ts +19 -22
- package/package.json +2 -3
- package/dist/data/languageAssets/index.d.ts +0 -1
- package/dist/data/languageAssets/index.js +0 -7
- package/dist/data/languageAssets/languageAssets.json +0 -44404
- package/dist/data/languageAssets/languageAssets.schema.json +0 -19
- package/dist/data/languageAssets/languageAssets.zod.d.ts +0 -3
- package/dist/data/languageAssets/languageAssets.zod.js +0 -7
- package/dist/functions/ffmpeg.d.ts +0 -104
- package/dist/functions/ffmpeg.js +0 -307
- package/dist/functions/upload.d.ts +0 -34
- package/dist/functions/upload.js +0 -49
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "waha-shared",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.331",
|
|
4
4
|
"author": "Waha",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@types/signale": "^1.4.7",
|
|
@@ -27,7 +27,6 @@
|
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"scripts": {
|
|
29
29
|
"build": "npx tsc && copyfiles \"data/**/*.json\" dist",
|
|
30
|
-
"update": "yarn build && REGISTRY_VERSION=$(npm view waha-shared version) && npm version $REGISTRY_VERSION --no-git-tag-version --allow-same-version && npm version patch && git add . && git commit -m '
|
|
31
|
-
"updateManual": "npm login && yarn build && npm version patch && rm -f .git/index.lock && git add dist package.json && git commit -m 'chore: update shared types' && npm publish"
|
|
30
|
+
"update": "yarn build && REGISTRY_VERSION=$(npm view waha-shared version) && npm version $REGISTRY_VERSION --no-git-tag-version --allow-same-version && npm version patch && git add . && git commit -m 'Update shared types' && bash -c 'npm publish --access public --registry https://registry.npmjs.org --//registry.npmjs.org/:_authToken=$(grep NPM_TOKEN= ../.env | cut -d \"=\" -f2-)'"
|
|
32
31
|
}
|
|
33
32
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const languageAssets: Record<string, string[]>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.languageAssets = void 0;
|
|
4
|
-
// This file is auto-generated by scripts/prep. Do not edit manually.
|
|
5
|
-
const languageAssets_zod_1 = require("./languageAssets.zod");
|
|
6
|
-
const data = require('./languageAssets.json');
|
|
7
|
-
exports.languageAssets = languageAssets_zod_1.LanguageAssets.parse(data.data);
|