import { getClient } from"./client";(async () => {constservice=await (awaitgetClient()).service('storage',"5jqee4kl1ns1");constdata=Buffer.from("a great success","utf8");constkey="5J5hLqZrc3DvURBtwapKjpYH676QMmoZvFUy2NGkyeYv4ZuxxhK";constpermission="active";constoptions= {// if true, DAG leaves will contain raw file data and not be wrapped in a protobuf rawLeaves:true };constresponse=awaitservice.upload_public_file( data, key, permission,null, options );console.log(`uri: ${response.uri}`);})().catch((e) => { console.log(e); });