@airgap/serializer 0.13.7-beta.19 → 0.13.7-beta.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -209470,16 +209470,12 @@ var TezosSaplingProtocol = /** @class */ (function (_super) {
|
|
|
209470
209470
|
};
|
|
209471
209471
|
TezosSaplingProtocol.prototype.setContractAddress = function (address, configuration) {
|
|
209472
209472
|
return __awaiter(this, void 0, void 0, function () {
|
|
209473
|
-
var injectorUrl;
|
|
209474
209473
|
return __generator(this, function (_a) {
|
|
209475
209474
|
this.options.config.contractAddress = address;
|
|
209476
209475
|
this.nodeClient = new TezosSaplingNodeClient_1.TezosSaplingNodeClient(this.options.network.rpcUrl, address);
|
|
209477
209476
|
this.contract = new TezosContract_1.TezosContract(address, this.options.network);
|
|
209478
|
-
injectorUrl = configuration === null || configuration === void 0 ? void 0 : configuration.injectorUrl;
|
|
209479
|
-
|
|
209480
|
-
this.options.config.injectorUrl = injectorUrl;
|
|
209481
|
-
this.injectorClient = new TezosSaplingInjectorClient_1.TezosSaplingInjectorClient(injectorUrl);
|
|
209482
|
-
}
|
|
209477
|
+
this.options.config.injectorUrl = configuration === null || configuration === void 0 ? void 0 : configuration.injectorUrl;
|
|
209478
|
+
this.injectorClient = new TezosSaplingInjectorClient_1.TezosSaplingInjectorClient(configuration === null || configuration === void 0 ? void 0 : configuration.injectorUrl);
|
|
209483
209479
|
return [2 /*return*/];
|
|
209484
209480
|
});
|
|
209485
209481
|
});
|