@superdurable/connector-google-gmail 0.2.0 → 0.2.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.
- package/README.md +3 -2
- package/dex-connector.json +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -11,9 +11,10 @@ This package provides typed `getMessage`, `sendMessage`, and `replyToMessage` op
|
|
|
11
11
|
The checked-in `src/generated/` contracts come from `connector.yaml` and the
|
|
12
12
|
Go operation structs. Run `go run ./cmd/connectorctl generate --lang typescript connectors/google/gmail/connector.yaml` from the repository root after either source changes. `src/models.ts` keeps credential requirements specific to Google OAuth and Workspace delegation, plus the public non-null send recipient arrays. `src/steps.ts` delegates to generated factories while requiring `GmailConnection` at compile time; `src/mock/index.ts` re-exports matching generated scenarios and validates send scenarios against the public result type. `src/project.ts` keeps the refresh codec and public connection constructor.
|
|
13
13
|
|
|
14
|
-
Version 0.2.
|
|
14
|
+
Version 0.2.1 requires Connector SDK 0.9.0. Generated private and shared
|
|
15
15
|
credential decoders validate project material, and the refresh driver reads
|
|
16
|
-
generated manifest grants with Gmail-specific delegation checks.
|
|
16
|
+
generated manifest grants with Gmail-specific delegation checks. Each token
|
|
17
|
+
exchange honors the declared `tokenExchangeTimeout`, as the Go driver does.
|
|
17
18
|
|
|
18
19
|
Send and reply recipients are validated as mailboxes and returned in canonical header form, such as `<ada@example.com>` or `"Ada" <ada@example.com>`.
|
|
19
20
|
Decoded messages omit absent optional metadata and body fields, matching the Go connector's JSON output.
|
package/dex-connector.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superdurable/connector-google-gmail",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Dex Gmail connector for TypeScript",
|
|
6
6
|
"repository": {
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"check": "npm run typecheck && npm run test-d && npm run lint && npm test"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@superdurable/connectors-sdk": "0.
|
|
59
|
+
"@superdurable/connectors-sdk": "0.9.0",
|
|
60
60
|
"@superdurable/dex": ">=1.28.0",
|
|
61
61
|
"zod": "^4.1.0"
|
|
62
62
|
},
|