create-message-kit 1.1.10-beta.3 → 1.1.10-beta.4

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-message-kit",
3
- "version": "1.1.10-beta.3",
3
+ "version": "1.1.10-beta.4",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -1,5 +1,4 @@
1
- import { txpayUrl } from "../index.js";
2
- import { XMTPContext, getUserInfo } from "@xmtp/message-kit";
1
+ import { XMTPContext } from "@xmtp/message-kit";
3
2
 
4
3
  import type { skillAction } from "@xmtp/message-kit";
5
4
 
@@ -24,6 +23,5 @@ export async function handleTip(context: XMTPContext) {
24
23
  },
25
24
  },
26
25
  } = context;
27
- console.log("tip", address);
28
- await context.sendPay(1, "USDC", address);
26
+ await context.sendPayment(1, "USDC", address);
29
27
  }