@matheusdev20/hc-lib 1.0.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/dist/index.d.mts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.global.js +2 -0
- package/dist/index.global.js.map +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +25 -0
package/dist/index.d.mts
ADDED
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var AktieHC=(()=>{var n=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var c=(o,e)=>{for(var d in e)n(o,d,{get:e[d],enumerable:!0})},f=(o,e,d,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of a(e))!p.call(o,t)&&t!==d&&n(o,t,{get:()=>e[t],enumerable:!(r=i(e,t))||r.enumerable});return o};var m=o=>f(n({},"__esModule",{value:!0}),o);var x={};c(x,{noop:()=>v,ready:()=>u});function u(o){document.readyState!=="loading"?o():document.addEventListener("DOMContentLoaded",o)}function v(){}return m(x);})();
|
|
2
|
+
//# sourceMappingURL=index.global.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/index.ts","../src/dom/index.ts","../src/utils/index.ts"],"sourcesContent":["export * from \"./dom\";\nexport * from \"./utils\";\n","export function ready(fn: () => void): void {\n if (document.readyState !== \"loading\") {\n fn();\n } else {\n document.addEventListener(\"DOMContentLoaded\", fn);\n }\n}\n","export function noop(): void {}\n"],"mappings":"2bAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,UAAAE,EAAA,UAAAC,ICAO,SAASC,EAAMC,EAAsB,CACtC,SAAS,aAAe,UAC1BA,EAAG,EAEH,SAAS,iBAAiB,mBAAoBA,CAAE,CAEpD,CCNO,SAASC,GAAa,CAAC","names":["index_exports","__export","noop","ready","ready","fn","noop"]}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var n=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var c=(o,e)=>{for(var d in e)n(o,d,{get:e[d],enumerable:!0})},f=(o,e,d,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of a(e))!p.call(o,t)&&t!==d&&n(o,t,{get:()=>e[t],enumerable:!(r=i(e,t))||r.enumerable});return o};var m=o=>f(n({},"__esModule",{value:!0}),o);var x={};c(x,{noop:()=>v,ready:()=>u});module.exports=m(x);function u(o){document.readyState!=="loading"?o():document.addEventListener("DOMContentLoaded",o)}function v(){}0&&(module.exports={noop,ready});
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/index.ts","../src/dom/index.ts","../src/utils/index.ts"],"sourcesContent":["export * from \"./dom\";\nexport * from \"./utils\";\n","export function ready(fn: () => void): void {\n if (document.readyState !== \"loading\") {\n fn();\n } else {\n document.addEventListener(\"DOMContentLoaded\", fn);\n }\n}\n","export function noop(): void {}\n"],"mappings":"yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,UAAAE,EAAA,UAAAC,IAAA,eAAAC,EAAAJ,GCAO,SAASK,EAAMC,EAAsB,CACtC,SAAS,aAAe,UAC1BA,EAAG,EAEH,SAAS,iBAAiB,mBAAoBA,CAAE,CAEpD,CCNO,SAASC,GAAa,CAAC","names":["index_exports","__export","noop","ready","__toCommonJS","ready","fn","noop"]}
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/dom/index.ts","../src/utils/index.ts"],"sourcesContent":["export function ready(fn: () => void): void {\n if (document.readyState !== \"loading\") {\n fn();\n } else {\n document.addEventListener(\"DOMContentLoaded\", fn);\n }\n}\n","export function noop(): void {}\n"],"mappings":"AAAO,SAASA,EAAMC,EAAsB,CACtC,SAAS,aAAe,UAC1BA,EAAG,EAEH,SAAS,iBAAiB,mBAAoBA,CAAE,CAEpD,CCNO,SAASC,GAAa,CAAC","names":["ready","fn","noop"]}
|
package/package.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@matheusdev20/hc-lib",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "TypeScript library for Zendesk Help Centers",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.mjs",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist"
|
|
10
|
+
],
|
|
11
|
+
"keywords": [],
|
|
12
|
+
"author": "",
|
|
13
|
+
"license": "ISC",
|
|
14
|
+
"devDependencies": {
|
|
15
|
+
"tsup": "^8.5.1",
|
|
16
|
+
"typescript": "^5.9.3"
|
|
17
|
+
},
|
|
18
|
+
"publishConfig": {
|
|
19
|
+
"access": "public"
|
|
20
|
+
},
|
|
21
|
+
"scripts": {
|
|
22
|
+
"build": "tsup",
|
|
23
|
+
"dev": "tsup --watch"
|
|
24
|
+
}
|
|
25
|
+
}
|