@shapeshiftoss/unchained-client 6.11.0 → 6.12.1

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.
Files changed (187) hide show
  1. package/README.md +3 -1
  2. package/dist/bitcoin/index.d.ts +0 -1
  3. package/dist/bitcoin/index.js +5 -2
  4. package/dist/bitcoin/parser/index.d.ts +0 -1
  5. package/dist/bitcoin/parser/index.js +43 -55
  6. package/dist/bitcoin/parser/utils.d.ts +0 -1
  7. package/dist/bitcoin/parser/utils.js +0 -1
  8. package/dist/bitcoin/types.d.ts +0 -1
  9. package/dist/bitcoin/types.js +0 -1
  10. package/dist/cosmos/index.d.ts +0 -1
  11. package/dist/cosmos/index.js +5 -2
  12. package/dist/cosmos/parser/index.d.ts +1 -2
  13. package/dist/cosmos/parser/index.js +56 -64
  14. package/dist/cosmos/parser/utils.d.ts +2 -3
  15. package/dist/cosmos/parser/utils.js +21 -22
  16. package/dist/cosmos/types.d.ts +0 -1
  17. package/dist/cosmos/types.js +0 -1
  18. package/dist/ethereum/index.d.ts +0 -1
  19. package/dist/ethereum/index.js +5 -2
  20. package/dist/ethereum/parser/abi/erc20.d.ts +0 -1
  21. package/dist/ethereum/parser/abi/erc20.js +69 -70
  22. package/dist/ethereum/parser/abi/foxyStaking.d.ts +0 -1
  23. package/dist/ethereum/parser/abi/foxyStaking.js +161 -162
  24. package/dist/ethereum/parser/abi/multiSig.d.ts +0 -1
  25. package/dist/ethereum/parser/abi/multiSig.js +79 -80
  26. package/dist/ethereum/parser/abi/shapeShiftRouter.d.ts +0 -1
  27. package/dist/ethereum/parser/abi/shapeShiftRouter.js +119 -120
  28. package/dist/ethereum/parser/abi/thor.d.ts +0 -1
  29. package/dist/ethereum/parser/abi/thor.js +28 -29
  30. package/dist/ethereum/parser/abi/uniV2.d.ts +0 -1
  31. package/dist/ethereum/parser/abi/uniV2.js +55 -56
  32. package/dist/ethereum/parser/abi/weth.d.ts +0 -1
  33. package/dist/ethereum/parser/abi/weth.js +66 -67
  34. package/dist/ethereum/parser/abi/yearnVault.d.ts +0 -1
  35. package/dist/ethereum/parser/abi/yearnVault.js +95 -96
  36. package/dist/ethereum/parser/constants.d.ts +0 -1
  37. package/dist/ethereum/parser/constants.js +0 -1
  38. package/dist/ethereum/parser/foxy.d.ts +1 -2
  39. package/dist/ethereum/parser/foxy.js +22 -34
  40. package/dist/ethereum/parser/index.d.ts +0 -1
  41. package/dist/ethereum/parser/index.js +49 -57
  42. package/dist/ethereum/parser/thor.d.ts +1 -2
  43. package/dist/ethereum/parser/thor.js +29 -41
  44. package/dist/ethereum/parser/uniV2.d.ts +0 -1
  45. package/dist/ethereum/parser/uniV2.js +87 -99
  46. package/dist/ethereum/parser/utils.d.ts +0 -1
  47. package/dist/ethereum/parser/utils.js +2 -3
  48. package/dist/ethereum/parser/weth.d.ts +0 -1
  49. package/dist/ethereum/parser/weth.js +72 -84
  50. package/dist/ethereum/parser/yearn.d.ts +1 -2
  51. package/dist/ethereum/parser/yearn.js +46 -58
  52. package/dist/ethereum/parser/zrx.d.ts +1 -2
  53. package/dist/ethereum/parser/zrx.js +18 -30
  54. package/dist/ethereum/types.d.ts +0 -1
  55. package/dist/ethereum/types.js +0 -1
  56. package/dist/generated/bitcoin/api.d.ts +116 -120
  57. package/dist/generated/bitcoin/api.js +81 -110
  58. package/dist/generated/bitcoin/base.d.ts +2 -3
  59. package/dist/generated/bitcoin/base.js +1 -2
  60. package/dist/generated/bitcoin/common.d.ts +2 -3
  61. package/dist/generated/bitcoin/common.js +22 -38
  62. package/dist/generated/bitcoin/configuration.d.ts +0 -1
  63. package/dist/generated/bitcoin/configuration.js +0 -1
  64. package/dist/generated/bitcoin/index.d.ts +0 -1
  65. package/dist/generated/bitcoin/index.js +5 -2
  66. package/dist/generated/cosmos/api.d.ts +143 -144
  67. package/dist/generated/cosmos/api.js +89 -115
  68. package/dist/generated/cosmos/base.d.ts +2 -3
  69. package/dist/generated/cosmos/base.js +0 -1
  70. package/dist/generated/cosmos/common.d.ts +2 -3
  71. package/dist/generated/cosmos/common.js +22 -38
  72. package/dist/generated/cosmos/configuration.d.ts +0 -1
  73. package/dist/generated/cosmos/configuration.js +0 -1
  74. package/dist/generated/cosmos/index.d.ts +0 -1
  75. package/dist/generated/cosmos/index.js +5 -2
  76. package/dist/generated/ethereum/api.d.ts +73 -77
  77. package/dist/generated/ethereum/api.js +73 -100
  78. package/dist/generated/ethereum/base.d.ts +2 -3
  79. package/dist/generated/ethereum/base.js +1 -2
  80. package/dist/generated/ethereum/common.d.ts +2 -3
  81. package/dist/generated/ethereum/common.js +22 -38
  82. package/dist/generated/ethereum/configuration.d.ts +0 -1
  83. package/dist/generated/ethereum/configuration.js +0 -1
  84. package/dist/generated/ethereum/index.d.ts +0 -1
  85. package/dist/generated/ethereum/index.js +5 -2
  86. package/dist/index.d.ts +0 -1
  87. package/dist/index.js +5 -2
  88. package/dist/types.d.ts +0 -1
  89. package/dist/types.js +0 -1
  90. package/dist/utils.d.ts +1 -2
  91. package/dist/utils.js +18 -21
  92. package/dist/websocket.d.ts +1 -2
  93. package/dist/websocket.js +78 -84
  94. package/package.json +19 -11
  95. package/dist/bitcoin/index.d.ts.map +0 -1
  96. package/dist/bitcoin/index.js.map +0 -1
  97. package/dist/bitcoin/parser/index.d.ts.map +0 -1
  98. package/dist/bitcoin/parser/index.js.map +0 -1
  99. package/dist/bitcoin/parser/utils.d.ts.map +0 -1
  100. package/dist/bitcoin/parser/utils.js.map +0 -1
  101. package/dist/bitcoin/types.d.ts.map +0 -1
  102. package/dist/bitcoin/types.js.map +0 -1
  103. package/dist/cosmos/index.d.ts.map +0 -1
  104. package/dist/cosmos/index.js.map +0 -1
  105. package/dist/cosmos/parser/index.d.ts.map +0 -1
  106. package/dist/cosmos/parser/index.js.map +0 -1
  107. package/dist/cosmos/parser/utils.d.ts.map +0 -1
  108. package/dist/cosmos/parser/utils.js.map +0 -1
  109. package/dist/cosmos/types.d.ts.map +0 -1
  110. package/dist/cosmos/types.js.map +0 -1
  111. package/dist/ethereum/index.d.ts.map +0 -1
  112. package/dist/ethereum/index.js.map +0 -1
  113. package/dist/ethereum/parser/abi/erc20.d.ts.map +0 -1
  114. package/dist/ethereum/parser/abi/erc20.js.map +0 -1
  115. package/dist/ethereum/parser/abi/foxyStaking.d.ts.map +0 -1
  116. package/dist/ethereum/parser/abi/foxyStaking.js.map +0 -1
  117. package/dist/ethereum/parser/abi/multiSig.d.ts.map +0 -1
  118. package/dist/ethereum/parser/abi/multiSig.js.map +0 -1
  119. package/dist/ethereum/parser/abi/shapeShiftRouter.d.ts.map +0 -1
  120. package/dist/ethereum/parser/abi/shapeShiftRouter.js.map +0 -1
  121. package/dist/ethereum/parser/abi/thor.d.ts.map +0 -1
  122. package/dist/ethereum/parser/abi/thor.js.map +0 -1
  123. package/dist/ethereum/parser/abi/uniV2.d.ts.map +0 -1
  124. package/dist/ethereum/parser/abi/uniV2.js.map +0 -1
  125. package/dist/ethereum/parser/abi/weth.d.ts.map +0 -1
  126. package/dist/ethereum/parser/abi/weth.js.map +0 -1
  127. package/dist/ethereum/parser/abi/yearnVault.d.ts.map +0 -1
  128. package/dist/ethereum/parser/abi/yearnVault.js.map +0 -1
  129. package/dist/ethereum/parser/constants.d.ts.map +0 -1
  130. package/dist/ethereum/parser/constants.js.map +0 -1
  131. package/dist/ethereum/parser/foxy.d.ts.map +0 -1
  132. package/dist/ethereum/parser/foxy.js.map +0 -1
  133. package/dist/ethereum/parser/index.d.ts.map +0 -1
  134. package/dist/ethereum/parser/index.js.map +0 -1
  135. package/dist/ethereum/parser/thor.d.ts.map +0 -1
  136. package/dist/ethereum/parser/thor.js.map +0 -1
  137. package/dist/ethereum/parser/uniV2.d.ts.map +0 -1
  138. package/dist/ethereum/parser/uniV2.js.map +0 -1
  139. package/dist/ethereum/parser/utils.d.ts.map +0 -1
  140. package/dist/ethereum/parser/utils.js.map +0 -1
  141. package/dist/ethereum/parser/weth.d.ts.map +0 -1
  142. package/dist/ethereum/parser/weth.js.map +0 -1
  143. package/dist/ethereum/parser/yearn.d.ts.map +0 -1
  144. package/dist/ethereum/parser/yearn.js.map +0 -1
  145. package/dist/ethereum/parser/zrx.d.ts.map +0 -1
  146. package/dist/ethereum/parser/zrx.js.map +0 -1
  147. package/dist/ethereum/types.d.ts.map +0 -1
  148. package/dist/ethereum/types.js.map +0 -1
  149. package/dist/generated/bitcoin/api.d.ts.map +0 -1
  150. package/dist/generated/bitcoin/api.js.map +0 -1
  151. package/dist/generated/bitcoin/base.d.ts.map +0 -1
  152. package/dist/generated/bitcoin/base.js.map +0 -1
  153. package/dist/generated/bitcoin/common.d.ts.map +0 -1
  154. package/dist/generated/bitcoin/common.js.map +0 -1
  155. package/dist/generated/bitcoin/configuration.d.ts.map +0 -1
  156. package/dist/generated/bitcoin/configuration.js.map +0 -1
  157. package/dist/generated/bitcoin/index.d.ts.map +0 -1
  158. package/dist/generated/bitcoin/index.js.map +0 -1
  159. package/dist/generated/cosmos/api.d.ts.map +0 -1
  160. package/dist/generated/cosmos/api.js.map +0 -1
  161. package/dist/generated/cosmos/base.d.ts.map +0 -1
  162. package/dist/generated/cosmos/base.js.map +0 -1
  163. package/dist/generated/cosmos/common.d.ts.map +0 -1
  164. package/dist/generated/cosmos/common.js.map +0 -1
  165. package/dist/generated/cosmos/configuration.d.ts.map +0 -1
  166. package/dist/generated/cosmos/configuration.js.map +0 -1
  167. package/dist/generated/cosmos/index.d.ts.map +0 -1
  168. package/dist/generated/cosmos/index.js.map +0 -1
  169. package/dist/generated/ethereum/api.d.ts.map +0 -1
  170. package/dist/generated/ethereum/api.js.map +0 -1
  171. package/dist/generated/ethereum/base.d.ts.map +0 -1
  172. package/dist/generated/ethereum/base.js.map +0 -1
  173. package/dist/generated/ethereum/common.d.ts.map +0 -1
  174. package/dist/generated/ethereum/common.js.map +0 -1
  175. package/dist/generated/ethereum/configuration.d.ts.map +0 -1
  176. package/dist/generated/ethereum/configuration.js.map +0 -1
  177. package/dist/generated/ethereum/index.d.ts.map +0 -1
  178. package/dist/generated/ethereum/index.js.map +0 -1
  179. package/dist/index.d.ts.map +0 -1
  180. package/dist/index.js.map +0 -1
  181. package/dist/tsconfig.tsbuildinfo +0 -4986
  182. package/dist/types.d.ts.map +0 -1
  183. package/dist/types.js.map +0 -1
  184. package/dist/utils.d.ts.map +0 -1
  185. package/dist/utils.js.map +0 -1
  186. package/dist/websocket.d.ts.map +0 -1
  187. package/dist/websocket.js.map +0 -1
