react-native-chatbot-ai 0.1.17 → 0.1.18

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,5 +1,6 @@
1
1
  "use strict";
2
2
 
3
+ import 'intl-pluralrules';
3
4
  import i18n from 'i18next';
4
5
  import { initReactI18next } from 'react-i18next';
5
6
  import vi from "./resources/vi.js";
@@ -1 +1 @@
1
- {"version":3,"names":["i18n","initReactI18next","vi","use","init","compatibilityJSON","resources","chatbot","lng","fallbackLng","interpolation","escapeValue","ns","defaultNS","trans","args","t"],"sourceRoot":"../../../src","sources":["translation/index.ts"],"mappings":";;AAAA,OAAOA,IAAI,MAAM,SAAS;AAC1B,SAASC,gBAAgB,QAAQ,eAAe;AAChD,OAAOC,EAAE,MAAM,mBAAgB;AAE/BF,IAAI,CAACG,GAAG,CAACF,gBAAgB,CAAC,CAACG,IAAI,CAAC;EAC9BC,iBAAiB,EAAE,IAAI;EACvBC,SAAS,EAAE;IACTJ,EAAE,EAAE;MAAEK,OAAO,EAAEL;IAAG;EACpB,CAAC;EACDM,GAAG,EAAE,IAAI;EAAE;EACXC,WAAW,EAAE,IAAI;EACjBC,aAAa,EAAE;IAAEC,WAAW,EAAE;EAAM,CAAC;EACrCC,EAAE,EAAE,CAAC,SAAS,CAAC;EACfC,SAAS,EAAE;AACb,CAAC,CAAC;;AAEF;AACA,MAAMC,KAAK,GAAGA,CAAC,GAAGC,IAAI,KAAKf,IAAI,CAACgB,CAAC,CAAC,GAAGD,IAAI,CAAQ;AAEjD,SAASf,IAAI;AACb,eAAec,KAAK","ignoreList":[]}
1
+ {"version":3,"names":["i18n","initReactI18next","vi","use","init","compatibilityJSON","resources","chatbot","lng","fallbackLng","interpolation","escapeValue","ns","defaultNS","trans","args","t"],"sourceRoot":"../../../src","sources":["translation/index.ts"],"mappings":";;AAAA,OAAO,kBAAkB;AACzB,OAAOA,IAAI,MAAM,SAAS;AAC1B,SAASC,gBAAgB,QAAQ,eAAe;AAChD,OAAOC,EAAE,MAAM,mBAAgB;AAE/BF,IAAI,CAACG,GAAG,CAACF,gBAAgB,CAAC,CAACG,IAAI,CAAC;EAC9BC,iBAAiB,EAAE,IAAI;EACvBC,SAAS,EAAE;IACTJ,EAAE,EAAE;MAAEK,OAAO,EAAEL;IAAG;EACpB,CAAC;EACDM,GAAG,EAAE,IAAI;EAAE;EACXC,WAAW,EAAE,IAAI;EACjBC,aAAa,EAAE;IAAEC,WAAW,EAAE;EAAM,CAAC;EACrCC,EAAE,EAAE,CAAC,SAAS,CAAC;EACfC,SAAS,EAAE;AACb,CAAC,CAAC;;AAEF;AACA,MAAMC,KAAK,GAAGA,CAAC,GAAGC,IAAI,KAAKf,IAAI,CAACgB,CAAC,CAAC,GAAGD,IAAI,CAAQ;AAEjD,SAASf,IAAI;AACb,eAAec,KAAK","ignoreList":[]}
@@ -1,3 +1,4 @@
1
+ import 'intl-pluralrules';
1
2
  import i18n from 'i18next';
2
3
  declare const trans: (...args: any[]) => any;
3
4
  export { i18n };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/translation/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,SAAS,CAAC;AAiB3B,QAAA,MAAM,KAAK,GAAI,GAAG,WAAI,KAAwB,GAAG,CAAC;AAElD,OAAO,EAAE,IAAI,EAAE,CAAC;AAChB,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/translation/index.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAA;AACzB,OAAO,IAAI,MAAM,SAAS,CAAC;AAiB3B,QAAA,MAAM,KAAK,GAAI,GAAG,WAAI,KAAwB,GAAG,CAAC;AAElD,OAAO,EAAE,IAAI,EAAE,CAAC;AAChB,eAAe,KAAK,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-chatbot-ai",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
4
4
  "description": "React Native library for Chatbot AI",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",
@@ -174,6 +174,7 @@
174
174
  "@babel/runtime": "^7.28.4",
175
175
  "axios": "^1.12.2",
176
176
  "dayjs": "^1.11.18",
177
+ "intl-pluralrules": "^2.0.1",
177
178
  "lodash": "^4.17.21",
178
179
  "react-native-marked": "^7.0.2",
179
180
  "react-native-skeleton-placeholder": "^5.2.4",
@@ -1,3 +1,4 @@
1
+ import 'intl-pluralrules'
1
2
  import i18n from 'i18next';
2
3
  import { initReactI18next } from 'react-i18next';
3
4
  import vi from './resources/vi';