@secrecy/lib 1.0.0-dev.66 → 1.0.0-dev.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BaseClient-7c38f650.d.ts → BaseClient-e5e97df7.d.ts} +0 -0
- package/dist/BaseClient.cjs +1 -1
- package/dist/BaseClient.cjs.map +1 -1
- package/dist/BaseClient.d.ts +1 -1
- package/dist/BaseClient.js +1 -1
- package/dist/BaseClient.js.map +1 -1
- package/dist/PopupTools.cjs +1 -1
- package/dist/PopupTools.js +1 -1
- package/dist/ZeusThunder.cjs +1 -1
- package/dist/ZeusThunder.cjs.map +1 -1
- package/dist/ZeusThunder.js +1 -1
- package/dist/ZeusThunder.js.map +1 -1
- package/dist/cache.cjs +1 -1
- package/dist/cache.d.ts +1 -1
- package/dist/cache.js +1 -1
- package/dist/chunk-UPFDSEKI.js +2 -0
- package/dist/{chunk-KMTF2BZE.js.map → chunk-UPFDSEKI.js.map} +0 -0
- package/dist/chunk-XDPEU3HV.cjs +2 -0
- package/dist/{chunk-5WPCTUWH.cjs.map → chunk-XDPEU3HV.cjs.map} +0 -0
- package/dist/client/SecrecyAppClient.cjs +1 -1
- package/dist/client/SecrecyAppClient.cjs.map +1 -1
- package/dist/client/SecrecyAppClient.d.ts +1 -1
- package/dist/client/SecrecyAppClient.js +1 -1
- package/dist/client/SecrecyAppClient.js.map +1 -1
- package/dist/client/SecrecyCloudClient.cjs +1 -1
- package/dist/client/SecrecyCloudClient.cjs.map +1 -1
- package/dist/client/SecrecyCloudClient.d.ts +1 -1
- package/dist/client/SecrecyCloudClient.js +1 -1
- package/dist/client/SecrecyCloudClient.js.map +1 -1
- package/dist/client/SecrecyDbClient.cjs +1 -1
- package/dist/client/SecrecyDbClient.cjs.map +1 -1
- package/dist/client/SecrecyDbClient.d.ts +1 -1
- package/dist/client/SecrecyDbClient.js +1 -1
- package/dist/client/SecrecyDbClient.js.map +1 -1
- package/dist/client/SecrecyMailClient.cjs +1 -1
- package/dist/client/SecrecyMailClient.cjs.map +1 -1
- package/dist/client/SecrecyMailClient.d.ts +1 -1
- package/dist/client/SecrecyMailClient.js +1 -1
- package/dist/client/SecrecyMailClient.js.map +1 -1
- package/dist/client/SecrecyPayClient.cjs +1 -1
- package/dist/client/SecrecyPayClient.d.ts +1 -1
- package/dist/client/SecrecyPayClient.js +1 -1
- package/dist/client/SecrecyWalletClient.cjs +1 -1
- package/dist/client/SecrecyWalletClient.cjs.map +1 -1
- package/dist/client/SecrecyWalletClient.d.ts +1 -1
- package/dist/client/SecrecyWalletClient.js +1 -1
- package/dist/client/SecrecyWalletClient.js.map +1 -1
- package/dist/client/convert/file.cjs +1 -1
- package/dist/client/convert/file.js +1 -1
- package/dist/client/convert/mail.cjs +1 -1
- package/dist/client/convert/mail.js +1 -1
- package/dist/client/convert/node.cjs +1 -1
- package/dist/client/convert/node.cjs.map +1 -1
- package/dist/client/convert/node.js +1 -1
- package/dist/client/convert/node.js.map +1 -1
- package/dist/client/helpers.cjs +1 -1
- package/dist/client/helpers.d.ts +1 -1
- package/dist/client/helpers.js +1 -1
- package/dist/client/index.cjs +1 -1
- package/dist/client/index.cjs.map +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.js +1 -1
- package/dist/client/index.js.map +1 -1
- package/dist/client/storage.cjs +1 -1
- package/dist/client/storage.js +1 -1
- package/dist/client/types/selectors.cjs +1 -1
- package/dist/client/types/selectors.js +1 -1
- package/dist/crypto/file.cjs +1 -1
- package/dist/crypto/file.cjs.map +1 -1
- package/dist/crypto/file.js +1 -1
- package/dist/crypto/file.js.map +1 -1
- package/dist/crypto/index.cjs +1 -1
- package/dist/crypto/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/minify/index.cjs +1 -1
- package/dist/minify/index.js +1 -1
- package/dist/minify/lz4.cjs +1 -1
- package/dist/minify/lz4.js +1 -1
- package/dist/sodium.cjs +1 -1
- package/dist/sodium.cjs.map +1 -1
- package/dist/sodium.js +1 -1
- package/dist/sodium.js.map +1 -1
- package/dist/utils/store-buddy.cjs +1 -1
- package/dist/utils/store-buddy.js +1 -1
- package/dist/utils/time.cjs +1 -1
- package/dist/utils/time.js +1 -1
- package/dist/utils/utils.cjs +1 -1
- package/dist/utils/utils.cjs.map +1 -1
- package/dist/utils/utils.js +1 -1
- package/dist/utils/utils.js.map +1 -1
- package/dist/worker/md5.cjs +1 -1
- package/dist/worker/md5.cjs.map +1 -1
- package/dist/worker/md5.js +1 -1
- package/dist/worker/md5.js.map +1 -1
- package/dist/worker/sodium.cjs +1 -1
- package/dist/worker/sodium.cjs.map +1 -1
- package/dist/worker/sodium.js +1 -1
- package/dist/worker/sodium.js.map +1 -1
- package/dist/worker/workerCodes.cjs +1 -1
- package/dist/worker/workerCodes.js +1 -1
- package/dist/zeus/const.cjs +1 -1
- package/dist/zeus/const.js +1 -1
- package/dist/zeus/index.cjs +2 -2
- package/dist/zeus/index.cjs.map +1 -1
- package/dist/zeus/index.d.ts +10 -10
- package/dist/zeus/index.js +2 -2
- package/dist/zeus/index.js.map +1 -1
- package/package.json +3 -3
- package/dist/chunk-5WPCTUWH.cjs +0 -2
- package/dist/chunk-KMTF2BZE.js +0 -2
package/dist/zeus/index.d.ts
CHANGED
|
@@ -8141,40 +8141,40 @@ declare type GraphQLTypes = {
|
|
|
8141
8141
|
test: boolean;
|
|
8142
8142
|
};
|
|
8143
8143
|
};
|
|
8144
|
-
declare
|
|
8144
|
+
declare enum Lang {
|
|
8145
8145
|
fr = "fr",
|
|
8146
8146
|
en = "en"
|
|
8147
8147
|
}
|
|
8148
|
-
declare
|
|
8148
|
+
declare enum PlanKind {
|
|
8149
8149
|
free = "free",
|
|
8150
8150
|
basic = "basic",
|
|
8151
8151
|
advanced = "advanced",
|
|
8152
8152
|
pro = "pro"
|
|
8153
8153
|
}
|
|
8154
|
-
declare
|
|
8154
|
+
declare enum UserRole {
|
|
8155
8155
|
user = "user",
|
|
8156
8156
|
admin = "admin"
|
|
8157
8157
|
}
|
|
8158
|
-
declare
|
|
8158
|
+
declare enum MailType {
|
|
8159
8159
|
sent = "sent",
|
|
8160
8160
|
received = "received"
|
|
8161
8161
|
}
|
|
8162
|
-
declare
|
|
8162
|
+
declare enum Rights {
|
|
8163
8163
|
admin = "admin",
|
|
8164
8164
|
write = "write",
|
|
8165
8165
|
read = "read"
|
|
8166
8166
|
}
|
|
8167
|
-
declare
|
|
8167
|
+
declare enum NodeType {
|
|
8168
8168
|
FILE = "FILE",
|
|
8169
8169
|
FOLDER = "FOLDER"
|
|
8170
8170
|
}
|
|
8171
|
-
declare
|
|
8171
|
+
declare enum FileContentType {
|
|
8172
8172
|
cloud = "cloud",
|
|
8173
8173
|
lite = "lite",
|
|
8174
8174
|
sent_mail = "sent_mail",
|
|
8175
8175
|
received_mail = "received_mail"
|
|
8176
8176
|
}
|
|
8177
|
-
declare
|
|
8177
|
+
declare enum InfuraNetwork {
|
|
8178
8178
|
mainnet = "mainnet",
|
|
8179
8179
|
ropsten = "ropsten",
|
|
8180
8180
|
rinkeby = "rinkeby",
|
|
@@ -8183,11 +8183,11 @@ declare const enum InfuraNetwork {
|
|
|
8183
8183
|
polygon_mainnet = "polygon_mainnet",
|
|
8184
8184
|
polygon_mumbai = "polygon_mumbai"
|
|
8185
8185
|
}
|
|
8186
|
-
declare
|
|
8186
|
+
declare enum PayInputType {
|
|
8187
8187
|
secure = "secure",
|
|
8188
8188
|
classic = "classic"
|
|
8189
8189
|
}
|
|
8190
|
-
declare
|
|
8190
|
+
declare enum PayoutType {
|
|
8191
8191
|
bank_account = "bank_account",
|
|
8192
8192
|
card = "card"
|
|
8193
8193
|
}
|
package/dist/zeus/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{a as _}from"../chunk-
|
|
1
|
+
import{a as _}from"../chunk-UPFDSEKI.js";import{AllTypesProps as Q,ReturnTypes as E,Ops as f}from"./const.js";const V="http://localhost:4000/graphql",P={},U=s=>p=>{var e,o,r;try{const n=(s[0]+"?query="+encodeURIComponent(p)).replace("http","ws"),t=s.length>1&&((o=(e=s[1])==null?void 0:e.websocket)==null?void 0:o[0])||n,d=((r=s[1])==null?void 0:r.websocket)||[t],l=new WebSocket(...d);return{ws:l,on:a=>{l.onmessage=y=>{if(y.data){const T=JSON.parse(y.data).data;return a(T)}}},off:a=>{l.onclose=a},error:a=>{l.onerror=a},open:a=>{l.onopen=a}}}catch(i){throw new Error("No websockets implemented")}},S=s=>s.ok?s.json():new Promise((p,e)=>{s.text().then(o=>{try{e(JSON.parse(o))}catch(r){e(o)}}).catch(e)}),B=s=>(p,e={})=>{const o=s[1]||{};return o.method&&o.method==="GET"?fetch(`${s[0]}?query=${encodeURIComponent(p)}`,o).then(S).then(r=>{if(r.errors)throw new G(r);return r.data}):fetch(`${s[0]}`,_({body:JSON.stringify({query:p,variables:e}),method:"POST",headers:{"Content-Type":"application/json"}},o)).then(S).then(r=>{if(r.errors)throw new G(r);return r.data})},x=({ops:s,props:p,returns:e,options:o,scalars:r})=>{const i=(n,t,d="",l=!0,a=[])=>{var D;const y=A(n),u=[d,y].join(c);if(!t)return"";if(typeof t=="boolean"||typeof t=="number")return n;if(typeof t=="string")return`${n} ${t}`;if(Array.isArray(t)){const g=W({props:p,returns:e,ops:s,scalars:r,vars:a})(t[0],u);return`${i(g?`${n}(${g})`:n,t[1],d,!1,a)}`}if(n==="__alias")return Object.entries(t).map(([g,b])=>{if(typeof b!="object"||Array.isArray(b))throw new Error("Invalid alias it should be __alias:{ YOUR_ALIAS_NAME: { OPERATION_NAME: { ...selectors }}}");const I=Object.keys(b)[0],v=b[I];return i(`${g}:${I}`,v,d,!1,a)}).join(`
|
|
2
2
|
`);const T=l&&(o==null?void 0:o.operationName)?" "+o.operationName:"",R=(D=t.__directives)!=null?D:"",m=`{${Object.entries(t).filter(([g])=>g!=="__directives").map(g=>i(...g,[d,`field<>${y}`].join(c),!1,a)).join(`
|
|
3
|
-
`)}}`;if(!l)return`${n} ${R}${T} ${m}`;const M=a.map(g=>`${g.name}: ${g.graphQLType}`).join(", ");return`${n} ${R}${T}${M?`(${M})`:""} ${m}`};return i},J=s=>(p,e)=>(o,r)=>s(L(p,o,{operationOptions:r,scalars:e==null?void 0:e.scalars}),r==null?void 0:r.variables).then(i=>e!=null&&e.scalars?N({response:i,initialOp:p,initialZeusQuery:o,returns:E,scalars:e.scalars,ops:f}):i),q=(...s)=>J(B(s)),k=s=>(p,e)=>(o,r)=>{const i=s(L(p,o,{operationOptions:r,scalars:e==null?void 0:e.scalars}));if((i==null?void 0:i.on)&&(e==null?void 0:e.scalars)){const n=i.on;i.on=t=>n(d=>e!=null&&e.scalars?t(N({response:d,initialOp:p,initialZeusQuery:o,returns:E,scalars:e.scalars,ops:f})):t(d))}return i},ae=(...s)=>k(U(s)),L=(s,p,e)=>x({props:Q,returns:E,ops:f,options:e==null?void 0:e.operationOptions,scalars:e==null?void 0:e.scalars})(s,p),h=()=>s=>s,ie=s=>s&&h(),pe=s=>s&&h(),le=q(V,{headers:_({"Content-Type":"application/json"},P)}),de=h(),N=({response:s,scalars:p,returns:e,ops:o,initialZeusQuery:r,initialOp:i})=>{if(!p)return s;const t=w({ops:o,returns:e})(i,o[i],r);return t?O({scalarPaths:t,resolvers:p})(i,s,[o[i]]):s},O=({resolvers:s,scalarPaths:p})=>{const e=(o,r,i=[])=>{var d;if(Array.isArray(r))return r.map(l=>e(o,l,i));if(r==null)return r;const n=i.join(c),t=p[n];if(t){const l=(d=s[t.split(".")[1]])==null?void 0:d.decode;if(l)return l(r)}return typeof r=="boolean"||typeof r=="number"||typeof r=="string"||!r?r:Object.fromEntries(Object.entries(r).map(([l,a])=>[l,e(l,a,[...i,A(l)])]))};return e},c="|";class G extends Error{constructor(e){super("");this.response=e;console.error(e)}toString(){return"GraphQL Response Error"}}const F=(s,p)=>{if(s.length===0)return;const e=s[0],o=p[e];if(typeof o=="object"){const r=o[s[1]];return r?F([r,...s.slice(2)],p):void 0}return o},w=({ops:s,returns:p})=>{const e=(o,r,i,n=[],t=[],d=!0)=>{if(!i)return;if(typeof i=="boolean"||typeof i=="number"||typeof i=="string"){const a=[...t,r],y=F(a,p);return y!=null&&y.startsWith("scalar")?{[[...n,o].join(c)]:y}:{}}if(Array.isArray(i))return e(o,o,i[1],n,t,!1);if(o==="__alias")return Object.entries(i).map(([a,y])=>{if(typeof y!="object"||Array.isArray(y))throw new Error("Invalid alias it should be __alias:{ YOUR_ALIAS_NAME: { OPERATION_NAME: { ...selectors }}}");const u=Object.keys(y)[0],T=y[u];return e(a,u,T,n,t,!1)}).reduce((a,y)=>_(_({},a),y));const l=d?s[o]:o;return Object.entries(i).filter(([a])=>a!=="__directives").map(([a,y])=>{const u=r.match(/^...\s*on/)!=null;return e(a,a,y,u?n:[...n,A(l||a)],u?t:[...t,A(r)],!1)}).reduce((a,y)=>_(_({},a),y))};return e},A=s=>s.replace(/\([^)]*\)/g,"").replace(/^[^:]*\:/g,""),K=s=>{const[p,e]=s.split("<>");return e?{v:e,__type:"field"}:{v:p,__type:"arg"}},z=(s,p,e)=>{const o=n=>{const t=e[n[0].v],d=t?s[t]:s[n[0].v];if(d==="enum"&&n.length===1)return"enum";if(typeof d=="string"&&d.startsWith("scalar.")&&n.length===1)return d;if(typeof d=="object"){if(n.length<2)return"not";const l=d[n[1].v];if(typeof l=="string")return i(`${l}${c}${n.slice(2).map(a=>a.v).join(c)}`);if(typeof l=="object"){if(n.length<3)return"not";const a=l[n[2].v];if(a&&n[2].__type==="arg")return i(`${a}${c}${n.slice(3).map(y=>y.v).join(c)}`)}}},r=n=>{if(n.length===0)return"not";const t=e[n[0].v],d=t?p[t]:p[n[0].v];if(typeof d=="object"){if(n.length<2)return"not";const l=d[n[1].v];if(l)return i(`${l}${c}${n.slice(2).map(a=>a.v).join(c)}`)}},i=n=>{const d=n.split(c).filter(y=>y.length>0).map(K),l=o(d);if(l)return l;const a=r(d);return a||"not"};return i},W=({props:s,ops:p,returns:e,scalars:o,vars:r})=>{const i=(n,t="",d=!0)=>{var a,y;if(typeof n=="string"&&n.startsWith($)){const[u,T]=n.replace($,"$").split(C),R=r.find(m=>m.name===u);if(!R)r.push({name:u,graphQLType:T});else if(R.graphQLType!==T)throw new Error(`Invalid variable exists with two different GraphQL Types, "${R.graphQLType}" and ${T}`);return u}const l=z(s,e,p)(t);if(l.startsWith("scalar.")){const[u,...T]=l.split("."),R=T.join(".");return((y=(a=o==null?void 0:o[R])==null?void 0:a.encode)==null?void 0:y.call(a,n))||JSON.stringify(n)}if(Array.isArray(n))return`[${n.map(u=>i(u,t,!1)).join(", ")}]`;if(typeof n=="string")return l==="enum"?n:`${JSON.stringify(n)}`;if(typeof n=="object"){if(n===null)return"null";const u=Object.entries(n).filter(([,T])=>typeof T
|
|
3
|
+
`)}}`;if(!l)return`${n} ${R}${T} ${m}`;const M=a.map(g=>`${g.name}: ${g.graphQLType}`).join(", ");return`${n} ${R}${T}${M?`(${M})`:""} ${m}`};return i},J=s=>(p,e)=>(o,r)=>s(L(p,o,{operationOptions:r,scalars:e==null?void 0:e.scalars}),r==null?void 0:r.variables).then(i=>e!=null&&e.scalars?N({response:i,initialOp:p,initialZeusQuery:o,returns:E,scalars:e.scalars,ops:f}):i),q=(...s)=>J(B(s)),k=s=>(p,e)=>(o,r)=>{const i=s(L(p,o,{operationOptions:r,scalars:e==null?void 0:e.scalars}));if((i==null?void 0:i.on)&&(e==null?void 0:e.scalars)){const n=i.on;i.on=t=>n(d=>e!=null&&e.scalars?t(N({response:d,initialOp:p,initialZeusQuery:o,returns:E,scalars:e.scalars,ops:f})):t(d))}return i},ae=(...s)=>k(U(s)),L=(s,p,e)=>x({props:Q,returns:E,ops:f,options:e==null?void 0:e.operationOptions,scalars:e==null?void 0:e.scalars})(s,p),h=()=>s=>s,ie=s=>s&&h(),pe=s=>s&&h(),le=q(V,{headers:_({"Content-Type":"application/json"},P)}),de=h(),N=({response:s,scalars:p,returns:e,ops:o,initialZeusQuery:r,initialOp:i})=>{if(!p)return s;const t=w({ops:o,returns:e})(i,o[i],r);return t?O({scalarPaths:t,resolvers:p})(i,s,[o[i]]):s},O=({resolvers:s,scalarPaths:p})=>{const e=(o,r,i=[])=>{var d;if(Array.isArray(r))return r.map(l=>e(o,l,i));if(r==null)return r;const n=i.join(c),t=p[n];if(t){const l=(d=s[t.split(".")[1]])==null?void 0:d.decode;if(l)return l(r)}return typeof r=="boolean"||typeof r=="number"||typeof r=="string"||!r?r:Object.fromEntries(Object.entries(r).map(([l,a])=>[l,e(l,a,[...i,A(l)])]))};return e},c="|";class G extends Error{constructor(e){super("");this.response=e;console.error(e)}toString(){return"GraphQL Response Error"}}const F=(s,p)=>{if(s.length===0)return;const e=s[0],o=p[e];if(typeof o=="object"){const r=o[s[1]];return r?F([r,...s.slice(2)],p):void 0}return o},w=({ops:s,returns:p})=>{const e=(o,r,i,n=[],t=[],d=!0)=>{if(!i)return;if(typeof i=="boolean"||typeof i=="number"||typeof i=="string"){const a=[...t,r],y=F(a,p);return y!=null&&y.startsWith("scalar")?{[[...n,o].join(c)]:y}:{}}if(Array.isArray(i))return e(o,o,i[1],n,t,!1);if(o==="__alias")return Object.entries(i).map(([a,y])=>{if(typeof y!="object"||Array.isArray(y))throw new Error("Invalid alias it should be __alias:{ YOUR_ALIAS_NAME: { OPERATION_NAME: { ...selectors }}}");const u=Object.keys(y)[0],T=y[u];return e(a,u,T,n,t,!1)}).reduce((a,y)=>_(_({},a),y));const l=d?s[o]:o;return Object.entries(i).filter(([a])=>a!=="__directives").map(([a,y])=>{const u=r.match(/^...\s*on/)!=null;return e(a,a,y,u?n:[...n,A(l||a)],u?t:[...t,A(r)],!1)}).reduce((a,y)=>_(_({},a),y))};return e},A=s=>s.replace(/\([^)]*\)/g,"").replace(/^[^:]*\:/g,""),K=s=>{const[p,e]=s.split("<>");return e?{v:e,__type:"field"}:{v:p,__type:"arg"}},z=(s,p,e)=>{const o=n=>{const t=e[n[0].v],d=t?s[t]:s[n[0].v];if(d==="enum"&&n.length===1)return"enum";if(typeof d=="string"&&d.startsWith("scalar.")&&n.length===1)return d;if(typeof d=="object"){if(n.length<2)return"not";const l=d[n[1].v];if(typeof l=="string")return i(`${l}${c}${n.slice(2).map(a=>a.v).join(c)}`);if(typeof l=="object"){if(n.length<3)return"not";const a=l[n[2].v];if(a&&n[2].__type==="arg")return i(`${a}${c}${n.slice(3).map(y=>y.v).join(c)}`)}}},r=n=>{if(n.length===0)return"not";const t=e[n[0].v],d=t?p[t]:p[n[0].v];if(typeof d=="object"){if(n.length<2)return"not";const l=d[n[1].v];if(l)return i(`${l}${c}${n.slice(2).map(a=>a.v).join(c)}`)}},i=n=>{const d=n.split(c).filter(y=>y.length>0).map(K),l=o(d);if(l)return l;const a=r(d);return a||"not"};return i},W=({props:s,ops:p,returns:e,scalars:o,vars:r})=>{const i=(n,t="",d=!0)=>{var a,y;if(typeof n=="string"&&n.startsWith($)){const[u,T]=n.replace($,"$").split(C),R=r.find(m=>m.name===u);if(!R)r.push({name:u,graphQLType:T});else if(R.graphQLType!==T)throw new Error(`Invalid variable exists with two different GraphQL Types, "${R.graphQLType}" and ${T}`);return u}const l=z(s,e,p)(t);if(l.startsWith("scalar.")){const[u,...T]=l.split("."),R=T.join(".");return((y=(a=o==null?void 0:o[R])==null?void 0:a.encode)==null?void 0:y.call(a,n))||JSON.stringify(n)}if(Array.isArray(n))return`[${n.map(u=>i(u,t,!1)).join(", ")}]`;if(typeof n=="string")return l==="enum"?n:`${JSON.stringify(n)}`;if(typeof n=="object"){if(n===null)return"null";const u=Object.entries(n).filter(([,T])=>typeof T!="undefined").map(([T,R])=>`${T}: ${i(R,[t,T].join(c),!1)}`).join(`,
|
|
4
4
|
`);return d?u:`{${u}}`}return`${n}`};return i},ye=(s,p,e)=>e,$="$ZEUS_VAR",C="__$GRAPHQL__",ue=(s,p)=>$+s+C+p;var j=(e=>(e.fr="fr",e.en="en",e))(j||{}),H=(r=>(r.free="free",r.basic="basic",r.advanced="advanced",r.pro="pro",r))(H||{}),Z=(e=>(e.user="user",e.admin="admin",e))(Z||{}),Y=(e=>(e.sent="sent",e.received="received",e))(Y||{}),X=(o=>(o.admin="admin",o.write="write",o.read="read",o))(X||{}),ee=(e=>(e.FILE="FILE",e.FOLDER="FOLDER",e))(ee||{}),ne=(r=>(r.cloud="cloud",r.lite="lite",r.sent_mail="sent_mail",r.received_mail="received_mail",r))(ne||{}),se=(t=>(t.mainnet="mainnet",t.ropsten="ropsten",t.rinkeby="rinkeby",t.goerli="goerli",t.kovan="kovan",t.polygon_mainnet="polygon_mainnet",t.polygon_mumbai="polygon_mumbai",t))(se||{}),re=(e=>(e.secure="secure",e.classic="classic",e))(re||{}),oe=(e=>(e.bank_account="bank_account",e.card="card",e))(oe||{});export{ue as $,q as Chain,ne as FileContentType,C as GRAPHQL_TYPE_SEPARATOR,le as Gql,G as GraphQLError,P as HEADERS,V as HOST,se as InfuraNetwork,W as InternalArgsBuilt,x as InternalsBuildQuery,j as Lang,Y as MailType,ee as NodeType,re as PayInputType,oe as PayoutType,H as PlanKind,w as PrepareScalarPaths,z as ResolveFromPath,X as Rights,c as SEPARATOR,$ as START_VAR_NAME,ie as Selector,ae as Subscription,k as SubscriptionThunder,J as Thunder,pe as TypeFromSelector,Z as UserRole,L as Zeus,de as ZeusScalars,h as ZeusSelect,B as apiFetch,U as apiSubscription,N as decodeScalarsInResponse,A as purifyGraphQLKey,ye as resolverFor,O as traverseResponse};
|
|
5
5
|
//# sourceMappingURL=index.js.map
|