From 47a3c3e10a11a8100035a805fe80fe96ffa39891 Mon Sep 17 00:00:00 2001 From: rk <59029880+rrr523@users.noreply.github.com> Date: Mon, 11 Mar 2024 17:24:44 +0800 Subject: [PATCH] chore/ remove file (#490) * feat: Register pub key * feat: Replace zk crypto with ed25519 * chore: Remove file * chore: Remove console * chore: Changeset file * feat: Remove Client wasm url param * chore: Update Example * chore: Remove file --- examples/browser-file-management/src/client/index.ts | 4 +--- packages/js-sdk/src/offchainauth/index.ts | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/examples/browser-file-management/src/client/index.ts b/examples/browser-file-management/src/client/index.ts index 5fee6955..8ea4f817 100644 --- a/examples/browser-file-management/src/client/index.ts +++ b/examples/browser-file-management/src/client/index.ts @@ -1,9 +1,7 @@ import { GREEN_CHAIN_ID, GRPC_URL } from '@/config/env'; import { Client } from '@bnb-chain/greenfield-js-sdk'; -export const client = Client.create(GRPC_URL, String(GREEN_CHAIN_ID), { - zkCryptoUrl: 'https://unpkg.com/@bnb-chain/greenfield-zk-crypto@0.0.3/dist/node/zk-crypto.wasm', -}); +export const client = Client.create(GRPC_URL, String(GREEN_CHAIN_ID)); export const getSps = async () => { const sps = await client.sp.getStorageProviders(); diff --git a/packages/js-sdk/src/offchainauth/index.ts b/packages/js-sdk/src/offchainauth/index.ts index 29f4b07f..04bca77e 100644 --- a/packages/js-sdk/src/offchainauth/index.ts +++ b/packages/js-sdk/src/offchainauth/index.ts @@ -1,2 +1 @@ -export * from '../clients/spclient/sign'; export * from './utils';