File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import { Arcana } from '@arcana/storage/dist/standalone/storage.umd';
2626``` js
2727// address: Smart contract address of app
2828// private key: Secp256K private key
29- const arcanaInstance = new arcana.storage.StorageProvider ({ appId, privateKey, email });
29+ const arcanaInstance = new arcana.storage.Arcana ({ appId, privateKey, email });
3030```
3131
3232### Uploader
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import { Arcana as ArcanaT } from './typechain';
1212import * as Sentry from '@sentry/browser' ;
1313import { Integrations } from '@sentry/tracing' ;
1414
15- export class StorageProvider {
15+ export class Arcana {
1616 private wallet : Wallet ;
1717 private convergence : string ;
1818 private email : string ;
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ describe('Upload File', () => {
6161 file = MockFile ( 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.txt' , 2 ** 20 , 'image/txt' ) ;
6262 file = new File ( [ file ] , file . name , { type : file . type } ) ;
6363 const wallet = await arcana . storage . utils . getRandomWallet ( ) ;
64- arcanaInstance = new arcana . storage . StorageProvider ( {
64+ arcanaInstance = new arcana . storage . Arcana ( {
6565 appId,
6666 privateKey : wallet . privateKey ,
6767 email : makeEmail ( ) ,
@@ -103,7 +103,7 @@ describe('Upload File', () => {
103103 it ( 'Fail download tranaction' , async ( ) => {
104104 receiverWallet = await arcana . storage . utils . getRandomWallet ( ) ;
105105 console . log ( 'Receiver wallet address' , receiverWallet . address ) ;
106- sharedInstance = new arcana . storage . StorageProvider ( {
106+ sharedInstance = new arcana . storage . Arcana ( {
107107 appId,
108108 privateKey : receiverWallet ,
109109 email : makeEmail ( ) ,
You can’t perform that action at this time.
0 commit comments