@productcraft/notify 0.0.0 → 0.1.0

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
@@ -2023,7 +2023,7 @@ var WebhookEventStatus = { values: ["pending", "delivered", "failed", "not_sent"
2023
2023
  var WebhookEventType = { values: ["notification.accepted", "delivery.sent", "delivery.delivered", "delivery.failed", "delivery.bounced", "delivery.skipped", "inbox_item.read", "inbox_item.archived", "inbox_item.interacted", "device.pruned", "device.moved", "credential.invalid", "email.auto_paused", "recipient.deleted"] };
2024
2024
 
2025
2025
  // src/_generated/client.ts
2026
- var VERSION = "0.0.0" ;
2026
+ var VERSION = "0.1.0" ;
2027
2027
  exports.default = class Notify extends NotifyResources {
2028
2028
  /** The options this client was built with, for the token scopes' own clients. Never enumerable. */
2029
2029
  #options;
package/dist/index.js CHANGED
@@ -2020,7 +2020,7 @@ var WebhookEventStatus = { values: ["pending", "delivered", "failed", "not_sent"
2020
2020
  var WebhookEventType = { values: ["notification.accepted", "delivery.sent", "delivery.delivered", "delivery.failed", "delivery.bounced", "delivery.skipped", "inbox_item.read", "inbox_item.archived", "inbox_item.interacted", "device.pruned", "device.moved", "credential.invalid", "email.auto_paused", "recipient.deleted"] };
2021
2021
 
2022
2022
  // src/_generated/client.ts
2023
- var VERSION = "0.0.0" ;
2023
+ var VERSION = "0.1.0" ;
2024
2024
  var Notify = class extends NotifyResources {
2025
2025
  /** The options this client was built with, for the token scopes' own clients. Never enumerable. */
2026
2026
  #options;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@productcraft/notify",
3
- "version": "0.0.0",
3
+ "version": "0.1.0",
4
4
  "description": "Node.js / TypeScript client for ProductCraft Notify: one call notifies a user across an in-app inbox, email, web push, APNs and FCM, with preferences, fallbacks, quiet hours, templates, delivery history and signed webhooks. Includes the browser-safe recipient-token client scope.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -69,10 +69,15 @@
69
69
  "url": "https://github.com/clauderanelagh/productcraft-node/issues"
70
70
  },
71
71
  "publishConfig": {
72
- "access": "public"
72
+ "access": "public",
73
+ "provenance": true
73
74
  },
74
75
  "dependencies": {
75
- "@productcraft/core": "^1.4.0",
76
- "openapi-fetch": "^0.13.0"
76
+ "openapi-fetch": "^0.13.0",
77
+ "@productcraft/core": "^1.5.0"
78
+ },
79
+ "scripts": {
80
+ "build": "tsup && node -e \"require('node:fs').copyFileSync('src/_generated/manifest.json','manifest.json')\"",
81
+ "test": "tsc -p tests/tsconfig.json && vitest run"
77
82
  }
78
- }
83
+ }