From 1b2893576351deb81d9052d73c0a79a5d85338e0 Mon Sep 17 00:00:00 2001 From: Benjamin Smith Date: Sat, 28 Sep 2024 14:36:25 +0200 Subject: [PATCH 1/2] update bs58 --- packages/utils/package.json | 2 +- pnpm-lock.yaml | 16 ++++++++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/packages/utils/package.json b/packages/utils/package.json index 043bac4038..918854ed42 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 f2be411fb0..33d7a41fc7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -620,8 +620,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 @@ -1563,6 +1563,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==} @@ -1617,6 +1620,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==} @@ -5358,6 +5364,8 @@ snapshots: dependencies: safe-buffer: 5.2.1 + base-x@5.0.0: {} + base64-js@1.5.1: {} base64url@3.0.1: {} @@ -5416,6 +5424,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 From 718eba82bcee5d6ec8d20789f4cc92f7b78ffb4e Mon Sep 17 00:00:00 2001 From: Benjamin Smith Date: Sat, 28 Sep 2024 11:14:05 +0200 Subject: [PATCH 2/2] add changeset --- .changeset/warm-insects-yell.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/warm-insects-yell.md 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