powerpagestoolkit 1.0.13 → 1.0.14
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/index.d.ts +3 -3
- package/package.json +7 -2
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
declare module powerpagestoolkit {
|
|
2
|
-
|
|
1
|
+
declare module "powerpagestoolkit" {
|
|
2
|
+
class DOMNodeReference {
|
|
3
3
|
constructor(querySelector: string);
|
|
4
4
|
element: HTMLElement | null;
|
|
5
5
|
isLoaded: boolean;
|
|
@@ -30,7 +30,7 @@ declare module powerpagestoolkit {
|
|
|
30
30
|
onceLoaded(callback: (instance: this) => void): void;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
export function createDOMNodeReference(
|
|
33
|
+
export async function createDOMNodeReference(
|
|
34
34
|
querySelector: string
|
|
35
35
|
): Promise<DOMNodeReference>;
|
|
36
36
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "powerpagestoolkit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
4
4
|
"description": "Reference, manipulate, and engage with Power Pages sites through the nodes in the DOM; use a variety of custom methods that allow customizing your power pages site quicker and easier. ",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -10,8 +10,10 @@
|
|
|
10
10
|
"devDependencies": {
|
|
11
11
|
"@babel/core": "^7.25.8",
|
|
12
12
|
"@babel/preset-env": "^7.25.8",
|
|
13
|
+
"@types/node": "^22.8.0",
|
|
13
14
|
"babel-loader": "^9.2.1",
|
|
14
15
|
"eslint": "^8.57.1",
|
|
16
|
+
"typescript": "^5.6.3",
|
|
15
17
|
"webpack": "^5.95.0",
|
|
16
18
|
"webpack-cli": "^5.1.4"
|
|
17
19
|
},
|
|
@@ -22,5 +24,8 @@
|
|
|
22
24
|
"type": "git",
|
|
23
25
|
"url": "https://github.com/Keaton-Brewster/PowerPagesToolKit"
|
|
24
26
|
},
|
|
25
|
-
"files": [
|
|
27
|
+
"files": [
|
|
28
|
+
"index.js",
|
|
29
|
+
"index.d.ts"
|
|
30
|
+
]
|
|
26
31
|
}
|