@coinlist-co/react 0.11.1-rc.e102bdb → 0.12.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.
- package/dist/{chunk-7CTH4KPU.js → chunk-6CQHDASY.js} +648 -620
- package/dist/chunk-6CQHDASY.js.map +1 -0
- package/dist/{chunk-UZUQALFY.js → chunk-F6WGUKZC.js} +9 -9
- package/dist/chunk-F6WGUKZC.js.map +1 -0
- package/dist/{chunk-LSPZETDH.js → chunk-ZFBEI3BW.js} +131 -134
- package/dist/chunk-ZFBEI3BW.js.map +1 -0
- package/dist/client/index.cjs +1489 -1346
- package/dist/client/index.cjs.map +1 -1
- package/dist/client/index.d.cts +395 -254
- package/dist/client/index.d.ts +395 -254
- package/dist/client/index.js +852 -739
- package/dist/client/index.js.map +1 -1
- package/dist/{collections-BBI_XydI.d.cts → collections-DOm9VKVm.d.cts} +1 -1
- package/dist/{collections-BrX9rRWc.d.ts → collections-aCv-Wr2a.d.ts} +1 -1
- package/dist/{config-CMl1bR3F.d.cts → config-DIaFzrMW.d.cts} +56 -13
- package/dist/{config-CMl1bR3F.d.ts → config-DIaFzrMW.d.ts} +56 -13
- package/dist/server/index.cjs +262 -236
- package/dist/server/index.cjs.map +1 -1
- package/dist/server/index.d.cts +4 -4
- package/dist/server/index.d.ts +4 -4
- package/dist/server/index.js +3 -3
- package/dist/server/index.js.map +1 -1
- package/dist/{shared → universal}/index.cjs +948 -919
- package/dist/universal/index.cjs.map +1 -0
- package/dist/{shared → universal}/index.d.cts +566 -536
- package/dist/{shared → universal}/index.d.ts +566 -536
- package/dist/{shared → universal}/index.js +9 -5
- package/package.json +23 -17
- package/dist/chunk-7CTH4KPU.js.map +0 -1
- package/dist/chunk-LSPZETDH.js.map +0 -1
- package/dist/chunk-UZUQALFY.js.map +0 -1
- package/dist/shared/index.cjs.map +0 -1
- /package/dist/{shared → universal}/index.js.map +0 -0
|
@@ -42,9 +42,9 @@ import {
|
|
|
42
42
|
formattedPricePerShare,
|
|
43
43
|
generatePKCEParams,
|
|
44
44
|
isStopped,
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} from "../chunk-
|
|
45
|
+
superstateSwapContractAddress,
|
|
46
|
+
swapSpender
|
|
47
|
+
} from "../chunk-ZFBEI3BW.js";
|
|
48
48
|
import {
|
|
49
49
|
AllowWalletResponse,
|
|
50
50
|
Asset,
|
|
@@ -99,6 +99,7 @@ import {
|
|
|
99
99
|
OfferOptionId,
|
|
100
100
|
OfferOptionSlug,
|
|
101
101
|
OfferSlug,
|
|
102
|
+
OfferSwapContract,
|
|
102
103
|
OfferToken,
|
|
103
104
|
OndoBuyTransaction,
|
|
104
105
|
OndoNamespaceImpl,
|
|
@@ -152,12 +153,13 @@ import {
|
|
|
152
153
|
formattedUsdPrice,
|
|
153
154
|
getChainId,
|
|
154
155
|
getNetworkName,
|
|
156
|
+
isChain,
|
|
155
157
|
parseBlockchainAmount,
|
|
156
158
|
parseUint256,
|
|
157
159
|
shortenAddress,
|
|
158
160
|
txExplorerUrl,
|
|
159
161
|
usdAmount
|
|
160
|
-
} from "../chunk-
|
|
162
|
+
} from "../chunk-6CQHDASY.js";
|
|
161
163
|
export {
|
|
162
164
|
AllowWalletResponse,
|
|
163
165
|
Asset,
|
|
@@ -227,6 +229,7 @@ export {
|
|
|
227
229
|
OfferOptionId,
|
|
228
230
|
OfferOptionSlug,
|
|
229
231
|
OfferSlug,
|
|
232
|
+
OfferSwapContract,
|
|
230
233
|
OfferToken,
|
|
231
234
|
OffersNamespaceImpl,
|
|
232
235
|
OndoBuyTransaction,
|
|
@@ -307,12 +310,13 @@ export {
|
|
|
307
310
|
generatePKCEParams,
|
|
308
311
|
getChainId,
|
|
309
312
|
getNetworkName,
|
|
313
|
+
isChain,
|
|
310
314
|
isStopped,
|
|
311
|
-
ondoSwapContractAddress,
|
|
312
315
|
parseBlockchainAmount,
|
|
313
316
|
parseUint256,
|
|
314
317
|
shortenAddress,
|
|
315
318
|
superstateSwapContractAddress,
|
|
319
|
+
swapSpender,
|
|
316
320
|
txExplorerUrl,
|
|
317
321
|
usdAmount
|
|
318
322
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coinlist-co/react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"description": "CoinList Partner SDK",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"build:js": "tsup",
|
|
11
11
|
"clean:tarballs": "rm -f ./coinlist-react-*.tgz ./coinlist-co-react-*.tgz",
|
|
12
12
|
"verify:pack": "node ./scripts/check-pack.mjs",
|
|
13
|
+
"verify:release-pr": "node ./scripts/check-release-pr.mjs",
|
|
13
14
|
"pack": "npm run clean:tarballs && npm run build && npm run verify:pack && npm pack",
|
|
14
15
|
"dev": "tsup --watch",
|
|
15
16
|
"test": "vitest run",
|
|
@@ -42,10 +43,10 @@
|
|
|
42
43
|
"import": "./dist/server/index.js",
|
|
43
44
|
"require": "./dist/server/index.cjs"
|
|
44
45
|
},
|
|
45
|
-
"./
|
|
46
|
-
"types": "./dist/
|
|
47
|
-
"import": "./dist/
|
|
48
|
-
"require": "./dist/
|
|
46
|
+
"./universal": {
|
|
47
|
+
"types": "./dist/universal/index.d.ts",
|
|
48
|
+
"import": "./dist/universal/index.js",
|
|
49
|
+
"require": "./dist/universal/index.cjs"
|
|
49
50
|
}
|
|
50
51
|
},
|
|
51
52
|
"files": [
|
|
@@ -59,9 +60,9 @@
|
|
|
59
60
|
"viem": "^2.0.0"
|
|
60
61
|
},
|
|
61
62
|
"devDependencies": {
|
|
62
|
-
"@biomejs/biome": "^2.
|
|
63
|
-
"@fast-check/vitest": "^0.
|
|
64
|
-
"@ivy-apps/deslop": "^0.
|
|
63
|
+
"@biomejs/biome": "^2.5.13",
|
|
64
|
+
"@fast-check/vitest": "^0.5.0",
|
|
65
|
+
"@ivy-apps/deslop": "^0.11.1",
|
|
65
66
|
"@storybook/addon-docs": "^10.2.15",
|
|
66
67
|
"@storybook/addon-themes": "^10.2.15",
|
|
67
68
|
"@storybook/react": "^10.2.15",
|
|
@@ -70,15 +71,15 @@
|
|
|
70
71
|
"@tailwindcss/vite": "^4.1.13",
|
|
71
72
|
"@testing-library/dom": "^10.4.0",
|
|
72
73
|
"@testing-library/react": "^16.3.2",
|
|
73
|
-
"@types/node": "^
|
|
74
|
+
"@types/node": "^26.5.1",
|
|
74
75
|
"@types/react": "^19.2.14",
|
|
75
76
|
"@types/react-dom": "^19.2.3",
|
|
76
|
-
"@vitest/browser": "^
|
|
77
|
-
"@vitest/browser-playwright": "^
|
|
78
|
-
"@vitest/coverage-v8": "^
|
|
79
|
-
"jsdom": "^
|
|
77
|
+
"@vitest/browser": "^5.0.0",
|
|
78
|
+
"@vitest/browser-playwright": "^5.0.0",
|
|
79
|
+
"@vitest/coverage-v8": "^5.0.0",
|
|
80
|
+
"jsdom": "^30.0.1",
|
|
80
81
|
"msw": "^2.12.10",
|
|
81
|
-
"playwright": "1.
|
|
82
|
+
"playwright": "1.63.0",
|
|
82
83
|
"react": "^19.0.0",
|
|
83
84
|
"react-dom": "^19.0.0",
|
|
84
85
|
"storybook": "^10.2.15",
|
|
@@ -87,8 +88,13 @@
|
|
|
87
88
|
"tsup": "^8.5.1",
|
|
88
89
|
"typescript": "^5.9.3",
|
|
89
90
|
"viem": "^2.55.1",
|
|
90
|
-
"vite": "^
|
|
91
|
-
"vitest": "^
|
|
91
|
+
"vite": "^8.3.0",
|
|
92
|
+
"vitest": "^5.0.0"
|
|
93
|
+
},
|
|
94
|
+
"overrides": {
|
|
95
|
+
"tsup": {
|
|
96
|
+
"esbuild": "^0.28.2"
|
|
97
|
+
}
|
|
92
98
|
},
|
|
93
99
|
"repository": {
|
|
94
100
|
"type": "git",
|
|
@@ -108,7 +114,7 @@
|
|
|
108
114
|
"@sumsub/websdk-react": "^2.6.3",
|
|
109
115
|
"class-variance-authority": "^0.7.1",
|
|
110
116
|
"clsx": "^2.1.1",
|
|
111
|
-
"lucide-react": "^
|
|
117
|
+
"lucide-react": "^1.45.0",
|
|
112
118
|
"pino": "^10.3.1"
|
|
113
119
|
}
|
|
114
120
|
}
|