@magic-ext/algorand
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -0,1 +1,14 @@ | ||
# v3.0.1 (Tue Jan 25 2022) | ||
#### 🐛 Bug Fix | ||
- Fix CDN build targets [#270](https://github.com/magiclabs/magic-js/pull/270) ([@smithki](https://github.com/smithki)) | ||
- Fix CDN issues related to ESBuild ([@smithki](https://github.com/smithki)) | ||
#### Authors: 1 | ||
- Ian K Smith ([@smithki](https://github.com/smithki)) | ||
--- | ||
# v3.0.0 (Tue Jan 25 2022) | ||
@@ -2,0 +15,0 @@ |
@@ -1,2 +0,2 @@ | ||
var y=Object.create;var g=Object.defineProperty;var q=Object.getOwnPropertyDescriptor;var R=Object.getOwnPropertyNames;var G=Object.getPrototypeOf,x=Object.prototype.hasOwnProperty;var p=n=>g(n,"__esModule",{value:!0});var S=(n,i)=>{p(n);for(var r in i)g(n,r,{get:i[r],enumerable:!0})},b=(n,i,r)=>{if(i&&typeof i=="object"||typeof i=="function")for(let t of R(i))!x.call(n,t)&&t!=="default"&&g(n,t,{get:()=>i[t],enumerable:!(r=q(i,t))||r.enumerable});return n},A=n=>b(p(g(n!=null?y(G(n)):{},"default",n&&n.__esModule&&"default"in n?{get:()=>n.default,enumerable:!0}:{value:n,enumerable:!0})),n);var c=(n,i,r)=>new Promise((t,s)=>{var f=e=>{try{o(r.next(e))}catch(l){s(l)}},m=e=>{try{o(r.throw(e))}catch(l){s(l)}},o=e=>e.done?t(e.value):Promise.resolve(e.value).then(f,m);o((r=r.apply(n,i)).next())});S(exports,{AlgorandExtension:()=>T});var u=A(require("@magic-sdk/commons"));var a;(function(s){s.AlgorandSignTransaction="algod_signTransaction",s.AlgorandSignBid="algod_signBid",s.AlgorandGetWallet="algod_getWallet",s.AlgorandSignGroupTransaction="algod_signGroupTransaction"})(a||(a={}));var T=class extends u.Extension.Internal{constructor(i){super();this.algorandConfig=i;this.name="algod";this.config={};this.config={rpcUrl:i.rpcUrl,chainType:"ALOGD"}}signTransaction(i){return c(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload(a.AlgorandSignTransaction,i))})}signBid(i){return c(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload(a.AlgorandSignBid,i))})}getWallet(){return c(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload(a.AlgorandGetWallet,[]))})}signGroupTransaction(i){return c(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload(a.AlgorandSignGroupTransaction,i))})}}; | ||
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); | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
var t=(g,i,e)=>new Promise((o,n)=>{var l=s=>{try{a(e.next(s))}catch(c){n(c)}},p=s=>{try{a(e.throw(s))}catch(c){n(c)}},a=s=>s.done?o(s.value):Promise.resolve(s.value).then(l,p);a((e=e.apply(g,i)).next())});import{Extension as u}from"@magic-sdk/commons";var r;(function(n){n.AlgorandSignTransaction="algod_signTransaction",n.AlgorandSignBid="algod_signBid",n.AlgorandGetWallet="algod_getWallet",n.AlgorandSignGroupTransaction="algod_signGroupTransaction"})(r||(r={}));var T=class extends u.Internal{constructor(i){super();this.algorandConfig=i;this.name="algod";this.config={};this.config={rpcUrl:i.rpcUrl,chainType:"ALOGD"}}signTransaction(i){return t(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload(r.AlgorandSignTransaction,i))})}signBid(i){return t(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload(r.AlgorandSignBid,i))})}getWallet(){return t(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload(r.AlgorandGetWallet,[]))})}signGroupTransaction(i){return t(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload(r.AlgorandSignGroupTransaction,i))})}};export{T as AlgorandExtension}; | ||
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}; | ||
//# sourceMappingURL=index.js.map |
@@ -1,1 +0,2 @@ | ||
var MagicAlgorandExtension=(()=>{var d=Object.create;var p=Object.defineProperty;var q=Object.getOwnPropertyDescriptor;var R=Object.getOwnPropertyNames;var G=Object.getPrototypeOf,A=Object.prototype.hasOwnProperty;var u=i=>p(i,"__esModule",{value:!0});var S=(i,n)=>()=>(n||i((n={exports:{}}).exports,n),n.exports);var b=(i,n,t)=>{if(n&&typeof n=="object"||typeof n=="function")for(let s of R(n))!A.call(i,s)&&s!=="default"&&p(i,s,{get:()=>n[s],enumerable:!(t=q(n,s))||t.enumerable});return i},B=i=>b(u(p(i!=null?d(G(i)):{},"default",i&&i.__esModule&&"default"in i?{get:()=>i.default,enumerable:!0}:{value:i,enumerable:!0})),i);var o=(i,n,t)=>new Promise((s,r)=>{var T=e=>{try{c(t.next(e))}catch(g){r(g)}},y=e=>{try{c(t.throw(e))}catch(g){r(g)}},c=e=>e.done?s(e.value):Promise.resolve(e.value).then(T,y);c((t=t.apply(i,n)).next())});var m=S((U,f)=>{f.exports=Magic});var C={};u(C);var x=B(m());var a;(function(r){r.AlgorandSignTransaction="algod_signTransaction",r.AlgorandSignBid="algod_signBid",r.AlgorandGetWallet="algod_getWallet",r.AlgorandSignGroupTransaction="algod_signGroupTransaction"})(a||(a={}));var l=class extends x.Extension.Internal{constructor(n){super();this.algorandConfig=n;this.name="algod";this.config={};this.config={rpcUrl:n.rpcUrl,chainType:"ALOGD"}}signTransaction(n){return o(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload(a.AlgorandSignTransaction,n))})}signBid(n){return o(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload(a.AlgorandSignBid,n))})}getWallet(){return o(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload(a.AlgorandGetWallet,[]))})}signGroupTransaction(n){return o(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload(a.AlgorandSignGroupTransaction,n))})}};module.exports=l;return C;})(); | ||
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);})(); | ||
if (MagicAlgorandExtension && MagicAlgorandExtension.default != null) { MagicAlgorandExtension = Object.assign(MagicAlgorandExtension.default, MagicAlgorandExtension); delete MagicAlgorandExtension.default; } |
@@ -1,2 +0,2 @@ | ||
var y=Object.create;var g=Object.defineProperty;var q=Object.getOwnPropertyDescriptor;var R=Object.getOwnPropertyNames;var G=Object.getPrototypeOf,x=Object.prototype.hasOwnProperty;var p=n=>g(n,"__esModule",{value:!0});var S=(n,i)=>{p(n);for(var r in i)g(n,r,{get:i[r],enumerable:!0})},b=(n,i,r)=>{if(i&&typeof i=="object"||typeof i=="function")for(let t of R(i))!x.call(n,t)&&t!=="default"&&g(n,t,{get:()=>i[t],enumerable:!(r=q(i,t))||r.enumerable});return n},A=n=>b(p(g(n!=null?y(G(n)):{},"default",n&&n.__esModule&&"default"in n?{get:()=>n.default,enumerable:!0}:{value:n,enumerable:!0})),n);var c=(n,i,r)=>new Promise((t,s)=>{var f=e=>{try{o(r.next(e))}catch(l){s(l)}},m=e=>{try{o(r.throw(e))}catch(l){s(l)}},o=e=>e.done?t(e.value):Promise.resolve(e.value).then(f,m);o((r=r.apply(n,i)).next())});S(exports,{AlgorandExtension:()=>T});var u=A(require("@magic-sdk/commons"));var a;(function(s){s.AlgorandSignTransaction="algod_signTransaction",s.AlgorandSignBid="algod_signBid",s.AlgorandGetWallet="algod_getWallet",s.AlgorandSignGroupTransaction="algod_signGroupTransaction"})(a||(a={}));var T=class extends u.Extension.Internal{constructor(i){super();this.algorandConfig=i;this.name="algod";this.config={};this.config={rpcUrl:i.rpcUrl,chainType:"ALOGD"}}signTransaction(i){return c(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload(a.AlgorandSignTransaction,i))})}signBid(i){return c(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload(a.AlgorandSignBid,i))})}getWallet(){return c(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload(a.AlgorandGetWallet,[]))})}signGroupTransaction(i){return c(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload(a.AlgorandSignGroupTransaction,i))})}}; | ||
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); | ||
//# sourceMappingURL=index.native.js.map |
import { AlgorandExtension } from './index'; | ||
export type { AlgorandExtension as default }; | ||
export default AlgorandExtension; |
{ | ||
"name": "@magic-ext/algorand", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "magic algorand extension", | ||
@@ -33,3 +33,3 @@ "author": "Magic <team@magic.link> (https://magic.link/)", | ||
}, | ||
"gitHead": "5a1afc093cfec98bdcfb232cb2878510014da70a" | ||
"gitHead": "d438b0b289fd4dd06a19bbb0f9f8d27bb067cea0" | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
19962
60