videomail-client 13.8.24 → 13.8.26

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.
Files changed (99) hide show
  1. package/dist/cjs/index.cjs +1 -1
  2. package/dist/esm/.storybook/main.d.ts +3 -0
  3. package/dist/esm/.storybook/manager.d.ts +1 -0
  4. package/dist/esm/.storybook/preview.d.ts +3 -0
  5. package/dist/esm/.storybook/theme.d.ts +2 -0
  6. package/dist/esm/eslint.config.d.ts +2 -0
  7. package/dist/esm/etc/release-it.d.ts +3 -0
  8. package/dist/esm/index.js +1 -1
  9. package/dist/esm/prettier.config.d.ts +2 -0
  10. package/dist/esm/rslib.config.d.ts +2 -0
  11. package/dist/esm/src/__tests__/client.test.d.ts +1 -0
  12. package/dist/esm/src/__tests__/resource.test.d.ts +1 -0
  13. package/dist/esm/src/stories/Correct.stories.d.ts +6 -0
  14. package/dist/esm/src/stories/Error.stories.d.ts +6 -0
  15. package/dist/esm/src/stories/Form.stories.d.ts +10 -0
  16. package/dist/esm/src/stories/Player.stories.d.ts +8 -0
  17. package/dist/esm/src/stories/Record.stories.d.ts +18 -0
  18. package/dist/esm/src/stories/static/json/desktopVideomail.d.ts +3 -0
  19. package/dist/esm/src/stories/static/json/mobileVideomail.d.ts +3 -0
  20. package/dist/esm/src/util/__tests__/Browser.test.d.ts +1 -0
  21. package/dist/esm/src/util/__tests__/pad.test.d.ts +1 -0
  22. package/dist/esm/src/util/__tests__/pretty.test.d.ts +1 -0
  23. package/dist/esm/src/util/__tests__/trimEmail.test.d.ts +1 -0
  24. package/dist/esm/src/util/error/__tests__/VideomailError.test.d.ts +1 -0
  25. package/dist/esm/src/util/error/__tests__/createError.test.d.ts +1 -0
  26. package/dist/esm/vite.config.d.ts +2 -0
  27. package/dist/umd/index.js +1 -1
  28. package/package.json +8 -10
  29. /package/dist/esm/{client.d.ts → src/client.d.ts} +0 -0
  30. /package/dist/esm/{constants.d.ts → src/constants.d.ts} +0 -0
  31. /package/dist/esm/{index.d.ts → src/index.d.ts} +0 -0
  32. /package/dist/esm/{options.d.ts → src/options.d.ts} +0 -0
  33. /package/dist/esm/{resource.d.ts → src/resource.d.ts} +0 -0
  34. /package/dist/esm/{types → src/types}/BrowserStats.d.ts +0 -0
  35. /package/dist/esm/{types → src/types}/Delivery.d.ts +0 -0
  36. /package/dist/esm/{types → src/types}/EmailAddress.d.ts +0 -0
  37. /package/dist/esm/{types → src/types}/RecordingStats.d.ts +0 -0
  38. /package/dist/esm/{types → src/types}/VideoFormat.d.ts +0 -0
  39. /package/dist/esm/{types → src/types}/VideoType.d.ts +0 -0
  40. /package/dist/esm/{types → src/types}/Videomail.d.ts +0 -0
  41. /package/dist/esm/{types → src/types}/command.d.ts +0 -0
  42. /package/dist/esm/{types → src/types}/dimension.d.ts +0 -0
  43. /package/dist/esm/{types → src/types}/env.d.ts +0 -0
  44. /package/dist/esm/{types → src/types}/error.d.ts +0 -0
  45. /package/dist/esm/{types → src/types}/events/index.d.ts +0 -0
  46. /package/dist/esm/{types → src/types}/events/params.d.ts +0 -0
  47. /package/dist/esm/{types → src/types}/options.d.ts +0 -0
  48. /package/dist/esm/{types → src/types}/reaction.d.ts +0 -0
  49. /package/dist/esm/{types → src/types}/user.d.ts +0 -0
  50. /package/dist/esm/{util → src/util}/Browser.d.ts +0 -0
  51. /package/dist/esm/{util → src/util}/CollectLogger.d.ts +0 -0
  52. /package/dist/esm/{util → src/util}/Despot.d.ts +0 -0
  53. /package/dist/esm/{util → src/util}/error/HTTPVideomailError.d.ts +0 -0
  54. /package/dist/esm/{util → src/util}/error/VideomailError.d.ts +0 -0
  55. /package/dist/esm/{util → src/util}/error/createError.d.ts +0 -0
  56. /package/dist/esm/{util → src/util}/getBrowser.d.ts +0 -0
  57. /package/dist/esm/{util → src/util}/getNodeEnv.d.ts +0 -0
  58. /package/dist/esm/{util → src/util}/getValidity.d.ts +0 -0
  59. /package/dist/esm/{util → src/util}/html/adjustButton.d.ts +0 -0
  60. /package/dist/esm/{util → src/util}/html/dimensions/calculateHeight.d.ts +0 -0
  61. /package/dist/esm/{util → src/util}/html/dimensions/calculateWidth.d.ts +0 -0
  62. /package/dist/esm/{util → src/util}/html/dimensions/figureMinHeight.d.ts +0 -0
  63. /package/dist/esm/{util → src/util}/html/dimensions/getOuterWidth.d.ts +0 -0
  64. /package/dist/esm/{util → src/util}/html/dimensions/getRatio.d.ts +0 -0
  65. /package/dist/esm/{util → src/util}/html/dimensions/limitHeight.d.ts +0 -0
  66. /package/dist/esm/{util → src/util}/html/dimensions/limitWidth.d.ts +0 -0
  67. /package/dist/esm/{util → src/util}/html/dimensions/useFullWidth.d.ts +0 -0
  68. /package/dist/esm/{util → src/util}/html/disableElement.d.ts +0 -0
  69. /package/dist/esm/{util → src/util}/html/enableElement.d.ts +0 -0
  70. /package/dist/esm/{util → src/util}/html/hideElement.d.ts +0 -0
  71. /package/dist/esm/{util → src/util}/html/isHidden.d.ts +0 -0
  72. /package/dist/esm/{util → src/util}/html/isNotButton.d.ts +0 -0
  73. /package/dist/esm/{util → src/util}/html/isShown.d.ts +0 -0
  74. /package/dist/esm/{util → src/util}/html/media/AudioRecorder.d.ts +0 -0
  75. /package/dist/esm/{util → src/util}/html/media/canPlayType.d.ts +0 -0
  76. /package/dist/esm/{util → src/util}/html/media/getFirstVideoTrack.d.ts +0 -0
  77. /package/dist/esm/{util → src/util}/html/media/mediaEvents.d.ts +0 -0
  78. /package/dist/esm/{util → src/util}/html/showElement.d.ts +0 -0
  79. /package/dist/esm/{util → src/util}/isProductionMode.d.ts +0 -0
  80. /package/dist/esm/{util → src/util}/isTest.d.ts +0 -0
  81. /package/dist/esm/{util → src/util}/options/audio.d.ts +0 -0
  82. /package/dist/esm/{util → src/util}/options/mergeWithDefaultOptions.d.ts +0 -0
  83. /package/dist/esm/{util → src/util}/pad.d.ts +0 -0
  84. /package/dist/esm/{util → src/util}/pretty.d.ts +0 -0
  85. /package/dist/esm/{util → src/util}/trimEmail.d.ts +0 -0
  86. /package/dist/esm/{wrappers → src/wrappers}/buttons.d.ts +0 -0
  87. /package/dist/esm/{wrappers → src/wrappers}/container.d.ts +0 -0
  88. /package/dist/esm/{wrappers → src/wrappers}/form.d.ts +0 -0
  89. /package/dist/esm/{wrappers → src/wrappers}/visuals/inside/recorder/countdown.d.ts +0 -0
  90. /package/dist/esm/{wrappers → src/wrappers}/visuals/inside/recorder/facingMode.d.ts +0 -0
  91. /package/dist/esm/{wrappers → src/wrappers}/visuals/inside/recorder/pausedNote.d.ts +0 -0
  92. /package/dist/esm/{wrappers → src/wrappers}/visuals/inside/recorder/recordNote.d.ts +0 -0
  93. /package/dist/esm/{wrappers → src/wrappers}/visuals/inside/recorder/recordTimer.d.ts +0 -0
  94. /package/dist/esm/{wrappers → src/wrappers}/visuals/inside/recorderInsides.d.ts +0 -0
  95. /package/dist/esm/{wrappers → src/wrappers}/visuals/notifier.d.ts +0 -0
  96. /package/dist/esm/{wrappers → src/wrappers}/visuals/recorder.d.ts +0 -0
  97. /package/dist/esm/{wrappers → src/wrappers}/visuals/replay.d.ts +0 -0
  98. /package/dist/esm/{wrappers → src/wrappers}/visuals/userMedia.d.ts +0 -0
  99. /package/dist/esm/{wrappers → src/wrappers}/visuals.d.ts +0 -0
