powerpagestoolkit 1.0.21 → 1.0.2201

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.
Files changed (2) hide show
  1. package/index.d.ts +2 -3
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -141,7 +141,7 @@ declare module "powerpagestoolkit" {
141
141
  * @param {string} querySelector - The CSS selector for the desired DOM element.
142
142
  * @returns {Promise<DOMNodeReference>} A promise that resolves to a Proxy of the initialized DOMNodeReference instance.
143
143
  */
144
- export default function createDOMNodeReference(
144
+ export async function createDOMNodeReference(
145
145
  querySelector: string
146
146
  ): Promise<DOMNodeReference>;
147
147
 
@@ -150,8 +150,7 @@ declare module "powerpagestoolkit" {
150
150
  value(): any; // Adjust this type based on the structure of your schema values
151
151
  }
152
152
 
153
-
154
- export interface API {
153
+ export type API = {
155
154
  /**
156
155
  * Creates a new record in DataVerse.
157
156
  * @param schema An instance of a schema class, containing the desired information for the POST request.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "powerpagestoolkit",
3
- "version": "1.0.21",
3
+ "version": "1.0.2201",
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",