Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
chore(ops): update changi network to https (#160)
Browse files Browse the repository at this point in the history
* chore(ops): update changi network to https

* fix prettier
  • Loading branch information
pierregee authored Aug 29, 2023
1 parent 0387962 commit f13b246
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/walletkit-core/src/api/whale.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export function newOceanOptions(
};
case EnvironmentNetwork.Changi:
return {
url: url ?? "http://changi.ocean.jellyfishsdk.com",
url: url ?? "https://changi.ocean.jellyfishsdk.com",
network: "changi",
version: "v0",
};
Expand Down
4 changes: 2 additions & 2 deletions packages/walletkit-core/src/api/whale.unit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ describe("whale", () => {
it("should match ocean options for changi", () => {
const oceanOptions = newOceanOptions(EnvironmentNetwork.Changi);
expect(oceanOptions).toMatchObject({
url: "http://changi.ocean.jellyfishsdk.com",
url: "https://changi.ocean.jellyfishsdk.com",
network: "changi",
version: "v0",
});
Expand Down Expand Up @@ -104,7 +104,7 @@ describe("whale", () => {

it("should match default ocean url for changi", () => {
const defaultURL = getDefaultDefiChainURL(EnvironmentNetwork.Changi);
expect(defaultURL).toStrictEqual("http://changi.ocean.jellyfishsdk.com");
expect(defaultURL).toStrictEqual("https://changi.ocean.jellyfishsdk.com");
});
});

Expand Down
2 changes: 1 addition & 1 deletion packages/walletkit-ui/src/contexts/WhaleContext.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ describe("Whale Context test", () => {
name: EnvironmentNetwork.DevNet,
},
{
url: "http://changi.ocean.jellyfishsdk.com",
url: "https://changi.ocean.jellyfishsdk.com",
network: "changi",
name: EnvironmentNetwork.Changi,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ exports[`Whale Context test Whale Context test for Changi should match snapshot
<div>
<div>
<span>
{"url":"http://changi.ocean.jellyfishsdk.com","timeout":60000,"version":"v0","network":"changi"}
{"url":"https://changi.ocean.jellyfishsdk.com","timeout":60000,"version":"v0","network":"changi"}
</span>
</div>
</div>
</body>,
"container": <div>
<div>
<span>
{"url":"http://changi.ocean.jellyfishsdk.com","timeout":60000,"version":"v0","network":"changi"}
{"url":"https://changi.ocean.jellyfishsdk.com","timeout":60000,"version":"v0","network":"changi"}
</span>
</div>
</div>,
Expand Down

0 comments on commit f13b246

Please sign in to comment.