@onflow/fcl
Advanced tools
Comparing version 0.0.11 to 0.0.12
@@ -1,2 +0,2 @@ | ||
var e=require("@qvvg/mario"),t=require("@qvvg/templar"),r=require("@onflow/interaction"),o=require("@onflow/assigns"),n=e.pipe,i=e.pipe([function(e){return o.update("code",function(t){return"function"==typeof t?t(o.get(e,"params",{})):t})(e)}]);exports.pipe=e.pipe,exports.Ok=e.Ok,exports.Nope=e.Nope,exports.isNope=e.isNope,exports.isOk=e.isOk,exports.getValue=e.getValue,exports.getReason=e.getReason,exports.getError=e.getError,exports.log=e.log,exports.__=e.__,exports.isUnknown=r.isUnknown,exports.isScript=r.isScript,exports.isTransaction=r.isTransaction,exports.isGetTransaction=r.isGetTransaction,exports.build=function(t){return e.pipe(r.interaction(),t)},exports.resolve=n,exports.script=function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];return e.pipe([r.makeScript,o.put("code",t.t7l.apply(void 0,n))])},exports.transaction=function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];return e.pipe([r.makeTransaction,o.put("code",t.t7l.apply(void 0,n))])},exports.getTransaction=function(t){return e.pipe([r.makeGetTransaction,o.put("hash",t)])},exports.params=function(t){return void 0===t&&(t=[]),e.pipe([o.put("params",(r=t,void 0===r&&(r=[]),r.reduce(function(e,t){var r;return Object.assign({},e,((r={})[t.key]=t.value,r))},{})))]);var r},exports.param=function(e,t){return{key:e,value:t}},exports.payer=function(t){return e.pipe([o.put("payerAuthorization",t)])},exports.authorizations=function(t){return void 0===t&&(t=[]),e.pipe([o.put("authorization",t)])},exports.authorization=function(e,t){return{acct:e,signFn:t}},exports.resolveParams=i; | ||
var e=require("@qvvg/mario"),t=require("@qvvg/templar"),r=require("@onflow/interaction"),o=require("@onflow/assigns"),n=e.pipe,i=e.pipe([function(e){return o.update("code",function(t){return"function"==typeof t?t(o.get(e,"params",{})):t})(e)}]);exports.pipe=e.pipe,exports.Ok=e.Ok,exports.Nope=e.Nope,exports.isNope=e.isNope,exports.isOk=e.isOk,exports.getValue=e.getValue,exports.getReason=e.getReason,exports.getError=e.getError,exports.log=e.log,exports.__=e.__,exports.isUnknown=r.isUnknown,exports.isScript=r.isScript,exports.isTransaction=r.isTransaction,exports.isGetTransaction=r.isGetTransaction,exports.build=function(t){return e.pipe(r.interaction(),t)},exports.resolve=n,exports.script=function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];return e.pipe([r.makeScript,o.put("code",t.t7l.apply(void 0,n))])},exports.transaction=function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];return e.pipe([r.makeTransaction,o.put("code",t.t7l.apply(void 0,n))])},exports.getTransaction=function(t){return e.pipe([r.makeGetTransaction,o.put("hash",t)])},exports.params=function(t){return void 0===t&&(t=[]),e.pipe([o.put("params",(r=t,void 0===r&&(r=[]),r.reduce(function(e,t){var r;return Object.assign({},e,((r={})[t.key]=t.value,r))},{})))]);var r},exports.param=function(e,t){return{key:e,value:t}},exports.payer=function(t){return e.pipe([o.put("payerAuthorization",t)])},exports.authorizations=function(t){return void 0===t&&(t=[]),e.pipe([o.put("authorizations",t)])},exports.authorization=function(e,t){return{acct:e,signFn:t}},exports.resolveParams=i; | ||
//# sourceMappingURL=fcl.js.map |
@@ -1,2 +0,2 @@ | ||
import{pipe as n}from"@qvvg/mario";export{pipe,Ok,Nope,isNope,isOk,getValue,getReason,getError,log,__}from"@qvvg/mario";import{t7l as r}from"@qvvg/templar";import{interaction as o,makeScript as t,makeTransaction as i,makeGetTransaction as e}from"@onflow/interaction";export{isUnknown,isScript,isTransaction,isGetTransaction}from"@onflow/interaction";import{put as a,update as u,get as c}from"@onflow/assigns";var f=function(r){return n(o(),r)},p=n,s=function(){for(var o=[],i=arguments.length;i--;)o[i]=arguments[i];return n([t,a("code",r.apply(void 0,o))])},v=function(){for(var o=[],t=arguments.length;t--;)o[t]=arguments[t];return n([i,a("code",r.apply(void 0,o))])},m=function(r){return n([e,a("hash",r)])},g=function(r){return void 0===r&&(r=[]),n([a("params",(o=r,void 0===o&&(o=[]),o.reduce(function(n,r){var o;return Object.assign({},n,((o={})[r.key]=r.value,o))},{})))]);var o},l=function(n,r){return{key:n,value:r}},d=function(r){return n([a("payerAuthorization",r)])},h=function(r){return void 0===r&&(r=[]),n([a("authorization",r)])},y=function(n,r){return{acct:n,signFn:r}},k=n([function(n){return u("code",function(r){return"function"==typeof r?r(c(n,"params",{})):r})(n)}]);export{f as build,p as resolve,s as script,v as transaction,m as getTransaction,g as params,l as param,d as payer,h as authorizations,y as authorization,k as resolveParams}; | ||
import{pipe as n}from"@qvvg/mario";export{pipe,Ok,Nope,isNope,isOk,getValue,getReason,getError,log,__}from"@qvvg/mario";import{t7l as r}from"@qvvg/templar";import{interaction as o,makeScript as t,makeTransaction as i,makeGetTransaction as e}from"@onflow/interaction";export{isUnknown,isScript,isTransaction,isGetTransaction}from"@onflow/interaction";import{put as a,update as u,get as c}from"@onflow/assigns";var f=function(r){return n(o(),r)},p=n,s=function(){for(var o=[],i=arguments.length;i--;)o[i]=arguments[i];return n([t,a("code",r.apply(void 0,o))])},v=function(){for(var o=[],t=arguments.length;t--;)o[t]=arguments[t];return n([i,a("code",r.apply(void 0,o))])},m=function(r){return n([e,a("hash",r)])},g=function(r){return void 0===r&&(r=[]),n([a("params",(o=r,void 0===o&&(o=[]),o.reduce(function(n,r){var o;return Object.assign({},n,((o={})[r.key]=r.value,o))},{})))]);var o},l=function(n,r){return{key:n,value:r}},d=function(r){return n([a("payerAuthorization",r)])},h=function(r){return void 0===r&&(r=[]),n([a("authorizations",r)])},y=function(n,r){return{acct:n,signFn:r}},k=n([function(n){return u("code",function(r){return"function"==typeof r?r(c(n,"params",{})):r})(n)}]);export{f as build,p as resolve,s as script,v as transaction,m as getTransaction,g as params,l as param,d as payer,h as authorizations,y as authorization,k as resolveParams}; | ||
//# sourceMappingURL=fcl.module.js.map |
@@ -1,2 +0,2 @@ | ||
!function(n,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@qvvg/mario"),require("@qvvg/templar"),require("@onflow/interaction"),require("@onflow/assigns")):"function"==typeof define&&define.amd?define(["exports","@qvvg/mario","@qvvg/templar","@onflow/interaction","@onflow/assigns"],e):e(n.fcl={},n.mario,n.templar,n.interaction,n.assigns)}(this,function(n,e,t,i,r){var o=e.pipe,a=e.pipe([function(n){return r.update("code",function(e){return"function"==typeof e?e(r.get(n,"params",{})):e})(n)}]);n.pipe=e.pipe,n.Ok=e.Ok,n.Nope=e.Nope,n.isNope=e.isNope,n.isOk=e.isOk,n.getValue=e.getValue,n.getReason=e.getReason,n.getError=e.getError,n.log=e.log,n.__=e.__,n.isUnknown=i.isUnknown,n.isScript=i.isScript,n.isTransaction=i.isTransaction,n.isGetTransaction=i.isGetTransaction,n.build=function(n){return e.pipe(i.interaction(),n)},n.resolve=o,n.script=function(){for(var n=[],o=arguments.length;o--;)n[o]=arguments[o];return e.pipe([i.makeScript,r.put("code",t.t7l.apply(void 0,n))])},n.transaction=function(){for(var n=[],o=arguments.length;o--;)n[o]=arguments[o];return e.pipe([i.makeTransaction,r.put("code",t.t7l.apply(void 0,n))])},n.getTransaction=function(n){return e.pipe([i.makeGetTransaction,r.put("hash",n)])},n.params=function(n){return void 0===n&&(n=[]),e.pipe([r.put("params",(t=n,void 0===t&&(t=[]),t.reduce(function(n,e){var t;return Object.assign({},n,((t={})[e.key]=e.value,t))},{})))]);var t},n.param=function(n,e){return{key:n,value:e}},n.payer=function(n){return e.pipe([r.put("payerAuthorization",n)])},n.authorizations=function(n){return void 0===n&&(n=[]),e.pipe([r.put("authorization",n)])},n.authorization=function(n,e){return{acct:n,signFn:e}},n.resolveParams=a}); | ||
!function(n,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@qvvg/mario"),require("@qvvg/templar"),require("@onflow/interaction"),require("@onflow/assigns")):"function"==typeof define&&define.amd?define(["exports","@qvvg/mario","@qvvg/templar","@onflow/interaction","@onflow/assigns"],e):e(n.fcl={},n.mario,n.templar,n.interaction,n.assigns)}(this,function(n,e,t,i,r){var o=e.pipe,a=e.pipe([function(n){return r.update("code",function(e){return"function"==typeof e?e(r.get(n,"params",{})):e})(n)}]);n.pipe=e.pipe,n.Ok=e.Ok,n.Nope=e.Nope,n.isNope=e.isNope,n.isOk=e.isOk,n.getValue=e.getValue,n.getReason=e.getReason,n.getError=e.getError,n.log=e.log,n.__=e.__,n.isUnknown=i.isUnknown,n.isScript=i.isScript,n.isTransaction=i.isTransaction,n.isGetTransaction=i.isGetTransaction,n.build=function(n){return e.pipe(i.interaction(),n)},n.resolve=o,n.script=function(){for(var n=[],o=arguments.length;o--;)n[o]=arguments[o];return e.pipe([i.makeScript,r.put("code",t.t7l.apply(void 0,n))])},n.transaction=function(){for(var n=[],o=arguments.length;o--;)n[o]=arguments[o];return e.pipe([i.makeTransaction,r.put("code",t.t7l.apply(void 0,n))])},n.getTransaction=function(n){return e.pipe([i.makeGetTransaction,r.put("hash",n)])},n.params=function(n){return void 0===n&&(n=[]),e.pipe([r.put("params",(t=n,void 0===t&&(t=[]),t.reduce(function(n,e){var t;return Object.assign({},n,((t={})[e.key]=e.value,t))},{})))]);var t},n.param=function(n,e){return{key:n,value:e}},n.payer=function(n){return e.pipe([r.put("payerAuthorization",n)])},n.authorizations=function(n){return void 0===n&&(n=[]),e.pipe([r.put("authorizations",n)])},n.authorization=function(n,e){return{acct:n,signFn:e}},n.resolveParams=a}); | ||
//# sourceMappingURL=fcl.umd.js.map |
{ | ||
"name": "@onflow/fcl", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"description": "Flow Client Library", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
@@ -52,3 +52,3 @@ import {pipe, Ok, __} from "@qvvg/mario" | ||
export const authorizations = (ax = []) => pipe([put("authorization", ax)]) | ||
export const authorizations = (ax = []) => pipe([put("authorizations", ax)]) | ||
@@ -55,0 +55,0 @@ export const authorization = (acct, signFn) => { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16217