Skip to content

Commit

Permalink
prune config arg
Browse files Browse the repository at this point in the history
  • Loading branch information
magnified103 committed Dec 20, 2024
1 parent 0c1d573 commit 80eeacb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/node/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
type DRPNetworkNodeConfig,
NetworkPb,
} from "@ts-drp/network";
import { type DRP, DRPObject, type DRPObjectConfig } from "@ts-drp/object";
import { type DRP, DRPObject } from "@ts-drp/object";
import { drpMessagesHandler } from "./handlers.js";
import * as operations from "./operations.js";
import { DRPObjectStore } from "./store/index.js";
Expand Down Expand Up @@ -77,9 +77,8 @@ export class DRPNode {
abi?: string,
sync?: boolean,
peerId?: string,
config?: DRPObjectConfig,
) {
const object = new DRPObject(this.networkNode.peerId, drp, id, abi, config);
const object = new DRPObject(this.networkNode.peerId, drp, id, abi);
operations.createObject(this, object);
operations.subscribeObject(this, object.id);
if (sync) {
Expand Down

0 comments on commit 80eeacb

Please sign in to comment.