@@ -10852,7 +10852,7 @@ var __webpack_exports__ = {};
10852
10852
  var client = __webpack_require__("./node_modules/superagent/lib/client.js");
10853
10853
  var client_default = /*#__PURE__*/ __webpack_require__.n(client);
10854
10854
  var package_namespaceObject = {
10855
- rE: "13.8.24"
10855
+ rE: "13.8.26"
10856
10856
  };
10857
10857
  function isAudioEnabled(options) {
10858
10858
  return Boolean(options.audio.enabled);
@@ -0,0 +1,3 @@
1
+ import type { StorybookConfig } from "storybook-html-rsbuild";
2
+ declare const config: StorybookConfig;
3
+ export default config;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,3 @@
1
+ import type { Preview } from "@storybook/html";
2
+ declare const preview: Preview;
3
+ export default preview;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("storybook/theming").ThemeVars;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("eslint/config").Config[];
2
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import type { Config } from "release-it";
2
+ declare const config: Config;
3
+ export default config;
package/dist/esm/index.js CHANGED
@@ -3613,7 +3613,7 @@ const constants = {
3613
3613
  }
3614
3614
  };
3615
3615
  var package_namespaceObject = {
3616
- rE: "13.8.24"
3616
+ rE: "13.8.26"
3617
3617
  };
