Skip to content

Commit

Permalink
Merge pull request #88 from xmtp/daniel-fix-type-build
Browse files Browse the repository at this point in the history
fix: cut/add bad type import to fix build
  • Loading branch information
dmccartney authored Aug 23, 2023
2 parents 5b4fb8b + a224fa2 commit 7e1c0b6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Test
on:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v3
# Note: this triggers `prepare` which compiles the types.
- run: npm ci
7 changes: 1 addition & 6 deletions src/lib/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,13 @@ import { Signer, utils } from "ethers";

import Conversations from "./Conversations";
import type {
DecryptedLocalAttachment,
DecodedMessage,
EncryptedLocalAttachment,
RemoteAttachmentMetadata,
} from "../XMTP.types";
import { Query } from "./Query";
import { hexToBytes } from "./util";
import * as XMTPModule from "../index";
import {
AttachmentFile,
DecryptedLocalAttachment,
LocalAttachment,
} from "../XMTP.types";

declare const Buffer;
export class Client {
Expand Down

0 comments on commit 7e1c0b6

Please sign in to comment.