@streamflow/stream 5.10.3 → 6.0.0-alpha.0

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.
package/README.md CHANGED
@@ -465,5 +465,3 @@ E.g, if the amount is 1 SOL than this amount in lamports is `1000 \* 10^9 = 1_00
465
465
  And `new BN(1_000_000_000)` is used.
466
466
 
467
467
  Use `getBN` and `getNumberFromBN` utility functions for conversions between `BN` and `Number` types.
468
-
469
- WAGMI.
@@ -25,7 +25,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
25
25
  function verb(n) { return function (v) { return step([n, v]); }; }
26
26
  function step(op) {
27
27
  if (f) throw new TypeError("Generator is already executing.");
28
- while (_) try {
28
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
29
29
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
30
30
  if (y = 0, t) op = [op[0] & 2, t.value];
31
31
  switch (op[0]) {
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  var ethers_1 = require("ethers");
7
- var __1 = require("../../");
7
+ var index_1 = require("../../index");
8
8
  var GenericStreamClient_1 = __importDefault(require("../../common/GenericStreamClient"));
9
9
  var types_1 = require("../../common/types");
10
10
  describe("GenericStreamClient", function () {
@@ -13,29 +13,29 @@ describe("GenericStreamClient", function () {
13
13
  chain: types_1.IChain.Aptos,
14
14
  cluster: types_1.ICluster.Devnet,
15
15
  clusterUrl: "https://cluster",
16
- expected: __1.StreamflowAptos.AptosStreamClient,
16
+ expected: index_1.StreamflowAptos.AptosStreamClient,
17
17
  },
18
18
  {
19
19
  chain: types_1.IChain.Solana,
20
20
  cluster: types_1.ICluster.Devnet,
21
21
  clusterUrl: "https://cluster",
22
- expected: __1.StreamflowSolana.SolanaStreamClient,
22
+ expected: index_1.StreamflowSolana.SolanaStreamClient,
23
23
  },
24
24
  {
25
25
  chain: types_1.IChain.Ethereum,
26
26
  cluster: types_1.ICluster.Devnet,
27
27
  clusterUrl: "https://cluster",
28
28
  signer: ethers_1.Wallet.createRandom(),
29
- expected: __1.StreamflowEVM.EvmStreamClient,
29
+ expected: index_1.StreamflowEVM.EvmStreamClient,
30
30
  },
31
31
  {
32
32
  chain: types_1.IChain.Sui,
33
33
  cluster: types_1.ICluster.Devnet,
34
34
  clusterUrl: "https://cluster",
35
- expected: __1.StreamflowSui.SuiStreamClient,
35
+ expected: index_1.StreamflowSui.SuiStreamClient,
36
36
  },
37
37
  ])(".init($chain)", function (config) {
38
- it("should successfully create GenericStreamInstance", function () {
38
+ it("should successfully create GenericStreamClient instance", function () {
39
39
  var instance = new GenericStreamClient_1.default(config);
40
40
  expect(instance).toBeInstanceOf(GenericStreamClient_1.default);
41
41
  expect(instance.nativeStreamClient).toBeInstanceOf(config.expected);
@@ -40,7 +40,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
40
40
  function verb(n) { return function (v) { return step([n, v]); }; }
41
41
  function step(op) {
42
42
  if (f) throw new TypeError("Generator is already executing.");
43
- while (_) try {
43
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
44
44
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
45
45
  if (y = 0, t) op = [op[0] & 2, t.value];
46
46
  switch (op[0]) {
@@ -5,7 +5,7 @@ import { Stream, StreamType } from "../common/types";
5
5
  export interface ICreateStreamAptosExt {
6
6
  senderWallet: WalletContextState | AptosAccount;
7
7
  }
8
- export declare type ITransactionAptosExt = ICreateStreamAptosExt & {
8
+ export type ITransactionAptosExt = ICreateStreamAptosExt & {
9
9
  tokenId: string;
10
10
  };
11
11
  export interface StreamResource {
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
14
14
  function verb(n) { return function (v) { return step([n, v]); }; }
15
15
  function step(op) {
16
16
  if (f) throw new TypeError("Generator is already executing.");
17
- while (_) try {
17
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
18
18
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19
19
  if (y = 0, t) op = [op[0] & 2, t.value];
20
20
  switch (op[0]) {
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
14
14
  function verb(n) { return function (v) { return step([n, v]); }; }
15
15
  function step(op) {
16
16
  if (f) throw new TypeError("Generator is already executing.");
17
- while (_) try {
17
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
18
18
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19
19
  if (y = 0, t) op = [op[0] & 2, t.value];
20
20
  switch (op[0]) {
@@ -34,17 +34,17 @@ export interface SuiStreamClientOptions {
34
34
  ids?: ISuiIdParameters;
35
35
  }
36
36
  /** Type referencing options for specific Chain Client */
37
- declare type StreamClientOptions<T extends IChain> = T extends IChain.Solana ? SolanaStreamClientOptions : T extends IChain.Aptos ? AptosStreamClientOptions : T extends IChain.Sui ? SuiStreamClientOptions : EvmStreamClientOptions;
37
+ type StreamClientOptions<T extends IChain> = T extends IChain.Solana ? SolanaStreamClientOptions : T extends IChain.Aptos ? AptosStreamClientOptions : T extends IChain.Sui ? SuiStreamClientOptions : EvmStreamClientOptions;
38
38
  /** Type referencing Chain Client implementation */
39
- declare type StreamClientType<T extends IChain> = T extends IChain.Solana ? SolanaStreamClient : T extends IChain.Aptos ? AptosStreamClient : T extends IChain.Sui ? SuiStreamClient : EvmStreamClient;
39
+ type StreamClientType<T extends IChain> = T extends IChain.Solana ? SolanaStreamClient : T extends IChain.Aptos ? AptosStreamClient : T extends IChain.Sui ? SuiStreamClient : EvmStreamClient;
40
40
  /** Type referencing additional parameters used by a Chain Client */
41
- declare type ChainSpecificParams<T, SolanaExt, AptosExt, SuiExt> = T extends SolanaStreamClient ? SolanaExt : T extends AptosStreamClient ? AptosExt : T extends SuiStreamClient ? SuiExt : undefined;
41
+ type ChainSpecificParams<T, SolanaExt, AptosExt, SuiExt> = T extends SolanaStreamClient ? SolanaExt : T extends AptosStreamClient ? AptosExt : T extends SuiStreamClient ? SuiExt : undefined;
42
42
  /** Type referencing additional parameters used on Create by a Chain Client */
43
- declare type CreateSpecificParams<T extends IChain> = ChainSpecificParams<StreamClientType<T>, ICreateStreamSolanaExt, ICreateStreamAptosExt, ICreateStreamSuiExt>;
43
+ type CreateSpecificParams<T extends IChain> = ChainSpecificParams<StreamClientType<T>, ICreateStreamSolanaExt, ICreateStreamAptosExt, ICreateStreamSuiExt>;
44
44
  /** Type referencing additional parameters used on Topup by a Chain Client */
45
- declare type TopupSpecificParams<T extends IChain> = ChainSpecificParams<StreamClientType<T>, ITopUpStreamSolanaExt, ITransactionAptosExt, ITransactionSuiExt>;
45
+ type TopupSpecificParams<T extends IChain> = ChainSpecificParams<StreamClientType<T>, ITopUpStreamSolanaExt, ITransactionAptosExt, ITransactionSuiExt>;
46
46
  /** Type referencing additional parameters used on other interactions by a Chain Client */
47
- declare type InteractSpecificParams<T extends IChain> = ChainSpecificParams<StreamClientType<T>, IInteractStreamSolanaExt, ITransactionAptosExt, ITransactionSuiExt>;
47
+ type InteractSpecificParams<T extends IChain> = ChainSpecificParams<StreamClientType<T>, IInteractStreamSolanaExt, ITransactionAptosExt, ITransactionSuiExt>;
48
48
  /** Generic Stream Client implementation that wrap Chain Client methods and enriches error messages if possible
49
49
  * @property {StreamClientType} - Chain Client implementation
50
50
  * @property {chain} - Chain
@@ -1,6 +1,7 @@
1
1
  import { TransactionInstruction } from "@solana/web3.js";
2
2
  import { Types } from "aptos";
3
3
  import BN from "bn.js";
4
+ export { IChain, ICluster, ContractError } from "@streamflow/common";
4
5
  export interface IRecipient {
5
6
  recipient: string;
6
7
  amount: BN;
@@ -24,8 +25,8 @@ export interface IStreamConfig {
24
25
  canUpdateRate?: boolean;
25
26
  partner?: string;
26
27
  }
27
- export declare type ICreateStreamData = IStreamConfig & IRecipient;
28
- export declare type ICreateMultipleStreamData = IStreamConfig & {
28
+ export type ICreateStreamData = IStreamConfig & IRecipient;
29
+ export type ICreateMultipleStreamData = IStreamConfig & {
29
30
  recipients: IRecipient[];
30
31
  };
31
32
  export interface IWithdrawData {
@@ -65,7 +66,7 @@ export interface ICreateMultiError {
65
66
  error: string;
66
67
  contractErrorCode?: string;
67
68
  }
68
- declare type MetadataId = string;
69
+ type MetadataId = string;
69
70
  export interface ITransactionResult {
70
71
  ixs: (TransactionInstruction | Types.TransactionPayload)[];
71
72
  txId: string;
@@ -83,12 +84,6 @@ export interface IMultiTransactionResult {
83
84
  metadataToRecipient: Record<MetadataId, IRecipient>;
84
85
  errors: ICreateMultiError[];
85
86
  }
86
- export declare enum ICluster {
87
- Mainnet = "mainnet",
88
- Devnet = "devnet",
89
- Testnet = "testnet",
90
- Local = "local"
91
- }
92
87
  export declare enum StreamDirection {
93
88
  Outgoing = "outgoing",
94
89
  Incoming = "incoming",
@@ -100,14 +95,6 @@ export declare enum StreamType {
100
95
  Vesting = "vesting",
101
96
  Lock = "lock"
102
97
  }
103
- export declare enum IChain {
104
- Solana = "Solana",
105
- Aptos = "Aptos",
106
- Ethereum = "Ethereum",
107
- BNB = "BNB",
108
- Polygon = "Polygon",
109
- Sui = "Sui"
110
- }
111
98
  /**
112
99
  * Error codes raised by all protocols except for Solana
113
100
  */
@@ -245,16 +232,3 @@ export interface Stream {
245
232
  unlocked(currentTimestamp: number): BN;
246
233
  remaining(decimals: number): number;
247
234
  }
248
- /**
249
- * Error wrapper for calls made to the contract on chain
250
- */
251
- export declare class ContractError extends Error {
252
- contractErrorCode: string | null;
253
- /**
254
- * Constructs the Error Wrapper
255
- * @param error Original error raised probably by the chain SDK
256
- * @param code extracted code from the error if managed to parse it
257
- */
258
- constructor(error: Error, code?: string | null);
259
- }
260
- export {};
@@ -1,51 +1,23 @@
1
1
  "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
2
  Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.ContractError = exports.SolanaContractErrorCode = exports.ContractErrorCode = exports.IChain = exports.StreamType = exports.StreamDirection = exports.ICluster = void 0;
19
- // Utility types
20
- var ICluster;
21
- (function (ICluster) {
22
- ICluster["Mainnet"] = "mainnet";
23
- ICluster["Devnet"] = "devnet";
24
- ICluster["Testnet"] = "testnet";
25
- ICluster["Local"] = "local";
26
- })(ICluster = exports.ICluster || (exports.ICluster = {}));
3
+ exports.SolanaContractErrorCode = exports.ContractErrorCode = exports.StreamType = exports.StreamDirection = exports.ContractError = exports.ICluster = exports.IChain = void 0;
4
+ var common_1 = require("@streamflow/common");
5
+ Object.defineProperty(exports, "IChain", { enumerable: true, get: function () { return common_1.IChain; } });
6
+ Object.defineProperty(exports, "ICluster", { enumerable: true, get: function () { return common_1.ICluster; } });
7
+ Object.defineProperty(exports, "ContractError", { enumerable: true, get: function () { return common_1.ContractError; } });
27
8
  var StreamDirection;
28
9
  (function (StreamDirection) {
29
10
  StreamDirection["Outgoing"] = "outgoing";
30
11
  StreamDirection["Incoming"] = "incoming";
31
12
  StreamDirection["All"] = "all";
32
- })(StreamDirection = exports.StreamDirection || (exports.StreamDirection = {}));
13
+ })(StreamDirection || (exports.StreamDirection = StreamDirection = {}));
33
14
  var StreamType;
34
15
  (function (StreamType) {
35
16
  StreamType["All"] = "all";
36
17
  StreamType["Payment"] = "payment";
37
18
  StreamType["Vesting"] = "vesting";
38
19
  StreamType["Lock"] = "lock";
39
- })(StreamType = exports.StreamType || (exports.StreamType = {}));
40
- var IChain;
41
- (function (IChain) {
42
- IChain["Solana"] = "Solana";
43
- IChain["Aptos"] = "Aptos";
44
- IChain["Ethereum"] = "Ethereum";
45
- IChain["BNB"] = "BNB";
46
- IChain["Polygon"] = "Polygon";
47
- IChain["Sui"] = "Sui";
48
- })(IChain = exports.IChain || (exports.IChain = {}));
20
+ })(StreamType || (exports.StreamType = StreamType = {}));
49
21
  /**
50
22
  * Error codes raised by all protocols except for Solana
51
23
  */
@@ -85,7 +57,7 @@ var ContractErrorCode;
85
57
  ContractErrorCode["ENOTPAUSED"] = "ENOTPAUSED";
86
58
  /** Aptos: user opt out from direct coin transfers feature and has not coin wallet registered */
87
59
  ContractErrorCode["ENO_RECIPIENT_COIN_ADDRESS"] = "ENO_RECIPIENT_COIN_ADDRESS";
88
- })(ContractErrorCode = exports.ContractErrorCode || (exports.ContractErrorCode = {}));
60
+ })(ContractErrorCode || (exports.ContractErrorCode = ContractErrorCode = {}));
89
61
  /**
90
62
  * Error codes raised by Solana protocol specifically
91
63
  */
@@ -137,26 +109,4 @@ var SolanaContractErrorCode;
137
109
  SolanaContractErrorCode["NotPaused"] = "NotPaused";
138
110
  /** Meta account is not rent exempt */
139
111
  SolanaContractErrorCode["MetadataNotRentExempt"] = "MetadataNotRentExempt";
140
- })(SolanaContractErrorCode = exports.SolanaContractErrorCode || (exports.SolanaContractErrorCode = {}));
141
- /**
142
- * Error wrapper for calls made to the contract on chain
143
- */
144
- var ContractError = /** @class */ (function (_super) {
145
- __extends(ContractError, _super);
146
- /**
147
- * Constructs the Error Wrapper
148
- * @param error Original error raised probably by the chain SDK
149
- * @param code extracted code from the error if managed to parse it
150
- */
151
- function ContractError(error, code) {
152
- var _this = _super.call(this, error.message) || this;
153
- _this.contractErrorCode = code !== null && code !== void 0 ? code : null;
154
- // Copy properties from the original error
155
- Object.setPrototypeOf(_this, ContractError.prototype);
156
- _this.name = "ContractError"; // Set the name property
157
- _this.stack = error.stack;
158
- return _this;
159
- }
160
- return ContractError;
161
- }(Error));
162
- exports.ContractError = ContractError;
112
+ })(SolanaContractErrorCode || (exports.SolanaContractErrorCode = SolanaContractErrorCode = {}));
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
14
14
  function verb(n) { return function (v) { return step([n, v]); }; }
15
15
  function step(op) {
16
16
  if (f) throw new TypeError("Generator is already executing.");
17
- while (_) try {
17
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
18
18
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19
19
  if (y = 0, t) op = [op[0] & 2, t.value];
20
20
  switch (op[0]) {
@@ -67,9 +67,7 @@ exports.getBN = getBN;
67
67
  * @param {number} decimals - Number of decimals the token has.
68
68
  */
69
69
  var getNumberFromBN = function (value, decimals) {
70
- return value.gt(new bn_js_1.default(Math.pow(2, 53) - 1))
71
- ? value.div(new bn_js_1.default(Math.pow(10, decimals))).toNumber()
72
- : value.toNumber() / Math.pow(10, decimals);
70
+ return value.gt(new bn_js_1.default(Math.pow(2, 53) - 1)) ? value.div(new bn_js_1.default(Math.pow(10, decimals))).toNumber() : value.toNumber() / Math.pow(10, decimals);
73
71
  };
74
72
  exports.getNumberFromBN = getNumberFromBN;
75
73
  /**
@@ -40,7 +40,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
40
40
  function verb(n) { return function (v) { return step([n, v]); }; }
41
41
  function step(op) {
42
42
  if (f) throw new TypeError("Generator is already executing.");
43
- while (_) try {
43
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
44
44
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
45
45
  if (y = 0, t) op = [op[0] & 2, t.value];
46
46
  switch (op[0]) {
@@ -150,7 +150,9 @@ var EvmStreamClient = /** @class */ (function (_super) {
150
150
  return [4 /*yield*/, this.approveTokens(streamData.tokenId, sum)];
151
151
  case 3:
152
152
  _c.sent();
153
- return [4 /*yield*/, (_b = this.writeContract).create.apply(_b, __spreadArray(__spreadArray([], __read(args), false), [{ value: fees.value }], false))];
153
+ return [4 /*yield*/, (_b = this.writeContract).create.apply(_b, __spreadArray(__spreadArray([], __read(args), false), [{
154
+ value: fees.value,
155
+ }], false))];
154
156
  case 4:
155
157
  result = _c.sent();
156
158
  return [4 /*yield*/, result.wait()];
@@ -203,8 +205,7 @@ var EvmStreamClient = /** @class */ (function (_super) {
203
205
  signatures.push.apply(signatures, __spreadArray([], __read(successes.map(function (el) { return el.hash; })), false));
204
206
  metadatas = confirmations.map(function (result) {
205
207
  return result.status === "fulfilled"
206
- ? _this.formatMetadataId(result.value.events.find(function (item) { return item.event === "ContractCreated"; })
207
- .args[0])
208
+ ? _this.formatMetadataId(result.value.events.find(function (item) { return item.event === "ContractCreated"; }).args[0])
208
209
  : null;
209
210
  });
210
211
  metadataToRecipient = metadatas.reduce(function (acc, value, index) {
@@ -2,3 +2,4 @@ export { default, default as EvmStreamClient } from "./StreamClient";
2
2
  export * from "./utils";
3
3
  export * from "./types";
4
4
  export * as constants from "./constants";
5
+ export { default as ercAbi } from "./abi";
package/dist/evm/index.js CHANGED
@@ -29,10 +29,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
29
29
  return (mod && mod.__esModule) ? mod : { "default": mod };
30
30
  };
31
31
  Object.defineProperty(exports, "__esModule", { value: true });
32
- exports.constants = exports.EvmStreamClient = exports.default = void 0;
32
+ exports.ercAbi = exports.constants = exports.EvmStreamClient = exports.default = void 0;
33
33
  var StreamClient_1 = require("./StreamClient");
34
34
  Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(StreamClient_1).default; } });
35
35
  Object.defineProperty(exports, "EvmStreamClient", { enumerable: true, get: function () { return __importDefault(StreamClient_1).default; } });
36
36
  __exportStar(require("./utils"), exports);
37
37
  __exportStar(require("./types"), exports);
38
38
  exports.constants = __importStar(require("./constants"));
39
+ var abi_1 = require("./abi");
40
+ Object.defineProperty(exports, "ercAbi", { enumerable: true, get: function () { return __importDefault(abi_1).default; } });
package/dist/index.d.ts CHANGED
@@ -2,7 +2,8 @@ export * as StreamflowAptos from "./aptos";
2
2
  export * as StreamflowEVM from "./evm";
3
3
  export * as StreamflowSolana from "./solana";
4
4
  export * as StreamflowSui from "./sui";
5
- export * as Types from "./common/types";
5
+ export * from "./common/types";
6
6
  export * from "./common/utils";
7
7
  export * from "./common/constants";
8
+ export * from "./common/contractUtils";
8
9
  export { default as GenericStreamClient } from "./common/GenericStreamClient";
package/dist/index.js CHANGED
@@ -29,13 +29,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
29
29
  return (mod && mod.__esModule) ? mod : { "default": mod };
30
30
  };
31
31
  Object.defineProperty(exports, "__esModule", { value: true });
32
- exports.GenericStreamClient = exports.Types = exports.StreamflowSui = exports.StreamflowSolana = exports.StreamflowEVM = exports.StreamflowAptos = void 0;
32
+ exports.GenericStreamClient = exports.StreamflowSui = exports.StreamflowSolana = exports.StreamflowEVM = exports.StreamflowAptos = void 0;
33
33
  exports.StreamflowAptos = __importStar(require("./aptos"));
34
34
  exports.StreamflowEVM = __importStar(require("./evm"));
35
35
  exports.StreamflowSolana = __importStar(require("./solana"));
36
36
  exports.StreamflowSui = __importStar(require("./sui"));
37
- exports.Types = __importStar(require("./common/types"));
37
+ __exportStar(require("./common/types"), exports);
38
38
  __exportStar(require("./common/utils"), exports);
39
39
  __exportStar(require("./common/constants"), exports);
40
+ __exportStar(require("./common/contractUtils"), exports);
40
41
  var GenericStreamClient_1 = require("./common/GenericStreamClient");
41
42
  Object.defineProperty(exports, "GenericStreamClient", { enumerable: true, get: function () { return __importDefault(GenericStreamClient_1).default; } });