@@ -12,15 +12,6 @@
12
12
  * https://openapi-generator.tech
13
13
  * Do not edit the class manually.
14
14
  */
15
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
16
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
17
- return new (P || (P = Promise))(function (resolve, reject) {
18
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
19
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
20
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
21
- step((generator = generator.apply(thisArg, _arguments || [])).next());
22
- });
23
- };
24
15
  var __importDefault = (this && this.__importDefault) || function (mod) {
25
16
  return (mod && mod.__esModule) ? mod : { "default": mod };
26
17
  };
@@ -32,14 +23,9 @@ const axios_1 = __importDefault(require("axios"));
32
23
  const common_1 = require("./common");
33
24
  // @ts-ignore
34
25
  const base_1 = require("./base");
35
- /**
36
- * @export
37
- * @enum {string}
38
- */
39
- var ValidationErrorMessageEnum;
40
- (function (ValidationErrorMessageEnum) {
41
- ValidationErrorMessageEnum["ValidationFailed"] = "Validation failed";
42
- })(ValidationErrorMessageEnum = exports.ValidationErrorMessageEnum || (exports.ValidationErrorMessageEnum = {}));
26
+ exports.ValidationErrorMessageEnum = {
27
+ ValidationFailed: 'Validation failed'
28
+ };
43
29
  /**
44
30
  * V1Api - axios parameter creator
45
31
  * @export
@@ -55,15 +41,15 @@ const V1ApiAxiosParamCreator = function (configuration) {
55
41
  * @param {*} [options] Override http request option.
56
42
  * @throws {RequiredError}
57
43
  */
