react-markdown-typer 1.0.2 β†’ 1.0.3

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
@@ -2,7 +2,7 @@
2
2
 
3
3
  > πŸš€ React Markdown typing animation component
4
4
 
5
- **if you need styling, support for mathematical formulas, and mermaid chart rendering, we recommend using [ds-markdown](https://github.com/onshinpei/ds-markdown)**
5
+ **if you need styles, support for mathematical formulas, and mermaid chart rendering, we recommend using [ds-markdown](https://github.com/onshinpei/ds-markdown)**
6
6
 
7
7
  **[πŸ‡¨πŸ‡³ δΈ­ζ–‡](./README.zh.md) | πŸ‡ΊπŸ‡Έ English**
8
8
 
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { MarkdownTyperProps } from '../defined';
2
+ import { MarkdownTyperProps } from '../defined.js';
3
3
  declare const _default: React.NamedExoticComponent<MarkdownTyperProps & React.RefAttributes<import("../defined").MarkdownBaseRef>>;
4
4
  export default _default;
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import { MarkdownTyperCMDProps, MarkdownTyperCMDRef } from '../defined';
1
+ import { MarkdownTyperCMDProps, MarkdownTyperCMDRef } from '../defined.js';
2
2
  declare const MarkdownTyperCMD: import("react").ForwardRefExoticComponent<MarkdownTyperCMDProps & import("react").RefAttributes<MarkdownTyperCMDRef>>;
3
3
  export default MarkdownTyperCMD;
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import { IChar, ITypedChar, IWholeContent, MarkdownTyperProps, IEndData, IBeforeTypedChar, IntervalType } from '../defined';
1
+ import { IChar, ITypedChar, IWholeContent, MarkdownTyperProps, IEndData, IBeforeTypedChar, IntervalType } from '../defined.js';
2
2
  interface UseTypingTaskOptions {
3
3
  timerType: MarkdownTyperProps['timerType'];
4
4
  interval: IntervalType;
package/es/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import MarkdownTyperCMD from './MarkdownTyperCMD';
2
- import MarkdownTyper from './MarkdownTyper';
3
- import type { MarkdownTyperCMDRef, MarkdownTyperRef, ITypedChar, MarkdownTyperProps, MarkdownTyperCMDProps, IntervalType } from './defined';
1
+ import MarkdownTyperCMD from './MarkdownTyperCMD/index.js';
2
+ import MarkdownTyper from './MarkdownTyper/index.js';
3
+ import type { MarkdownTyperCMDRef, MarkdownTyperRef, ITypedChar, MarkdownTyperProps, MarkdownTyperCMDProps, IntervalType } from './defined.js';
4
4
  export default MarkdownTyper;
5
5
  export type { MarkdownTyperCMDRef, MarkdownTyperRef, ITypedChar, MarkdownTyperProps, MarkdownTyperCMDProps, IntervalType };
6
6
  export { MarkdownTyper, MarkdownTyperCMD };
package/package.json CHANGED
@@ -1,9 +1,8 @@
1
1
  {
2
2
  "name": "react-markdown-typer",
3
3
  "private": false,
4
- "version": "1.0.2",
4
+ "version": "1.0.3",
5
5
  "main": "./es/index.js",
6
- "types": "./es/index.d.ts",
7
6
  "type": "module",
8
7
  "license": "MIT",
9
8
  "repository": {