Skip to content

Commit

Permalink
chore: Enter pre
Browse files Browse the repository at this point in the history
  • Loading branch information
rrr523 committed Sep 15, 2023
1 parent 71f2ded commit aba9f9a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
13 changes: 13 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"mode": "pre",
"tag": "alpha",
"initialVersions": {
"@demo/wallet": "0.0.6",
"@demo/nodejs": "0.0.9",
"@bnb-chain/greenfield-js-sdk": "0.2.5",
"@bnb-chain/create-gnfd-app": "0.0.2",
"@bnb-chain/greenfiled-file-handle": "0.2.1",
"@bnb-chain/greenfield-zk-crypto": "0.0.3"
},
"changesets": []
}
3 changes: 1 addition & 2 deletions examples/nextjs/src/client/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import { GREEN_CHAIN_ID, GRPC_URL } from '@/config';
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/[email protected]/dist/node/zk-crypto.wasm',
zkCryptoUrl: 'https://unpkg.com/@bnb-chain/[email protected]/dist/node/zk-crypto.wasm',
});

export const getSps = async () => {
Expand Down
4 changes: 2 additions & 2 deletions examples/nextjs/src/pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ export default function Document() {
<Main />
<NextScript />
</body>
<script src="https://unpkg.com/@bnb-chain/[email protected]-alpha.0/dist/browser/umd/index.js"></script>
<script src="https://unpkg.com/@bnb-chain/[email protected]/dist/browser/umd/index.js"></script>
<script
dangerouslySetInnerHTML={{
__html: `window.__PUBLIC_FILE_HANDLE_WASM_PATH__ = 'https://unpkg.com/@bnb-chain/[email protected]-alpha.0/dist/node/file-handle.wasm'`,
__html: `window.__PUBLIC_FILE_HANDLE_WASM_PATH__ = 'https://unpkg.com/@bnb-chain/[email protected]/dist/node/file-handle.wasm'`,
}}
></script>
</Html>
Expand Down

0 comments on commit aba9f9a

Please sign in to comment.