@productcraft/social 1.1.1 → 1.1.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
@@ -5049,7 +5049,7 @@ var WebhookEventStatus = { values: ["pending", "delivered", "failed", "not_sent"
5049
5049
  var WebhookEventType = { values: ["post.created", "post.updated", "post.deleted", "post.reaction.created", "repost.created", "comment.created", "comment.updated", "comment.deleted", "comment.reaction.created", "edge.follow.created", "edge.follow.deleted", "edge.follow.requested", "edge.follow.request_approved", "flag.created", "flag.updated", "moderation.action.applied", "actor.updated", "dm.message.created", "tag.created", "asset.ready", "asset.failed"] };
5050
5050
 
5051
5051
  // src/_generated/client.ts
5052
- var VERSION = "1.1.1" ;
5052
+ var VERSION = "1.1.2" ;
5053
5053
  exports.default = class Social extends SocialResources {
5054
5054
  #openapi;
5055
5055
  constructor(options = {}) {
package/dist/index.js CHANGED
@@ -5046,7 +5046,7 @@ var WebhookEventStatus = { values: ["pending", "delivered", "failed", "not_sent"
5046
5046
  var WebhookEventType = { values: ["post.created", "post.updated", "post.deleted", "post.reaction.created", "repost.created", "comment.created", "comment.updated", "comment.deleted", "comment.reaction.created", "edge.follow.created", "edge.follow.deleted", "edge.follow.requested", "edge.follow.request_approved", "flag.created", "flag.updated", "moderation.action.applied", "actor.updated", "dm.message.created", "tag.created", "asset.ready", "asset.failed"] };
5047
5047
 
5048
5048
  // src/_generated/client.ts
5049
- var VERSION = "1.1.1" ;
5049
+ var VERSION = "1.1.2" ;
5050
5050
  var Social = class extends SocialResources {
5051
5051
  #openapi;
5052
5052
  constructor(options = {}) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@productcraft/social",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "Communities, actors, posts, ranked feeds, stories, conversations, notifications and moderation (ProductCraft Social). Resources, community scopes with .as(actorId), 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')\"",