@calm-xyz/core 0.16.0 → 0.17.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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -196,7 +196,7 @@ async function request(config) {
196
196
  if (!response.ok) {
197
197
  const envelope = await response.json().catch(() => void 0);
198
198
  const code = envelope?.error?.code;
199
- let message = "Something went wrong. Try again.";
199
+ let message = "Something went wrong.";
200
200
  if (typeof envelope?.error?.message === "string") message = envelope.error.message;
201
201
  if (isErrorCode(code)) throw new ApiError({
202
202
  code,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@calm-xyz/core",
3
- "version": "0.16.0",
3
+ "version": "0.17.0",
4
4
  "description": "Headless client for the Calm fiat-to-crypto onramp API.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",