@topwrite/reader 1.0.69 → 1.0.71

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@topwrite/reader",
3
- "version": "1.0.69",
3
+ "version": "1.0.71",
4
4
  "author": "yunwuxin <tzzhangyajun@qq.com> (https://github.com/yunwuxin)",
5
5
  "license": "ISC",
6
6
  "types": "types/index.d.ts",
@@ -25,6 +25,7 @@
25
25
  "@types/react": "^18",
26
26
  "@types/react-dom": "^18",
27
27
  "color": "^4.2.3",
28
+ "dayjs": "^1.10.4",
28
29
  "history": "^5.0.0",
29
30
  "immer": "^9.0.6"
30
31
  },
@@ -45,5 +46,5 @@
45
46
  "webpack-cli": "^4.7.0",
46
47
  "webpack-dev-server": "^4.7.3"
47
48
  },
48
- "gitHead": "799002630a99ab0f6f8cf601abf86eed531bab19"
49
+ "gitHead": "aebc68ffe87a364c7e1f69ce87200b4a1b089054"
49
50
  }
package/types/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import './typings';
2
- import './lib/date';
3
2
  export * from '@topwrite/common';
4
3
  export { default as bootstrap } from './lib/bootstrap';
5
4
  export { history } from './lib/history';
5
+ export { default as date } from './lib/date';
6
6
  export { default as useTitle } from './lib/use-title';
7
7
  export { default as useFile } from './lib/use-file';
8
8
  export { default as useAssetUrl } from './lib/use-asset-url';
@@ -3,4 +3,5 @@ declare global {
3
3
  format(fmt: string): string;
4
4
  }
5
5
  }
6
- export {};
6
+ import dayjs from 'dayjs';
7
+ export default dayjs;