diff options
author | polwex <polwex@sortug.com> | 2025-07-16 15:09:39 +0700 |
---|---|---|
committer | polwex <polwex@sortug.com> | 2025-07-16 15:09:39 +0700 |
commit | e7d4e342d112f89bebeb08aaa502227ca7747a8c (patch) | |
tree | 26e96f08b59957a2842e38ea99bd8f3732f8375f | |
parent | aadfe206f3233032d8742a17c1f21d4750946a41 (diff) |
finally
-rw-r--r-- | bun.lock | 3 | ||||
-rw-r--r-- | components/login/ShipCredsForm.tsx | 3 | ||||
-rw-r--r-- | package.json | 1 |
3 files changed, 6 insertions, 1 deletions
@@ -10,6 +10,7 @@ "@react-navigation/elements": "^2.3.8", "@react-navigation/native": "^7.1.6", "buffer": "^6.0.3", + "core-js": "^3.44.0", "crypto-browserify": "^3.12.1", "ethers": "^6.15.0", "expo": "~53.0.17", @@ -752,6 +753,8 @@ "convert-source-map": ["convert-source-map@2.0.0", "", {}, "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg=="], + "core-js": ["core-js@3.44.0", "", {}, "sha512-aFCtd4l6GvAXwVEh3XbbVqJGHDJt0OZRa+5ePGx3LLwi12WfexqQxcsohb2wgsa/92xtl19Hd66G/L+TaAxDMw=="], + "core-js-compat": ["core-js-compat@3.44.0", "", { "dependencies": { "browserslist": "^4.25.1" } }, "sha512-JepmAj2zfl6ogy34qfWtcE7nHKAJnKsQFRn++scjVS2bZFllwptzw61BZcZFYBPpUznLfAvh0LGhxKppk04ClA=="], "core-util-is": ["core-util-is@1.0.3", "", {}, "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ=="], diff --git a/components/login/ShipCredsForm.tsx b/components/login/ShipCredsForm.tsx index 7853162..eebeeab 100644 --- a/components/login/ShipCredsForm.tsx +++ b/components/login/ShipCredsForm.tsx @@ -1,5 +1,5 @@ "use client"; - +import "core-js/actual/typed-array"; import { ColorScheme, lightColors } from "@/constants"; import { StyleSheet, @@ -36,6 +36,7 @@ export function ShipForm() { toast(`bytes: ${byteLength}`); const bufer = hex2buf(privkey); toast(`buffer size: ${bufer.byteLength}`); + console.log(Uint8Array); const ba = Uint8Array.fromHex(clean); toast(`uintarray byte length: ${ba.byteLength}`); console.log({ diff --git a/package.json b/package.json index 76ad84e..3da8120 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ "@react-navigation/elements": "^2.3.8", "@react-navigation/native": "^7.1.6", "buffer": "^6.0.3", + "core-js": "^3.44.0", "crypto-browserify": "^3.12.1", "ethers": "^6.15.0", "expo": "~53.0.17", |