3618
3618
  function isAudioEnabled(options) {
3619
3619
  return Boolean(options.audio.enabled);
@@ -0,0 +1,2 @@
1
+ export default config;
2
+ declare const config: import("prettier").Config;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("@rslib/core").RslibConfig;
2
+ export default _default;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from "@storybook/html";
2
+ import { PartialVideomailClientOptions } from "../types/options";
3
+ declare const meta: Meta<PartialVideomailClientOptions>;
4
+ type Story = StoryObj<PartialVideomailClientOptions>;
5
+ export declare const CorrectExisting: Story;
6
+ export default meta;
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from "@storybook/html";
2
+ import { PartialVideomailClientOptions } from "../types/options";
3
+ declare const meta: Meta<PartialVideomailClientOptions>;
4
+ type Story = StoryObj<PartialVideomailClientOptions>;
5
+ export declare const InvalidWhitelistKey: Story;
6
+ export default meta;
@@ -0,0 +1,10 @@
1
+ import type { Meta, StoryObj } from "@storybook/html";
2
+ import { PartialVideomailClientOptions } from "../types/options";
3
+ declare const meta: Meta<PartialVideomailClientOptions>;
4
+ type Story = StoryObj<PartialVideomailClientOptions>;
5
+ export declare const DirectSubmission: Story;
6
+ export declare const ContactForm: Story;
7
+ export declare const VideoSubmissionOnly: Story;
8
+ export declare const Stretch: Story;
9
+ export declare const WithCCAndBCC: Story;
10
+ export default meta;
@@ -0,0 +1,8 @@
1
+ import type { Meta, StoryObj } from "@storybook/html";
2
+ import { PartialVideomailClientOptions } from "../types/options";
3
+ declare const meta: Meta<PartialVideomailClientOptions>;
4
+ type Story = StoryObj<PartialVideomailClientOptions>;
5
+ export declare const PlayDesktopVideomail: Story;
6
+ export declare const PlayMobileVideomail: Story;
7
+ export declare const PlayVideomailWithForm: Story;
8
+ export default meta;
@@ -0,0 +1,18 @@
1
+ import "./static/css/entertain.css";
2
+ import type { Meta, StoryObj } from "@storybook/html";
3
+ import { PartialVideomailClientOptions } from "../types/options";
4
+ declare const meta: Meta<PartialVideomailClientOptions>;
5
+ type Story = StoryObj<PartialVideomailClientOptions>;
6
+ export declare const DeadSimple: Story;
7
+ export declare const SimpleJpegs: Story;
8
+ export declare const Audio: Story;
9
+ export declare const ChangingLimit: Story;
10
+ export declare const HighQuality: Story;
11
+ export declare const AskOnRecord: Story;
12
+ export declare const FacingMode: Story;
13
+ export declare const Entertain: Story;
14
+ export declare const Inject: Story;
15
+ export declare const AutoRecord: Story;
16
+ export declare const MobileBreakPoint: Story;
17
+ export declare const AutoPlayOnReplay: Story;
18
+ export default meta;
@@ -0,0 +1,3 @@
1
+ import { Videomail } from "../../../types/Videomail";
2
+ declare const videomailDesktopExample: Videomail;
3
+ export default videomailDesktopExample;
@@ -0,0 +1,3 @@
1
+ import { Videomail } from "../../../types/Videomail";
2
+ declare const videomailMobileExample: Videomail;
3
+ export default videomailMobileExample;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vite").UserConfig;
2
+ export default _default;
package/dist/umd/index.js CHANGED
@@ -10858,7 +10858,7 @@
10858
10858
  var client = __webpack_require__("./node_modules/superagent/lib/client.js");
10859
10859
  var client_default = /*#__PURE__*/ __webpack_require__.n(client);
10860
10860
  var package_namespaceObject = {
10861
- rE: "13.8.24"
10861
+ rE: "13.8.26"
10862
10862
  };
10863
10863
  function isAudioEnabled(options) {
10864
10864
  return Boolean(options.audio.enabled);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "videomail-client",
3
- "version": "13.8.24",
4
- "description": "A wicked npm package to record videos directly in the browser, wohooo!",
3
+ "version": "13.8.26",
4
+ "description": "A wicked npm package to record videos directly in the browser, for Deaf and Sign Language!",
5
5
  "keywords": [
6
6
  "webcam",
7
7
  "video",
@@ -28,7 +28,7 @@
28
28
  "type": "module",
29
29
  "exports": {
30
30
  ".": {
31
- "types": "./dist/esm/index.d.ts",
31
+ "types": "./dist/esm/src/index.d.ts",
32
32
  "umd": "./dist/umd/index.js",
33
33
  "require": "./dist/cjs/index.cjs",
34
34
  "import": "./dist/esm/index.js"
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "main": "./dist/esm/index.js",
38
38
  "module": "./dist/esm/index.js",
39
- "types": "./dist/esm/index.d.ts",
39
+ "types": "./dist/esm/src/index.d.ts",
40
40
  "files": [
41
41
  "dist"
42
42
  ],
@@ -77,7 +77,7 @@
77
77
  "devDependencies": {
78
78
  "@chromatic-com/storybook": "5.1.2",
79
79
  "@eslint/config-inspector": "2.0.0",
80
- "@eslint/js": "9.39.2",
80
+ "@eslint/js": "10.0.1",
81
81
  "@rsbuild/plugin-node-polyfill": "1.4.4",
82
82
  "@rsbuild/plugin-stylus": "1.3.1",
83
83
  "@rsdoctor/rspack-plugin": "1.5.9",
@@ -94,16 +94,14 @@
94
94
  "@types/ua-parser-js": "0.7.39",
95
95
  "@vitest/eslint-plugin": "1.6.16",
96
96
  "audit-ci": "7.1.0",
97
- "chromatic": "16.5.0",
97
+ "chromatic": "16.6.0",
98
98
  "cross-env": "10.1.0",
99
- "eslint": "9.39.2",
99
+ "eslint": "10.2.1",
100
100
  "eslint-import-resolver-typescript": "4.4.4",
101
101
  "eslint-plugin-de-morgan": "2.1.1",
102
102
  "eslint-plugin-depend": "1.5.0",
103
103
  "eslint-plugin-import-x": "4.16.2",
104
- "eslint-plugin-markdownlint": "0.9.0",
105
104
  "eslint-plugin-package-json": "0.91.1",
106
- "eslint-plugin-promise": "7.2.1",
107
105
  "eslint-plugin-regexp": "3.1.0",
108
106
  "eslint-plugin-security": "4.0.0",
109
107
  "eslint-plugin-simple-import-sort": "13.0.0",
@@ -120,7 +118,7 @@
120
118
  "storybook": "10.3.5",
121
119
  "storybook-html-rsbuild": "3.3.3",
122
120
  "type-fest": "5.6.0",
123
- "typescript": "5.9.3",
121
+ "typescript": "6.0.3",
124
122
  "typescript-eslint": "8.59.0",
125
123
  "vitest": "4.1.5"
126
124
  },
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes