@productcraft/platform-auth 1.0.1 → 1.0.2

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/dist/index.cjs CHANGED
@@ -1724,7 +1724,7 @@ var StatsMetric = { values: ["audit_events"] };
1724
1724
  var StatsWindow = { values: ["1d", "7d", "30d"] };
1725
1725
 
1726
1726
  // src/_generated/client.ts
1727
- var VERSION = "1.0.1" ;
1727
+ var VERSION = "1.0.2" ;
1728
1728
  exports.default = class PlatformAuth extends PlatformAuthResources {
1729
1729
  #openapi;
1730
1730
  constructor(options = {}) {
package/dist/index.js CHANGED
@@ -1721,7 +1721,7 @@ var StatsMetric = { values: ["audit_events"] };
1721
1721
  var StatsWindow = { values: ["1d", "7d", "30d"] };
1722
1722
 
1723
1723
  // src/_generated/client.ts
1724
- var VERSION = "1.0.1" ;
1724
+ var VERSION = "1.0.2" ;
1725
1725
  var PlatformAuth = class extends PlatformAuthResources {
1726
1726
  #openapi;
1727
1727
  constructor(options = {}) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@productcraft/platform-auth",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Workspaces, members, invites, roles and IAM policies, API keys, service activation and introspection (ProductCraft Platform). Resources, auto-pagination, typed errors and retries with idempotency keys, generated from the production OpenAPI spec.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -8,17 +8,34 @@
8
8
  "types": "./dist/index.d.ts",
9
9
  "exports": {
10
10
  ".": {
11
- "types": "./dist/index.d.ts",
12
- "import": "./dist/index.js",
13
- "require": "./dist/index.cjs"
11
+ "import": {
12
+ "types": "./dist/index.d.ts",
13
+ "default": "./dist/index.js"
14
+ },
15
+ "require": {
16
+ "types": "./dist/index.d.cts",
17
+ "default": "./dist/index.cjs"
18
+ }
14
19
  },
15
20
  "./testing": {
16
- "types": "./dist/testing.d.ts",
17
- "import": "./dist/testing.js",
18
- "require": "./dist/testing.cjs"
21
+ "import": {
22
+ "types": "./dist/testing.d.ts",
23
+ "default": "./dist/testing.js"
24
+ },
25
+ "require": {
26
+ "types": "./dist/testing.d.cts",
27
+ "default": "./dist/testing.cjs"
28
+ }
19
29
  },
20
30
  "./manifest.json": "./manifest.json"
21
31
  },
32
+ "typesVersions": {
33
+ "*": {
34
+ "testing": [
35
+ "./dist/testing.d.ts"
36
+ ]
37
+ }
38
+ },
22
39
  "files": [
23
40
  "dist/**",
24
41
  "manifest.json",
@@ -52,7 +69,7 @@
52
69
  },
53
70
  "dependencies": {
54
71
  "openapi-fetch": "^0.13.0",
55
- "@productcraft/core": "^1.0.0"
72
+ "@productcraft/core": "^1.0.1"
56
73
  },
57
74
  "scripts": {
58
75
  "build": "tsup && node -e \"require('node:fs').copyFileSync('src/_generated/manifest.json','manifest.json')\"",