@digitalocean/dots 1.0.5 → 1.0.6

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/README.md CHANGED
@@ -92,6 +92,7 @@ We use `jest` to define and run the tests.
92
92
  - [TypeScript 5 or above](https://www.typescriptlang.org/)
93
93
  - [Jest 30 or above](https://www.npmjs.com/package/jest)
94
94
  - A DigitalOcean account with an active subscription. Along with a DigitalOcean token with proper permissions to manage DigitalOcean resources (for integration testing).
95
+ - `"type": "module"` in your `package.json` (for ES module support)
95
96
 
96
97
  There are two types of test suites in the `tests/` directory.
97
98
 
@@ -145,4 +146,3 @@ To run integration tests, run:
145
146
  # **License**
146
147
 
147
148
  This project is licensed under the Apache License 2.0. See the [LICENSE](./LICENSE) file for details.
148
-
package/index.js ADDED
@@ -0,0 +1,4 @@
1
+ export { createDigitalOceanClient } from "./src/dots/digitalOceanClient.js";
2
+ export { DigitalOceanApiKeyAuthenticationProvider } from "./src/dots/DigitalOceanApiKeyAuthenticationProvider.js";
3
+ export { FetchRequestAdapter } from "@microsoft/kiota-http-fetchlibrary";
4
+ export * from "./src/dots/models/index.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@digitalocean/dots",
3
3
  "type": "module",
4
- "version": "1.0.5",
4
+ "version": "1.0.6",
5
5
  "description": "TypeScript client generator based on DigitalOcean's OpenAPI specification.",
6
6
  "main": "index.js",
7
7
  "scripts": {
package/tsconfig.json CHANGED
@@ -110,6 +110,8 @@
110
110
  // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
111
111
  "skipLibCheck": true /* Skip type checking all .d.ts files. */
112
112
  },
113
- "include": ["src"],
114
- "exclude": ["tests"]
113
+ "include": [
114
+ "src",
115
+ "index.ts"
116
+ ]
115
117
  }