Skip to content

Commit

Permalink
remove ws plugin from default client config
Browse files Browse the repository at this point in the history
  • Loading branch information
fetsorn committed Aug 10, 2022
1 parent a3d8518 commit 3b2b66a
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 9 deletions.
1 change: 0 additions & 1 deletion packages/js/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
"@polywrap/tracing-js": "0.3.0",
"@polywrap/uts46-plugin-js": "0.3.0",
"@polywrap/wrap-manifest-types-js": "0.3.0",
"@polywrap/ws-plugin-js": "0.3.0",
"graphql": "15.5.0",
"js-yaml": "3.14.0",
"uuid": "8.3.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ const defaultPlugins = [
"wrap://ens/fs.polywrap.eth",
"wrap://ens/fs-resolver.polywrap.eth",
"wrap://ens/ipfs-resolver.polywrap.eth",
"wrap://ens/ws.polywrap.eth",
];

describe("plugin-wrapper", () => {
Expand Down
1 change: 0 additions & 1 deletion packages/js/client/src/__tests__/core/sanity.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ describe("sanity", () => {
new Uri("wrap://ens/fs.polywrap.eth"),
new Uri("wrap://ens/fs-resolver.polywrap.eth"),
new Uri("wrap://ens/ipfs-resolver.polywrap.eth"),
new Uri("wrap://ens/ws.polywrap.eth"),
]);
expect(client.getInterfaces()).toStrictEqual([
{
Expand Down
5 changes: 0 additions & 5 deletions packages/js/client/src/default-client-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import { fileSystemPlugin } from "@polywrap/fs-plugin-js";
import { uts46Plugin } from "@polywrap/uts46-plugin-js";
import { sha3Plugin } from "@polywrap/sha3-plugin-js";
import { loggerPlugin } from "@polywrap/logger-plugin-js";
import { wsPlugin } from "@polywrap/ws-plugin-js";
import { Tracer } from "@polywrap/tracing-js";
import { fileSystemResolverPlugin } from "@polywrap/fs-resolver-plugin-js";

Expand Down Expand Up @@ -91,10 +90,6 @@ export const getDefaultClientConfig = Tracer.traceFunc(
uri: new Uri("wrap://ens/ipfs-resolver.polywrap.eth"),
plugin: ipfsResolverPlugin({}),
},
{
uri: new Uri("wrap://ens/ws.polywrap.eth"),
plugin: wsPlugin({}),
},
],
interfaces: [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ schema: ./schema.graphql
module: ./src/index.ts
import_redirects:
- uri: "wrap://ens/memory.polywrap.eth"
schema: "../schema.graphql"
schema: "../memory.schema.graphql"
- uri: "wrap://ens/ws.polywrap.eth"
schema: "../../../schema.graphql"

0 comments on commit 3b2b66a

Please sign in to comment.