Skip to content

Commit

Permalink
use node instead of gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-korotya committed Nov 20, 2024
1 parent 01dfd75 commit 241c45c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"test": "env TS_NODE_COMPILER_OPTIONS='{\"strict\": false, \"module\": \"CommonJS\"}' mocha",
"lint": "eslint --fix --ext .ts src/** tests/**",
"lint:check": "eslint --ext .ts src/** tests/**",
"format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"",
ap "format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"",
"format:check": "prettier \"src/**/*.ts\" \"tests/**/*.ts\" --check",
"watch": "tsc --watch"
},
Expand Down
2 changes: 1 addition & 1 deletion tests/adapter/onchain-issuer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ describe('OnchainIssuer', () => {
DID.parse('did:polygonid:polygon:amoy:2qZYiH9CFMoo6oTjSEot3qzkHFHhjLRLKp8yfwCYng')
);
const adapter = new OnchainIssuer([copyDefaultEthConnectionConfig], issuerDid, {
ipfsGatewayURL: IPFS_URL
ipfsNodeURL: IPFS_URL
});
const cred = await adapter.getCredential(userId, BigInt(0));
expect(W3CCredential.fromJSON(balanceCredentialIpfsSchema)).to.deep.equal(cred);
Expand Down
2 changes: 1 addition & 1 deletion tests/adapter/onchain-non-merklized-issuer-adapter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ describe('Convertor v0.0.1', () => {
chainId: chainId,
issuerDid: issuerDid,
merklizationOptions: {
ipfsGatewayURL: IPFS_URL
ipfsNodeURL: IPFS_URL
}
});
const w3cCredential = await adapter.convertOnChainInfoToW3CCredential(
Expand Down

0 comments on commit 241c45c

Please sign in to comment.