@wallaby-cash/api-client 0.0.3 → 0.0.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @wallaby-cash/api-client
2
2
 
3
+ ## 0.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Update constructed baseUrl to remove the api version
8
+
3
9
  ## 0.0.3
4
10
 
5
11
  ### Patch Changes
@@ -24,7 +24,7 @@ export const startClient = (config) => {
24
24
  // Construct baseUrl from environment and network
25
25
  const environment = config.options?.environment || config.environment || 'staging';
26
26
  const network = config.options?.network || config.network || 'testnet';
27
- const baseUrl = `https://${environment}-${network}.wallaby.cash/api/v1`;
27
+ const baseUrl = `https://${environment}-${network}.wallaby.cash`;
28
28
  // Construct headers object with required and optional headers
29
29
  const headers = {
30
30
  'x-client-jwt': config.clientAuthToken,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wallaby-cash/api-client",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "API client for Wallaby Cash",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",