message-verify 0.0.45-beta.0 → 0.0.46-beta.0

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.
@@ -1,6 +1,6 @@
1
- import zh from '../locales/zh';
2
- import en from '../locales/en';
3
- import id from '../locales/id';
1
+ import zh from '../locales/zh.js';
2
+ import en from '../locales/en.js';
3
+ import id from '../locales/id.js';
4
4
  const locales = {
5
5
  zh,
6
6
  en,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "message-verify",
3
- "version": "0.0.45-beta.0",
3
+ "version": "0.0.46-beta.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "dependencies": {
package/src/utils/i18n.ts CHANGED
@@ -1,6 +1,6 @@
1
- import zh from '../locales/zh';
2
- import en from '../locales/en';
3
- import id from '../locales/id';
1
+ import zh from '../locales/zh.js';
2
+ import en from '../locales/en.js';
3
+ import id from '../locales/id.js';
4
4
 
5
5
  type LocaleType = 'zh' | 'en' | 'id';
6
6
  type LocaleMessages = Record<string, string>;