@amandevelops/whoami 1.0.0 → 1.0.1

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.
@@ -0,0 +1,7 @@
1
+ type checkAgeProps = {
2
+ age: number;
3
+ };
4
+
5
+ declare function checkAge({ age }: checkAgeProps): boolean;
6
+
7
+ export { checkAge, type checkAgeProps };
@@ -0,0 +1,7 @@
1
+ type checkAgeProps = {
2
+ age: number;
3
+ };
4
+
5
+ declare function checkAge({ age }: checkAgeProps): boolean;
6
+
7
+ export { checkAge, type checkAgeProps };
package/package.json CHANGED
@@ -1,13 +1,20 @@
1
1
  {
2
2
  "name": "@amandevelops/whoami",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "My first NPM package",
5
- "main": "./dist/index.js",
6
- "module": "./dist/index.mjs",
5
+ "main": "./dist/index.cjs",
6
+ "module": "./dist/index.js",
7
7
  "type": "module",
8
8
  "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.js",
13
+ "require": "./dist/index.cjs"
14
+ }
15
+ },
9
16
  "repository": {
10
- "url": "https://github.com/AmanDevelops/gcp-cloud-run-nodejs-example.git"
17
+ "url": "https://github.com/AmanDevelops/gcp-cloud-run-nodejs-example"
11
18
  },
12
19
  "publishConfig": {
13
20
  "access": "public"