@juantroconisf/lib 1.6.0 → 1.6.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.
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +5 -0
- package/dist/index.mjs +3 -1
- package/package.json +1 -1
- package/src/functions.ts +3 -0
- package/src/index.ts +1 -3
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -20,11 +20,16 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// src/index.ts
|
|
21
21
|
var src_exports = {};
|
|
22
22
|
__export(src_exports, {
|
|
23
|
+
greetUser: () => greetUser,
|
|
23
24
|
sayHello: () => sayHello
|
|
24
25
|
});
|
|
25
26
|
module.exports = __toCommonJS(src_exports);
|
|
27
|
+
|
|
28
|
+
// src/functions.ts
|
|
26
29
|
var sayHello = () => "Hello world!";
|
|
30
|
+
var greetUser = (name) => `Hello ${name}!`;
|
|
27
31
|
// Annotate the CommonJS export names for ESM import in node:
|
|
28
32
|
0 && (module.exports = {
|
|
33
|
+
greetUser,
|
|
29
34
|
sayHello
|
|
30
35
|
});
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
package/src/functions.ts
ADDED
package/src/index.ts
CHANGED