@pancakeswap/token-lists 0.0.9 → 0.0.10
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/.turbo/turbo-build.log +11 -11
- package/CHANGELOG.md +7 -0
- package/dist/{getTokenList-2FAKUE6D.mjs → getTokenList-B3VE4CV2.mjs} +1 -1
- package/dist/{getTokenList-YNKBKHZ3.js → getTokenList-VM72I6KY.js} +1 -1
- package/dist/react.js +1 -1
- package/dist/react.mjs +1 -1
- package/package.json +3 -4
- package/schema/pancakeswap.json +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @pancakeswap/token-lists@0.0.
|
|
2
|
+
> @pancakeswap/token-lists@0.0.10 build /home/runner/work/pancake-frontend/pancake-frontend/packages/token-lists
|
|
3
3
|
> tsup
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: {"index":"./src/index.ts","react":"./react/index.ts"}
|
|
@@ -9,21 +9,21 @@
|
|
|
9
9
|
[34mCLI[39m Target: es6
|
|
10
10
|
[34mESM[39m Build start
|
|
11
11
|
[34mCJS[39m Build start
|
|
12
|
-
Entry module "dist/getTokenList-
|
|
13
|
-
[32mCJS[39m [1mdist/chunk-4TPCCB4K.js [22m[32m1.49 KB[39m
|
|
14
|
-
[32mCJS[39m [1mdist/index.js [22m[32m815.00 B[39m
|
|
15
|
-
[32mCJS[39m [1mdist/chunk-OGWZ2K32.js [22m[32m2.83 KB[39m
|
|
16
|
-
[32mCJS[39m [1mdist/getTokenList-YNKBKHZ3.js [22m[32m13.76 KB[39m
|
|
17
|
-
[32mCJS[39m [1mdist/react.js [22m[32m9.13 KB[39m
|
|
18
|
-
[32mCJS[39m ⚡️ Build success in 1438ms
|
|
12
|
+
Entry module "dist/getTokenList-VM72I6KY.js" is using named and default exports together. Consumers of your bundle will have to use `chunk.default` to access the default export, which may not be what you want. Use `output.exports: "named"` to disable this warning.
|
|
19
13
|
[32mESM[39m [1mdist/chunk-2L3ZO4UM.mjs [22m[32m1.42 KB[39m
|
|
20
14
|
[32mESM[39m [1mdist/index.mjs [22m[32m160.00 B[39m
|
|
21
15
|
[32mESM[39m [1mdist/chunk-COROHIJN.mjs [22m[32m2.67 KB[39m
|
|
22
|
-
[32mESM[39m [1mdist/getTokenList-
|
|
16
|
+
[32mESM[39m [1mdist/getTokenList-B3VE4CV2.mjs [22m[32m13.41 KB[39m
|
|
23
17
|
[32mESM[39m [1mdist/react.mjs [22m[32m8.43 KB[39m
|
|
24
|
-
[32mESM[39m ⚡️ Build success in
|
|
18
|
+
[32mESM[39m ⚡️ Build success in 888ms
|
|
19
|
+
[32mCJS[39m [1mdist/chunk-4TPCCB4K.js [22m[32m1.49 KB[39m
|
|
20
|
+
[32mCJS[39m [1mdist/index.js [22m[32m815.00 B[39m
|
|
21
|
+
[32mCJS[39m [1mdist/chunk-OGWZ2K32.js [22m[32m2.83 KB[39m
|
|
22
|
+
[32mCJS[39m [1mdist/getTokenList-VM72I6KY.js [22m[32m13.76 KB[39m
|
|
23
|
+
[32mCJS[39m [1mdist/react.js [22m[32m9.13 KB[39m
|
|
24
|
+
[32mCJS[39m ⚡️ Build success in 891ms
|
|
25
25
|
[34mDTS[39m Build start
|
|
26
|
-
[32mDTS[39m ⚡️ Build success in
|
|
26
|
+
[32mDTS[39m ⚡️ Build success in 7262ms
|
|
27
27
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m1.68 KB[39m
|
|
28
28
|
[32mDTS[39m [1mdist/react.d.ts [22m[32m2.52 KB[39m
|
|
29
29
|
[32mDTS[39m [1mdist/types-d6730d17.d.ts [22m[32m1.03 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -228,7 +228,7 @@ var pancakeswap_default = {
|
|
|
228
228
|
symbol: {
|
|
229
229
|
type: "string",
|
|
230
230
|
description: "The symbol for the token; must be alphanumeric",
|
|
231
|
-
pattern: "^[a-zA-Z0-9
|
|
231
|
+
pattern: "^[a-zA-Z0-9+\\-%/$.\\s]+$",
|
|
232
232
|
minLength: 1,
|
|
233
233
|
maxLength: 20,
|
|
234
234
|
examples: ["USDC"]
|
|
@@ -237,7 +237,7 @@ var pancakeswap_default = {
|
|
|
237
237
|
symbol: {
|
|
238
238
|
type: "string",
|
|
239
239
|
description: "The symbol for the token; must be alphanumeric",
|
|
240
|
-
pattern: "^[a-zA-Z0-9
|
|
240
|
+
pattern: "^[a-zA-Z0-9+\\-%/$.\\s]+$",
|
|
241
241
|
minLength: 1,
|
|
242
242
|
maxLength: 20,
|
|
243
243
|
examples: ["USDC"]
|
package/dist/react.js
CHANGED
|
@@ -216,7 +216,7 @@ function useFetchListCallback(dispatch) {
|
|
|
216
216
|
if (sendDispatch) {
|
|
217
217
|
dispatch(fetchTokenList.pending({ requestId, url: listUrl }));
|
|
218
218
|
}
|
|
219
|
-
const getTokenList = (yield import('./getTokenList-
|
|
219
|
+
const getTokenList = (yield import('./getTokenList-VM72I6KY.js')).default;
|
|
220
220
|
return getTokenList(listUrl).then((tokenList) => {
|
|
221
221
|
if (sendDispatch) {
|
|
222
222
|
dispatch(fetchTokenList.fulfilled({ url: listUrl, tokenList, requestId }));
|
package/dist/react.mjs
CHANGED
|
@@ -210,7 +210,7 @@ function useFetchListCallback(dispatch) {
|
|
|
210
210
|
if (sendDispatch) {
|
|
211
211
|
dispatch(fetchTokenList.pending({ requestId, url: listUrl }));
|
|
212
212
|
}
|
|
213
|
-
const getTokenList = (yield import('./getTokenList-
|
|
213
|
+
const getTokenList = (yield import('./getTokenList-B3VE4CV2.mjs')).default;
|
|
214
214
|
return getTokenList(listUrl).then((tokenList) => {
|
|
215
215
|
if (sendDispatch) {
|
|
216
216
|
dispatch(fetchTokenList.fulfilled({ url: listUrl, tokenList, requestId }));
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pancakeswap/token-lists",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"module": "./dist/index.mjs",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"ajv": "^6.12.3",
|
|
9
9
|
"lodash": "^4.17.21",
|
|
10
|
-
"@pancakeswap/swap-sdk-core": "1.0.
|
|
10
|
+
"@pancakeswap/swap-sdk-core": "1.0.1"
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
13
|
"@reduxjs/toolkit": "^1.9.1",
|
|
@@ -22,8 +22,7 @@
|
|
|
22
22
|
"localforage": "^1.10.0",
|
|
23
23
|
"react": "^18.2.0",
|
|
24
24
|
"tsup": "^6.7.0",
|
|
25
|
-
"
|
|
26
|
-
"@pancakeswap/utils": "5.0.6"
|
|
25
|
+
"@pancakeswap/utils": "6.0.2"
|
|
27
26
|
},
|
|
28
27
|
"exports": {
|
|
29
28
|
".": {
|
package/schema/pancakeswap.json
CHANGED
|
@@ -203,7 +203,7 @@
|
|
|
203
203
|
"symbol": {
|
|
204
204
|
"type": "string",
|
|
205
205
|
"description": "The symbol for the token; must be alphanumeric",
|
|
206
|
-
"pattern": "^[a-zA-Z0-9
|
|
206
|
+
"pattern": "^[a-zA-Z0-9+\\-%/$.\\s]+$",
|
|
207
207
|
"minLength": 1,
|
|
208
208
|
"maxLength": 20,
|
|
209
209
|
"examples": ["USDC"]
|