Skip to content

Commit

Permalink
feat(github): rebasing to main
Browse files Browse the repository at this point in the history
  • Loading branch information
nutrina committed Jun 14, 2022
1 parent 5c0826f commit 3a9437d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
6 changes: 5 additions & 1 deletion app/__tests__/components/ProviderCards/GithubCard.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ const handleAddStamp = jest.fn().mockResolvedValue(undefined);
const mockUserContext: UserContextState = {
userDid: undefined,
loggedIn: true,
passport: undefined,
passport: {
issuanceDate: new Date(),
expiryDate: new Date(),
stamps: [],
},
isLoadingPassport: false,
allProvidersState: {
Github: {
Expand Down
4 changes: 2 additions & 2 deletions app/components/ProviderCards/GithubCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { debounce } from "ts-debounce";
import { BroadcastChannel } from "broadcast-channel";

// --- Identity tools
import { PROVIDER_ID } from "@dpopp/types";
import { fetchVerifiableCredential } from "@dpopp/identity";
import { PROVIDER_ID } from "@gitcoin/passport-types";
import { fetchVerifiableCredential } from "@gitcoin/passport-identity/dist/commonjs/src/credentials";

// --- Components
import { Card } from "../Card";
Expand Down
2 changes: 1 addition & 1 deletion iam/__tests__/github.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ---- Test subject
import { GithubProvider } from "../src/providers/github";

import { RequestPayload } from "@dpopp/types";
import { RequestPayload } from "@gitcoin/passport-types";

// ----- Libs
import axios from "axios";
Expand Down
2 changes: 1 addition & 1 deletion iam/src/providers/github.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// ----- Types
import type { RequestPayload, VerifiedPayload } from "@dpopp/types";
import type { RequestPayload, VerifiedPayload } from "@gitcoin/passport-types";
import type { Provider, ProviderOptions } from "../types";
import axios from "axios";

Expand Down

0 comments on commit 3a9437d

Please sign in to comment.