@scout9/admin 1.0.0-alpha.0.0.7 → 1.0.0-alpha.0.0.71

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.
@@ -14,7 +14,7 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.Configuration = void 0;
17
- const packageJson = require("../package.json");
17
+ const packageJson = require('../package.json');
18
18
  class Configuration {
19
19
  /**
20
20
  * parameter for apiKey security
@@ -93,7 +93,7 @@ class Configuration {
93
93
  this.baseOptions.headers['Scout9-Business'] = this.business;
94
94
  }
95
95
  if (!this.formDataCtor) {
96
- this.formDataCtor = require("form-data");
96
+ this.formDataCtor = require('form-data');
97
97
  }
98
98
  }
99
99
  /**
package/build/index.d.ts CHANGED
@@ -9,6 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- export * from "./api";
13
- export * from "./configuration";
12
+ export * from './api';
13
+ export * from './configuration';
14
14
  export * from './webhooks';
@@ -11,6 +11,6 @@ export type IWebhookEvent<Context = Record<string, any>> = {
11
11
  }[];
12
12
  context: Context;
13
13
  };
14
- export declare module Scout9Webhooks {
14
+ export declare namespace Scout9Webhooks {
15
15
  function constructEvent<Context = any>(rawBody: string | Buffer, signatureKey: string, secretKey: string): Promise<IWebhookEvent<Context>>;
16
16
  }
package/package.json CHANGED
@@ -1,12 +1,15 @@
1
1
  {
2
2
  "name": "@scout9/admin",
3
- "version": "1.0.0-alpha.0.0.7",
3
+ "version": "1.0.0-alpha.0.0.71",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
7
7
  "scripts": {
8
- "build": "tsc --build",
9
- "test": "echo \"Error: no test specified\" && exit 1"
8
+ "prepublishOnly": "npm run build",
9
+ "prebuild": "rm -rf ./build && rm -rf ./tsconfig.tsbuildinfo",
10
+ "build:cjs": "tsc --project tsconfig.cjs.json",
11
+ "build:esm": "tsc --project tsconfig.esm.json",
12
+ "build": "npx tsc --project ./tsconfig.json"
10
13
  },
11
14
  "repository": {
12
15
  "type": "git",
@@ -38,5 +41,8 @@
38
41
  "axios": "^1.4.0",
39
42
  "form-data": "^4.0.0",
40
43
  "moment": "^2.29.4"
44
+ },
45
+ "devDependencies": {
46
+ "typescript": "^5.3.3"
41
47
  }
42
48
  }