Skip to content

Commit

Permalink
increase char limit on token name (#639)
Browse files Browse the repository at this point in the history
* increase char limit on token name

* increment version

* fix test
  • Loading branch information
SocialfiPanda authored Mar 26, 2024
1 parent 7f2eccf commit 423b5a8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"url": "https://uniswap.org"
},
"description": "📚 The Token Lists specification",
"version": "1.0.0-beta.33",
"version": "1.0.0-beta.34",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/tokenlist.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@
"type": "string",
"description": "The name of the token",
"minLength": 0,
"maxLength": 40,
"maxLength": 60,
"anyOf": [
{
"const": ""
Expand Down
4 changes: 2 additions & 2 deletions test/__snapshots__/tokenlist.schema.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -439,9 +439,9 @@ Array [
Object {
"instancePath": "/tokens/0/name",
"keyword": "maxLength",
"message": "must NOT have more than 40 characters",
"message": "must NOT have more than 60 characters",
"params": Object {
"limit": 40,
"limit": 60,
},
"schemaPath": "#/properties/name/maxLength",
},
Expand Down
2 changes: 1 addition & 1 deletion test/schema/bigwords.tokenlist.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"timestamp": "2018-11-13T20:20:39+00:00",
"tokens": [
{
"name": "blah blah blah blah blah blah blah blah blah",
"name": "blah blah blah blah blah blah blah blah blah blah blah blah b",
"address": "0x0000000000000000000000000000000000000000",
"chainId": 1,
"decimals": 18,
Expand Down

0 comments on commit 423b5a8

Please sign in to comment.