@net-protocol/bazaar 0.1.12 → 0.1.14

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.
@@ -80,8 +80,8 @@ interface Erc20Offer {
80
80
  pricePerTokenWei: bigint;
81
81
  /** Total price in native currency (formatted) */
82
82
  price: number;
83
- /** Price per token in native currency (formatted) */
84
- pricePerToken: number;
83
+ /** Price per token in native currency (formatted string for full decimal precision) */
84
+ pricePerToken: string;
85
85
  /** Currency symbol (e.g., "eth", "hype") */
86
86
  currency: string;
87
87
  /** Expiration timestamp in seconds */
@@ -111,8 +111,8 @@ interface Erc20Listing {
111
111
  pricePerTokenWei: bigint;
112
112
  /** Total price in native currency (formatted) */
113
113
  price: number;
114
- /** Price per token in native currency (formatted) */
115
- pricePerToken: number;
114
+ /** Price per token in native currency (formatted string for full decimal precision) */
115
+ pricePerToken: string;
116
116
  /** Currency symbol (e.g., "eth", "hype") */
117
117
  currency: string;
118
118
  /** Expiration timestamp in seconds */
@@ -80,8 +80,8 @@ interface Erc20Offer {
80
80
  pricePerTokenWei: bigint;
81
81
  /** Total price in native currency (formatted) */
82
82
  price: number;
83
- /** Price per token in native currency (formatted) */
84
- pricePerToken: number;
83
+ /** Price per token in native currency (formatted string for full decimal precision) */
84
+ pricePerToken: string;
85
85
  /** Currency symbol (e.g., "eth", "hype") */
86
86
  currency: string;
87
87
  /** Expiration timestamp in seconds */
@@ -111,8 +111,8 @@ interface Erc20Listing {
111
111
  pricePerTokenWei: bigint;
112
112
  /** Total price in native currency (formatted) */
113
113
  price: number;
114
- /** Price per token in native currency (formatted) */
115
- pricePerToken: number;
114
+ /** Price per token in native currency (formatted string for full decimal precision) */
115
+ pricePerToken: string;
116
116
  /** Currency symbol (e.g., "eth", "hype") */
117
117
  currency: string;
118
118
  /** Expiration timestamp in seconds */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@net-protocol/bazaar",
3
- "version": "0.1.12",
3
+ "version": "0.1.14",
4
4
  "description": "SDK for Net Bazaar - a decentralized bazaar storing all orders onchain via Seaport",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",