diff --git a/.changeset/warm-insects-yell.md b/.changeset/warm-insects-yell.md new file mode 100644 index 0000000000..b8568b4a62 --- /dev/null +++ b/.changeset/warm-insects-yell.md @@ -0,0 +1,5 @@ +--- +"@near-js/utils": patch +--- + +use own base58 and depend directly on base-x diff --git a/packages/utils/package.json b/packages/utils/package.json index 7ba5a72574..100b3e6c4c 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -17,7 +17,7 @@ "license": "ISC", "dependencies": { "@near-js/types": "workspace:*", - "bs58": "4.0.0", + "bs58": "6.0.0", "depd": "2.0.0", "mustache": "4.0.0" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fafe83ccdb..dc977f15aa 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -675,8 +675,8 @@ importers: specifier: workspace:* version: link:../types bs58: - specifier: 4.0.0 - version: 4.0.0 + specifier: 6.0.0 + version: 6.0.0 depd: specifier: 2.0.0 version: 2.0.0 @@ -1618,6 +1618,9 @@ packages: base-x@3.0.9: resolution: {integrity: sha512-H7JU6iBHTal1gp56aKoaa//YUxEaAOUiydvrV/pILqIHXTtqxSkATOnDA2u+jZ/61sD+L/412+7kzXRtWukhpQ==} + base-x@5.0.0: + resolution: {integrity: sha512-sMW3VGSX1QWVFA6l8U62MLKz29rRfpTlYdCqLdpLo1/Yd4zZwSbnUaDfciIAowAqvq7YFnWq9hrhdg1KYgc1lQ==} + base64-js@1.5.1: resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} @@ -1672,6 +1675,9 @@ packages: bs58@4.0.1: resolution: {integrity: sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw==} + bs58@6.0.0: + resolution: {integrity: sha512-PD0wEnEYg6ijszw/u8s+iI3H17cTymlrwkKhDhPZq+Sokl3AU4htyBFTjAeNAlCCmg0f53g6ih3jATyCKftTfw==} + bser@2.1.1: resolution: {integrity: sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==} @@ -5416,6 +5422,8 @@ snapshots: dependencies: safe-buffer: 5.2.1 + base-x@5.0.0: {} + base64-js@1.5.1: {} base64url@3.0.1: {} @@ -5474,6 +5482,10 @@ snapshots: dependencies: base-x: 3.0.9 + bs58@6.0.0: + dependencies: + base-x: 5.0.0 + bser@2.1.1: dependencies: node-int64: 0.4.0