@ianacaburian/generate-key-file 0.0.3 → 0.0.4
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 +10 -2
- package/dist/index.d.ts +10 -2
- package/dist/index.js +7 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
type GenerateKeyFileParams = {
|
|
2
|
+
appName: string;
|
|
3
|
+
userEmail: string;
|
|
4
|
+
userName: string;
|
|
5
|
+
machineNumbers: string;
|
|
6
|
+
privateKey: string;
|
|
7
|
+
};
|
|
2
8
|
|
|
3
|
-
|
|
9
|
+
declare const generateKeyFile: (params: GenerateKeyFileParams) => string;
|
|
10
|
+
|
|
11
|
+
export { type GenerateKeyFileParams, generateKeyFile };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
type GenerateKeyFileParams = {
|
|
2
|
+
appName: string;
|
|
3
|
+
userEmail: string;
|
|
4
|
+
userName: string;
|
|
5
|
+
machineNumbers: string;
|
|
6
|
+
privateKey: string;
|
|
7
|
+
};
|
|
2
8
|
|
|
3
|
-
|
|
9
|
+
declare const generateKeyFile: (params: GenerateKeyFileParams) => string;
|
|
10
|
+
|
|
11
|
+
export { type GenerateKeyFileParams, generateKeyFile };
|
package/dist/index.js
CHANGED
|
@@ -20,14 +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
|
-
|
|
23
|
+
generateKeyFile: () => generateKeyFile
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(src_exports);
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
|
|
27
|
+
// src/generate.ts
|
|
28
|
+
var generateKeyFile = (params) => {
|
|
29
|
+
return "Hello Key File World";
|
|
30
|
+
};
|
|
29
31
|
// Annotate the CommonJS export names for ESM import in node:
|
|
30
32
|
0 && (module.exports = {
|
|
31
|
-
|
|
33
|
+
generateKeyFile
|
|
32
34
|
});
|
|
33
35
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["../src/index.ts","../src/generate.ts"],"sourcesContent":["export * from './generate'\nexport * from './types'\n","import { GenerateKeyFileParams } from './types'\n\nexport const generateKeyFile = (params: GenerateKeyFileParams) => {\n return 'Hello Key File World'\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACEO,IAAM,kBAAkB,CAAC,WAAkC;AAC9D,SAAO;AACX;","names":[]}
|
package/dist/index.mjs
CHANGED
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/
|
|
1
|
+
{"version":3,"sources":["../src/generate.ts"],"sourcesContent":["import { GenerateKeyFileParams } from './types'\n\nexport const generateKeyFile = (params: GenerateKeyFileParams) => {\n return 'Hello Key File World'\n}\n"],"mappings":";AAEO,IAAM,kBAAkB,CAAC,WAAkC;AAC9D,SAAO;AACX;","names":[]}
|