@marcohefti/request-network-api-client 0.5.11 → 0.5.12

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.
@@ -1047,7 +1047,7 @@ interface operations {
1047
1047
  * @description Type of fee
1048
1048
  * @enum {string}
1049
1049
  */
1050
- type?: "gas" | "platform" | "crosschain" | "crypto-to-fiat" | "offramp";
1050
+ type?: "gas" | "platform" | "crosschain" | "crypto-to-fiat" | "offramp" | "protocol";
1051
1051
  /**
1052
1052
  * @description Stage when the fee is applied
1053
1053
  * @enum {string}
@@ -1056,9 +1056,9 @@ interface operations {
1056
1056
  /** @description Provider that charged the fee */
1057
1057
  provider?: string;
1058
1058
  /** @description Fee amount in human-readable format (formatted with token decimals) */
1059
- amount?: string;
1059
+ amount?: string | null;
1060
1060
  /** @description Fee amount in USD */
1061
- amountInUSD?: string;
1061
+ amountInUSD?: string | null;
1062
1062
  /** @description Fee currency */
1063
1063
  currency?: string;
1064
1064
  /** @description Address that received the fee */
@@ -1395,11 +1395,11 @@ interface operations {
1395
1395
  * @description Type of fee
1396
1396
  * @enum {string}
1397
1397
  */
1398
- type?: "gas" | "platform" | "crosschain" | "crypto-to-fiat" | "offramp";
1398
+ type?: "gas" | "platform" | "crosschain" | "crypto-to-fiat" | "offramp" | "protocol";
1399
1399
  /** @description Fee provider */
1400
1400
  provider?: string;
1401
1401
  /** @description Fee amount in human-readable format (formatted with token decimals) */
1402
- amount?: string;
1402
+ amount?: string | null;
1403
1403
  /** @description Fee currency */
1404
1404
  currency?: string;
1405
1405
  }[] | null;
@@ -1637,7 +1637,7 @@ interface operations {
1637
1637
  * @description Type of fee
1638
1638
  * @enum {string}
1639
1639
  */
1640
- type?: "gas" | "platform" | "crosschain" | "crypto-to-fiat" | "offramp";
1640
+ type?: "gas" | "platform" | "crosschain" | "crypto-to-fiat" | "offramp" | "protocol";
1641
1641
  /**
1642
1642
  * @description Stage when the fee is applied
1643
1643
  * @enum {string}
@@ -1646,9 +1646,9 @@ interface operations {
1646
1646
  /** @description Provider that charged the fee */
1647
1647
  provider?: string;
1648
1648
  /** @description Fee amount in human-readable format (formatted with token decimals) */
1649
- amount?: string;
1649
+ amount?: string | null;
1650
1650
  /** @description Fee amount in USD */
1651
- amountInUSD?: string;
1651
+ amountInUSD?: string | null;
1652
1652
  /** @description Fee currency */
1653
1653
  currency?: string;
1654
1654
  /** @description Address that received the fee */
@@ -2927,7 +2927,7 @@ interface operations {
2927
2927
  * @description Type of fee
2928
2928
  * @enum {string}
2929
2929
  */
2930
- type?: "gas" | "platform" | "crosschain" | "crypto-to-fiat" | "offramp";
2930
+ type?: "gas" | "platform" | "crosschain" | "crypto-to-fiat" | "offramp" | "protocol";
2931
2931
  /**
2932
2932
  * @description Stage when the fee is applied
2933
2933
  * @enum {string}
@@ -2936,9 +2936,9 @@ interface operations {
2936
2936
  /** @description Provider that charged the fee */
2937
2937
  provider?: string;
2938
2938
  /** @description Fee amount in human-readable format (formatted with token decimals) */
2939
- amount?: string;
2939
+ amount?: string | null;
2940
2940
  /** @description Fee amount in USD */
2941
- amountInUSD?: string;
2941
+ amountInUSD?: string | null;
2942
2942
  /** @description Fee currency */
2943
2943
  currency?: string;
2944
2944
  /** @description Address that received the fee */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marcohefti/request-network-api-client",
3
- "version": "0.5.11",
3
+ "version": "0.5.12",
4
4
  "private": false,
5
5
  "description": "Request Network API client for Node and Browser.",
6
6
  "publishConfig": {
@@ -158,17 +158,18 @@
158
158
  "webhook:dev:all": "concurrently -k -n listener,tunnel \"pnpm run dev:webhook\" \"pnpm run tunnel:webhook\"",
159
159
  "lint": "eslint ./src ./tests --ext .ts --cache --cache-strategy content --cache-location node_modules/.cache/eslint/.eslintcache",
160
160
  "lint:fix": "eslint ./src ./tests --ext .ts --fix --cache --cache-strategy content --cache-location node_modules/.cache/eslint/.eslintcache",
161
- "test": "vitest run --passWithNoTests",
162
- "coverage": "vitest run --coverage --passWithNoTests",
161
+ "test": "node scripts/run-vitest.mjs run --passWithNoTests",
162
+ "coverage": "node scripts/run-vitest.mjs run --coverage --passWithNoTests",
163
163
  "test:matrix": "bash scripts/test-matrix.sh test",
164
164
  "coverage:matrix": "bash scripts/test-matrix.sh coverage",
165
- "test:watch": "vitest --passWithNoTests",
165
+ "test:watch": "node scripts/run-vitest.mjs --passWithNoTests",
166
166
  "test:live": "node scripts/run-integration-suite.mjs live",
167
167
  "tsc": "tsc --project tsconfig.build.json --noEmit && tsc --project tsconfig.vitest.json --noEmit && tsc --project tsconfig.configs.json --noEmit",
168
168
  "typecheck": "pnpm run tsc",
169
169
  "fetch:openapi": "node scripts/fetch-openapi.mjs",
170
+ "patch:openapi": "node scripts/patch-openapi.mjs",
170
171
  "generate:types": "node scripts/generate-types.mjs",
171
172
  "generate:zod": "node scripts/generate-zod.mjs",
172
- "prepare:spec": "pnpm run fetch:openapi && pnpm run generate:types && pnpm run generate:zod"
173
+ "prepare:spec": "pnpm run fetch:openapi && pnpm run patch:openapi && pnpm run generate:types && pnpm run generate:zod"
173
174
  }
174
175
  }