powerpagestoolkit 1.0.300 → 1.0.302

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 (3) hide show
  1. package/index.d.ts +2 -2
  2. package/index.js +2 -2
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -150,7 +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
- export class API {
153
+ export const API: {
154
154
  /**
155
155
  * Creates a new record in DataVerse.
156
156
  * @param schema An instance of a schema class, containing the desired information for the POST request.
@@ -178,5 +178,5 @@ declare module "powerpagestoolkit" {
178
178
  * @returns A Promise resolving the successful results of the GET request, or rejecting with the error.
179
179
  */
180
180
  getMultiple(tableSetName: string, queryParameters?: string): Promise<any>; // Adjust return type as necessary
181
- }
181
+ };
182
182
  }
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import api from "./lib/API.js";
1
+ import API from "./lib/API.js";
2
2
  import createDOMNodeReference from "./lib/DOMNodeReferences.js";
3
3
 
4
- export { api, createDOMNodeReference };
4
+ export { API, createDOMNodeReference };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "powerpagestoolkit",
3
- "version": "1.0.300",
3
+ "version": "1.0.302",
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",