Skip to content

Commit 423b5a8

Browse files
increase char limit on token name (#639)
* increase char limit on token name * increment version * fix test
1 parent 7f2eccf commit 423b5a8

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"url": "https://uniswap.org"
77
},
88
"description": "📚 The Token Lists specification",
9-
"version": "1.0.0-beta.33",
9+
"version": "1.0.0-beta.34",
1010
"license": "MIT",
1111
"main": "dist/index.js",
1212
"typings": "dist/index.d.ts",

src/tokenlist.schema.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@
232232
"type": "string",
233233
"description": "The name of the token",
234234
"minLength": 0,
235-
"maxLength": 40,
235+
"maxLength": 60,
236236
"anyOf": [
237237
{
238238
"const": ""

test/__snapshots__/tokenlist.schema.test.ts.snap

+2-2
Original file line numberDiff line numberDiff line change
@@ -439,9 +439,9 @@ Array [
439439
Object {
440440
"instancePath": "/tokens/0/name",
441441
"keyword": "maxLength",
442-
"message": "must NOT have more than 40 characters",
442+
"message": "must NOT have more than 60 characters",
443443
"params": Object {
444-
"limit": 40,
444+
"limit": 60,
445445
},
446446
"schemaPath": "#/properties/name/maxLength",
447447
},

test/schema/bigwords.tokenlist.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"timestamp": "2018-11-13T20:20:39+00:00",
1313
"tokens": [
1414
{
15-
"name": "blah blah blah blah blah blah blah blah blah",
15+
"name": "blah blah blah blah blah blah blah blah blah blah blah blah b",
1616
"address": "0x0000000000000000000000000000000000000000",
1717
"chainId": 1,
1818
"decimals": 18,

0 commit comments

Comments
 (0)