@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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @pancakeswap/token-lists@0.0.9 build /home/runner/work/pancake-frontend/pancake-frontend/packages/token-lists
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
  CLI Building entry: {"index":"./src/index.ts","react":"./react/index.ts"}
@@ -9,21 +9,21 @@
9
9
  CLI Target: es6
10
10
  ESM Build start
11
11
  CJS Build start
12
- Entry module "dist/getTokenList-YNKBKHZ3.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.
13
- CJS dist/chunk-4TPCCB4K.js 1.49 KB
14
- CJS dist/index.js 815.00 B
15
- CJS dist/chunk-OGWZ2K32.js 2.83 KB
16
- CJS dist/getTokenList-YNKBKHZ3.js 13.76 KB
17
- CJS dist/react.js 9.13 KB
18
- CJS ⚡️ 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
  ESM dist/chunk-2L3ZO4UM.mjs 1.42 KB
20
14
  ESM dist/index.mjs 160.00 B
21
15
  ESM dist/chunk-COROHIJN.mjs 2.67 KB
22
- ESM dist/getTokenList-2FAKUE6D.mjs 13.40 KB
16
+ ESM dist/getTokenList-B3VE4CV2.mjs 13.41 KB
23
17
  ESM dist/react.mjs 8.43 KB
24
- ESM ⚡️ Build success in 1447ms
18
+ ESM ⚡️ Build success in 888ms
19
+ CJS dist/chunk-4TPCCB4K.js 1.49 KB
20
+ CJS dist/index.js 815.00 B
21
+ CJS dist/chunk-OGWZ2K32.js 2.83 KB
22
+ CJS dist/getTokenList-VM72I6KY.js 13.76 KB
23
+ CJS dist/react.js 9.13 KB
24
+ CJS ⚡️ Build success in 891ms
25
25
  DTS Build start
26
- DTS ⚡️ Build success in 11919ms
26
+ DTS ⚡️ Build success in 7262ms
27
27
  DTS dist/index.d.ts 1.68 KB
28
28
  DTS dist/react.d.ts 2.52 KB
29
29
  DTS dist/types-d6730d17.d.ts 1.03 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @pancakeswap/token-lists
2
2
 
3
+ ## 0.0.10
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [c269d43]
8
+ - @pancakeswap/swap-sdk-core@1.0.1
9
+
3
10
  ## 0.0.9
4
11
 
5
12
  ### Patch Changes
@@ -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-YNKBKHZ3.js')).default;
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-2FAKUE6D.mjs')).default;
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.9",
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.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
- "vitest": "^0.34.4",
26
- "@pancakeswap/utils": "5.0.6"
25
+ "@pancakeswap/utils": "6.0.2"
27
26
  },
28
27
  "exports": {
29
28
  ".": {
@@ -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"]