multichain-address-validator 0.7.6 → 0.7.7

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.
@@ -62,6 +62,7 @@ const chainValidators = {
62
62
  'EthereumPow',
63
63
  'erc20',
64
64
  'flare',
65
+ 'optimism',
65
66
  'sonic',
66
67
  'story',
67
68
  ],
@@ -97,9 +98,12 @@ const chainValidators = {
97
98
  alternatives: ['xrp'],
98
99
  validator: index_js_1.RippleValidator,
99
100
  },
100
- sia: { validator: index_js_1.SiaValidator },
101
+ sia: {
102
+ alternatives: ['SiaCoin'],
103
+ validator: index_js_1.SiaValidator
104
+ },
101
105
  solana: {
102
- alternatives: ['spl'],
106
+ alternatives: ['sol', 'spl'],
103
107
  validator: index_js_1.SolanaValidator,
104
108
  },
105
109
  sui: { validator: index_js_1.MoveValidator },
@@ -109,7 +113,7 @@ const chainValidators = {
109
113
  },
110
114
  tezos: { validator: index_js_1.TezosValidator },
111
115
  xlm: {
112
- alternatives: ['stellar'],
116
+ alternatives: ['stellar', 'stellarlumens'],
113
117
  validator: index_js_1.XLMValidator,
114
118
  },
115
119
  };
@@ -59,6 +59,7 @@ const chainValidators = {
59
59
  'EthereumPow',
60
60
  'erc20',
61
61
  'flare',
62
+ 'optimism',
62
63
  'sonic',
63
64
  'story',
64
65
  ],
@@ -94,9 +95,12 @@ const chainValidators = {
94
95
  alternatives: ['xrp'],
95
96
  validator: RippleValidator,
96
97
  },
97
- sia: { validator: SiaValidator },
98
+ sia: {
99
+ alternatives: ['SiaCoin'],
100
+ validator: SiaValidator
101
+ },
98
102
  solana: {
99
- alternatives: ['spl'],
103
+ alternatives: ['sol', 'spl'],
100
104
  validator: SolanaValidator,
101
105
  },
102
106
  sui: { validator: MoveValidator },
@@ -106,7 +110,7 @@ const chainValidators = {
106
110
  },
107
111
  tezos: { validator: TezosValidator },
108
112
  xlm: {
109
- alternatives: ['stellar'],
113
+ alternatives: ['stellar', 'stellarlumens'],
110
114
  validator: XLMValidator,
111
115
  },
112
116
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "multichain-address-validator",
3
3
  "description": "Multichain address validator for Bitcoin and other blockchains.",
4
- "version": "0.7.6",
4
+ "version": "0.7.7",
5
5
  "keywords": [
6
6
  "0x",
7
7
  "zrx",
@@ -90,6 +90,7 @@ const chainValidators: ChainValidators = {
90
90
  'EthereumPow',
91
91
  'erc20',
92
92
  'flare',
93
+ 'optimism',
93
94
  'sonic',
94
95
  'story',
95
96
  ],
@@ -125,9 +126,12 @@ const chainValidators: ChainValidators = {
125
126
  alternatives: ['xrp'],
126
127
  validator: RippleValidator,
127
128
  },
128
- sia: {validator: SiaValidator},
129
+ sia: {
130
+ alternatives: ['SiaCoin'],
131
+ validator: SiaValidator
132
+ },
129
133
  solana: {
130
- alternatives: ['spl'],
134
+ alternatives: ['sol','spl'],
131
135
  validator: SolanaValidator,
132
136
  },
133
137
  sui: {validator: MoveValidator},
@@ -137,7 +141,7 @@ const chainValidators: ChainValidators = {
137
141
  },
138
142
  tezos: {validator: TezosValidator},
139
143
  xlm: {
140
- alternatives: ['stellar'],
144
+ alternatives: ['stellar', 'stellarlumens'],
141
145
  validator: XLMValidator,
142
146
  },
143
147
  }
@@ -2,5 +2,6 @@
2
2
  "DPpJVPpvPNP6i6tMj4rTycAGh8wReTqaSU",
3
3
  "DNzLUN6MyYVS5zf4Xc2yK69V3dXs6Mxia5",
4
4
  "DPS6iZj7roHquvwRYXNBua9QtKPzigUUhM",
5
- "A7JjzK9k9x5b2MkkQzqt91WZsuu7wTu6iS"
5
+ "A7JjzK9k9x5b2MkkQzqt91WZsuu7wTu6iS",
6
+ "A5qAJPAc1Ym4A815HcvLKe6Bp5DJeRPJtF"
6
7
  ]
@@ -73,7 +73,21 @@ const TestCases: Record<string, TestCase> = {
73
73
  testAddresses: 'eos',
74
74
  },
75
75
  'ethereum': {
76
- alternatives: ['eth', 'flare', 'avalanche', 'avalanche-c', 'bsc', 'bnb', 'binance', 'sonic', 'berachain', 'story'],
76
+ alternatives: [
77
+ 'arbitrum',
78
+ 'avalanche',
79
+ 'avalanche-c',
80
+ 'base',
81
+ 'berachain',
82
+ 'binance',
83
+ 'bnb',
84
+ 'bsc',
85
+ 'eth',
86
+ 'flare',
87
+ 'optimism',
88
+ 'sonic',
89
+ 'story',
90
+ ],
77
91
  testAddresses: 'evm',
78
92
  },
79
93
  'hedera': {
@@ -112,11 +126,11 @@ const TestCases: Record<string, TestCase> = {
112
126
  testAddresses: 'ripple'
113
127
  },
114
128
  'sia': {
115
- alternatives: [],
129
+ alternatives: ['SiaCoin'],
116
130
  testAddresses: 'sia',
117
131
  },
118
132
  'solana': {
119
- alternatives: ['spl'],
133
+ alternatives: ['sol', 'spl'],
120
134
  testAddresses: 'solana'
121
135
  },
122
136
  'sui': {
@@ -134,7 +148,7 @@ const TestCases: Record<string, TestCase> = {
134
148
  testAddresses: 'tron',
135
149
  },
136
150
  'xlm': {
137
- alternatives: ['stellar'],
151
+ alternatives: ['stellar', 'stellarlumens'],
138
152
  testAddresses: 'xlm',
139
153
  }
140
154
  }