@fefade/common 1.0.0 → 1.0.2

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.
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/dist/index.d.mts CHANGED
@@ -1,7 +1,22 @@
1
1
  declare const ORG_NAME = "Fefade";
2
-
3
- declare const images: {
4
- icon180: string;
2
+ declare const ACRONYM = "ff";
3
+ declare const DEFAULT_LOCALE = "en";
4
+ declare const SUPPORT_EMAIL = "support@fefade.com";
5
+ declare const URLS: {
6
+ base: string;
7
+ auth: string;
8
+ email: string;
9
+ play_store: string;
10
+ github: string;
5
11
  };
6
12
 
7
- export { ORG_NAME, images };
13
+ declare const constants_ACRONYM: typeof ACRONYM;
14
+ declare const constants_DEFAULT_LOCALE: typeof DEFAULT_LOCALE;
15
+ declare const constants_ORG_NAME: typeof ORG_NAME;
16
+ declare const constants_SUPPORT_EMAIL: typeof SUPPORT_EMAIL;
17
+ declare const constants_URLS: typeof URLS;
18
+ declare namespace constants {
19
+ export { constants_ACRONYM as ACRONYM, constants_DEFAULT_LOCALE as DEFAULT_LOCALE, constants_ORG_NAME as ORG_NAME, constants_SUPPORT_EMAIL as SUPPORT_EMAIL, constants_URLS as URLS };
20
+ }
21
+
22
+ export { constants as Constants };
package/dist/index.d.ts CHANGED
@@ -1,7 +1,22 @@
1
1
  declare const ORG_NAME = "Fefade";
2
-
3
- declare const images: {
4
- icon180: string;
2
+ declare const ACRONYM = "ff";
3
+ declare const DEFAULT_LOCALE = "en";
4
+ declare const SUPPORT_EMAIL = "support@fefade.com";
5
+ declare const URLS: {
6
+ base: string;
7
+ auth: string;
8
+ email: string;
9
+ play_store: string;
10
+ github: string;
5
11
  };
6
12
 
7
- export { ORG_NAME, images };
13
+ declare const constants_ACRONYM: typeof ACRONYM;
14
+ declare const constants_DEFAULT_LOCALE: typeof DEFAULT_LOCALE;
15
+ declare const constants_ORG_NAME: typeof ORG_NAME;
16
+ declare const constants_SUPPORT_EMAIL: typeof SUPPORT_EMAIL;
17
+ declare const constants_URLS: typeof URLS;
18
+ declare namespace constants {
19
+ export { constants_ACRONYM as ACRONYM, constants_DEFAULT_LOCALE as DEFAULT_LOCALE, constants_ORG_NAME as ORG_NAME, constants_SUPPORT_EMAIL as SUPPORT_EMAIL, constants_URLS as URLS };
20
+ }
21
+
22
+ export { constants as Constants };
package/dist/index.js CHANGED
@@ -1,2 +1,50 @@
1
- "use strict";var P=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var u=Object.prototype.hasOwnProperty;var T=(s,B)=>{for(var R in B)P(s,R,{get:B[R],enumerable:!0})},L=(s,B,R,j)=>{if(B&&typeof B=="object"||typeof B=="function")for(let J of C(B))!u.call(s,J)&&J!==R&&P(s,J,{get:()=>B[J],enumerable:!(j=p(B,J))||j.enumerable});return s};var M=s=>L(P({},"__esModule",{value:!0}),s);var q={};T(q,{ORG_NAME:()=>X,images:()=>c});module.exports=M(q);var E="./icon-180-RUMMBWKA.png";var X="Fefade";var c={icon180:E};0&&(module.exports={ORG_NAME,images});
2
- //# sourceMappingURL=index.js.map
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
+ Constants: () => constants_exports
24
+ });
25
+ module.exports = __toCommonJS(index_exports);
26
+
27
+ // src/constants.ts
28
+ var constants_exports = {};
29
+ __export(constants_exports, {
30
+ ACRONYM: () => ACRONYM,
31
+ DEFAULT_LOCALE: () => DEFAULT_LOCALE,
32
+ ORG_NAME: () => ORG_NAME,
33
+ SUPPORT_EMAIL: () => SUPPORT_EMAIL,
34
+ URLS: () => URLS
35
+ });
36
+ var ORG_NAME = "Fefade";
37
+ var ACRONYM = "ff";
38
+ var DEFAULT_LOCALE = "en";
39
+ var SUPPORT_EMAIL = "support@fefade.com";
40
+ var URLS = {
41
+ base: "https://fefade.com",
42
+ auth: "https://auth.fefade.com",
43
+ email: `mailto:${SUPPORT_EMAIL}`,
44
+ play_store: "https://play.google.com/store/apps/dev?id=7701571155946352525",
45
+ github: "https://github.com/fefade"
46
+ };
47
+ // Annotate the CommonJS export names for ESM import in node:
48
+ 0 && (module.exports = {
49
+ Constants
50
+ });
package/dist/index.mjs CHANGED
@@ -1,2 +1,29 @@
1
- var B="./icon-180-RUMMBWKA.png";var R="Fefade";var E={icon180:B};export{R as ORG_NAME,E as images};
2
- //# sourceMappingURL=index.mjs.map
1
+ var __defProp = Object.defineProperty;
2
+ var __export = (target, all) => {
3
+ for (var name in all)
4
+ __defProp(target, name, { get: all[name], enumerable: true });
5
+ };
6
+
7
+ // src/constants.ts
8
+ var constants_exports = {};
9
+ __export(constants_exports, {
10
+ ACRONYM: () => ACRONYM,
11
+ DEFAULT_LOCALE: () => DEFAULT_LOCALE,
12
+ ORG_NAME: () => ORG_NAME,
13
+ SUPPORT_EMAIL: () => SUPPORT_EMAIL,
14
+ URLS: () => URLS
15
+ });
16
+ var ORG_NAME = "Fefade";
17
+ var ACRONYM = "ff";
18
+ var DEFAULT_LOCALE = "en";
19
+ var SUPPORT_EMAIL = "support@fefade.com";
20
+ var URLS = {
21
+ base: "https://fefade.com",
22
+ auth: "https://auth.fefade.com",
23
+ email: `mailto:${SUPPORT_EMAIL}`,
24
+ play_store: "https://play.google.com/store/apps/dev?id=7701571155946352525",
25
+ github: "https://github.com/fefade"
26
+ };
27
+ export {
28
+ constants_exports as Constants
29
+ };
package/package.json CHANGED
@@ -1,21 +1,26 @@
1
1
  {
2
2
  "name": "@fefade/common",
3
- "description": "Shared images and constants",
4
- "version": "1.0.0",
3
+ "description": "Containing common resources, constants, images, and utility functions that are used across various projects. This package aims to promote reusability and maintain consistency across different applications by centralizing commonly used assets and code.",
4
+ "version": "1.0.2",
5
5
  "private": false,
6
6
  "publishConfig": {
7
7
  "access": "public"
8
8
  },
9
- "main": "dist/index.cjs",
10
- "module": "dist/index.js",
9
+ "main": "dist/index.js",
10
+ "module": "dist/index.mjs",
11
11
  "types": "dist/index.d.ts",
12
12
  "files": [
13
- "dist"
13
+ "dist",
14
+ "LICENSE"
14
15
  ],
15
16
  "exports": {
16
17
  ".": {
17
- "import": "./dist/index.js",
18
- "require": "./dist/index.cjs"
18
+ "import": "./dist/index.mjs",
19
+ "require": "./dist/index.js"
20
+ },
21
+ "./images/*": {
22
+ "import": "./dist/images/*",
23
+ "require": "./dist/images/*"
19
24
  }
20
25
  },
21
26
  "repository": {
@@ -31,6 +36,7 @@
31
36
  "keywords": [],
32
37
  "devDependencies": {
33
38
  "@changesets/cli": "^2.30.0",
39
+ "@types/node": "^25.5.2",
34
40
  "prettier": "^3.8.1",
35
41
  "tsup": "^8.5.1",
36
42
  "typescript": "^5.9.3"
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/index.ts","../src/constants.ts"],"sourcesContent":["import icon180 from \"./images/icon-180.png\"\n\nexport * from \"./constants\"\n\nexport const images = {\n\ticon180\n}\n","export const ORG_NAME = \"Fefade\"\n"],"mappings":"yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,cAAAE,EAAA,WAAAC,IAAA,eAAAC,EAAAJ,G,gCCAO,IAAMK,EAAW,SDIjB,IAAMC,EAAS,CACrB,QAAAC,CACD","names":["index_exports","__export","ORG_NAME","images","__toCommonJS","ORG_NAME","images","icon_180_default"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/constants.ts","../src/index.ts"],"sourcesContent":["export const ORG_NAME = \"Fefade\"\n","import icon180 from \"./images/icon-180.png\"\n\nexport * from \"./constants\"\n\nexport const images = {\n\ticon180\n}\n"],"mappings":"gCAAO,IAAMA,EAAW,SCIjB,IAAMC,EAAS,CACrB,QAAAC,CACD","names":["ORG_NAME","images","icon_180_default"]}