58
- estimateGas: (data, from, to, value, options = {}) => __awaiter(this, void 0, void 0, function* () {
44
+ estimateGas: async (data, from, to, value, options = {}) => {
59
45
  // verify required parameter 'data' is not null or undefined
60
- common_1.assertParamExists('estimateGas', 'data', data);
46
+ (0, common_1.assertParamExists)('estimateGas', 'data', data);
61
47
  // verify required parameter 'from' is not null or undefined
62
- common_1.assertParamExists('estimateGas', 'from', from);
48
+ (0, common_1.assertParamExists)('estimateGas', 'from', from);
63
49
  // verify required parameter 'to' is not null or undefined
64
- common_1.assertParamExists('estimateGas', 'to', to);
50
+ (0, common_1.assertParamExists)('estimateGas', 'to', to);
65
51
  // verify required parameter 'value' is not null or undefined
66
- common_1.assertParamExists('estimateGas', 'value', value);
52
+ (0, common_1.assertParamExists)('estimateGas', 'value', value);
67
53
  const localVarPath = `/api/v1/gas/estimate`;
68
54
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
69
55
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -71,7 +57,7 @@ const V1ApiAxiosParamCreator = function (configuration) {
71
57
  if (configuration) {
72
58
  baseOptions = configuration.baseOptions;
73
59
  }
74
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
60
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
75
61
  const localVarHeaderParameter = {};
76
62
  const localVarQueryParameter = {};
77
63
  if (data !== undefined) {
@@ -86,23 +72,23 @@ const V1ApiAxiosParamCreator = function (configuration) {
86
72
  if (value !== undefined) {
87
73
  localVarQueryParameter['value'] = value;
88
74
  }
89
- common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
75
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
90
76
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
91
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
77
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
92
78
  return {
93
- url: common_1.toPathString(localVarUrlObj),
79
+ url: (0, common_1.toPathString)(localVarUrlObj),
94
80
  options: localVarRequestOptions,
95
81
  };
96
- }),
82
+ },
97
83
  /**
98
84
  * Get account details by address
99
85
  * @param {string} pubkey account address
100
86
  * @param {*} [options] Override http request option.
101
87
  * @throws {RequiredError}
102
88
  */
103
- getAccount: (pubkey, options = {}) => __awaiter(this, void 0, void 0, function* () {
89
+ getAccount: async (pubkey, options = {}) => {
104
90
  // verify required parameter 'pubkey' is not null or undefined
105
- common_1.assertParamExists('getAccount', 'pubkey', pubkey);
91
+ (0, common_1.assertParamExists)('getAccount', 'pubkey', pubkey);
106
92
  const localVarPath = `/api/v1/account/{pubkey}`
107
93
  .replace(`{${"pubkey"}}`, encodeURIComponent(String(pubkey)));
108
94
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -111,23 +97,23 @@ const V1ApiAxiosParamCreator = function (configuration) {
111
97
  if (configuration) {
112
98
  baseOptions = configuration.baseOptions;
113
99
  }
114
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
100
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
115
101
  const localVarHeaderParameter = {};
116
102
  const localVarQueryParameter = {};
117
- common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
103
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
118
104
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
119
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
105
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
120
106
  return {
121
- url: common_1.toPathString(localVarUrlObj),
107
+ url: (0, common_1.toPathString)(localVarUrlObj),
122
108
  options: localVarRequestOptions,
123
109
  };
124
- }),
110
+ },
125
111
  /**
126
112
  * Get the current recommended gas fees to use in a transaction * For EIP-1559 transactions, use `maxFeePerGas` and `maxPriorityFeePerGas` * For Legacy transactions, use `gasPrice`
127
113
  * @param {*} [options] Override http request option.
128
114
  * @throws {RequiredError}
129
115
  */
130
- getGasFees: (options = {}) => __awaiter(this, void 0, void 0, function* () {
116
+ getGasFees: async (options = {}) => {
131
117
  const localVarPath = `/api/v1/gas/fees`;
132
118
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
133
119
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -135,23 +121,23 @@ const V1ApiAxiosParamCreator = function (configuration) {
135
121
  if (configuration) {
136
122
  baseOptions = configuration.baseOptions;
137
123
  }
138
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
124
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
139
125
  const localVarHeaderParameter = {};
140
126
  const localVarQueryParameter = {};
141
- common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
127
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
142
128
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
143
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
129
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
144
130
  return {
145
- url: common_1.toPathString(localVarUrlObj),
131
+ url: (0, common_1.toPathString)(localVarUrlObj),
146
132
  options: localVarRequestOptions,
147
133
  };
148
- }),
134
+ },
149
135
  /**
150
136
  * Get information about the running coinstack
151
137
  * @param {*} [options] Override http request option.
152
138
  * @throws {RequiredError}
153
139
  */
154
- getInfo: (options = {}) => __awaiter(this, void 0, void 0, function* () {
140
+ getInfo: async (options = {}) => {
155
141
  const localVarPath = `/api/v1/info`;
156
142
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
157
143
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -159,17 +145,17 @@ const V1ApiAxiosParamCreator = function (configuration) {
159
145
  if (configuration) {
160
146
  baseOptions = configuration.baseOptions;
161
147
  }
162
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
148
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
163
149
  const localVarHeaderParameter = {};
164
150
  const localVarQueryParameter = {};
165
- common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
151
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
166
152
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
167
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
153
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
168
154
  return {
169
- url: common_1.toPathString(localVarUrlObj),
155
+ url: (0, common_1.toPathString)(localVarUrlObj),
170
156
  options: localVarRequestOptions,
171
157
  };
172
- }),
158
+ },
173
159
  /**
174
160
  * Get transaction history by address
175
161
  * @param {string} pubkey account address
@@ -178,9 +164,9 @@ const V1ApiAxiosParamCreator = function (configuration) {
178
164
  * @param {*} [options] Override http request option.
179
165
  * @throws {RequiredError}
180
166
  */
181
- getTxHistory: (pubkey, cursor, pageSize, options = {}) => __awaiter(this, void 0, void 0, function* () {
167
+ getTxHistory: async (pubkey, cursor, pageSize, options = {}) => {
182
168
  // verify required parameter 'pubkey' is not null or undefined
183
- common_1.assertParamExists('getTxHistory', 'pubkey', pubkey);
169
+ (0, common_1.assertParamExists)('getTxHistory', 'pubkey', pubkey);
184
170
  const localVarPath = `/api/v1/account/{pubkey}/txs`
185
171
  .replace(`{${"pubkey"}}`, encodeURIComponent(String(pubkey)));
186
172
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -189,7 +175,7 @@ const V1ApiAxiosParamCreator = function (configuration) {
189
175
  if (configuration) {
190
176
  baseOptions = configuration.baseOptions;
191
177
  }
192
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
178
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
193
179
  const localVarHeaderParameter = {};
194
180
  const localVarQueryParameter = {};
195
181
  if (cursor !== undefined) {
@@ -198,23 +184,23 @@ const V1ApiAxiosParamCreator = function (configuration) {
198
184
  if (pageSize !== undefined) {
199
185
  localVarQueryParameter['pageSize'] = pageSize;
200
186
  }
201
- common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
187
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
202
188
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
203
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
189
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
204
190
  return {
205
- url: common_1.toPathString(localVarUrlObj),
191
+ url: (0, common_1.toPathString)(localVarUrlObj),
206
192
  options: localVarRequestOptions,
207
193
  };
208
- }),
194
+ },
209
195
  /**
210
196
  * Sends raw transaction to be broadcast to the node.
211
197
  * @param {SendTxBody} sendTxBody serialized raw transaction hex
212
198
  * @param {*} [options] Override http request option.
213
199
  * @throws {RequiredError}
214
200
  */
215
- sendTx: (sendTxBody, options = {}) => __awaiter(this, void 0, void 0, function* () {
201
+ sendTx: async (sendTxBody, options = {}) => {
216
202
  // verify required parameter 'sendTxBody' is not null or undefined
217
- common_1.assertParamExists('sendTx', 'sendTxBody', sendTxBody);
203
+ (0, common_1.assertParamExists)('sendTx', 'sendTxBody', sendTxBody);
218
204
  const localVarPath = `/api/v1/send`;
219
205
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
220
206
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -222,19 +208,19 @@ const V1ApiAxiosParamCreator = function (configuration) {
222
208
  if (configuration) {
223
209
  baseOptions = configuration.baseOptions;
224
210
  }
225
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
211
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
226
212
  const localVarHeaderParameter = {};
227
213
  const localVarQueryParameter = {};
228
214
  localVarHeaderParameter['Content-Type'] = 'application/json';
229
- common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
215
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
230
216
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
231
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
232
- localVarRequestOptions.data = common_1.serializeDataIfNeeded(sendTxBody, localVarRequestOptions, configuration);
217
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
218
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(sendTxBody, localVarRequestOptions, configuration);
233
219
  return {
234
- url: common_1.toPathString(localVarUrlObj),
220
+ url: (0, common_1.toPathString)(localVarUrlObj),
235
221
  options: localVarRequestOptions,
236
222
  };
237
- }),
223
+ },
238
224
  };
239
225
  };
240
226
  exports.V1ApiAxiosParamCreator = V1ApiAxiosParamCreator;
@@ -243,7 +229,7 @@ exports.V1ApiAxiosParamCreator = V1ApiAxiosParamCreator;
243
229
  * @export
244
230
  */
245
231
  const V1ApiFp = function (configuration) {
246
- const localVarAxiosParamCreator = exports.V1ApiAxiosParamCreator(configuration);
232
+ const localVarAxiosParamCreator = (0, exports.V1ApiAxiosParamCreator)(configuration);
247
233
  return {
248
234
  /**
249
235
  * Get the estimated gas cost of a transaction
@@ -254,11 +240,9 @@ const V1ApiFp = function (configuration) {
254
240
  * @param {*} [options] Override http request option.
255
241
  * @throws {RequiredError}
256
242
  */
257
- estimateGas(data, from, to, value, options) {
258
- return __awaiter(this, void 0, void 0, function* () {
259
- const localVarAxiosArgs = yield localVarAxiosParamCreator.estimateGas(data, from, to, value, options);
260
- return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
261
- });
243
+ async estimateGas(data, from, to, value, options) {
244
+ const localVarAxiosArgs = await localVarAxiosParamCreator.estimateGas(data, from, to, value, options);
245
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
262
246
  },
263
247
  /**
264
248
  * Get account details by address
@@ -266,33 +250,27 @@ const V1ApiFp = function (configuration) {
266
250
  * @param {*} [options] Override http request option.
267
251
  * @throws {RequiredError}
268
252
  */
269
- getAccount(pubkey, options) {
270
- return __awaiter(this, void 0, void 0, function* () {
271
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getAccount(pubkey, options);
272
- return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
273
- });
253
+ async getAccount(pubkey, options) {
254
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getAccount(pubkey, options);
255
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
274
256
  },
275
257
  /**
276
258
  * Get the current recommended gas fees to use in a transaction * For EIP-1559 transactions, use `maxFeePerGas` and `maxPriorityFeePerGas` * For Legacy transactions, use `gasPrice`
277
259
  * @param {*} [options] Override http request option.
278
260
  * @throws {RequiredError}
279
261
  */
280
- getGasFees(options) {
281
- return __awaiter(this, void 0, void 0, function* () {
282
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getGasFees(options);
283
- return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
284
- });
262
+ async getGasFees(options) {
263
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGasFees(options);
264
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
285
265
  },
286
266
  /**
287
267
  * Get information about the running coinstack
288
268
  * @param {*} [options] Override http request option.
289
269
  * @throws {RequiredError}
290
270
  */
291
- getInfo(options) {
292
- return __awaiter(this, void 0, void 0, function* () {
293
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getInfo(options);
294
- return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
295
- });
271
+ async getInfo(options) {
272
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getInfo(options);
273
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
296
274
  },
297
275
  /**
298
276
  * Get transaction history by address
@@ -302,11 +280,9 @@ const V1ApiFp = function (configuration) {
302
280
  * @param {*} [options] Override http request option.
303
281
  * @throws {RequiredError}
304
282
  */
305
- getTxHistory(pubkey, cursor, pageSize, options) {
306
- return __awaiter(this, void 0, void 0, function* () {
307
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getTxHistory(pubkey, cursor, pageSize, options);
308
- return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
309
- });
283
+ async getTxHistory(pubkey, cursor, pageSize, options) {
284
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getTxHistory(pubkey, cursor, pageSize, options);
285
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
310
286
  },
311
287
  /**
312
288
  * Sends raw transaction to be broadcast to the node.
@@ -314,11 +290,9 @@ const V1ApiFp = function (configuration) {
314
290
  * @param {*} [options] Override http request option.
315
291
  * @throws {RequiredError}
316
292
  */
317
- sendTx(sendTxBody, options) {
318
- return __awaiter(this, void 0, void 0, function* () {
319
- const localVarAxiosArgs = yield localVarAxiosParamCreator.sendTx(sendTxBody, options);
320
- return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
321
- });
293
+ async sendTx(sendTxBody, options) {
294
+ const localVarAxiosArgs = await localVarAxiosParamCreator.sendTx(sendTxBody, options);
295
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
322
296
  },
323
297
  };
324
298
  };
@@ -328,7 +302,7 @@ exports.V1ApiFp = V1ApiFp;
328
302
  * @export
329
303
  */
330
304
  const V1ApiFactory = function (configuration, basePath, axios) {
331
- const localVarFp = exports.V1ApiFp(configuration);
305
+ const localVarFp = (0, exports.V1ApiFp)(configuration);
332
306
  return {
333
307
  /**
334
308
  * Get the estimated gas cost of a transaction
@@ -405,7 +379,7 @@ class V1Api extends base_1.BaseAPI {
405
379
  * @memberof V1Api
406
380
  */
407
381
  estimateGas(requestParameters, options) {
408
- return exports.V1ApiFp(this.configuration).estimateGas(requestParameters.data, requestParameters.from, requestParameters.to, requestParameters.value, options).then((request) => request(this.axios, this.basePath));
382
+ return (0, exports.V1ApiFp)(this.configuration).estimateGas(requestParameters.data, requestParameters.from, requestParameters.to, requestParameters.value, options).then((request) => request(this.axios, this.basePath));
409
383
  }
410
384
  /**
411
385
  * Get account details by address
@@ -415,7 +389,7 @@ class V1Api extends base_1.BaseAPI {
415
389
  * @memberof V1Api
416
390
  */
417
391
  getAccount(requestParameters, options) {
418
- return exports.V1ApiFp(this.configuration).getAccount(requestParameters.pubkey, options).then((request) => request(this.axios, this.basePath));
392
+ return (0, exports.V1ApiFp)(this.configuration).getAccount(requestParameters.pubkey, options).then((request) => request(this.axios, this.basePath));
419
393
  }
420
394
  /**
421
395
  * Get the current recommended gas fees to use in a transaction * For EIP-1559 transactions, use `maxFeePerGas` and `maxPriorityFeePerGas` * For Legacy transactions, use `gasPrice`
@@ -424,7 +398,7 @@ class V1Api extends base_1.BaseAPI {
424
398
  * @memberof V1Api
425
399
  */
426
400
  getGasFees(options) {
427
- return exports.V1ApiFp(this.configuration).getGasFees(options).then((request) => request(this.axios, this.basePath));
401
+ return (0, exports.V1ApiFp)(this.configuration).getGasFees(options).then((request) => request(this.axios, this.basePath));
428
402
  }
429
403
  /**
430
404
  * Get information about the running coinstack
@@ -433,7 +407,7 @@ class V1Api extends base_1.BaseAPI {
433
407
  * @memberof V1Api
434
408
  */
435
409
  getInfo(options) {
436
- return exports.V1ApiFp(this.configuration).getInfo(options).then((request) => request(this.axios, this.basePath));
410
+ return (0, exports.V1ApiFp)(this.configuration).getInfo(options).then((request) => request(this.axios, this.basePath));
437
411
  }
438
412
  /**
439
413
  * Get transaction history by address
@@ -443,7 +417,7 @@ class V1Api extends base_1.BaseAPI {
443
417
  * @memberof V1Api
444
418
  */
445
419
  getTxHistory(requestParameters, options) {
446
- return exports.V1ApiFp(this.configuration).getTxHistory(requestParameters.pubkey, requestParameters.cursor, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
420
+ return (0, exports.V1ApiFp)(this.configuration).getTxHistory(requestParameters.pubkey, requestParameters.cursor, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
447
421
  }
448
422
  /**
449
423
  * Sends raw transaction to be broadcast to the node.
@@ -453,8 +427,7 @@ class V1Api extends base_1.BaseAPI {
453
427
  * @memberof V1Api
454
428
  */
455
429
  sendTx(requestParameters, options) {
456
- return exports.V1ApiFp(this.configuration).sendTx(requestParameters.sendTxBody, options).then((request) => request(this.axios, this.basePath));
430
+ return (0, exports.V1ApiFp)(this.configuration).sendTx(requestParameters.sendTxBody, options).then((request) => request(this.axios, this.basePath));
457
431
  }
458
432
  }
459
433
  exports.V1Api = V1Api;
460
- //# sourceMappingURL=api.js.map
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { Configuration } from "./configuration";
13
- import { AxiosInstance } from 'axios';
13
+ import { AxiosInstance, AxiosRequestConfig } from 'axios';
14
14
  export declare const BASE_PATH: string;
15
15
  /**
16
16
  *
@@ -29,7 +29,7 @@ export declare const COLLECTION_FORMATS: {
29
29
  */
30
30
  export interface RequestArgs {
31
31
  url: string;
32
- options: any;
32
+ options: AxiosRequestConfig;
33
33
  }
34
34
  /**
35
35
  *
@@ -53,4 +53,3 @@ export declare class RequiredError extends Error {
53
53
  name: "RequiredError";
54
54
  constructor(field: string, msg?: string);
55
55
  }
56
- //# sourceMappingURL=base.d.ts.map
@@ -20,7 +20,7 @@ exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.B
20
20
  // Some imports not used depending on template conditions
21
21
  // @ts-ignore
22
22
  const axios_1 = __importDefault(require("axios"));
23
- exports.BASE_PATH = "http://localhost".replace(/\/+$/, "");
23
+ exports.BASE_PATH = "https://dev-api.ethereum.shapeshift.com".replace(/\/+$/, "");
24
24
  /**
25
25
  *
26
26
  * @export
@@ -62,4 +62,3 @@ class RequiredError extends Error {
62
62
  }
63
63
  }
64
64
  exports.RequiredError = RequiredError;
65
- //# sourceMappingURL=base.js.map
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import { Configuration } from "./configuration";
13
13
  import { RequestArgs } from "./base";
14
- import { AxiosInstance } from 'axios';
14
+ import { AxiosInstance, AxiosResponse } from 'axios';
15
15
  /**
16
16
  *
17
17
  * @export
@@ -62,5 +62,4 @@ export declare const toPathString: (url: URL) => string;
62
62
  *
63
63
  * @export
64
64
  */
65
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration | undefined) => (axios?: AxiosInstance, basePath?: string) => Promise<import("axios").AxiosResponse<any, any>>;
66
- //# sourceMappingURL=common.d.ts.map
65
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration | undefined) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
@@ -12,15 +12,6 @@
12
12
  * https://openapi-generator.tech
13
13
  * Do not edit the class manually.
14
14
  */
15
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
16
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
17
- return new (P || (P = Promise))(function (resolve, reject) {
18
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
19
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
20
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
21
- step((generator = generator.apply(thisArg, _arguments || [])).next());
22
- });
23
- };
24
15
  Object.defineProperty(exports, "__esModule", { value: true });
25
16
  exports.createRequestFunction = exports.toPathString = exports.serializeDataIfNeeded = exports.setSearchParams = exports.setOAuthToObject = exports.setBearerAuthToObject = exports.setBasicAuthToObject = exports.setApiKeyToObject = exports.assertParamExists = exports.DUMMY_BASE_URL = void 0;
26
17
  const base_1 = require("./base");
@@ -44,15 +35,13 @@ exports.assertParamExists = assertParamExists;
44
35
  *
45
36
  * @export
46
37
  */
47
- const setApiKeyToObject = function (object, keyParamName, configuration) {
48
- return __awaiter(this, void 0, void 0, function* () {
49
- if (configuration && configuration.apiKey) {
50
- const localVarApiKeyValue = typeof configuration.apiKey === 'function'
51
- ? yield configuration.apiKey(keyParamName)
52
- : yield configuration.apiKey;
53
- object[keyParamName] = localVarApiKeyValue;
54
- }
55
- });
38
+ const setApiKeyToObject = async function (object, keyParamName, configuration) {
39
+ if (configuration && configuration.apiKey) {
40
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
41
+ ? await configuration.apiKey(keyParamName)
42
+ : await configuration.apiKey;
43
+ object[keyParamName] = localVarApiKeyValue;
44
+ }
56
45
  };
57
46
  exports.setApiKeyToObject = setApiKeyToObject;
58
47
  /**
@@ -69,30 +58,26 @@ exports.setBasicAuthToObject = setBasicAuthToObject;
69
58
  *
70
59
  * @export
71
60
  */
72
- const setBearerAuthToObject = function (object, configuration) {
73
- return __awaiter(this, void 0, void 0, function* () {
74
- if (configuration && configuration.accessToken) {
75
- const accessToken = typeof configuration.accessToken === 'function'
76
- ? yield configuration.accessToken()
77
- : yield configuration.accessToken;
78
- object["Authorization"] = "Bearer " + accessToken;
79
- }
80
- });
61
+ const setBearerAuthToObject = async function (object, configuration) {
62
+ if (configuration && configuration.accessToken) {
63
+ const accessToken = typeof configuration.accessToken === 'function'
64
+ ? await configuration.accessToken()
65
+ : await configuration.accessToken;
66
+ object["Authorization"] = "Bearer " + accessToken;
67
+ }
81
68
  };
82
69
  exports.setBearerAuthToObject = setBearerAuthToObject;
83
70
  /**
84
71
  *
85
72
  * @export
86
73
  */
87
- const setOAuthToObject = function (object, name, scopes, configuration) {
88
- return __awaiter(this, void 0, void 0, function* () {
89
- if (configuration && configuration.accessToken) {
90
- const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
91
- ? yield configuration.accessToken(name, scopes)
92
- : yield configuration.accessToken;
93
- object["Authorization"] = "Bearer " + localVarAccessTokenValue;
94
- }
95
- });
74
+ const setOAuthToObject = async function (object, name, scopes, configuration) {
75
+ if (configuration && configuration.accessToken) {
76
+ const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
77
+ ? await configuration.accessToken(name, scopes)
78
+ : await configuration.accessToken;
79
+ object["Authorization"] = "Bearer " + localVarAccessTokenValue;
80
+ }
96
81
  };
97
82
  exports.setOAuthToObject = setOAuthToObject;
98
83
  /**
@@ -145,9 +130,8 @@ exports.toPathString = toPathString;
145
130
  */
146
131
  const createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
147
132
  return (axios = globalAxios, basePath = BASE_PATH) => {
148
- const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
133
+ const axiosRequestArgs = { ...axiosArgs.options, url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url };
149
134
  return axios.request(axiosRequestArgs);
150
135
  };
151
136
  };
152
137
  exports.createRequestFunction = createRequestFunction;
153
- //# sourceMappingURL=common.js.map
@@ -81,4 +81,3 @@ export declare class Configuration {
81
81
  */
82
82
  isJsonMime(mime: string): boolean;
83
83
  }
84
- //# sourceMappingURL=configuration.d.ts.map
@@ -40,4 +40,3 @@ class Configuration {
40
40
  }
41
41
  }
42
42
  exports.Configuration = Configuration;
43
- //# sourceMappingURL=configuration.js.map
@@ -11,4 +11,3 @@
11
11
  */
12
12
  export * from "./api";
13
13
  export * from "./configuration";
14
- //# sourceMappingURL=index.d.ts.map
@@ -14,7 +14,11 @@
14
14
  */
15
15
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
16
  if (k2 === undefined) k2 = k;
17
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ var desc = Object.getOwnPropertyDescriptor(m, k);
18
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
19
+ desc = { enumerable: true, get: function() { return m[k]; } };
20
+ }
21
+ Object.defineProperty(o, k2, desc);
18
22
  }) : (function(o, m, k, k2) {
19
23
  if (k2 === undefined) k2 = k;
20
24
  o[k2] = m[k];
@@ -25,4 +29,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
25
29
  Object.defineProperty(exports, "__esModule", { value: true });
26
30
  __exportStar(require("./api"), exports);
27
31
  __exportStar(require("./configuration"), exports);
28
- //# sourceMappingURL=index.js.map
package/dist/index.d.ts CHANGED
@@ -3,4 +3,3 @@ export * as ethereum from './ethereum';
3
3
  export * as cosmos from './cosmos';
4
4
  export * as ws from './websocket';
5
5
  export * from './types';
6
- //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -28,4 +32,3 @@ exports.ethereum = __importStar(require("./ethereum"));
28
32
  exports.cosmos = __importStar(require("./cosmos"));
29
33
  exports.ws = __importStar(require("./websocket"));
30
34
  __exportStar(require("./types"), exports);
31
- //# sourceMappingURL=index.js.map
package/dist/types.d.ts CHANGED
@@ -81,4 +81,3 @@ export interface StandardTx {
81
81
  txid: string;
82
82
  }
83
83
  export declare type Tx = StandardTx;
84
- //# sourceMappingURL=types.d.ts.map
package/dist/types.js CHANGED
@@ -33,4 +33,3 @@ var TxParser;
33
33
  TxParser["Foxy"] = "foxy";
34
34
  TxParser["WETH"] = "weth";
35
35
  })(TxParser = exports.TxParser || (exports.TxParser = {}));
36
- //# sourceMappingURL=types.js.map