Skip to content

Commit

Permalink
remove jwk from generate-test-vectors
Browse files Browse the repository at this point in the history
  • Loading branch information
kirahsapong committed Mar 5, 2024
1 parent aff5a29 commit 9ab9be8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/protocol/tests/generate-test-vectors.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { VerifiableCredential } from '@web5/credentials'
import { Close, DevTools, Message, Order, OrderStatus, Quote, Resource, Rfq } from '../src/main.js'
import fs from 'fs'
import { DidDht, DidJwk } from '@web5/dids'
import { DidDht } from '@web5/dids'

/**
* Use this util when you are modifying or adding a new test vector to `tbdex`.
Expand Down Expand Up @@ -51,7 +51,7 @@ const generateParseQuoteVector = async () => {
}

const generateParseRfqVector = async () => {
const aliceDid = await DidJwk.create()
const aliceDid = await DidDht.create()
const vc = await VerifiableCredential.create({
type : 'PuupuuCredential',
issuer : aliceDid.uri,
Expand Down Expand Up @@ -98,7 +98,7 @@ const generateParseRfqVector = async () => {
}

const generateParseOrderVector = async () => {
const aliceDid = await DidJwk.create()
const aliceDid = await DidDht.create()
const order = Order.create({
metadata: { from: aliceDid.uri, to: pfiDid.uri, exchangeId: Message.generateId('rfq'), externalId: 'ext_1234' }
})
Expand Down Expand Up @@ -133,7 +133,7 @@ const generateParseCloseVector = async () => {
}

const generateParseOrderStatusVector = async () => {
const pfiDid = await DidJwk.create()
const pfiDid = await DidDht.create()
const orderStatus = OrderStatus.create({
metadata : { from: pfiDid.uri, to: aliceDid.uri, exchangeId: Message.generateId('rfq') },
data : {
Expand Down

0 comments on commit 9ab9be8

Please sign in to comment.