Skip to content

Commit

Permalink
chore(address-validator): update base-x 3.0.7 -> 5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mroz22 committed Oct 9, 2024
1 parent 66ae488 commit 9b387f7
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/address-validator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"test:unit": "yarn g:jest -c ../../jest.config.base.js"
},
"dependencies": {
"base-x": "^3.0.7",
"base-x": "^5.0.0",
"bech32": "^2.0.0",
"browserify-bignum": "^1.3.0-2",
"cbor-js": "^0.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/address-validator/src/nano_validator.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const { addressType } = require('./crypto/utils');
var cryptoUtils = require('./crypto/utils');
var baseX = require('base-x');
var baseX = require('base-x').default;

var ALLOWED_CHARS = '13456789abcdefghijkmnopqrstuwxyz';

Expand Down
2 changes: 1 addition & 1 deletion packages/address-validator/src/ripple_validator.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const { addressType } = require('./crypto/utils');
var cryptoUtils = require('./crypto/utils');
var baseX = require('base-x');
var baseX = require('base-x').default;

var ALLOWED_CHARS = 'rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz';

Expand Down
2 changes: 1 addition & 1 deletion packages/address-validator/src/stellar_validator.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const { addressType } = require('./crypto/utils');
const baseX = require('base-x');
const baseX = require('base-x').default;
const crc = require('crc');
const cryptoUtils = require('./crypto/utils');

Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11054,7 +11054,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@trezor/address-validator@workspace:packages/address-validator"
dependencies:
base-x: "npm:^3.0.7"
base-x: "npm:^5.0.0"
bech32: "npm:^2.0.0"
browserify-bignum: "npm:^1.3.0-2"
cbor-js: "npm:^0.1.0"
Expand Down Expand Up @@ -15865,7 +15865,7 @@ __metadata:
languageName: node
linkType: hard

"base-x@npm:3.0.9, base-x@npm:^3.0.2, base-x@npm:^3.0.6, base-x@npm:^3.0.7, base-x@npm:^3.0.8":
"base-x@npm:3.0.9, base-x@npm:^3.0.2, base-x@npm:^3.0.6, base-x@npm:^3.0.8":
version: 3.0.9
resolution: "base-x@npm:3.0.9"
dependencies:
Expand Down

0 comments on commit 9b387f7

Please sign in to comment.