@magic-ext/algorand
Advanced tools
Comparing version 3.0.1 to 3.1.0
@@ -0,1 +1,17 @@ | ||
# v3.1.0 (Mon Mar 07 2022) | ||
#### 🐛 Bug Fix | ||
- Update READMEs with outdated context/hyperlinks ([@smithki](https://github.com/smithki)) | ||
#### 🏠 Internal | ||
- Internal documentation updates (`BUILD_SYSTEM.md`) [#283](https://github.com/magiclabs/magic-js/pull/283) ([@smithki](https://github.com/smithki)) | ||
#### Authors: 1 | ||
- Ian K Smith ([@smithki](https://github.com/smithki)) | ||
--- | ||
# v3.0.1 (Tue Jan 25 2022) | ||
@@ -2,0 +18,0 @@ |
@@ -1,2 +0,2 @@ | ||
var l=Object.defineProperty;var y=Object.getOwnPropertyDescriptor;var T=Object.getOwnPropertyNames;var f=Object.prototype.hasOwnProperty;var A=r=>l(r,"__esModule",{value:!0});var h=(r,n)=>{for(var t in n)l(r,t,{get:n[t],enumerable:!0})},q=(r,n,t,e)=>{if(n&&typeof n=="object"||typeof n=="function")for(let i of T(n))!f.call(r,i)&&(t||i!=="default")&&l(r,i,{get:()=>n[i],enumerable:!(e=y(n,i))||e.enumerable});return r};var R=(r=>(n,t)=>r&&r.get(n)||(t=q(A({}),n,1),r&&r.set(n,t),t))(typeof WeakMap!="undefined"?new WeakMap:0);var s=(r,n,t)=>new Promise((e,i)=>{var p=a=>{try{o(t.next(a))}catch(c){i(c)}},d=a=>{try{o(t.throw(a))}catch(c){i(c)}},o=a=>a.done?e(a.value):Promise.resolve(a.value).then(p,d);o((t=t.apply(r,n)).next())});var G={};h(G,{AlgorandExtension:()=>u});var g=require("@magic-sdk/commons");var u=class extends g.Extension.Internal{constructor(n){super();this.algorandConfig=n;this.name="algod";this.config={};this.config={rpcUrl:n.rpcUrl,chainType:"ALOGD"}}signTransaction(n){return s(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload("algod_signTransaction",n))})}signBid(n){return s(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload("algod_signBid",n))})}getWallet(){return s(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload("algod_getWallet",[]))})}signGroupTransaction(n){return s(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload("algod_signGroupTransaction",n))})}};module.exports=R(G); | ||
var g=Object.defineProperty;var y=Object.getOwnPropertyDescriptor;var T=Object.getOwnPropertyNames;var G=Object.prototype.hasOwnProperty;var f=r=>g(r,"__esModule",{value:!0});var q=(r,n)=>{for(var a in n)g(r,a,{get:n[a],enumerable:!0})},A=(r,n,a,e)=>{if(n&&typeof n=="object"||typeof n=="function")for(let i of T(n))!G.call(r,i)&&(a||i!=="default")&&g(r,i,{get:()=>n[i],enumerable:!(e=y(n,i))||e.enumerable});return r};var R=(r=>(n,a)=>r&&r.get(n)||(a=A(f({}),n,1),r&&r.set(n,a),a))(typeof WeakMap!="undefined"?new WeakMap:0);var s=(r,n,a)=>new Promise((e,i)=>{var p=t=>{try{o(a.next(t))}catch(c){i(c)}},d=t=>{try{o(a.throw(t))}catch(c){i(c)}},o=t=>t.done?e(t.value):Promise.resolve(t.value).then(p,d);o((a=a.apply(r,n)).next())});var h={};q(h,{AlgorandExtension:()=>u});var l=require("@magic-sdk/commons");var u=class extends l.Extension.Internal{constructor(n){super();this.algorandConfig=n;this.name="algod";this.config={};this.config={rpcUrl:n.rpcUrl,chainType:"ALOGD"}}signTransaction(n){return s(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload("algod_signTransaction",n))})}signBid(n){return s(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload("algod_signBid",n))})}getWallet(){return s(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload("algod_getWallet",[]))})}signGroupTransaction(n){return s(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload("algod_signGroupTransaction",n))})}signGroupTransactionV2(n){return s(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload("algod_signGroupTransactionV2",n))})}};module.exports=R(h); | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
var t=(e,n,i)=>new Promise((c,o)=>{var l=r=>{try{a(i.next(r))}catch(s){o(s)}},g=r=>{try{a(i.throw(r))}catch(s){o(s)}},a=r=>r.done?c(r.value):Promise.resolve(r.value).then(l,g);a((i=i.apply(e,n)).next())});import{Extension as u}from"@magic-sdk/commons";var p=class extends u.Internal{constructor(n){super();this.algorandConfig=n;this.name="algod";this.config={};this.config={rpcUrl:n.rpcUrl,chainType:"ALOGD"}}signTransaction(n){return t(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload("algod_signTransaction",n))})}signBid(n){return t(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload("algod_signBid",n))})}getWallet(){return t(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload("algod_getWallet",[]))})}signGroupTransaction(n){return t(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload("algod_signGroupTransaction",n))})}};export{p as AlgorandExtension}; | ||
var a=(e,n,i)=>new Promise((c,o)=>{var g=r=>{try{t(i.next(r))}catch(s){o(s)}},l=r=>{try{t(i.throw(r))}catch(s){o(s)}},t=r=>r.done?c(r.value):Promise.resolve(r.value).then(g,l);t((i=i.apply(e,n)).next())});import{Extension as u}from"@magic-sdk/commons";var p=class extends u.Internal{constructor(n){super();this.algorandConfig=n;this.name="algod";this.config={};this.config={rpcUrl:n.rpcUrl,chainType:"ALOGD"}}signTransaction(n){return a(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload("algod_signTransaction",n))})}signBid(n){return a(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload("algod_signBid",n))})}getWallet(){return a(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload("algod_getWallet",[]))})}signGroupTransaction(n){return a(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload("algod_signGroupTransaction",n))})}signGroupTransactionV2(n){return a(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload("algod_signGroupTransactionV2",n))})}};export{p as AlgorandExtension}; | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
var MagicAlgorandExtension=(()=>{var x=Object.create;var o=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var q=Object.getPrototypeOf,R=Object.prototype.hasOwnProperty;var p=r=>o(r,"__esModule",{value:!0});var G=(r,n)=>()=>(n||r((n={exports:{}}).exports,n),n.exports),S=(r,n)=>{for(var t in n)o(r,t,{get:n[t],enumerable:!0})},u=(r,n,t,e)=>{if(n&&typeof n=="object"||typeof n=="function")for(let i of m(n))!R.call(r,i)&&(t||i!=="default")&&o(r,i,{get:()=>n[i],enumerable:!(e=h(n,i))||e.enumerable});return r},b=(r,n)=>u(p(o(r!=null?x(q(r)):{},"default",!n&&r&&r.__esModule?{get:()=>r.default,enumerable:!0}:{value:r,enumerable:!0})),r),B=(r=>(n,t)=>r&&r.get(n)||(t=u(p({}),n,1),r&&r.set(n,t),t))(typeof WeakMap!="undefined"?new WeakMap:0);var s=(r,n,t)=>new Promise((e,i)=>{var T=a=>{try{c(t.next(a))}catch(l){i(l)}},A=a=>{try{c(t.throw(a))}catch(l){i(l)}},c=a=>a.done?e(a.value):Promise.resolve(a.value).then(T,A);c((t=t.apply(r,n)).next())});var y=G((W,d)=>{d.exports=Magic});var J={};S(J,{default:()=>C});var f=b(y());var g=class extends f.Extension.Internal{constructor(n){super();this.algorandConfig=n;this.name="algod";this.config={};this.config={rpcUrl:n.rpcUrl,chainType:"ALOGD"}}signTransaction(n){return s(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload("algod_signTransaction",n))})}signBid(n){return s(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload("algod_signBid",n))})}getWallet(){return s(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload("algod_getWallet",[]))})}signGroupTransaction(n){return s(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload("algod_signGroupTransaction",n))})}};var C=g;return B(J);})(); | ||
var MagicAlgorandExtension=(()=>{var G=Object.create;var e=Object.defineProperty;var q=Object.getOwnPropertyDescriptor;var R=Object.getOwnPropertyNames;var h=Object.getPrototypeOf,x=Object.prototype.hasOwnProperty;var u=r=>e(r,"__esModule",{value:!0});var m=(r,n)=>()=>(n||r((n={exports:{}}).exports,n),n.exports),S=(r,n)=>{for(var t in n)e(r,t,{get:n[t],enumerable:!0})},p=(r,n,t,o)=>{if(n&&typeof n=="object"||typeof n=="function")for(let a of R(n))!x.call(r,a)&&(t||a!=="default")&&e(r,a,{get:()=>n[a],enumerable:!(o=q(n,a))||o.enumerable});return r},b=(r,n)=>p(u(e(r!=null?G(h(r)):{},"default",!n&&r&&r.__esModule?{get:()=>r.default,enumerable:!0}:{value:r,enumerable:!0})),r),J=(r=>(n,t)=>r&&r.get(n)||(t=p(u({}),n,1),r&&r.set(n,t),t))(typeof WeakMap!="undefined"?new WeakMap:0);var s=(r,n,t)=>new Promise((o,a)=>{var f=i=>{try{c(t.next(i))}catch(g){a(g)}},A=i=>{try{c(t.throw(i))}catch(g){a(g)}},c=i=>i.done?o(i.value):Promise.resolve(i.value).then(f,A);c((t=t.apply(r,n)).next())});var y=m((U,d)=>{d.exports=Magic});var B={};S(B,{default:()=>_});var T=b(y());var l=class extends T.Extension.Internal{constructor(n){super();this.algorandConfig=n;this.name="algod";this.config={};this.config={rpcUrl:n.rpcUrl,chainType:"ALOGD"}}signTransaction(n){return s(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload("algod_signTransaction",n))})}signBid(n){return s(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload("algod_signBid",n))})}getWallet(){return s(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload("algod_getWallet",[]))})}signGroupTransaction(n){return s(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload("algod_signGroupTransaction",n))})}signGroupTransactionV2(n){return s(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload("algod_signGroupTransactionV2",n))})}};var _=l;return J(B);})(); | ||
if (MagicAlgorandExtension && MagicAlgorandExtension.default != null) { MagicAlgorandExtension = Object.assign(MagicAlgorandExtension.default, MagicAlgorandExtension); delete MagicAlgorandExtension.default; } |
@@ -1,2 +0,2 @@ | ||
var l=Object.defineProperty;var y=Object.getOwnPropertyDescriptor;var T=Object.getOwnPropertyNames;var f=Object.prototype.hasOwnProperty;var A=r=>l(r,"__esModule",{value:!0});var h=(r,n)=>{for(var t in n)l(r,t,{get:n[t],enumerable:!0})},q=(r,n,t,e)=>{if(n&&typeof n=="object"||typeof n=="function")for(let i of T(n))!f.call(r,i)&&(t||i!=="default")&&l(r,i,{get:()=>n[i],enumerable:!(e=y(n,i))||e.enumerable});return r};var R=(r=>(n,t)=>r&&r.get(n)||(t=q(A({}),n,1),r&&r.set(n,t),t))(typeof WeakMap!="undefined"?new WeakMap:0);var s=(r,n,t)=>new Promise((e,i)=>{var p=a=>{try{o(t.next(a))}catch(c){i(c)}},d=a=>{try{o(t.throw(a))}catch(c){i(c)}},o=a=>a.done?e(a.value):Promise.resolve(a.value).then(p,d);o((t=t.apply(r,n)).next())});var G={};h(G,{AlgorandExtension:()=>u});var g=require("@magic-sdk/commons");var u=class extends g.Extension.Internal{constructor(n){super();this.algorandConfig=n;this.name="algod";this.config={};this.config={rpcUrl:n.rpcUrl,chainType:"ALOGD"}}signTransaction(n){return s(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload("algod_signTransaction",n))})}signBid(n){return s(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload("algod_signBid",n))})}getWallet(){return s(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload("algod_getWallet",[]))})}signGroupTransaction(n){return s(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload("algod_signGroupTransaction",n))})}};module.exports=R(G); | ||
var g=Object.defineProperty;var y=Object.getOwnPropertyDescriptor;var T=Object.getOwnPropertyNames;var f=Object.prototype.hasOwnProperty;var G=r=>g(r,"__esModule",{value:!0});var q=(r,n)=>{for(var a in n)g(r,a,{get:n[a],enumerable:!0})},A=(r,n,a,e)=>{if(n&&typeof n=="object"||typeof n=="function")for(let i of T(n))!f.call(r,i)&&(a||i!=="default")&&g(r,i,{get:()=>n[i],enumerable:!(e=y(n,i))||e.enumerable});return r};var R=(r=>(n,a)=>r&&r.get(n)||(a=A(G({}),n,1),r&&r.set(n,a),a))(typeof WeakMap!="undefined"?new WeakMap:0);var s=(r,n,a)=>new Promise((e,i)=>{var p=t=>{try{o(a.next(t))}catch(c){i(c)}},d=t=>{try{o(a.throw(t))}catch(c){i(c)}},o=t=>t.done?e(t.value):Promise.resolve(t.value).then(p,d);o((a=a.apply(r,n)).next())});var h={};q(h,{AlgorandExtension:()=>u});var l=require("@magic-sdk/commons");var u=class extends l.Extension.Internal{constructor(n){super();this.algorandConfig=n;this.name="algod";this.config={};this.config={rpcUrl:n.rpcUrl,chainType:"ALOGD"}}signTransaction(n){return s(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload("algod_signTransaction",n))})}signBid(n){return s(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload("algod_signBid",n))})}getWallet(){return s(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload("algod_getWallet",[]))})}signGroupTransaction(n){return s(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload("algod_signGroupTransaction",n))})}signGroupTransactionV2(n){return s(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload("algod_signGroupTransactionV2",n))})}};module.exports=R(h); | ||
//# sourceMappingURL=index.native.js.map |
@@ -12,2 +12,3 @@ import { Extension } from '@magic-sdk/commons'; | ||
signGroupTransaction(txns: any[]): Promise<any>; | ||
signGroupTransactionV2(txns: any): Promise<any>; | ||
} |
@@ -12,3 +12,4 @@ export interface AlgorandConfig { | ||
AlgorandGetWallet = "algod_getWallet", | ||
AlgorandSignGroupTransaction = "algod_signGroupTransaction" | ||
AlgorandSignGroupTransaction = "algod_signGroupTransaction", | ||
AlgorandSignGroupTransactionV2 = "algod_signGroupTransactionV2" | ||
} |
{ | ||
"name": "@magic-ext/algorand", | ||
"version": "3.0.1", | ||
"version": "3.1.0", | ||
"description": "magic algorand extension", | ||
@@ -31,5 +31,5 @@ "author": "Magic <team@magic.link> (https://magic.link/)", | ||
"devDependencies": { | ||
"@magic-sdk/commons": "^4.0.0" | ||
"@magic-sdk/commons": "^4.1.0" | ||
}, | ||
"gitHead": "d438b0b289fd4dd06a19bbb0f9f8d27bb067cea0" | ||
"gitHead": "6aa5a25b33865cfe27444ca6094efade16a82f9f" | ||
} |
@@ -35,3 +35,3 @@ # Magic Extension Algorand Blockchain | ||
## Magic SDK | ||
See the [developer documentation](https://docs.magic.link) to learn how you can master the Magic SDK in a matter of minutes. | ||
See the [developer documentation](https://magic.link/docs) to learn how you can master the Magic SDK in a matter of minutes. | ||
@@ -38,0 +38,0 @@ |
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
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
22364
67
36
398
4