• Parameters

    Returns ((uniqueWithoutChildNodes: Omit<UniqueParams, "currentStorageNode" | "walletStorageNode"> & {
        walletStorageNode: ERef<StorageNode>;
    }) => Promise<Guarded<{
        getCurrentSubscriber(): Subscriber<CurrentWalletRecord>;
        getDepositFacet(): Guarded<{
            receive(payment: Payment): Promise<Amount>;
        }>;
        getOffersFacet(): Guarded<{
            executeOffer(offerSpec: OfferSpec): Promise<void>;
            tryExitOffer(offerId: OfferId): Promise<void>;
        }>;
        getPublicTopics(): {
            current: {
                description: string;
                storagePath: Promise<string>;
                subscriber: Subscriber<CurrentWalletRecord>;
            };
            updates: {
                description: string;
                storagePath: Promise<string>;
                subscriber: Subscriber<UpdateRecord>;
            };
        };
        getUpdatesSubscriber(): Subscriber<UpdateRecord>;
        handleBridgeAction(actionCapData: CapData<null | string>, canSpend??: boolean): Promise<void>;
    }>>)

      • (uniqueWithoutChildNodes): Promise<Guarded<{
            getCurrentSubscriber(): Subscriber<CurrentWalletRecord>;
            getDepositFacet(): Guarded<{
                receive(payment: Payment): Promise<Amount>;
            }>;
            getOffersFacet(): Guarded<{
                executeOffer(offerSpec: OfferSpec): Promise<void>;
                tryExitOffer(offerId: OfferId): Promise<void>;
            }>;
            getPublicTopics(): {
                current: {
                    description: string;
                    storagePath: Promise<string>;
                    subscriber: Subscriber<CurrentWalletRecord>;
                };
                updates: {
                    description: string;
                    storagePath: Promise<string>;
                    subscriber: Subscriber<UpdateRecord>;
                };
            };
            getUpdatesSubscriber(): Subscriber<UpdateRecord>;
            handleBridgeAction(actionCapData: CapData<null | string>, canSpend??: boolean): Promise<void>;
        }>>
      • Parameters

        • uniqueWithoutChildNodes: Omit<UniqueParams, "currentStorageNode" | "walletStorageNode"> & {
              walletStorageNode: ERef<StorageNode>;
          }

        Returns Promise<Guarded<{
            getCurrentSubscriber(): Subscriber<CurrentWalletRecord>;
            getDepositFacet(): Guarded<{
                receive(payment: Payment): Promise<Amount>;
            }>;
            getOffersFacet(): Guarded<{
                executeOffer(offerSpec: OfferSpec): Promise<void>;
                tryExitOffer(offerId: OfferId): Promise<void>;
            }>;
            getPublicTopics(): {
                current: {
                    description: string;
                    storagePath: Promise<string>;
                    subscriber: Subscriber<CurrentWalletRecord>;
                };
                updates: {
                    description: string;
                    storagePath: Promise<string>;
                    subscriber: Subscriber<UpdateRecord>;
                };
            };
            getUpdatesSubscriber(): Subscriber<UpdateRecord>;
            handleBridgeAction(actionCapData: CapData<null | string>, canSpend??: boolean): Promise<void>;
        }>>