Skip to content

Commit

Permalink
Remove copied SDK files and add zk-regex-sdk package
Browse files Browse the repository at this point in the history
  • Loading branch information
wryonik committed Aug 5, 2024
1 parent b8da61e commit 6203fb7
Show file tree
Hide file tree
Showing 16 changed files with 408 additions and 915 deletions.
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,5 @@
"keywords": [],
"author": "",
"license": "MIT",
"packageManager": "[email protected]",
"resolutions": {
"zk-regex-sdk": "portal:/Users/savitar/Projects/opensource/proof-of-twitter/packages/app/zk-regex-sdk"
}
"packageManager": "[email protected]"
}
1 change: 1 addition & 0 deletions packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"@rainbow-me/rainbowkit": "^1.3.3",
"@react-oauth/google": "^0.12.1",
"@zk-email/helpers": "^6.1.3",
"@zk-email/zk-regex-sdk": "^1.0.2",
"js-base64": "^3.7.7",
"lodash": "^4.17.21",
"react": "^17.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/app/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
import "@rainbow-me/rainbowkit/styles.css";
import { GoogleOAuthProvider } from "@react-oauth/google";
import { GoogleAuthProvider } from "./contexts/GoogleAuth";
import { ZkRegexProvider } from "../zk-regex-sdk";
import { ZkRegexProvider } from "@zk-email/zk-regex-sdk";

const { connectors } = getDefaultWallets({
appName: "ZK Email - Twitter Verifier",
Expand Down
2 changes: 1 addition & 1 deletion packages/app/src/pages/MainPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ import {
} from "../hooks/useGmailClient";
import { formatDateTime } from "../helpers/dateTimeFormat";
import EmailInputMethod from "../components/EmailInputMethod";
import { useZkRegex } from "../../zk-regex-sdk";
import { randomUUID } from "crypto";
import { useZkRegex } from "@zk-email/zk-regex-sdk";

const CIRCUIT_NAME = "twitter";

Expand Down
2 changes: 0 additions & 2 deletions packages/app/zk-regex-sdk/.gitignore

This file was deleted.

Binary file removed packages/app/zk-regex-sdk/.yarn/install-state.gz
Binary file not shown.
111 changes: 0 additions & 111 deletions packages/app/zk-regex-sdk/index.tsx

This file was deleted.

22 changes: 0 additions & 22 deletions packages/app/zk-regex-sdk/package.json

This file was deleted.

23 changes: 0 additions & 23 deletions packages/app/zk-regex-sdk/src/contexts/GoogleAuth.ts

This file was deleted.

65 changes: 0 additions & 65 deletions packages/app/zk-regex-sdk/src/contexts/ZkRegex.ts

This file was deleted.

128 changes: 0 additions & 128 deletions packages/app/zk-regex-sdk/src/hooks/useGmailClient.ts

This file was deleted.

Loading

0 comments on commit 6203fb7

Please sign in to comment.