@riocrypto/common-server 1.0.1544 → 1.0.1547

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.
@@ -169,12 +169,13 @@ class BridgeClient {
169
169
  }
170
170
  getExternalAccount(bridgeCustomerId, externalAccountId) {
171
171
  return __awaiter(this, void 0, void 0, function* () {
172
+ console.log("getting external account", `${this.baseUrl}/v0/customers/${bridgeCustomerId}/external_accounts/${externalAccountId}`);
172
173
  const { data } = yield axios_1.default.get(`${this.baseUrl}/v0/customers/${bridgeCustomerId}/external_accounts/${externalAccountId}`, {
173
174
  headers: {
174
175
  "Api-Key": this.apiKey,
175
176
  },
176
177
  });
177
- return data.data;
178
+ return data;
178
179
  });
179
180
  }
180
181
  exchangePlaidPublicToken(linkToken, publicToken) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.1544",
3
+ "version": "1.0.1547",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -28,7 +28,7 @@
28
28
  "@google-cloud/storage": "^6.9.5",
29
29
  "@google-cloud/vision": "^4.0.2",
30
30
  "@hyperdx/node-opentelemetry": "^0.4.2",
31
- "@riocrypto/common": "^1.0.1380",
31
+ "@riocrypto/common": "^1.0.1381",
32
32
  "@types/express": "^4.17.13",
33
33
  "axios": "^1.6.0",
34
34
  "ccxt": "^3.0.30",