Skip to content

Commit a302e74

Browse files
committed
fixed uris in some test configs
1 parent a510d03 commit a302e74

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

packages/js/client/src/__tests__/helpers/getClientWithEnsAndIpfs.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import {
1616
WrapperCache,
1717
} from "@polywrap/uri-resolvers-js";
1818
import { ExtendableUriResolver } from "@polywrap/uri-resolver-extensions-js";
19-
import { defaultPackages } from "@polywrap/client-config-builder-js";
19+
import { defaultInterfaces } from "@polywrap/client-config-builder-js";
2020

2121
export const getClientWithEnsAndIpfs = () => {
2222
const connections: Connections = new Connections({
@@ -71,7 +71,7 @@ export const getClientWithEnsAndIpfs = () => {
7171
package: ipfsResolverPlugin({}),
7272
},
7373
{
74-
uri: defaultPackages.fileSystem,
74+
uri: defaultInterfaces.fileSystem,
7575
package: fileSystemPlugin({}),
7676
},
7777
{

packages/js/plugins/ethereum/src/__tests__/helpers/getDefaultConfig.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { ethereumPlugin, Connections } from "../..";
55
import { providers } from "@polywrap/test-env-js";
66
import {
77
defaultIpfsProviders,
8-
ClientConfig, defaultPackages,
8+
ClientConfig, defaultInterfaces,
99
} from "@polywrap/client-config-builder-js";
1010

1111
export const getDefaultConfig = (
@@ -37,7 +37,7 @@ export const getDefaultConfig = (
3737
package: fileSystemResolverPlugin({}),
3838
},
3939
{
40-
uri: defaultPackages.fileSystem,
40+
uri: defaultInterfaces.fileSystem,
4141
package: fileSystemPlugin({}),
4242
},
4343
],

packages/js/plugins/http/src/__tests__/helpers/getClient.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { fileSystemPlugin } from "@polywrap/fs-plugin-js";
99
import { fileSystemResolverPlugin } from "@polywrap/fs-resolver-plugin-js";
1010
import { ExtendableUriResolver } from "@polywrap/uri-resolver-extensions-js";
1111
import { httpPlugin } from "../..";
12-
import { defaultPackages } from "@polywrap/client-config-builder-js";
12+
import { defaultInterfaces } from "@polywrap/client-config-builder-js";
1313

1414
export const getClient = () => {
1515
return new PolywrapClient(
@@ -33,7 +33,7 @@ export const getClient = () => {
3333
package: fileSystemResolverPlugin({}),
3434
},
3535
{
36-
uri: defaultPackages.fileSystem,
36+
uri: defaultInterfaces.fileSystem,
3737
package: fileSystemPlugin({}),
3838
},
3939
]),

packages/js/plugins/ws/src/__tests__/e2e/helpers/getClient.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { fileSystemPlugin } from "@polywrap/fs-plugin-js";
1010
import { fileSystemResolverPlugin } from "@polywrap/fs-resolver-plugin-js";
1111
import { ExtendableUriResolver } from "@polywrap/uri-resolver-extensions-js";
1212
import { wsPlugin } from "../../..";
13-
import { defaultPackages } from "@polywrap/client-config-builder-js";
13+
import { defaultInterfaces } from "@polywrap/client-config-builder-js";
1414

1515
export const getClient = (staticResolvers?: StaticResolverLike[]) => {
1616
return new PolywrapClient(
@@ -34,7 +34,7 @@ export const getClient = (staticResolvers?: StaticResolverLike[]) => {
3434
package: fileSystemResolverPlugin({}),
3535
},
3636
{
37-
uri: defaultPackages.fileSystem,
37+
uri: defaultInterfaces.fileSystem,
3838
package: fileSystemPlugin({}),
3939
},
4040
...(staticResolvers ?? []),

0 commit comments

Comments
 (0)