@mcinteerj/openclaw-gmail 1.2.0 → 1.2.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/index.ts +2 -2
- package/package.json +1 -1
- package/src/channel.ts +2 -1
package/index.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { OpenClawPluginApi } from "openclaw/plugin-sdk";
|
|
2
2
|
import { gmailPlugin } from "./src/channel.js";
|
|
3
3
|
|
|
4
4
|
import { setGmailRuntime } from "./src/runtime.js";
|
|
5
5
|
|
|
6
6
|
const plugin = {
|
|
7
7
|
...gmailPlugin,
|
|
8
|
-
register: (api:
|
|
8
|
+
register: (api: OpenClawPluginApi) => {
|
|
9
9
|
setGmailRuntime(api.runtime);
|
|
10
10
|
api.registerChannel(gmailPlugin);
|
|
11
11
|
}
|
package/package.json
CHANGED
package/src/channel.ts
CHANGED
|
@@ -150,10 +150,11 @@ async function dispatchGmailMessage(
|
|
|
150
150
|
import { gmailOnboardingAdapter } from "./onboarding.js";
|
|
151
151
|
|
|
152
152
|
export const gmailPlugin: ChannelPlugin<ResolvedGmailAccount> = {
|
|
153
|
-
id: "gmail",
|
|
153
|
+
id: "openclaw-gmail",
|
|
154
154
|
onboarding: gmailOnboardingAdapter,
|
|
155
155
|
meta: {
|
|
156
156
|
...meta,
|
|
157
|
+
id: "openclaw-gmail",
|
|
157
158
|
showConfigured: true,
|
|
158
159
|
},
|
|
159
160
|
capabilities: {
|