@stonecrop/graphql-client 0.4.36 → 0.5.0

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.
@@ -109,5 +109,5 @@ spurious results.`)}}return!1};class Dt{constructor(t,n="GraphQL request",i={lin
109
109
  query: Query
110
110
  mutation: Mutation
111
111
  }
112
- `,Ri=e=>JSON.parse(e,(t,n)=>{if(typeof n=="string")try{return JSON.parse(n,(i,r)=>typeof r=="string"&&!isNaN(Number(r))?new le(r):r)}catch{return n}else if(!isNaN(Number(n)))return new le(n);return n}),Li={getMeta:async(e,t)=>{const n=new Si(t||"/graphql",{jsonSerializer:{stringify:r=>JSON.stringify(r),parse:Ri}}),{getMeta:i}=await n.request({document:Ft.getMeta,variables:{doctype:e}});return i}};K.methods=Li,K.queries=Ft,K.typeDefs=ki,Object.defineProperty(K,Symbol.toStringTag,{value:"Module"})}));
112
+ `,Ri=e=>JSON.parse(e,(t,n)=>{if(typeof n=="string")try{return JSON.parse(n,(i,r)=>typeof r=="string"&&!isNaN(Number(r))?new le(r):r)}catch{return n}else if(!isNaN(Number(n)))return new le(n);return n}),Li={getMeta:async(e,t)=>{const n=new Si(t||"/graphql",{fetch:window.fetch,jsonSerializer:{stringify:r=>JSON.stringify(r),parse:Ri}}),{getMeta:i}=await n.request({document:Ft.getMeta,variables:{doctype:e}});return i}};K.methods=Li,K.queries=Ft,K.typeDefs=ki,Object.defineProperty(K,Symbol.toStringTag,{value:"Module"})}));
113
113
  //# sourceMappingURL=graphql-client.umd.cjs.map