File tree Expand file tree Collapse file tree 2 files changed +16
-16
lines changed
Expand file tree Collapse file tree 2 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export type ConfigType = {
1111
1212export const WALLET_CONFIG_URL = {
1313 [ PUSH_NETWORK . MAINNET ] : 'https://wallet.push.org' ,
14- [ PUSH_NETWORK . TESTNET ] : 'https://wallet-alpha .push.org' ,
15- [ PUSH_NETWORK . TESTNET_DONUT ] : 'https://wallet-alpha .push.org' ,
14+ [ PUSH_NETWORK . TESTNET ] : 'https://wallet.push.org' ,
15+ [ PUSH_NETWORK . TESTNET_DONUT ] : 'https://wallet.push.org' ,
1616 [ PUSH_NETWORK . LOCALNET ] : 'http://localhost:5173' ,
1717} ;
Original file line number Diff line number Diff line change 1- // import { Buffer as PolyBuffer } from 'buffer';
2- // import type { Buffer as BufferType } from 'buffer';
1+ import { Buffer as PolyBuffer } from 'buffer' ;
2+ import type { Buffer as BufferType } from 'buffer' ;
33
4- // declare global {
5- // // eslint-disable-next-line no-var
6- // var Buffer: BufferType;
7- // }
4+ declare global {
5+ // eslint-disable-next-line no-var
6+ var Buffer : BufferType ;
7+ }
88
9- // const g: any = globalThis;
10- // if (!g.Buffer || !g.Buffer.from || !g.Buffer.alloc) g.Buffer = PolyBuffer;
9+ const g : any = globalThis ;
10+ if ( ! g . Buffer || ! g . Buffer . from || ! g . Buffer . alloc ) g . Buffer = PolyBuffer ;
1111
12- // if (typeof globalThis.process === 'undefined') {
13- // (globalThis as any).process = { env: {} };
14- // }
12+ if ( typeof globalThis . process === 'undefined' ) {
13+ ( globalThis as any ) . process = { env : { } } ;
14+ }
1515
16- // if (typeof globalThis.global === 'undefined') {
17- // (globalThis as any).global = globalThis;
18- // }
16+ if ( typeof globalThis . global === 'undefined' ) {
17+ ( globalThis as any ) . global = globalThis ;
18+ }
You can’t perform that action at this time.
0 commit comments