@mastra/google-cloud-pubsub 1.1.3-alpha.0 → 1.1.3-alpha.1

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.
Files changed (2) hide show
  1. package/README.md +36 -0
  2. package/package.json +4 -4
package/README.md ADDED
@@ -0,0 +1,36 @@
1
+ # @mastra/google-cloud-pubsub
2
+
3
+ `GoogleCloudPubSub` delivers Mastra events through Google Cloud Pub/Sub topics and subscriptions. Use it when multiple Mastra processes need durable, cross-host event delivery instead of the in-process event emitter.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @mastra/google-cloud-pubsub
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ Authenticate with Application Default Credentials or set `GOOGLE_APPLICATION_CREDENTIALS` before starting Mastra.
14
+
15
+ ```typescript
16
+ import { Mastra } from '@mastra/core/mastra';
17
+ import { GoogleCloudPubSub } from '@mastra/google-cloud-pubsub';
18
+
19
+ export const mastra = new Mastra({
20
+ pubsub: new GoogleCloudPubSub({
21
+ projectId: process.env.GCP_PROJECT_ID!,
22
+ }),
23
+ });
24
+ ```
25
+
26
+ ## Documentation
27
+
28
+ - [Reference: GoogleCloudPubSub](https://mastra.ai/reference/pubsub/google-cloud-pubsub)
29
+
30
+ ## Changelog
31
+
32
+ See the [package changelog](https://github.com/mastra-ai/mastra/blob/main/pubsub/google-cloud-pubsub/CHANGELOG.md) for version history and release notes.
33
+
34
+ ## Support
35
+
36
+ We have an [open community Discord](https://discord.gg/mastra-ai). Come and say hello and let us know if you have any questions or need any help getting things running.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/google-cloud-pubsub",
3
- "version": "1.1.3-alpha.0",
3
+ "version": "1.1.3-alpha.1",
4
4
  "description": "Mastra Google Cloud PubSub integration",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -42,9 +42,9 @@
42
42
  "@internal/ai-sdk-v5": "0.0.76",
43
43
  "@internal/lint": "0.0.129",
44
44
  "@internal/types-builder": "0.0.104",
45
- "@mastra/core": "1.64.0-alpha.2",
46
- "@mastra/libsql": "1.22.3-alpha.0",
47
- "@mastra/deployer": "1.64.0-alpha.2"
45
+ "@mastra/deployer": "1.64.0-alpha.7",
46
+ "@mastra/core": "1.64.0-alpha.7",
47
+ "@mastra/libsql": "1.22.3-alpha.3"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "@mastra/core": ">=1.13.2-0 <2.0.0-0"