react-native-timezone 2.1.1 → 2.3.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.
package/README.md CHANGED
@@ -1,4 +1,6 @@
1
1
  # React Native Timezone
2
+ [![Maintainability](https://api.codeclimate.com/v1/badges/3713253a365fe6a55615/maintainability)](https://codeclimate.com/github/samitha9125/react-native-timezone/maintainability)
3
+
2
4
  A Simple react native module to get Timezone of the Android/iOS device.
3
5
 
4
6
  # Motivation
@@ -11,7 +13,7 @@ Timezone version 2.0.0 only support React Native version 0.62.3 and above due to
11
13
  |----------------------|--------|--------|
12
14
  | 0.62.3 + | ✅ | ✅ |
13
15
  | 0.62.5 + | ✅ | ✅ |
14
- | 0.70.5 + | ✅ | ✅ |
16
+ | 0.71.3 + | ✅ | ✅ |
15
17
 
16
18
  # Installation
17
19
 
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ //# sourceMappingURL=index.d.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../src","sources":["index.d.ts"],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.d.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../src","sources":["index.d.ts"],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-timezone",
3
- "version": "2.1.1",
3
+ "version": "2.3.0",
4
4
  "description": "A Simple react native module to get Timezone of the Android/iOS device.",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -81,7 +81,7 @@
81
81
  "react-native": "*"
82
82
  },
83
83
  "engines": {
84
- "node": ">= 16.0.0"
84
+ "node": ">= 14.0.0"
85
85
  },
86
86
  "packageManager": "^yarn@1.22.15",
87
87
  "jest": {
package/src/index.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ getTimeZone(): Promise<string | null>;
3
+ };
4
+
5
+ export default _default;